16
DDS Cluster of Interest: Demo of RTI DDS Toolkit for LabVIEW Tim Owen EMEA TAM, RTI

Demo of RTI DDS toolkit for LabVIEW

Embed Size (px)

DESCRIPTION

Presentation from the demonstration of RTI DDS Toolkit for LabVIEW, London Connext Conference 2014

Citation preview

Page 1: Demo of RTI DDS toolkit for LabVIEW

 DDS  

Cluster  of  Interest:  Demo  of  RTI  DDS  Toolkit  for  LabVIEW  Tim  Owen  EMEA  TAM,  RTI  

Page 2: Demo of RTI DDS toolkit for LabVIEW

Tim  Owen  –  RTI  EMEA  TAM    

•  Technical  Account  Manager  for  RTI  •  Based  in  RTI  EMEA  Office  (Milton  Keynes)  •  Main  Interface  for  Channel  /  Distributors  •  Experience  in  embedded  systems,  SoIware  Defined  Radio  and  DSP  for  over  20  years  

•  Worked  at  RTI  for  2½  years    

Page 3: Demo of RTI DDS toolkit for LabVIEW

LabVIEW    

•  Anyone  know  what  it  is?  

•  Anyone  here  currently  using  it?  – Personally  or  as  a  Company?  – How  are  you  using  it?  – Why  do  you  use  it  –  what’s  the  advantage(s)?  

 

Page 4: Demo of RTI DDS toolkit for LabVIEW

So,  what  is  LabVIEW?    

•  A  graphical  programming  plaWorm  •  Blocks  are  “funcYons”  or  logic  statements  (while  loops)  

•  Data-­‐driven  programming:  –  A  block  (piece  of  code)  is  executed  as  soon  as  all  its  inputs  are  available.  

–  All  blocks  with  their  inputs  available  at  the  same  Yme  will  be  run  in  parallel  

•  Provides  hugely  accelerated  producYvity  –  Rapid  Prototyping  –  Scalability  

Page 5: Demo of RTI DDS toolkit for LabVIEW

So,  what  is  LabVIEW?  (cont.)  

•  Used  extensively  in  Test  Measurement/Control  Apps  – Also  Avionics,  Comms,  Radar,  AutomoYve,  Oil  &  Gas  

•  Solves  some  architectural  system  issues  – NI  provides  modular  scalable  hardware  (PXI  &  CRIO  based)  –  Signal  Analysis  &  Analog  I/O  

–  Scales  from  design  to  test  and  from  small  to  large  systems.    

•  Huge  ecosystem  (Alliance  Partners)  and  Customer  Base!  

 

Page 6: Demo of RTI DDS toolkit for LabVIEW

So,  what  is  LabVIEW?  (cont.)  

•  Every  LabVIEW  applicaYon  (Virtual  Instrument  or  VI)  consists  of  block  diagram  (behaviour  descripYon)  and  “Front  Panel”  for  Control  I/O  –  Using  Drag  ‘n’  drop  building  blocks    

 

•  `  

Page 7: Demo of RTI DDS toolkit for LabVIEW

Why  use  DDS  and  LabVIEW?  

•  Create  DDS  applicaYons  using  graphical  drag  ‘n’  drop  blocks  in  LabVIEW  –  zero  coding  !!  

•  Easily  interfaces  the  “contained”  LabVIEW    world  (VIs)  to  the  external  world  –  Using  the  DDS  tenets  we  all  know  and  love!  J  –  Enables  integraYon  with  Java,  C/C++,  C#  apps  

•  Use  the  RTI  DDS  Toolkit  for  LabVIEW  product  –  Developed  and  maintained  by  RTI  

•  Opens  new  markets  and  possibiliYes  for  DDS  –  Extensively  used  throughout  the  World  

•  Huge  Ecosystem  &  Customer  base  

Page 8: Demo of RTI DDS toolkit for LabVIEW
Page 9: Demo of RTI DDS toolkit for LabVIEW

RTI  DDS  Toolkit  for  LabVIEW  

10/22/14   ©  2012  RTI  •  COMPANY  CONFIDENTIAL   9  

Page 10: Demo of RTI DDS toolkit for LabVIEW

What  is  this  LabVIEW  DDS  Toolkit  demo?  

•  Show  a  Shapes  Publisher  in  LabVIEW  

•  Control  a  Lego  Mindstorm  EV3  Robot  – Using  standalone  Java  DDS  ApplicaYon  (Laptop)  –  Interfacing  to  LabVIEW  environment  using  the  “RTI  DDS  Toolkit  for  LabVIEW”  Add-­‐on  

– Lego  Mindstorm  support  for  LabVIEW  provided  by  NI  

 

 

Page 11: Demo of RTI DDS toolkit for LabVIEW

ImplementaYon  Details  •  Cluster  Equivalent  IDL    struct  MyTypeName{    string<1024>  Text;  //@key    long  I32_Num;    long  long  I64_Num;    unsigned  short  U16_Num;    float[4]  Sgl_Array;    innerclusterType  innercluster;  };  struct  superinnerClusterType{    double  Dbl_Num;    ultrainnerClusterType  ultrainnerCluster;  };  struct  ultrainnerClusterType{    short[2]  I16_Array;  };  struct  innerclusterType{    float  Sgl_Num;    boolean  Boolean;    superinnerClusterType  superinnerCluster;  };  

Page 12: Demo of RTI DDS toolkit for LabVIEW

What  is  this  LabVIEW  DDS  Toolkit  demo?  (cont.)  

•  Shapes  Publisher  

Page 13: Demo of RTI DDS toolkit for LabVIEW

NxT  

EV3  naYve  comms    via  Bluetooth  (not  DDS)  

DDS  enabled  LabView  (VI)  ApplicaYon  that  reads  /  writes  data  across  the  EV3  link  

Java  GUI  ApplicaBon  that  uses  DDS  to  send  commands  and  display  received  output  from  the  EV3    

NI  Environment  Apps  generated  in  LabVIEW  

What  is  this  LabVIEW  DDS  Toolkit  demo?  (cont.)  

•  Control  a  Lego  Mindstorm  EV3  Robot  

 

 

Page 14: Demo of RTI DDS toolkit for LabVIEW

LimitaYons  

•  Currently  32-­‐bit  Windows  •  FuncYonality  …  – Reading  by  polling  only  – Reduce  supported  data  types  

•  Only  one  top-­‐level  key.  – LabVIEW  imposed  constraints  

•  For  instance,  no  complex-­‐type  arrays.  

Page 15: Demo of RTI DDS toolkit for LabVIEW

Product  Roadmap  

•  Feedback  about  API  –  Is  current  API  enough  for  most  use  cases?  

•  LabVIEW  RT  – VxWorks  porYng  for  CompactRIO  board  

•  Reading  without  polling  –  Integrate  LabVIEW  Events?  – Waitsets?  

Page 16: Demo of RTI DDS toolkit for LabVIEW

What’s  next  ?  

•  Try  it!  •  LabVIEW  available  as  free  45-­‐day  trial  

–  hup://www.ni.com/download-­‐labview    •  Connext  Professional  as  free  30-­‐day  trial  

–  If  you  don’t  already  have  it!  hup://www.rY.com/downloads/index.html    

•  Where  can  I  get  the  RTI  DDS  Toolkit  Add-­‐on?    –  Developed  and  maintained  by  RTI  –  Available  through  NI  only  (for  Windows  only)  

•  Via  the  VIPM  in  LabVIEW  –  It’s  Free  –  even  for  a  permanent  license  !!!  J