Hi All,
I am new to TestStand, I have used the write method to write values in my local variable (Locals.Parameters) to a text file address specified in my local variable (Locals.FilePath):
Locals.Parameters.Write (Locals.FilePath, "MY_GLOBALS", 0)
I have set the RWoptions = 0 (indicating default behaviour).
I now want to write more than one variable (Locals.Parameters and Locals.Parameters2) to my text file which Locals.FilePath points to. I tried setting RWoptions = OR (bitwise-OR as described in TestStand help:
Locals.Parameters.Write + Locals.Parameters2.Write (Locals.FilePath, "MY_GLOBALS", OR)
This doesn't work so I tried to individually write them but this only writes the last variable (Locals.Parameters2):
Locals.Parameters.Write (Locals.FilePath, "MY_GLOBALS", 0),
Locals.Parameters2.Write (Locals.FilePath, "MY_GLOBALS", 0)
Is it possible to write multiple variables to a text file and could you please enlighten me on how to implement this in TestStand code? (BTW I am using TS 2014)
Any help is much appreciated, thanks