From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Which computer sets the time stamp of a shared variable?

Solved!
Go to solution

Which computer sets the time stamp of a shared variable? The computer that hosts the variable or the computer writing the variable?

(This is important when the system clocks differ.)

 

Greetings,

shb

Message 1 of 5
(2,336 Views)

Good Question - I have only one use case which is similiar...

I have a cRIO which hosts a NSV library which is bound to a mirror library on the PC.  The PC library

is set to log to a Citadel DB.  When my cRIO RT software writes values to the NSV the timestamp is created

at the instant the write occurs using the RT system clock (which incidentally is sync'd to GPS time).  This timestamp is preverved all

the way up to the PC and the Citadel DB.

Message 2 of 5
(2,289 Views)
Solution
Accepted by topic author shb

Hey,

 

The timestamp is set from the variable who writes.

 

 

Christian

Message 3 of 5
(2,270 Views)

> The timestamp is set from the variable who writes.

 

This means from the computer which writes the variable and not the computer hosting it, right?

0 Kudos
Message 4 of 5
(2,265 Views)

Right!

Message 5 of 5
(2,255 Views)