Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't set my HP6632B power supply voltage to 12V using the hp66xxbc

Solved!
Go to solution

Hi:

 

I am using the hp66xxbc IVI driver to control a HP6632B DC power supply, and I'm getting an error when I try to set the voltage to 12V.  I can set the voltage manually on the front panel, and through the "Communicate with instrument" option in the "Measurement and Automation" tool, but not with the IVI driver.  Any help would be greatly appreciated.

 

I did try to set the OVP to 20, but the driver didn't like that either.  And I could do it manually. That part is not included in the attached vis.

 

Here's my setup:

Labview: 7.1

hp66xxbc driver:  not sure.

 

Just run "HP6632B-Init-and-Set-voltage.vi"

 

Here's the error I get:

 

"Error -1074135024 occurred at hp66xxbc Configure OVP.vi

Possible reason(s):
Driver Status:  (Hex 0xBFFA0010) Invalid value for parameter or property.

Secondary Error: (Hex 0xBFFC0004) Parameter 4 out of range, or error occurred while setting Parameter 4.

Elaboration: OVP Limit "

 

 

 

 

 

 

0 Kudos
Message 1 of 6
(4,921 Views)
Solution
Accepted by topic author mike_22

Hello Mike,

       It looks like the problem might be due to the disabling of the ID Query in some of your cases.  In many cases the IVI Specific Driver will default to the model with the least features or smallest ranges.  Do you have errors if you attempt to set the OVP to 2 volts?  If you still have a problem after enabling ID Query and trying a smaller OVP value, please post an example with the minimum amount of code that reproduces the issue and only uses the wrapper VIs and also include an NI-Spy capture of the error occuring.

 

Cheers,

 

NathanT

0 Kudos
Message 2 of 6
(4,916 Views)

Hi NathanT:

 

Thanks for replying so quickly.  

 

You're explaination makes a lot of sense, and I understand the purpose of that parameter now.

 

I'll enable the id query and try to set the voltage to 12V.      If I don't post a followup, you can assume it worked and accept my thanks!

 

Mike 

0 Kudos
Message 3 of 6
(4,901 Views)

Hello Mike,

       I am glad that you think that my explanation makes sense and are going to give it a try. 

 

Cheers,

 

NathanT

0 Kudos
Message 4 of 6
(4,881 Views)
It worked. Thanks again.
0 Kudos
Message 5 of 6
(4,876 Views)

Hi,

 

I have the same problem with my device, Could you please have a look at last posts of my thread at  http://forums.ni.com/ni/board/message?board.id=140&thread.id=41173&view=by_date_ascending&page=3

 

Thanks,

Ela 

0 Kudos
Message 6 of 6
(4,429 Views)