NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using National Instruments Modbus Library in TestStand 2019

Hi everyone,

we are trying to use National Instruments Modbus Library in TestStand 2019 and have issues to access the library.

It is possible to choose the different vi elements from the library itself and possible to use them when we choose labview adapter as development system instead of RuntimeEngine.

The steps that we have implemented as below

1. C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\NI\Modbus Library\API\Wrapper 

From above path we use Create Modbus Instance and fill the required parameters such as IP, port and timeout. 

2. C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\NI\Modbus Library\API\Master

From above path we use WriteSingle Coil.vi and ReadCoils.vi 

3. C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\NI\Modbus Library\API\Master

From above path we have used shutdown.vi to terminate the connection properly.

 

All those 3 steps above work fine if we choose the labview adapter as development and in our case it is 19.0.1 (2019 SP1 f4)

Labview  Runtime Engine is 19.0.1 (2019 SP1 f4).

 

We expect that we choose the complete library in an action step in TestStand 2019 and then the library will bring all the VIs as to be used based on our need. But for the Modbus library we had to choose the VIs individually and there is no llb extension with which we can choose complete library.

 

So when the labview adapter is set Runtime Engine then we face the issue that VI is not loaded . It says picture not available.

We have tried the masscompile inside the LAbview but that did not help.

Would you please help on how to use properly the modbus library with RuntimeEngine ?

Thank you for the help

 

 

ErrorVI.PNG

 

Message 1 of 2
(168 Views)

Now even it is worse, Labview 2019 is upgraded from 2019 to sp1 but afterwards,

if we choose RT engine in TestStand2019 and try to use the modbus library TestStand Crashes without any message.

Is there a  log file for TestStand that we can check what was the crash issue for TestStand 2019.

So basically the problem persists. After upgrade nothing change. If we use development system it works but as soon as we switch to RT engine TestStand2019 now crashes without any message!!

thank you in advance

0 Kudos
Message 2 of 2
(111 Views)