From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-29-2015 03:36 PM
I would like to purchase a programmable power supplies for our lab. Some power supplies have an RS-232 port, others have a GPIB port, While other still have a USB port and an RS-232 or GPIB port.
Is one protocol better than the others? If not, what are the advantages of each protocol? And why did NathanT recommend GPIB over RS-232 in this thread?
Thanks!
Solved! Go to Solution.
05-29-2015 04:26 PM
You should give this article a good read: Instrument Bus Performance – Making Sense of Competing Bus Technologies for Instrument Control
Of the 3 buses you mentioned, I would use GPIB. But my personal preference is Ethernet.
Power supplies are just slow by nature, so I would not worry about bus speeds.
GPIB is expandable (can have multiple on the same bus). RS-232 and USB you are stuck with a single power supply per bus. Granted, with USB, you could use a USB hub. If you go Ethernet, just buy a decent network switch.
However, GPIB is probably the most expensive. You have to buy a controller card and cables, all of which are not cheap. But the bus is solid.
As far as software is concerned, all the buses send and recieve the same data. So you just need to use VISA when creating any software and then you just need to change the initialization if you decide to later change which bus you want to use.
05-29-2015 04:51 PM
05-30-2015 10:42 PM - edited 05-30-2015 10:49 PM
I'll dissent. Funny, I usually say "I'll Chime in."
And esspecially with two pillars of the community.
Power supplies (as noted above) generally operate a 0Hz.... really slow.
The controll bus is generally unimportant to your experiment, the PS Specifications for stability, accuracy, repeatability, thermal drift Ad Nausium... should be your primary concern! Can the instrument power your experiment? When and if you've read the specs then and ony then should you consider IN ORDER:
Given all those prerequisites. Ethernet is nice if you have a lot of instruments at long range that are all capable of playing nice on the same network. GPIB is very cost effective for multiple devices nearby (a CBA should be done. hanging a GPIB bus for 1 device is costly, if you have more devices than serial or eithernet ports available GPIB is cost effective. COST again what supporting hardware will you need? Serial RS-232 is useful if the protocol is modern and you want one bus per device. Multidrop Serial RS 422 or RS 485 are nice too CAVEATE did you know the RS stands for "Recommended Standard?" I'd read the manual carefully first!
USB can be very useful if you read the FAQs (search for it I've quoted it alot!) however, its not as cheep as usually thought!
06-01-2015 02:11 PM - edited 06-01-2015 02:12 PM
Thanks Jeff, I appreciate your input. I haven't neglected learning the other properties of power supplies. I just wanted to learn the advantages and disadvantages of the PC interfaces from NI users.
Regarding the factors you mentioned,
I'm going to work in a very short-range environment (my PC, a PSU, and my experiment all on one desk), so I'm leaning towards USB for convenience. However, since I will ultimately end up controlling multiple PSUs, I may just set up a GPIB control system--which begs the question: what is a CBA?
06-01-2015 02:22 PM
aeroAggie wrote: However, since I will ultimately end up controlling multiple PSUs, I may just set up a GPIB control system--which begs the question: what is a CBA?
CBA = Cost Benefit Analysis. Basically, will you get your money's worth out of the product.
Since you are controlling many, I would avoid the USB. GPIB is a good choice in that situation. Your drivers should not care which bus type you use since I think they use VISA.
06-01-2015 02:25 PM
And here I thought it was something fancy like Controller Bus Acccss
06-01-2015 02:46 PM