NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand training course example run issue

hi,

I am trying to run as following(taken from the guide):

  •  Copy the Setup folder from the Solutions folder to the Exercises directory. From
    the C:\Exercises\DevTestProgs Using TestStand\Setup directory run the setup
    sequence file using Execute»Single Pass 
  • labview version:2021
  • Teststand 2022 Q4

 

this results in to following issue

 

Error calling sequence Single Pass.

Do you want to go to step `Get Search Directories to Add`?

Error loading step 'Get Search Directories to Add' of sequence 'AddSearchDirectories' in file 'setup.seq'.
Failed to load VI 'C:\Users\xxxxxx\Desktop\Essentials\Teststand\DevTestProgs Using TestStand\Setup\calculateSearchDirectories.vi' in the LabVIEW Run-Time Engine version '21.0.1f6'.

LabVIEW: (Hex 0x464) VI is not loadable.

 

In a built application, this error might occur because the VI being loaded was last compiled for a different OS or with CPU features, such as SSE, that this target does not support. In this case you must rebuild the application for the target OS and make sure SSE compiler settings in the build specifications match the target platform. This error also might occur if the VI is a polymorphic VI, which cannot be loaded in the LabVIEW Run-Time Engine. You must load an instance of the polymorphic VI instead of the polymorphic VI itself.

An error occurred loading VI 'calculateSearchDirectories.vi'.


LabVIEW load error code 22: This VI was compiled on another platform and can only be loaded in the full development version of LabVIEW.

VI Path: C:\Users\xxxxxx\Desktop\Essentials\Te

NOTE: Although this step is not in the main sequence, it is in the same file, and its
module load option is set to 'Preload when execution begins'. To avoid this error in
the future, change the step or sequence file module load option to 'Load dynamically'.

ERROR CODE -17600
Failed to load a required step's associated module.
Source: 'TSAPI'

0 Kudos
Message 1 of 4
(278 Views)

Guess your are hitting several issues here:

 

1.) Please make sure, you the LabVIEW adapter is set to Development System

2.) In the past, setup.seq used to have some issues depending on the versions used. Don't bother with this: set the search paths manually as described in Excercise 4.1 (IIRC)
I think, it's just adding the accoding LabVIEW intr.lib ...

 

0 Kudos
Message 2 of 4
(267 Views)

I set the Labview adapter to development system and got the following error.Oli_Wachno

-the path already exist

 

The post-expression for the step 'Add to search directories' could not be evaluated.
Error in call to TestStand API member 'SearchDirectories.Insert'.
Path does not exist: C:\Users\xxxxxxx\Desktop\Essentials\Exercises\DevTestProgs Using TestStand.


ERROR CODE -17212
-17212; Path not found.


LOCATION
Step 'Add to search directories' of sequence 'AddSearchDirectory' in 'setup.seq'

0 Kudos
Message 3 of 4
(224 Views)

As mentioned before. this setup.seq has issues depending on versions and file locations.

 

You can either spend / waste time debugging this in your situation (actually a pretty good practice for troubleshooting techniques described in Lesson 5)

or 

just do the stuff the setup.seq is supposed to do: set the search directories as described in Exercise 3.2 (my mistake earloier on) and the report settings in Exercises 7.1-7.3

 

Setup.seq is meant to be a convenience tool 

0 Kudos
Message 4 of 4
(213 Views)