Error -17306: Unknown Variable or Property When Starting Sequence File With Simple User Interface

Updated May 31, 2023

Reported In

Software

  • TestStand
  • LabVIEW

Issue Details

I created a sequence file in which I use a step to write a value in a station global. When I execute the sequence in TestStand development system the sequence runs correctly. 
If I start the sequence with the simple user interface I see Error -17306; unknown variable or property. When I use instead of the station global a file global or a local variable it works, I do not see an error. 
What can I do to execute my sequence with simple user interface? 

Solution

For a solution to your problem have a look on the following points:
  1. Please check TestStand version you are using. When you want to execute the sequence file via simple user interface then you have to know that this user interface was programmed with LabVIEW in 32bit version. Therefore you will need TestStand also in 32bit version. 
  2. Create the sequence using TestStand 32bit
  3. Have a look on the station global tab under View->Station Globals
  4. Create the step in which the value is written into the station global, create the station global
  5. Save the created station global, the * on the station global tab will vanish
  6. Save and close the sequence in sequence editor
  7. Open and start the sequence in simple user interface

Additional Information

  • For 32 and 64bit TestStand version exist a StationGlobals.ini file in C:\ProgramData\National Instruments\TestStand "Version" (32-bit)\Cfg and C:\ProgramData\National Instruments\TestStand "Version" (64-bit)\Cfg. A user interface programmed with LabVIEW 32bit version takes the information about station globals out of the StationGlobals.ini file from TestStand version 32bit. Therefore sequence has to be saved with the correct TestStand version to write the station globals into the right StationGlobals.ini file.