09-05-2016 06:41 AM
Hi
I have 2 sequence files A.seq and B.seq on one test station (one computer).
I want to save the result from A.seq using the “2.x to 4.0” schema “TS 2.x-4.0 Generic Recordset (NI)”
I want to save the result from B.seq using the “2012 and later” schema “Generic Recordset (NI)”
The problem seems to be that in order to change the schema I have to do the following.
1 Configure\Result Processing
2 Database
3 Schemas\Reload NI Schemas
4 select “2012 and later”
5 OK,
6 select “Generic Recordset (NI)”
7 OK, OK
How can I do this programmatically / on the fly from the sequence file?
It’s not enough to simply put:
Parameters.DatabaseOptions.DatabaseSchema.Name = "Generic Recordset (NI)" in "DatabaseOptions"
because this will apparently not load the necessary modules to TestStand.
Yours sincerely,
Erik
09-07-2016 08:20 AM
NI come with the suggestion to copy the schema from “2.x to 4.0” to, in this case, “2012 and later” schemas.
I copied the schema “TS 2.x-4.0 Generic Recordset (NI)” under "2.x to 4.0" to the schemas under “2012 and later”
When copying the schema the name of the schema changed from
“TS 2.x-4.0 Generic Recordset (NI)” to
“TS 2.x-4.0 Generic Recordset”
In TestStand I then selected “2012 and later” schemas and put
Parameters.DatabaseOptions.DatabaseSchema.Name = "TS 2.x-4.0 Generic Recordset" in A.seq and
Parameters.DatabaseOptions.DatabaseSchema.Name = "Generic Recordset (NI)" in B.seq
This made it possible to access to the two different databases without reloading the schemas .