NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand cRIO - is it possible to run a VI on a cRIO via Teststand?

Hi, 

I want to know if it's possible to run a VI deployed to cRIO though teststand? How would you do it? I've been looking for an anserw for the last couple of days, but can't really find anything.. any advice will be very beneficial. 

0 Kudos
Message 1 of 3
(2,506 Views)

Hey HealthyChicken,

 

It's possible but not necessarily straightforward. I don't know what your project requires, but I'm aware of 2 options

 

1) TestStand remote execution

When configuring the Module settings for the step in teststand you can find the "advanced settings" on the right side. There you can configure to "Run VI on Remote Computer".

Before being able to run it you will need to a) in a LV project, right click on the cRIO -> properties -> VI Server and enable TCP/IP as a protocol; b) right click on the VI you would like to run and click "deploy". As long as the LV project is open, you should be able to execute the step on the cRIO.

I was trying to automatize the last two steps, but so far not really successful.

 

2) Run a start-up VI on the cRIO and call a Host VI from TS

The easier way is to have a normal start-up VI on the cRIO, reading all the data etc (maybe with a state machine with a state for each test you would like to perform?). Then write a Host VI (or a set of host VIs) interacting with the cRIO which is called by TestStand to access the data on the cRIO.

 

Both options should work. Personally I would probably go for the last option, but without knowing your project requirement it's difficult to judge what's working for you.

 

Please let me know if you have any questions about my ideas.

Andreas
CLA, CTA
Message 2 of 3
(2,459 Views)

Definetly go for option 2. Always....

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 3
(2,453 Views)