Transcript
Page 1: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW

Connecting LabVIEW to Everything Else!

Jim Kring, JKI at the Americas CLA Summit 2013!geekandpoke.typepad.com

Page 2: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 3

APIs and Systems!

APIs

Page 3: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 4

•  Products can be more than what’s in the box!

•  Customers can solve more business problems!

•  Customers become loyal and locked-in!

APIs: Business Value!

Page 4: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 5

APIs and Systems!

APIs

Page 5: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 6

APIs and Instruments!

APIs

Page 6: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 7

Instruments APIs using SCPI!

Call 1-800-IEEE-488

MEAS:VOLT? MEAS:CURR?

SCPI = Standard Commands for Programmable Instrumentation

Page 7: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 8

Software Defined Instruments!

Page 8: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 9

Embedding LabVIEW Becoming More Practical!

More opportunities to create products powered by LabVIEW

Page 9: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 10

Back to Instruments and APIs !

It’s time for a demo!!

Page 10: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 11

•  System VI!•  Loads up the system and all its components!•  Has a registry of all SCPI tree/nodes and their SCPI command

handlers!•  Runs a TCP-IP Server / Listener at startup!

•  TCP-IP Server / Listener VI!•  Launches a connection handler when a client connects at the port!

•  SCPI Connection Handler VI!•  Parses (REC:RUN) SCPI message to determine which tree/node’s

(REC) command handler VI to call and passes it the (RUN) command.!

•  SCPI Command Handler VI!•  Executes a Case Structure frame for the (RUN) command.!

SCPI API Implementation in LabVIEW!

Page 11: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 12

•  SCPI (over TCP-IP, Serial, GPIB)!

•  Web Services (REST / XML: LabVIEW, Custom)!

•  DLLs, .NET, ActiveX, COM!

•  Network Shared Variables!

•  File IO, Dropbox!

•  Custom? Others?!

API Technologies!

Page 12: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 13

•  LabVIEW!

•  Python!

•  Others?!

Language Bindings!

Page 13: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 14

•  External / Public APIs!

!callable from outside the system!

•  Internal / Private APIs!

!only callable from inside the system!

External vs. Internal APIs!

Page 14: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 15

JKI: Prototype Software to Product Software!

Page 15: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 16

APIs and Systems!

APIs

Page 16: CLA Summit 2013: Connecting LabVIEW to Everything Else

PUSHING THE LIMITS OF LABVIEW 19

One More Thing!

Join Our TeamHelp us build the next generation of instrumentation.!

Talk to a JKI engineer or visit jki.net/careers.!


Top Related