VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Incorporating an Auto Mode into the Custom Workspace Object...

Hello,

 

I have custom workspace object that uses an event structure within a while loop for detecting manual value changes for controls on the front panel. However, I would like to integrate "auto mode" like functionality. I want to have a switch when set to true the object will write the values from the controls to the channels every N seconds, where N is a value specified by the user.

 

My first thought was another while loop/event structure setup to handle this. Any suggestions?

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

Hi swbpnole,

 

I'm a little confused as to what you mean by 'auto-mode'. It almost sounds like you want to implement a polling architecture vs. the event-driven architecture you have currently. Am I interpreting this correctly?

 

I'm not sure what the use case would be for that. Could you describe why you would like to do this?

 

Also, which version of VeriStand are you using? (2015 SP1 or earlier?)

Nadine H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,074 Views)