LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Power supply E3648A sample code

Hi,

 

I am looking for a simple VI code, to read Voltage and Amp values from the Power Supply and present them in a graph.

 

Will appreciate any help.

 

Thanks,

Moti.

0 Kudos
Message 1 of 26
(6,824 Views)

Hi Moti,

 

you could either use the InstrumentDriverNetwork to find driver VIs for your power supply or read the manual to find the needed commands on your own...

Best regards,
GerdW


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

Hi GerdW,

 

Thanks for you reply.

 

I have actually downloaded every possible instrument driver that I could find, but still could not find a simple one that has a sample of reading the Voltage/Amp using GPIB.

 

I am new to LabView, but I am sure this must be simple.

 

Can you please point to a specific download and explain which vi should I take as an example?

 

Thanks,

Moti.

0 Kudos
Message 3 of 26
(6,811 Views)

Or from LabVIEW, use Tools>Instrumentation>Find Instrument Drivers. Examples are included. They get installed with the rest of the LabVIEW examples like those for file I/O.

0 Kudos
Message 4 of 26
(6,806 Views)

 


@MotiB wrote:

Hi GerdW,

 

Thanks for you reply.

 

I have actually downloaded every possible instrument driver that I could find, but still could not find a simple one that has a sample of reading the Voltage/Amp using GPIB.

 

I am new to LabView, but I am sure this must be simple.

 

Can you please point to a specific download and explain which vi should I take as an example?

 

Thanks,

Moti.


Take the most trivial - Agilent E364X Series Output Single Channel DC Volts.vi, and just add a couple of Measure functions.

 

0 Kudos
Message 5 of 26
(6,804 Views)

Hi Dennis,

 

Will try both of your answers.

 

Tools>Instrumentation>Find Instrument Drivers requires an internet connection, which is not present in the lab.

 

If I downloaded an instrument driver once, I no longer need the internet access? Since everytime I start the Find Instrument Drivers with no internet connection the application closes itself.

 

Thanks,

Moti.

0 Kudos
Message 6 of 26
(6,796 Views)

Of course you don't need Internet access once you've downloaded a driver.

0 Kudos
Message 7 of 26
(6,794 Views)

I tried running the VI and got an error:

 

 

 

What am I doing wrong?

 

Thanks,

Moti.

0 Kudos
Message 8 of 26
(6,750 Views)

Hi Moti,

 

your VISA resource input is empty, hence the given resource name is invalid...

You have to provide an input to the resource name, just select the proper one from the pull down menu!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 9 of 26
(6,747 Views)

Thanks for the quick reply.

 

The instrument show up in Measurement and Automation Explorer but not in the list:

 

 

 

Moti.

0 Kudos
Message 10 of 26
(6,744 Views)