LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what is the fastest way to detect on to off tag transitions and then read 500 analog tags?

what would be the fastest way to read 500 analog tags from the tag engine when a boolean tag transitions from on to off?? Right now I have a boolean indicator setup with the HMI wizard in a while loop with 20ms timer. The indicator feeds the boolean crossing ptbypt vi. When the output is true, I use one read multiple tags vi to get all 500 at once. I am reading data into the tag engine through an opc server and have around 2500+ tags. I need to read all of the data in less than 100ms. My plc logic is setup to zero out all of the 500 analog tags when the boolean indicator turns on again. Would I be better off using the trend tags vi to monitor the boolean indicator??
0 Kudos
Message 1 of 2
(2,392 Views)
Unclebump,

You might try using read tag.vi
0 Kudos
Message 2 of 2
(2,392 Views)