dchappel Posted September 6, 2008 Share Posted September 6, 2008 When using OPC device, how should timing / offset be utilized? Is there a different answer to this question for sync / async reads? Thanks! Link to comment Share on other sites More sharing options...
AzeoTech Posted September 9, 2008 Share Posted September 9, 2008 Yes, it depends on whether you are in sync or async. In Sync, it works just like polling a Modbus or any other device. If the timing is set to 1, then you'll get a new data point every 1 second. For Async, the timing is simply to tell the driver to go async with the channel. After the driver is told this, data will come in whenever the OPC server sends it to DAQFactory. Because the driver only has to be told once, the actually timing doesn't matter as long as it isn't 0 (unless you explicitly read() each channel), and really the slower the better, so even 10 would be fine. Definitely don't go less than 1, and there is no advantage to using different offsets. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.