NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand 4.0 custom step type, NI example error

Hi, I am evaluating TestStand 4.0.  

 

Trying to run the step type example supplied by NI, but I have found an error, unfortunately I am not able to understand and fix.

Running the example all TS_ExprCtrl_Create(..) functions called by CreateExpressionControls(..) return errors. Here below a fragment of the CVI 8.0 Debug Output Window

 

May anyone help me ?

 

NON-FATAL RUN-TIME ERROR:   "c:\...\StepTypes\CVI\HP34401a\HP34401aStepType.c", line 356, col 5, thread id 0x00000B98:   Library function error (return value == -143 [0xffffff71]). ActiveX control error

 NON-FATAL RUN-TIME ERROR:   "c:\...\StepTypes\CVI\HP34401a\HP34401aStepType.c", line 358, col 5, thread id 0x00000B98:   Library function error (return value == -143 [0xffffff71]). ActiveX control error

0 Kudos
Message 1 of 4
(3,167 Views)

Hi,

Have you rebuilt the step type within CVI 8.0 or are you running the example sequence file from TestStand as supplied by the installation of TestStand. If the later you my need to get a compatible RTE for CVI.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,159 Views)
Hi Ray,
 
What I have described happens in both cases. with  the  original files  supplied by NI and with recompiled CVI 8.0.
 
Notice: In the recompiled version I had a work around to exclude the instrument see HP34401a_xxxx(..) functions, as you can see in the HP34401aStepType.c attached file.
 
Best Regards
 
Carlo Guglielminotti
 
0 Kudos
Message 3 of 4
(3,154 Views)

Hi,

I have tried the example in TS4.0. I initially had to download and install the HP34401a driver from the NI website.

After that the example run fine. I don't have any instrument attached so it was running in simulation mode for the IVI driver.

Also, I can open the edit panels as well.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,130 Views)