LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

opc reading a group of data

I want to read about 100 data values from an OPC server. I use LabView 6i (6.0.2) and do not have "Datalogging and Supervisory Control". How can I read all the 100 values with one call (synchronously)?
0 Kudos
Message 1 of 2
(2,531 Views)
Possibly with a dde connection to the opc server, but that might result in string data. The DSC would really make it easier. If this is for fast data reads (less than 100ms), you might want to incorporate some checksum registers in the plc side and in labview to make sure data is accurate on each end. I have an application that reads 200-1000 tags when a drill stops machining a part. I had to make labview read the tag data in a while loop until the checksum from the plc matched what was calculated in labview. Look for some CRC16 vi's.
0 Kudos
Message 2 of 2
(2,531 Views)