06-21-2010 09:13 AM
Hi all,
a very quick question.. Is there any way to overcome the boolean latching action limitation in cRIO VIs? I must have a latch when pressed button connected to a cRIO variable but I get an error message that it cannot support such action..
Many thanks,
Harry
06-21-2010 02:12 PM
In normal cRIO ( or any other real time) application you will never see or use the FP of the main vi.
You should build a host application the communicates with the cRIO over the Ethernet, rather than focus on FP action in a cRIO application.
06-22-2010 02:58 AM
dkfire,
thanks for the reply, I understand your point.. The VI that I want to build now is a test one, meaning that I want to access (read/write) each of some 400+ channels individually.. I would like to avoid building a host VI for this case as I would have to define 400+ user defined variables.. So I was thinking to run it directly from RIO..
I take it that there is no way of using latch action in my case then...
Cheers,
Harry
06-22-2010 05:37 PM
charmand79,
The only way to get a latching feel for that front panel control is to use a local variable to set the button back to false when you are done reading it. If you right click on your button in the block diagram and select Create»Local Variable you'll get a local variable to use in your code.