LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing System Time Affects Network-Published Shared Variable

Hi

 

I have some network-published shared variable which are acquired in one computer (PC-1) and shown in another computer (PC-2). These variables are aliasing with each other using PSP. When I change the system time of PC-1 backward for one minute, the update rate of variable in PC-2 is decreased for a one minute. Why? Does changing system time affect network-published shared variables? It noteworthy that changing time forward does not have this effect.

 

Regards

0 Kudos
Message 1 of 4
(2,894 Views)

If the system time is used to determine when to send the updates, that would make sense.

 

1. Send Update

2. Set time to send update to Now+X seconds

2.5 Time got set back a minute

3. X seconds after 2, the time is still less than update, so wait

4. Repeat 3 every X seconds until system time greater or equal to update time, which will actually be X+60 seconds (due to the 1 minute change).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,888 Views)

Thanks for your quick replay.

 

I do not use the system time to determine when to send the updates.

I just used a standard network-published shared variable without any buffer or RT FIFO.

Does SVE use the system time?

0 Kudos
Message 3 of 4
(2,871 Views)

@msad66 wrote:

Does SVE use the system time?


That is my current theory.  Somebody from within NI will have to chime in to say for sure.  But the evidence does point to that.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,852 Views)