LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Periodically cycle through tab controls


jmejiagusmer wrote:
Thank you. I wasn't aware that multiple shift registers could be placed on a single loop.

There are multiple shift registers in the loops in the example above.  So what makes you think that would not be allowed?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 31 of 34
(604 Views)

You should not only combine the loops, but also combine all temperature measurements, etc. into arrays. No need to duplicate all code N times for N rooms. 

 

Here's a quick draft.

 

Anyway, this is a pretty literal translation of apok's VI, but using arrays. Many things could be improved, for example if two rooms are out of range, only the first is shown, etc.

Message 32 of 34
(594 Views)

Thank you. This is pretty similar to what I was looking for. The only things that I need to do from here are monitor the temps on graphs, change the input to temperatures measured by the DAQ and sent over via ethernet, and find a way to log all the data. By the way, is there any way to still allow the user to view a certain tab on the tab control, regardless of which alarm has gone off? For instance, let's say room 1 and room 3 are both too hot and room 3 was the last one to switch over, would there be a way to still allow the user to view room 1 by simply clicking the tab? Thanks guys for all your help! I really appreciate it a lot

0 Kudos
Message 33 of 34
(569 Views)

@jmejiagusmer wrote:

By the way, is there any way to still allow the user to view a certain tab on the tab control, regardless of which alarm has gone off? 


For that, you need to make the tab a control (right-click...change to control. currently it is an indicator). Now you need to disconnecti it and write to a local variable of the tab for programmatic changes. You probably should also use an event structure to monitor user interaction. For example if the user operates the tab or a control, the automatic tab cycling should cease for a while to allow user interaction without interference.

0 Kudos
Message 34 of 34
(555 Views)