LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a Keysight (Agilent) N8921A DC Power Supply Using IVI Driver

All,

 

I am working with an Keysight/Agilent N8921A DC power supply.

 

The IVI subVIs that are available to me are "Configure Voltage Level.vi" and "Configure Current Limit.vi." When I set values for voltage level and current limit, the power supply sets the proper voltage level, but sets the current level to zero, as though it was expecting a command for the current level, not the current limit. I have tried all the available subVIs I can find in the "DC Pwr Supply" folder, but I cannot seem to find one that sets the current level.

 

Has anyone written code for this power supply using IVI drivers? If so, could you post a snippet?

 

Thanks,

 

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
Download All
0 Kudos
Message 1 of 9
(4,833 Views)

Hello,

 

Have you tried the SCPI command manual for any current level. Maybe you can write it using VISA write with the command. you cannot expect all function in drivers.  

Thanks & Regards,
Bharath Kumar
GCentral
Message 2 of 9
(4,653 Views)
0 Kudos
Message 3 of 9
(4,644 Views)

The plug and play driver works perfectly.  We are hoping to transition to IVI drivers to make expansion and reuse simpler. But if they lack basic functions like setting current level, we may have to rethink that strategy.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 4 of 9
(4,623 Views)

Forget the IVI drivers, I have never had good luck using them

 

You are probably going to have to make your own drivers for that Agilent power supply like I did using the SCPI commands in the manual

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 9
(4,595 Views)

Could someone please post a link to the SCPI Command Manual?

 

I found this

 

Thanks

 

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 6 of 9
(4,581 Views)

Doh!

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 7 of 9
(4,572 Views)

I usually start with the manufacturers website when I am looking for documentation or drivers?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 8 of 9
(4,569 Views)

Yes, I downloaded the Keysight manual. I just wasn't sure if that was the exact one that people were referencing.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 9 of 9
(4,563 Views)