ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trace Web method to retrieve the trace data

I am retriveing data from one labview database using webservice. To get it I'm using this url:

 

http://localhost:3580/nicitadel/trace/computer1/library1/variable1?OUTPUT_FORMAT=JSON&dbpath=computer1/Default_Database

 

The data is displayed correct but the precision of the output time I recibe is not enough. The timeis represented as:

 

2010-12-31T00:30:57+08:00

 

In our database we can has more than one entry in the trace in the same seconds. Could we retrive the time with milliseconds using this web service?

What I have to do to get it?

 

Best regards.

0 Kudos
Message 1 of 2
(3,200 Views)

This will be he format I need =>

Complete date plus hours, minutes, seconds and a decimal fraction of a
second
      YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00)

where:

     YYYY = four-digit year
     MM   = two-digit month (01=January, etc.)
     DD   = two-digit day of month (01 through 31)
     hh   = two digits of hour (00 through 23) (am/pm NOT allowed)
     mm   = two digits of minute (00 through 59)
     ss   = two digits of second (00 through 59)
     s    = one or more digits representing a decimal fraction of a second
     TZD  = time zone designator (Z or +hh:mm or -hh:mm)
0 Kudos
Message 2 of 2
(3,173 Views)