Showing results for 
Search instead for 
Did you mean: 

Switch until released myRIO / cRIO




I would like to control a stepper motor with buttons on the Front panel. They should have the function of switching until released.

But when I try to run the VI on myRIO or cRIO the attached error message occur.


Could anyone tell me how I can run those VI's on real hardware or how to cheat / create another way of getting the data of how long the button is pushed?



0 Kudos
Message 1 of 4

Hi haagy,


those "until released"-options work "in the frontpanel". But as myRIO and cRIO VIS don't have frontpanels (as those RIOs don't support monitors) you cannot use this switch mode!


Did you take the beginner tutorials on RIO?

Did you examine the example projects explaining how to control your RIO devices from a host PC?

Do you know how to communicate between RIO and PC?

Best regards,
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 2 of 4

Dear Gerd


Thank you for your helpful information, I think I have quite a lot of stuff to learn. In the end we want to control the cRIO with a front panel displayed on the touch panel computer from NI. So could we run for example the „switch until released“ on the touch panel computer and use it directly to control the outputs of the cRIO? Or what would be the best way?


Thank you very much!


0 Kudos
Message 3 of 4

@haagy wroteSmiley Surprisedr what would be the best way?

Create a PC application that will run on the PC connected to the touch screen.  You can implement all of the GUI you need there.  Use TCP/IP or Network Streams to send messages to the cRIO.  The cRIO can read those messages and react accordingly.  Use a similar method to send status updates back to the PC.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 4 of 4