Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Array 3645A Power Supply With LabVIEW Demo

There are no compiled labview drivers. The source is distributed, so if you have LabVIEW or use it in evaluation mode you can read what is going on. Or just use LAbVIEW.

greetings from the Netherlands
0 Kudos
Message 11 of 32
(3,106 Views)

I do not use or have access to labview (it is not clear how to get a demo version of LabView that runs under Linux although I have not looked very hard) and I was hoping to get a plain text version of what is in the LabView demo that uses the Array 3645A Power Supply.  i.e. what does the program listing in whatever language it is in (I'll figure it out) that sends the low level serial commands to the power supply. i.e. I need the serail charachter stream that is sent to the device and the response from the device, even if it is just the intial startup sequence that establishes the connection.

 

I've tried the manufacturers ducumentation which is problematic and I'm looking for options before I open the supply and start probing signals 🙂 or more likely just go buy an Agilent PSU.

0 Kudos
Message 12 of 32
(3,103 Views)

Labview (G) is a real visual language, it is source code and while editing compiled.below is the source of the enable function.

 

enable power supply.vi.jpg

 

so search for a version and see what happens

greetings from the Netherlands
0 Kudos
Message 13 of 32
(3,081 Views)

Hi Albert,

 

thank you for the clarification.  Can you tell / show me what is inside the hex command block?

 

Thomas D.

--

0 Kudos
Message 14 of 32
(3,073 Views)

Below is the code for the write function. I've shown the labels for the functions used.

 

Since you have never used LabVIEW, the blue 'wires' are integers and the pink ones are strings.

0 Kudos
Message 15 of 32
(3,057 Views)

I have a 3646A Power Supply I installed the driver from NI, but apparently there is something wrong, in actual power level I get the values ​​128 or 384 read out from it. Output power and Actual voltage level is ok.

When I read the protocol sees it right out, start byte is 4, in subvi is set to 3 (counting from zero) Does anyone have experience with it?

0 Kudos
Message 16 of 32
(2,991 Views)

Hi TBN,

 

I'm a bit unclear as to what you are asking. Looking through the manual, I only found how to return the output power and the actual voltage or current. Then you can manually find power by multiplying these two values.

Josh Y.
Applications Engineer
National Instruments
0 Kudos
Message 17 of 32
(2,969 Views)

Hi Josh.

 

 Sorry a typing error Smiley Happy

 

I have a 3646A Power Supply I installed the driver from NI, but apparently there is something wrong, in actual power current level I get the values ​​128 or 384 read out from it. Output power and Actual voltage level is ok.

When I read the protocol sees it right out, start byte is 4, in subvi is set to 3 (counting from zero) Does anyone have experience with it?

 

Tommy

0 Kudos
Message 18 of 32
(2,962 Views)

Hi Tommy,

 

If you're constantly reading these values, it sounds like you may be measuring a ground loop current. This can happen if your source and your measurement system have different ground potentials. A guide to fixing this can be found here. Like before, if you have output power and actual voltage, you can find current manually using P = I*V.

Josh Y.
Applications Engineer
National Instruments
0 Kudos
Message 19 of 32
(2,943 Views)

Hi Josh,

 

Well at the display on the instrument I can read the correct value.

I know ohms law (my education is electrician)

I want to make sure that my instrument gives me the correct values, by using I=P/V

I think I will contact Array electronic and ask if they have changed the protocol / software in their instrument.

 

Tommy

 

0 Kudos
Message 20 of 32
(2,931 Views)