03-09-2018 05:18 AM
Hi
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?
Thanks!
03-09-2018 05:28 AM
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?
03-09-2018 07:26 AM
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!
haagy
03-11-2018 09:32 PM
@haagy wrote:Or 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.