matthewx Posted April 14, 2015 Share Posted April 14, 2015 DAQconnect only updates the remote computer as new data arrives, is there any method to force update even if there is no value changes? as some of our data value won't change in few hours. Thanks. Link to comment Share on other sites More sharing options...
AzeoTech Posted April 14, 2015 Share Posted April 14, 2015 Are you sure you mean DAQConnect and not two copies of DAQFactory? I'm unclear what you are asking. Link to comment Share on other sites More sharing options...
matthewx Posted April 15, 2015 Author Share Posted April 15, 2015 sorry, I mean two copies of DAQFactory, connect using "Connections" thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted April 15, 2015 Share Posted April 15, 2015 Just update the channel with the same value. So, create a sequence like this: while(1) myChannel.addValue(insertTime(myChannel[0], systime(), 0)) delay(1) endwhile That will cause myChannel to update with the last reading of myChannel every second, which will then get sent across the wire to the other computer. Add more lines in the loop for each desired channel, and adjust the delay() as needed. . Link to comment Share on other sites More sharing options...
matthewx Posted April 17, 2015 Author Share Posted April 17, 2015 I tried While(1) Bay4.temperature.addValue(insertTime(Bay4.temperature[0], systime(),0)) delay(1) endwhile But it didn't work, can you please advice? Thank you Link to comment Share on other sites More sharing options...
AzeoTech Posted April 17, 2015 Share Posted April 17, 2015 What's Bay4? You want to do this on the server, not the remote. Which means you shouldn't need the bay4. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.