NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in step: instrument reserve (-6 user defined code)

I'm doing the training couse of teststand.

 

Could anybody help me with this error please?

 

1.png

Thanks so much.

0 Kudos
Message 1 of 10
(4,486 Views)

Hi cristina.lopez,

 

this happens when the reference to the instument has not been properly closed.

 

When this error occurs, select Run Clean UP instead of Abort to make TestStand close the opened references properly.

 

Regards,

Message 2 of 10
(4,452 Views)

I still have the Problem. I tried just to run the clean up , but does not work. Could you share how did you solve the issue with me please?

Download All
0 Kudos
Message 3 of 10
(4,019 Views)

Hi,

I have the same problem, can anyone help with it?

0 Kudos
Message 4 of 10
(3,987 Views)

Did you highlight the Close DMM step in the Cleanup and then run Selected Step. Don’t run the whole sequence. 

Regards
Ray Farmer
0 Kudos
Message 5 of 10
(3,982 Views)

Do you have a Soft Front Panel for the device open? Or do you have a test panel in MAX open to the instrument?

 

If you aborted your TestStand sequence with an open session, it is possible that the resource was leaked. Try restarting LabVIEW and TestStand.

 

If none of that works, try rebooting the computer. The resource is clearly tied up somewhere, but a reboot is quickest way to recover.

 

If it does not work after a reboot, then the system is in a really bad state, and you should try working with the device in MAX to verify it functions normally.

- Regards,

Beutlich
0 Kudos
Message 6 of 10
(3,976 Views)

Hi,

In the setup step of the main sequence, you have initialised DMM, Power supply and Scope. 

Add value for DMM out = FileGlobals.Instruments.DMM

Power Supply out = FileGlobals.Instruments.PowerSupply

Scope out = FileGlobals.Instruments.Scope

Re-run the main sequence, and everything will be OK.

0 Kudos
Message 7 of 10
(3,972 Views)

I got same error , but it is resolved by changing Power supply reference from "PowerSupply" to "Power Supply".

0 Kudos
Message 8 of 10
(3,386 Views)

I got it! I've been struggling with the same thing for a few hours. 

The Initialize DMM is working fine. Its the Shut Down DMM that is not functioning properly for me. The "Synchronization" in the Shut Down DMM needs to be set to "Serial (one thread at a time)" or it will only close the first instance and future runs will fail.

 

PS: You may need to open the Shut Down DMM VI and use it on DMM0 and DMM1 before this fix will take effect.

0 Kudos
Message 9 of 10
(2,688 Views)

Hi All,

    struggling a bit as well I found the solution )as posted in the other similar thread:

  • the error I got was 

Driver Simulation.lvlib:Handle Errors.vi
Instrument name not found. Ensure that you called initialize for the instrument name.
(Additional Information)
Instrument Name: PowerSupply

Image1.PNG

 

  • Solution

In the Step Settings part, you need to be sure that the VALUE is set in the same way, so if you choose "PowerSupply" you need to be sure that all the 3 steps "Initialize PowerSupply", "Controller Board Thermal Test" and "Shut Down PowerSupply" have the "Power Supply in" Parameter Name set to "PowerSupply".

Image2.png

Hopefully, this can help to clarify and solve the issue.

 

Have a great time with TestStand

0 Kudos
Message 10 of 10
(472 Views)