07-13-2015 01:37 PM
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?
07-13-2015 01:59 PM - edited 07-13-2015 02:00 PM
LXI is Ethernet communication.
Does the power supply have an RS232 port?
Are you looking for an RS232 to Ethernet (LXI) Converter
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
07-13-2015 02:29 PM
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.
07-13-2015 03:29 PM
07-14-2015 06:19 AM
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.
11-04-2017 04:25 AM
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