01-05-2018 11:59 AM
Hello All ,
i need to control a DC power supply ( current , voltage ) via RS 232 . since i am new to this domain
pls guide how to start a program and guidelines for me. i took some materials as a reference here i have attached for reference
Youtube Link : https://www.youtube.com/watch?v=iSm5tzY_ydA
In the attached VI program ( dll test.vi ) they have used call by library node . what is the use of that >?
Thanks in advance !!
01-05-2018 12:07 PM
Hi Bhuvanesh,
The call library function node is used to call a DLL, if you double-click on it you will see which DLL it is calling and how the call is set up. I think they do this because they had written some code in C or C++ and just use LabVIEW as a wrapper.
Are you sure it is an RS 232 connection, and not a USB connection? You uploaded "USB_driver_EN.zip" which will probably not be useful for an RS 232 connection.
01-05-2018 12:51 PM
What is the model of the DC power supply?
Have you read the manual and does it have any programming examples, even if they are in a text based programming language?
As others have mentioned are you using RS-232 or USB? Or possibly a USB to RS-232 converter?
01-05-2018 02:03 PM
Many of the DC supplies can be controlled via SCPI commands using the VISA (Write, Read, and Close) primitives after initializing (setting communication specifics) with the Serial Port Configuration.
01-07-2018 01:01 AM
Hi RTSLVU ,
The model of the DC power supply was ODA ex series . hereby i have attached the manual of the dc power supply
Here we are using the Rs 232 serial communication only
Guide me sir . how to control the current using that ?? i have few ideas to control the voltage ..
01-07-2018 01:14 AM
Hi minions ,
i agree and i have to control by VISA primitives only .
i saw 1 video in youtube as a model for this . hereby i have attached the link of that https://www.youtube.com/watch?v=iSm5tzY_ydA&lc=z22zzl4ixrzhypxdeacdp433c3zqhgmmzl0t3ylc015w03c010c.1...
like wise i have to control and communicate in both ways . Can you guide me with tips
thanks in advance !!
01-07-2018 08:58 AM
Start with Googling "SCPI commands" to get you familiar with some basics. then I suggest downloading any of the HP/Agilent/Keysight power supply manuals. They have some great examples. Even if they aren't exact - I've found that each vendor has its own "flavor" of SCPI - you should be able to get some idea of at least how SCPI works in the real world.
Some tips:
Good luck! 🙂
01-07-2018 09:14 AM
Hi billko ,
i understood and agree your points
have you the seen the model of my dc power supply ?? manual & datasheet ? ( attached )
any driver i have to install ??
i am not expecting the answer just guidance
01-07-2018 07:17 PM
@Mrtechie wrote:
Hi billko ,
i understood and agree your points
have you the seen the model of my dc power supply ?? manual & datasheet ? ( attached )
any driver i have to install ??
i am not expecting the answer just guidance
As a matter of fact, I have read the manual. This is what I based my advice on. The power supply uses SCPI commands. I recommended looking at Agilent power supply manuals because they go into great detail how to program equipment using SCPI commands, and have lots of examples. I bet some of them can be directly applied to your needs.
01-07-2018 07:19 PM
Oops, to answer the other part of your question, if you are programming the power supply with SCPI commands, you don't need drivers because you are creating your own. 🙂