01-18-2012 11:29 AM
Hi, I was wondering is it possible to write a configuration file setting the predefined path for loading the input and storing the output....
More Detail :
Assume, I have a standardized script which 4 Test engineers will use. But each test engineer wants to load their input from different location and save the output in different location. Say PErson 1's input location I:\RawFile and Save output file in O:\CalculatedData
Person 2's input location D:\RawFile\Test and output file in S:\ProcessedData and vice versa.
I think, Either I have to have a configuration file to each person to initial set their predefined input and output paths when the script is executed or there has to be an option(dynamic) to browse for windows explorer and letting the user to choose the input and output path.
Kindly someone suggest is there any better solution for this??
How to write a configration file for this?? Is it possible in Diadem..
Thank u
Rsh
01-19-2012 10:04 AM
Hi Rash,
These are the global variables that determine the initial default reading and writing paths in DIAdem, and which store the current state of those paths if the user changes them by interactively loading or saving a data file or VIEW or REPORT layout or VBScript:
DataReadPath
DataWritePath
LayoutReadPath
LayoutWritePath
ScriptWritePath
ScriptReadPath
You can set these variables in a startup VBScript when DIAdem launches.
Brad Turpin
DIAdem Product Support Engineer
National Instruments