Error -9 in TestStand: Expected Instrument Type: PowerSupply, Actual Instrument Type: DMM

Updated May 12, 2020

Reported In

Software

  • TestStand

Issue Details

I am taking the Developing Test Programs Usinig TestStand class and I am running into the error shown below. What can I do to resolve this problem?

Error -9, User-defined error code. 
Driver Simulation.lvlib: Handle Errors.vi
Specified instrument is not the expected instrument type.
(Additional Information)
Instrument Name: PowerSupply, Expected instrument type: PowerSupply, Actual instrument type: DMM


Solution

You see this error because you did not add the correct values for DMM in and PowerSupply in in steps Initialize DMM, ShutDown DMM, Initialize Power Supply, Shut Down Power Supply and executed the sequence. In your situation you have a configuration that cannot solve the error when using the correct inputs in participant guide. 

You have to open the VIs in the steps Shut Down Power Supply (Close PS.vi) and Shut Down DMM (Close DMM.vi) and to enter PowerSupply in the DMM in field and DMM in PowerSupply in field and execute both VIs. After that the sequence should run normally and not show the error anymore.