Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

HP 6038A constant current

Whenever I use close.vi (which was included with the instrument drivers), the power supply's voltage immediately drops and the CC LED lights up.  If I decide to not use close.vi, there is a minute delay before the same behavior occurs. 

 

Does anyone know what may be causing this? 

0 Kudos
Message 1 of 14
(6,175 Views)
There are multiple drivers for the instrument. Provide the actual one that you are using.
0 Kudos
Message 2 of 14
(6,169 Views)

I have included my VI, in which I run a simple Read then Write test.  This VI uses Set Voltage/Current.vi and Read Output Voltage/Current.vi

 

0 Kudos
Message 3 of 14
(6,160 Views)

That VI does not call a 'Close' function and I still have no idea which driver you are using so that I can check it.

 

It appears that you are not using the latest driver because I did download the project style driver and your funcion names are different.

0 Kudos
Message 4 of 14
(6,154 Views)

I got rid of the close function since either way, the behavior still occured.

 

The drivers I have are hp66xxa.  I didn't realize there was another set of drivers. 

 

I run in CC issues while still running the test with this set of drivers.  

Message Edited by ahamel on 11-18-2009 01:10 PM
0 Kudos
Message 5 of 14
(6,149 Views)

There are 3 drivers. You should be able to provide the details on the one you actually downloaded but by preocess of elimination, I figured it out. If there is a next time, provide the details.

 

I don't see anything in the code that would reprogram the supply when you stopped the program. I'm unsure what the CC light indicates.

 

Why don't you run an NI-Spy capture?

0 Kudos
Message 6 of 14
(6,141 Views)

The CC light indicates constant current. It's not a huge problem, but rather inconvenient, that I have to restart the instrument after every test instead of just resetting to the initial value.  

 

As far as I can tell, I can set and read the voltage just fine as long as they are separate VIs.  Once they are together in the case structure, the CC problem occcurs.  

 

I can't run a NI-Spy capture.  Could this be because I am still using the demo version?

0 Kudos
Message 7 of 14
(6,136 Views)
Not sure why you can't run NI-Spy. You are using GPIB aren't you? Is it an NI GPIB controller?
0 Kudos
Message 8 of 14
(6,132 Views)

Yes, I am using GPIB. I have a GPIB-LAN gateway that I use in order to communicate with the instrument. 

 

 

0 Kudos
Message 9 of 14
(6,124 Views)

Why do you say you cannot run NI Spy? Here is a helpful KnowledgeBase on how to perform a good NI Spy capture.

 

Which step is giving you trouble?

---

Peter Flores
Applications Engineer
0 Kudos
Message 10 of 14
(6,096 Views)