LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean Latching Action with cRIO

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

0 Kudos
Message 1 of 4
(2,714 Views)

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.

0 Kudos
Message 2 of 4
(2,697 Views)

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

0 Kudos
Message 3 of 4
(2,682 Views)

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.

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 4 of 4
(2,662 Views)