ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PLC DataSockets Speed

The VI i have developed has myriad data that it reads from an ALLEN-BRADLEY SLC5/04, the problem that i face is that the sheer load of data slows the pace to a crawling pace. what is supposed to be in real time is delayed by about 5-6 seconds.
I have reduced the time for update for certain addresses that need not be updated all the time, the others are at 100ms. i'm using LabView 7.0
I tried making SUB VI's out of these and using them, but this resulted in errors...the values read were pushed to other displays.

I hope i was clear...
any form of help or assistance is welcome,
cheers,
-U
0 Kudos
Message 1 of 2
(2,750 Views)
As I suppose you are using Datasocket, then:
Put each Datasocked Read item in separate While Loop with Wait function not less than 100ms.
Do not read more variables then 30.
Do you need more - LabvieW DSC is a solution.
Rumcajs.
0 Kudos
Message 2 of 2
(2,749 Views)