06-13-2017 03:04 AM
hello everybody
I work on a test bench that allows to test radio modules, I would like to add an option that is: ask the user to put a "Golden" module that verifies the validation of the bench every 5 days, the idea is to Make a matrix because it has 8 slot and putting the remaining time to ask for the golden.
Questions:
- Thé best way tô do: * Creat a file .ini or creat array 2D in teststand?
-How could I create a time counter?
i accept other idea !
thank you!
06-16-2017 04:55 AM
Hey,
I think the best option would be to store the Date that the last validation was run in a Station Global, this is kinda what those variables are for. It will hold that value until you next update it. You can then call the current date and compare it to determine how long left you have until you need to validate again.
Nic
06-16-2017 06:22 AM
thank you!
This is what I wanted to do, I intend to use the seconds () function.
I have another question! please.
I want to store its date in ini / xml files, but I'm afraid of the ini files in the multithreaded system
You advise me what?
NassAB
Nico011 a écrit :
Hey,
I think the best option would be to store the Date that the last validation was run in a Station Global, this is kinda what those variables are for. It will hold that value until you next update it. You can then call the current date and compare it to determine how long left you have until you need to validate again.
Nic
06-19-2017 01:40 AM
06-19-2017 01:47 AM
Thank you Nico011
Hello;
No, not really, I hesitate between the file ini or XML? You advised me what?
Nass
06-19-2017
02:00 AM
- last edited on
11-04-2024
12:58 PM
by
Content Cleaner
Ahhh. Well, the ini file is nicer to handle programatically, within any coding language. The XML is nice if you want users to view the data in some customised presentation.
If you only want a place to store it, an ini file would work fine. As a note, the Station Globals are stored in an ini file as well (Station Globals.ini).
https://www.ni.com/docs/en-US/bundle/teststand/page/station-global-variables.html
Nic