06-02-2015 01:51 PM
I need to be able to control 3 Matsusada REK series DC power supplies using Labview. I don't have the hardware yet so I am using a simulation to test my code. It seems to be working with the simulation, but I would like to know if there are any obvious problems with my code, since this is my first experience with Labview. I would like to be able to turn the output of each supply on and off, set the voltage and current limits, and set the voltage. Let me know if my program is on the right track or completely wrong. Thanks!
Solved! Go to Solution.
06-02-2015 06:05 PM
06-03-2015 08:32 AM
Attached is the snippet of the program.
06-03-2015 08:43 AM
For simulating a power supply, I have created the logical name MyPower, selected the niDCPower driver session, and then selected "simulate with specific driver".
06-03-2015 08:59 AM
06-03-2015 01:34 PM
Okay, thanks for the advice. I've been trying to get something to work with an event structure. I haven't used these before and I've gotten to a point where I'm kind of stuck. When I run the program with the power supply simulator, the voltage reading comes up as the last value I had set for voltage. So I'm thinking when I set a new voltage it is for some reason setting the previous voltage. How can I fix this to apply the current voltage setting?
06-03-2015 02:56 PM
06-03-2015 03:56 PM
Thanks!
06-03-2015 04:04 PM
05-11-2016 05:31 PM
Hi, I'm curious to what your experience was with interfacing with your power supply once you actually recieved the product. Maybe NI forums isn't the correct place to post questions regaring matsusada customer support, but unfortunatley I haven't been able to get the support I need from them and I'm hoping I'd be lucky enough to get some tips from you.
My problem is that our DC power supply (REKJ15-54) unit shipped with only an rj11 phone jack to communitcate digitally (serial/rs 232) as opposed to usb, 9pin d-sub, ethernet, etc. I've had reasonable succes in communicating with other equipment via serial, ethernet, etc. in LabView but I'm wondering if you can recall anything strange/unclear about their command structure as in general the documentation seems lacking. At least lacking to someone who is very new to labview, and new to hardware communication in general. The hardest part for me is that the device won't output any response if an invalid command is received so I'm kinda shooting in the dark. Hoping you might have an example you were ultimatley succesful with you could send my ways.
Sorry if this is out of left field but I figured its worth a shot.