LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW interface with agilent B2901A source meter

Sir,

          I am a research student, to carry out IV measurements of solar cells in laboratory i need to interface agilent B2901A source meter with LabVIEW. Since i am new to labview programming and interfacing it with hardware i need complete and detailed information right from basics. Any help would be appreciable. Thank you. 

0 Kudos
Message 1 of 11
(4,235 Views)

Hi KJD,

 

you're lucky!

 

Go to IDNet and search for your device to find a ready-to-use driver…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 11
(4,213 Views)

Thank you so much for the reply, 

                  After downloading the driver I m supposed to write my code? By the way that driver is not available for my instrument in IDNet.

0 Kudos
Message 3 of 11
(4,195 Views)

Hi KJD,

 

By the way that driver is not available for my instrument in IDNet.

Surely there is a driver available!

As soon as I search for "B2901A" I get this link

 

After downloading the driver I m supposed to write my code?

Well, yes.

Isn't that the very core of "programming"???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 11
(4,186 Views)

Thank you so much for the reply,

                    Can you please tell me the further procedure in detailed steps. It would be helpful. 

0 Kudos
Message 5 of 11
(4,181 Views)

Hi KJD,

 

install the driver, examine it's VI (and maybe examples), then try to use them to communicate with your device…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 11
(4,176 Views)

You'll want to start with the example that comes with the driver.

 

Look at the one that sweeps Voltage and plots current..

"/Examples/Agilent B2900 Series Output Sweep Volts.vi"

 

Save a copy of that VI to another location and start modifying the code as you need.

 

Otherwise if you aren't comfortable coding Keysight has prebuilt software like EasyExpert to collect data with.  Its nice for quick measurements, but its not all that flexible.  Learning to code in LabVIEW will allow you to control the instrument to make the measurements and present and  format the data the way you want.

 

While you are learning ask questions here, if you need help, but make sure you post your code with the questions. 

Message 7 of 11
(4,167 Views)

Thank you so much. Felt relieved by knowing that I will get an example VI and later i can modify that accoring to my need. LabVIEW will give drivers' list after connecting the instrument to the system? or should download plug and play driver available in NI?

0 Kudos
Message 8 of 11
(4,154 Views)

Hi KJD,

 

should download plug and play driver available in NI?

Yes.

Don't forget to install it after downloading…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 9 of 11
(4,150 Views)

Hi,

I have downloaded and run the VI, but it cannot initialize Keysight B2901A.  Please let me know why?

0 Kudos
Message 10 of 11
(3,216 Views)