03-09-2017 04:05 AM
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
03-09-2017 04:11 AM
Could you share your VI and project? Hard to diagnose what went wrong without code.
03-09-2017 04:17 AM
Here are the files.