NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Running VIs on a RIO RT target

Is there a way to run VIs on a Compact/SB RIO target from TestStand? I'm hoping to set it up just like a local VI where I set the VI inputs with TestStand variables and the outputs of the VI after it's done executing get sent to other

TestStand variables.


A related question: Can I run a VI with a certain project's context? For example, I may I have a certain set of conditional disable symbols set up in a project an I want to run that VI in TS with those symbols. Another use case would be if I had special dependancies set up in the project and I wanted to run the VI with those particular subVIs.

CLED (2016)
0 Kudos
Message 1 of 4
(3,268 Views)

After conducting a bit of research, I have been unable to figure out a way to pass TestStand information to the FPGA VI on the RIO. Typically you would use a shared variable to pass data to a VI on a RIO target, however I have been unable to determine a way to bind a shared variable to a variable in TestStand. Regarding your second question, can you please try to clarify, as I'm having a difficult time understanding what you would like to do. 

Kareem W.
National Instruments
Web Product Manager
0 Kudos
Message 2 of 4
(3,239 Views)

I'm not trying to pass data to an FPGA, I'm trying to run a VI on an RT target.

 

Regarding the second question, when a VI runs in an lvproj, it runs differently than when you run it outside of a project. Like I said before, it might run differently because of the conditional disable tokens in the project or it might run differently because of how the project has its file dependencies setup. How would I run a VI as if it were a part of a project.

CLED (2016)
0 Kudos
Message 3 of 4
(3,229 Views)

InfiniteNothing -

 

You should be able to execute VIs on a RIO RT target from TestStand. I assume the RIO will be running in SCAN mode. From TestStand, you would have to specify the LabVIEW step to call the VI remotely. The IP Address would be configured to the IP Address of the RIO target and the Remote VI Path would be configured to match the path of the VI on the RIO target. Then, in the regular Module tab of the LabVIEW step, you would point to the VI on your local machine and configure the inputs and outputs accordingly.

 

To answer your related question: Yes. As of TestStand 2010, a LabVIEW step can be configured to specify a LabVIEW Project and call VIs from that LabVIEW Project.

 

Hope this helps.

Manooch H.
National Instruments
0 Kudos
Message 4 of 4
(3,219 Views)