Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Display time in milliseconds

HI

 

When i run my program I need to display time only in milliseconds . How can i achieve that ? Which block should i use for that ?

0 Kudos
Message 1 of 2
(6,488 Views)

Hi,

 

You can use Format Date/Time String Function in LabVIEW and used respective format to acquire time in miliseconds.

Format Date/Time String Function: http://zone.ni.com/reference/en-XX/help/371361H-01/glang/format_date_time_string/

Format Code for the time string format: http://zone.ni.com/reference/en-XX/help/371361H-01/glang/codes_for_time_format_str/

 

For milisecond, the format is <%<digit>u>

 

Regards,

KwokHow Lou

AE NI Singapore

Applications Engineer | National Instruments
Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
Philippines (63) 2 659 1722 | Vietnam (84) 28 3911 3150 | Indonesia (62) 21 2783 2355
0 Kudos
Message 2 of 2
(6,323 Views)