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.
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.
06-29-2022 06:22 AM
I'm trying to make VI that takes the date and time as an input and create a time stamp. However, the final indicator for time stamp not appear the the fraction of seconds precision.
Kindly, download the attached file for more illustration.
Best Regards 🙂
Solved! Go to Solution.
06-29-2022 06:31 AM - edited 06-29-2022 06:41 AM
06-29-2022 06:46 AM
OK Mr. Gerdw, I understand that the setting format will display the time as HH:MM:SS format.
Any suggestions to get the time stamp in hh:mm:ss.fff format using another method.
06-29-2022 07:25 AM
GerdW already gave you a solution.
In your code you are mistakenly setting "fractional second". This value must be less than 1, not a large integer like in your vi.
06-29-2022 07:47 AM
@GerdW wrote:See this simplification:
Either that GPS String Time is using a wrong regular expression or i'm missing something.
The regular expression that works for me is %02d%02d%f, the regular expression GerdW provided won't let me run the code due to too many arguments.
06-29-2022 07:56 AM
Hi AeroSoul,
@AeroSoul wrote:The regular expression that works for me is %02d%02d%f, the regular expression GerdW provided won't let me run the code due to too many arguments.
I just included "%.;" before the "%f" to avoid problems due to different regional settings (aka point vs. comma decimal separator). That "%.;" is a common format code…
06-29-2022 09:53 AM
Great Thanks Mr. Gerdw for your continuous support. You are helpful and generous person.
How you are strong and professional with NI community.
Thanks alot for all of you
07-02-2022 10:08 AM
Certainly, Mr. Gerdw give the best solution for the problem. There is another solution here:
Best Regards 🙂