Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

User Interface functions Compact RiO

Hi,

 

I was wondering if User Interface functions such as the Two button dialog and Three button dialog were supported on the CompactRiO.

 

Thanks,

-Bilal Nadeem

0 Kudos
Message 1 of 2
(3,079 Views)

Hi Bilal,

 

Technically, you can put those user interface functions in the VIs that you run on your CompactRIO (or any RT target), but you should not actually do so. If you build a VI that contains a dialog function into an RT executable and deploy it to the target (where it runs headlessly with no user interface), the code will hang because there is no way for the user to acknowledge that dialog.

 

If you need to have user interaction with your CompactRIO's behavior, that will need to be implemented in the program on your Host PC that communicates with the RT code.

 

Hope this helps!

Andy H.
National Instruments
Message 2 of 2
(3,056 Views)