LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC function in a packed library for TestStand

Hello all,

 

I'm working on an labrary for TestStand. This library must includes functions to read and write data to an OPC server. For accessing OPC data, i'm using the DSC module to create an OPC client. So I created these function : 

- Init : This function create the DSC process and the OPC client

- Read : This function returns the current value of a variable

- Write : This function write the value of a variable

- Close This function close the DSC process

 

The functions are in a packed library, which will be used on TestStand.

 

I tested these functions with a test VI on LabVIEW by calling them from the packed library I created, it works fine. But once i try calling these function on TestStand, there is an issue. The execution of my function "Init" never ends. I used some debug tools to understand the issue, and I realise that the DSC function "Create process" never ends.

 

I really need some help to understand and fix the bug. You can see lower a screenshot of the code of the Init function.

 

albe225_0-1630947874558.png

 

0 Kudos
Message 1 of 1
(838 Views)