Hello
I have recently purchased an Agilent B2901A source measuring unit for measuring IV curves of solar cells in my PhD lab. With this purchase came a CD with a sample Labview program that should be able to sweep and measure IV curves. I understand there is a bit of a process to get Labview (NI) to work with Keysight hardware.
I've been following instructions I've found online particularly the application note : "Tips on Using Keysight GPIB Solutions in National Instruments Labview Environment" I've become stuck because I'm connecting my B2901A to my laptop via USB NOT GPIB.
So far:
- When I installed Keysight IO libraries - 32 Bit Keysight VISA set as secondary VISA
- Keysight IO was installed from the latest version 'Keysight Instrument Control Bundle_2.2016.exe'
- In NI MAX (Version 14) I've enabled in NI VISA options -> passports NiVisaTulip.dll
- I'm able to see the device in NI MAX under devices and interfaces - It has the VISA resource name - USB0::0x0957::0x8B18::MY51141332::INSTR
- I'm able to see the B2901A in Keysights Connection Expert and it has the VISA address - USB0::0x0957::0x8B18::MY51141332::0::INSTR Which is slightly different from the NI MAX address.
The Labview program is asking for the VISA connect string and then giving various errors depending if I put " " around the VISA resource name. I've tried entering the two different VISA addresses above- both with " " around the address and without and am getting same error:
Error -1073807343 occurred at Property Node (arg 1) in QueryIDN.vi->Main.vi
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
In the application note it states that with both Keysight and NI GPIB controllers in the system that the controllers must be configured with different interface names or there is some conflict. I can't manage to change the USB interface name with the latest version of Keysight Connection Expert. I think I have to change it from USB0 to USB1 but I'm not sure how or if it will work.
System Summary
Labview 2014 Version 14.0
Keysight Connection Expert 17.2.20605.2
Agilent B2901 A SMU
I don't have a GPIB Cable
Any help is much appreciated!
Edited by: Maja555 on Apr 11, 2016 7:39 PM
- fixed format
Edited by: Maja555 on Apr 11, 2016 7:41 PM
I have recently purchased an Agilent B2901A source measuring unit for measuring IV curves of solar cells in my PhD lab. With this purchase came a CD with a sample Labview program that should be able to sweep and measure IV curves. I understand there is a bit of a process to get Labview (NI) to work with Keysight hardware.
I've been following instructions I've found online particularly the application note : "Tips on Using Keysight GPIB Solutions in National Instruments Labview Environment" I've become stuck because I'm connecting my B2901A to my laptop via USB NOT GPIB.
So far:
- When I installed Keysight IO libraries - 32 Bit Keysight VISA set as secondary VISA
- Keysight IO was installed from the latest version 'Keysight Instrument Control Bundle_2.2016.exe'
- In NI MAX (Version 14) I've enabled in NI VISA options -> passports NiVisaTulip.dll
- I'm able to see the device in NI MAX under devices and interfaces - It has the VISA resource name - USB0::0x0957::0x8B18::MY51141332::INSTR
- I'm able to see the B2901A in Keysights Connection Expert and it has the VISA address - USB0::0x0957::0x8B18::MY51141332::0::INSTR Which is slightly different from the NI MAX address.
The Labview program is asking for the VISA connect string and then giving various errors depending if I put " " around the VISA resource name. I've tried entering the two different VISA addresses above- both with " " around the address and without and am getting same error:
Error -1073807343 occurred at Property Node (arg 1) in QueryIDN.vi->Main.vi
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
In the application note it states that with both Keysight and NI GPIB controllers in the system that the controllers must be configured with different interface names or there is some conflict. I can't manage to change the USB interface name with the latest version of Keysight Connection Expert. I think I have to change it from USB0 to USB1 but I'm not sure how or if it will work.
System Summary
Labview 2014 Version 14.0
Keysight Connection Expert 17.2.20605.2
Agilent B2901 A SMU
I don't have a GPIB Cable
Any help is much appreciated!
Edited by: Maja555 on Apr 11, 2016 7:39 PM
- fixed format
Edited by: Maja555 on Apr 11, 2016 7:41 PM
To make your life easier use NIMax to rename it to something humans can read ( see NIMAX_USB_device.png.) To change it select the USB device, click on the General tab at the bottom on the right and change the name in the "VISA Alias on My System" box to a good name (Francis is a good name but you might want to use something like "SMU01".)
I have had no issues working with HP/Agilent/Keysight hardware with LabVIEW. If you are going to use LabVIEW there is no need to install Keysights IO suite (unless you need to update the firmware.) Not that there is anything wrong with Keysight's IO suite. I am sure it is lovely. It's just not needed with NI's Labview.
Dirk