NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand call cvi instrument driver

I'm new to working with instrument drivers in TestStand. I'm trying to use TestStand to call a CVI instrument driver dll (for Agilent N5767 power supply), and then perform a specific function (init, set voltage, set current, etc.) All of the instruments in my test bench are connected via LAN, and they are configured in NI MAX too. I thought it was pretty straight forward, but I'm obviously missing something. Attached is the simple TS 3.1 seq file with the steps I'm trying perform.

0 Kudos
Message 1 of 3
(3,056 Views)

Hi Bkoch1,

 

Please elaborate on the problem you are experiencing. I am able to open the sequence file you have attached and view your steps and on the surface, this seems like it should work just fine. What indications are you experiencing that it does not work fine? Have you tried setting breakpoints and using the Watch Window to monitor variables to ensure that they are being passed into the DLL? Please explain what the problem is and try to narrow down where the problem occurs and we would be happy to help you.

 

Regards,

Jackie

DAQ Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,037 Views)

Ok, I figured it out. It appears the Agilent IO resource name of "TCPIP1::192.168.255.220::inst0::INSTR" doesn't work. I changed it to "TCPIP::192.168.255.220::inst0::INSTR", and I can now get the instrument to respond.

 

Now on to the next step of trying to figure out how to import multiple instruments configuration information from the Windows registry, so that I can just refer to the instrument using a name (ex. PSU1).

0 Kudos
Message 3 of 3
(2,936 Views)