LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The output of a power supply in labview using a Magna Power LXI over RS232 to simulate a periodic voltage.

How can I toggle the output of a power supply in labview using a Magna Power LXI over RS232 to simulate a periodic voltage?  Any help would be apreciated?

0 Kudos
Message 1 of 6
(4,049 Views)

LXI is Ethernet communication.

Does the power supply have an RS232 port?

Are you looking for an RS232 to Ethernet (LXI) Converter

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=rs232%20to%20ethernet%2...

 

But to simulate a periodic voltage you need to send the SCPI "Source" command to the power supply in a loop.

Changing the Voltage setting in periodic value.

 

How fast of a periodic voltage do you need?

You may be limited to how fast LabVIEW, Windows and your power supply can respond to commands.

 

Use VISA writes. It is the same for LXI as it is for RS232. The LabVIEW code would be the same.

After you select the corrent VISA Ref, either a com port or an IP address, LabVIEW does not care if it is LXI or RS232.

 

From a Magna manual I found

 

Command Syntax

[SOURce]:VOLTage[:LEVel][:IMMediate][:AMPLitude] <nrf+>

[SOURce]:VOLTage[:LEVel]:TRIGgered[:AMPLitude] <nrf+>

Examples

VOLT 200

VOLTAGE:LEVEL 200

VOLTAGE:LEVEL:IMMEDIATE:AMPLITUDE 2.5

 

 

Omar
0 Kudos
Message 2 of 6
(4,038 Views)

I am assuming you are talking about a programmable DC supply.

 

On an Non-Real Time operating system (like Windows), you will be limited on how fast you can go.

If you need faster, you need to get an AC power supply or an arbitrary waveform generator.

 

periodic voltage.png

Omar
0 Kudos
Message 3 of 6
(4,014 Views)
What's the exact model number? Have you used Help> Find Instrument Drivers?

LXI over RS232 does not make much sense. It's either LXI or RS232.
0 Kudos
Message 4 of 6
(3,996 Views)

Hi,

I'm sorry I'm new to Labview, & thought LXI was part of the model number, but it  does have RS232, which is the mode of communication we chose.  However I think I've figured out a way to accomplish our task using the help menue.

Thanks for the help.

0 Kudos
Message 5 of 6
(3,947 Views)

could you please share the vi that worked for you ? I have similar problems, I have made a vi but somehow I am not able to energise the manga dc power supply for it to hold the required voltage or current constant. Thanks in advance

0 Kudos
Message 6 of 6
(3,238 Views)