NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

applications in teststand

hi
 
im quite new here but here goes.
 
im running a teststand sequence, and within that sequence i call an exe of a vi i built. Basically its a front panel for a test engineer allowing him to press buttons and take individual readings. the reason im doing it this way is i already have all the instrument dlls i need and want to link to them using this exe.

 now i can get this GUI up and running, but what i want to do is pass data from the GUI back into the teststand sequence (to call the dll's) and continue the teststand sequence, which would wait for more oiperator input.
at various times i need to send data back to the GUI (DMM reading).

so, teststand will invoke the GUI and they will pass data.
 
looking at labview i only saw the test data cluster for passing "out" data, and i got the distinct impression that this only occured at the end of the call.
debugging teststand shows that even though withing labview im correctly using the reporttext parameter, teststand doesnt see it and skips merrily on. 
anyone help with some advice here?

practical examples that i can debug would be preferable !!!!!

 
many thanks
0 Kudos
Message 1 of 7
(3,938 Views)
Hi,
 
Call the top level VI direct from TestStand instead of an exe. You will still beable to use your instrument dlls.
 
Pass the SequenceContext to you top level VI, you will then be able to use the TestStand API call to read and write data to and from your sequences.
 
Look at the AccessPropertiesAndVariables example in the TestStand eamples folder.
 
What Teststand version are you using?
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 7
(3,921 Views)

1.0.1 apparently

 

thanks for the advice

how do i get rid of the menus so the operator doesnt bugger things up?

 

 

 

0 Kudos
Message 3 of 7
(3,920 Views)
Hi,
 
By making use of the other logins such Operator user, this disable ables various menu items. Setting a password on the administrator user, or settting the option to use the windows login.
By not installing the development environments on you target system, such as LabVIEW and the TestStand SeqEditor.
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 4 of 7
(3,916 Views)

thanks for advice.

but im still having an issue here!

i can call the vi and pass data to and from it but nothing happens in teststand until i exit this vi.i.e. as i called the vi from teststand it waits till it stops.

this is not what i want to do.

i want the vi to remain open. there must be a way i can do this and still pass data to/from the vi and teststand. personally i just dont know how !!!

 

if i call an exe it works but the exe errors as the data passing doesnt seem to work.

 

well if you can sort this it would be very apreciated !!!!!

0 Kudos
Message 5 of 7
(3,912 Views)

Hi,

You will need to call you VI from when a SequenceCall step. This SequenceCall Step you setup to run in either a new execution or new thread, probably in a new execution. Set it up so that it runs without a process model. You can define this in the Specify Module dialog for a Sequence Call.

This example may help:

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D78456A4E034080020E74861&p_...

Not sure about this example:

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3ED6156A4E034080020E74861&p_...

 

This one should help (try this one first):

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EB5E56A4E034080020E74861&p_...

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 7
(3,904 Views)

much apreciated

 

ill leave you alone now 😉

0 Kudos
Message 7 of 7
(3,899 Views)