LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC 8 custom timestamp

Is there a way to write a custom timestamp to a published shared variable in DSC 8.0, as we could in older DSC versions with VI-based servers?
0 Kudos
Message 1 of 4
(3,991 Views)
Greetings cosmin,
 
There is, at least, no easy way to do this with 8.0.  It may be, however, that there is a means to accomplish your end goal.  Why do you want to insert custom timestamps?
Regards,
Robert
0 Kudos
Message 2 of 4
(3,986 Views)
Hi,
The short version of the story is like that, you have a process controlled by a computer (industrial) who sends data (sensors data, status, timestamps, etc.) in serial packets, throught a HSDIO board, to another computer in which resides a labview application who stores data in citadel, and publish the data for any other opc (or psp) clients in the network. The clients must see the data with the coresponding timestamp from the process computer (not VI-server timestamp). The timestamp resolution must be 1ms.
So, can I create shared variable with custom timestamp? Smiley Happy
regards
cosmin
 
0 Kudos
Message 3 of 4
(3,979 Views)

At least for the time being you cannot create shared variables with custom timestamps but...

In DSC 8.0 the ability was added to log to the Citadel database directly, bypassing the engine.  Once you get the information from the acquiring computer you could publish the data to a non-logging shared variable so it would be available to others on the network and write the data directly into the database (which allows you to supply the timestamp.)

Obviously this is more cumbersome than just supplying a custom timestamp to the variable but it will allow you to log with the resolution you require until custom timestamps are available with the shared variable.

Regards,
Robert
0 Kudos
Message 4 of 4
(3,961 Views)