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.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand-Check file attribut (timestamp of last save)

Hello all,

 

Is it possible to get the Information about the last time when a file was saved. in LabVIEW there is a function called get file info but I would like to do it with the functions of the TestStand API.

 

I would like to read the exact time when the file was saved.

 

Greetings Walter

0 Kudos
Message 1 of 4
(4,346 Views)

Hi Walter,

 

in TestStand(5.1) there not such a feature implemented.

But you might use .Net System.IO.FileInfo Class instead

Just take a look at the attached example

 

Regards

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 4
(4,341 Views)

Hello Juergen,

 

Thank you for your answer.

 

I am using TestStand 2010. Could you save the sequence for that version so I can open it.

 

Regards Walter

0 Kudos
Message 3 of 4
(4,337 Views)

Hi,

 

here you are.

 

Regards

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 4
(4,331 Views)