Daqconnect Force Update


Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.