NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

OPCUA help

Hello, 

 

I am fairly new to Teststand and I am looking for guidance on how to communicate to a machine via OPCUA.

 

Is there packages available or a process in teststand to make this easy?

 

Any sort of guidance, examples, or direction would be a great help! 

 

 

0 Kudos
Message 1 of 3
(424 Views)

You will need a OPCUA library first.

 

You can purcahse one at NI https://www.ni.com/de/support/downloads/software-products/download.labview-opc-ua-toolkit.html#46761...

or at XON https://www.xon.de/de/prod_785292-35WP.php

 

Or use any other as long as the coding (LabVIEW, .net, Python is supported by TestStand) and itegrate the calls as code modules.

 

AFAIK, there is also an opensource library under development

0 Kudos
Message 2 of 3
(418 Views)

@Oli_Wachno wrote:

 

AFAIK, there is also an opensource library under development


If you are referring to the library I'm currently working on: It's not going to be open source as far as the LabVIEW interface is concerned. Sorry for that, but there are several things in there, that I'm not feeling like open sourcing and some of that are also things that I have no confirmation from NI yet that they are ok with me even documenting them.

 

It is based on the open62541 library from https://www.open62541.org/ This library is open source and anyone can use it if they want. Aside from changes to the library itself it is not required to open source your own work when using that library. The API of that library is however anything but LabVIEW friendly.

 

In terms of usage within TestStand a fairly interesting option might be to use a Python adapter in TestStand. Python has a library with a fairly good implementation of the OPC UA protocol. This might be the easiest and quickest for TestStand.

 

For LabVIEW, while not impossible, it would be a pretty roundabout way to interface to something like OPC UA unless you can isolate the entire OPC UA handling into a Python module and interface to it from LabVIEW through a simple interface with a minimal number of functions.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 3 of 3
(395 Views)