LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I control the poll rate for DSC modbus i/o server

I'm using labview 8.2 with DSC 8.2.  I created a modbus i/o server in my project and several shared variables bound to the server.  I have a very simple vi that consist of a loop with an interation set at 2 seconds and an updatenow sv and write to coil sv inside the loop.  outside the loop is a updaterate sv set to 0.  I would of thought that when the vi is run the first thing that happens is the server refresh rate is set to zero (updaterate = 0) and with each iteration of the loop the write to coil sv would be updated (updatenow sv followed by write to coil sv), however, as soon as the update rate is set to zero the tx/rx indicators on the modbus device flash constantly.  If I set the updaterate to some other value besides 0 such as 10 seconds, the device tx/rx indicators flash with every iteration of the loop (2 sec).  What have I done wrong? 
0 Kudos
Message 1 of 2
(4,241 Views)

Hello,

I have opened a dialog with R&D to determine if this is a problem in documentation, a problem with behavior, or there is a rational explanation for the behavior.  At this point, it appears as though behavior contradicts documentation.  If it turns out to be a legitimate bug, we'll repost with the formal corrective action request ID (CAR ID).

For now, a workaround will be to set the refresh rate in seconds to something very large, effectively causing it not to refresh the device.

Best Regards,

JLS

Best,
JLS
Sixclear
0 Kudos
Message 2 of 2
(4,229 Views)