LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running the same VI on myRIO and on PC

Hi all,

 

I'd like to write a demo program for students which could run (1) on the PC as a "normal VI" using a DAQ M device and DAQmx and (2) on a myRIO target. Only the signal acquisition/generation part of the program will be different in the two cases, the data treatment will be the same. That's why I wanted to write only one VI, possibly in the same project that could run on both targets.

 

For the moment, the most promising idea I had was to use the same VI in two different projects (one for myRIO target and the other for the PC) and a Conditional Disable Structure with "TARGET_TYPE" condition, but when trying to run the VI with the myRIO target, I have a conflict "This VI is broken or otherwise not in a deployable state".

 

Is there a way to achieve what I want ?

Thanks a lot for your help !

 

Cheers,

Julien

 

 

____________________
JB
0 Kudos
Message 1 of 3
(2,576 Views)

Could you share your VI and project?  Hard to diagnose what went wrong without code.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,569 Views)

Here are the files.

 

 

____________________
JB
0 Kudos
Message 3 of 3
(2,564 Views)