NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a Code Module with Access to the TestStand API in LabVIEW

From the website 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x11cCAA&l=de-DE

í get this

govindsankar_0-1768906579868.png

But i dont understand this since I am a beginner to Teststand. 

This is my teststand UI of the current sequence I created

 

govindsankar_1-1768906685429.png

 

I want a labview program that can run this sequence and then access the final value. I dont know how to do that, that is why I am researching. I did this thing where I put an action step at the end. But then in the UI it is different from the website above. 

 

govindsankar_2-1768906856580.png

 

 

But still there was a create VI here. So i clicked on that, and it was asking for me to select a VI. So i just created a blank VI and selected it here. And then I created the code using the sequence local and ran it  and immediately I am getting error code 97, Unknown System Error in Get USB Voltage_Blank.vi. So whatever I have done till now is completely wrong. This is the VI

 

 

 

govindsankar_3-1768907134175.png

 

I will also upload the VI and other files. Kindly help me in understanding the problem and correcting it. 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(90 Views)

If you want to run your TestStand Sequence which calls a LabVIEW Code module from LabVIEW, Iguess you want to do so to implement a User Interface, don't you

 

In this case, you should look at the concept of operator interfaces e.g.

https://www.ni.com/de/support/documentation/supplemental/08/teststand-user-interface-development-bes...

or 

https://share.google/YNS8KKcoJaUgNHSsy

If that's not what you want to achieve, please define what you want to achieve, so we can figure out how to do it 

0 Kudos
Message 2 of 2
(80 Views)