LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

numero anno/settimana

Buongiorno a tutti,

mi serve il vostro aiuto per risolvere un problema:

ho bisogno di calcolare il numero di anno/settimana in automatico e scriverlo in un file txt

(o comunque salvare una stringa).

Sapete se questo è possibile in Labview?

Grazie a chi mi aiuterà!

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

Hi/buongiorno emiliano,

 

please keep in mind this is an English speaking forum. (You might post in the Italian forum…)

 

I need to calculate the year / week number automatically and write it in a txt file (or otherwise save a string). Do you know if this is possible in Labview?

Yes, that's possible!

 

Spoiler
Use FormatIntoString with a proper format code. Read the help for that function and the linked list for all format codes…

There are discussions on ISO8601 week numbers like this (in contrast to the week number calculated using format codes: read them when you want to comply with ISO8601.

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,095 Views)

Sorry for the mistake!😅

So I'll try to use FormatIntoString and I'll see the example you linked!

Thanks!😉

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