ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using LabWindows to control a power supply

Hello,

I would like to control a Lambda Genesys power supply (750w-1500w model 20-38) using LabWindows/CVI so I started looking for a driver that would match my needs. I actually need to send very simple RS232 commands to my power supply to set up voltage output. The whole thing is part of a much bigger project which is all written under LabWindows/CVI.
I looked at different ressources on the NI website but I am still not really sure how to begin and I thought someone here might be able to help me out :
  • I am using the NI board PXI-8186 which has 2 serial ports. Are there any LabWindows/CVI library that can allow me to control these ports directly ? As I said I won't use most of the advanced features of the power supply, I just want to send simple commands over the serial line so it might be sufficient to do things this way...
I am not very familiar with the LabWindows/CVI environnement yet and any help that would get me started will be very nice.

Thanks in advance,

Message Edité par lilimali le 01-30-2007 11:52 AM

0 Kudos
Message 1 of 4
(4,272 Views)
Hi,
First you should install NI-VISA driver.
If you have the description of your RS232 instrument commands, I think the best way is tu use the CVI RS232 functions contained in the RS-232 Library bring by NI-VISA driver. Moreover CVI comes with some fine examples, I suggest you to look at them.
Cordially,

Pierre R...

Certified LabVIEW Developer
0 Kudos
Message 2 of 4
(4,254 Views)
Hi,
First you should install NI-VISA and NI-SERIAL driver.
If you have the description of your RS232 instrument commands, I think the best way is tu use the CVI RS232 functions contained in the RS-232 Library bring by NI-VISA driver. Moreover CVI comes with some fine examples, I suggest you to look at them.
Cordially,

Message Edité par pierreR le 01-31-2007 07:45 AM

Pierre R...

Certified LabVIEW Developer
0 Kudos
Message 3 of 4
(4,254 Views)
Thank you for your help, I will try to go this way then.
0 Kudos
Message 4 of 4
(4,246 Views)