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: 

Shared Variable Timestamp fixed on TPC-2012

Solved!
Go to solution

 

My code running on a TPC-2012 reads from a shared variable that is hosted on a CRio.  Reading the timestamp of the shared variable gives me the same 5AM time in 1903.

 

If I read that same shared variable using software running on a PC vs the TPC, I get a timestamp that corresponds to the correct time on the CRio. Therefore, the CRio is publishing and updating the variable as required.

 

 

 

What is up with the TPC?  I am guessing that reading the timestamp is not supported on the TPC?  Yes/No?

0 Kudos
Message 1 of 3
(2,689 Views)
Solution
Accepted by topic author dbtestcon

Fixed.

 

You must read the timestamp AND the actual variable output.  Just reading the timestamp will not give you anything meaningful.

 

 

I didn't care about the data in the Shared Variable, I just wanted the tmie it was written.....

0 Kudos
Message 2 of 3
(2,659 Views)

Hi dbtestcon,

 

This was reported to R&D (#162395) for further investigation.  Thank you for posting your workaround. 

 

Jennifer R.
National Instruments
Applications Engineer
Message 3 of 3
(2,637 Views)