NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing advanced engine properties in TestStand

How the following properties of TestStand engine can be accessed programmatically:
1) Station Options
2) Search Directories
3) Report Options
????????????????

Being trying to accomplish this task, I encountered with following strange behaviour of TestStand,
which seems to me like a BUG(!!!):
I'm updating "SearchDirectories" property and this works properly.
BUT it also resets user manager filename to default.
Please see the pseudocode (without error handling) in attached file.

Regards, Misha.
0 Kudos
Message 1 of 2
(2,891 Views)
Misha,

I was able to reproduce the behavior stated in your post. Apparently, the function call:

TS_PropertySetValBoolean(hDir, 0, "Disabled", 0, VFALSE);

is not only changing the "Disabled" parameter on the search directory specified, but also the option "Use Default" under Station Options -> User Manager.

In version 3.0 you can use the SearchDirectories and SearchDirectory classes to directly modify the default search directories. For version prior to 3.0, you can use the ini CVI instrument driver to directly manipulate the file (check post "Accessing advanced engine properties in TestSt
and"
)

Regards,

Alejandro del Castillo
Application Engineer
0 Kudos
Message 2 of 2
(2,891 Views)