Power supply control

Hi
I have to control 10 gear boxes at a time and I have used E3436A power supply to supply 5.3V dc to all gear boxes. Once I start test gearboxes will powered on and generates the analog out pulses.
Now I have to cut  the power supply to gearbox once it  produces the 40 analog pulses / min (even less time its fine). After some time say 5 to 6 sec again I need to power on the gearboxes to continue the test..Its repetitive over period of time.
To power off the supply of individual gearbox  I am using USB 6009 Digital IO ports with enabling and JFETS or relays.
The problem is.
1. I have to check the status of  all gearboxes(10) have generated 40 pulses /min.
2. If the gearbox 1 is generated 40 analog pulses in 30 sec I have to cut the supply to particular gearbox  and wait for 1 minute,  same way I have to  off  all 10 gearboxes using DIO and relays .
3.if the gearbox taken more than 1 min  to generate 40 pulses ...It indicated fail..
4. After completion of one cycle (1 min)  I have  to start the all the gearboxes simultaneously ( No DIo and Relay used..Direct supply from the E3466A ) .
Pl let me know logic for controlling the gearboxes.
Thanks in advance

You were told in another post http://forums.ni.com/t5/LabVIEW/Power-supply-switching/m-p/2490462 to come up with your own code.
Nothing has changed.
If you don't know LabVIEW take a class

Similar Messages

  • VI for Walker Scientific Power Supply Control PSC 4

    I am inneed of the VI for the captioned instrument.  i have searched the instrument Drive in NI website and also tried to google it. I couldn't find. Is there anyone using the same and if so could you please let me know how to get the same?

    Hi Jayakumar,
    I just glanced through with the manual and I noticed that the instrument can be controlled with RS 232 (Serial) and IEEE 488 (GPIB). The command set is well documented, I do not think you need to make an instrument driverfor your device (if you are tight with time constraint). You can select one of the protocol RS 232 or IEEE 488 and try to create a program that suits your project/work. For a simple one, you can refer to the examples, (RS 232) Basic Serial Write and Read.vi and (IEEE 488) GPIB-VISA.vi, connect your instrument with either protocol and start sending the command set. If the simple test works, then you can develop more complicated program.
    PS: You can find the examples at NI Example Finder (Help>>Find Examples...) then Hardware Input and Output>>Serial and Hardware Input and Output>>GPIB.
    Hope that helps!
    Sincerely,
    Krisna Wisnu
    Message Edited by Krisna Wisnu on 12-05-2008 03:14 AM
    Sincerely,
    Krisna Wisnu

  • How do I use LabVIEW to control and vary the voltage on my Agilent Power Supply and simultaneously record temp from 1 DMM and voltage from another DMM?

    I am using an Agilent Power Supply  to apply a voltage to a
    thermistor to heat an Al chassis.  I want to use LabVIEW to tell
    the power supply to apply 5V for 10 minutes, then step to 7V for 10
    minutes, etc.  I am completely new to LabVIEW, so any help would be greatly appreciated!
    In addition to that, I want to place a type J thermocouple onto the Al
    surface and use a Keithley 2000 DMM to monitor the temperature (it has
    a built in conversion from V to Temp for type J).  I will also be
    using another Kelthley 2000 DMM to record the output voltage of a new
    uncalibrated thermocouple.  I would like to collect the output
    voltage for this uncalibrated thermocouple and the temperature reading
    from the type J simultaneously.  How should I go about doing this
    in LabVIEW?  I will be using version 6.1.  The power supply
    and DMMs will be connected to a PC using GPIB.
    Again any suggestions would be greatly appreciated- I have no idea
    where to begin on such a project.  I have taught myself how to
    make a basic VI- converting temp in oC to oF, but  that is as far
    as my knowledge goes.

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • Controlling HP E3632A Power Supply

    Problem Description : I need help with controlling the HP E3632A Power Supply. I used the instrument driver from your website, but it does not seem to work well. Here is the link to the driver I used:
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/0817568e8af393c5862568ab005fbd3d?OpenDocument
    I upgraded all the necissary software to use the driver, but it does not work properly. When I tried using the sample Getting Started program on the driver and told it to ramp the power supply to 5 volts, it only went to 3 volts. Also I would like to know how you would program labview to make the power supply go to a certain voltage and maintain it. I want the power supply to send out a constant voltage for a certain period
    of time.
    The only thing the Power Supply is connected to is the GPIB card. The getting started VI does not maintain the voltage. When i set it to go to 1 volt it goes there, but then drops back down. I want it to maintain the
    voltage

    I don't have this instrument available to test with directly, so I can only offer some suggestions.
    First of all, it looks like the menus aren't quite right, so you have to load the Getting Started VI with File -> Open, not through the palette menus. I think you figured this out, though.
    I think the main subVI you want to use is "Configure Output". If you just use a simple program with Initialize, Configure Output and Close, does it maintain the voltage?
    If not, then I would try leaving out the Close. Does this make a difference?
    If you are using Windows, you might also try using NI-Spy to look at the messages being sent to the instrument. Maybe you can figure out that the driver is explicitly resetting the instrument. If so, we can look at th
    e driver more closely and figure out how to avoid this.
    I hope this helps you get started.
    Brian

  • Labview 6.0 run-time engine will not control BKPrecision power supply.

    I created a test program in Labview 6.0 to control a BKPrecision power supply and Measurement computing DAQ in our test system. I am able to control both intsruments from my PC which has Labview loaded on it. I created an executable from the application builder tool for distribution. When i install the run-time engine and executable on a new PC (Labview not installed), i am unable to control the BKPrecision power supply. The BK power supply is connected to the serial COM port of the PC.
    Do i need to install drivers that are not included in the executable build?
    Do i need to install VXIpnp (VISA interactive control)?
    thanks,
    Tim
    Solved!
    Go to Solution.

    tmann-
                The API Drivers are often times for more specific Operating Systems than the others (Linux, Pharlap, etc.) and they are more easily accessible for programmers that want to (and have enough time to put up with the headaches ) of building speciality drivers off of ours. 99% of the time you just want the drivers that come up first when you type in your driver name (NI-VISA). As to versions, issues can crop up later from not using the exact same driver version but all the drivers are built off of each other (they hardly ever scrap an entire driver and start over) so the problems should be minor. Its up to you about switching. Unfortunately to downgrade version you have to completely uninstall the driver from Add/Remove Programs>>National Instruments Software>>Your driver and then reinstall the correct one. If you have time, I think it is well worth it to do it right the first time. Hope this is helpful!!
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager

  • Simple code in VB6 to control Chroma AC power supplier throigh GPIB

    Hi there,
    I am a totally newbie in VB6 (just have a little background in C).
    Anyways, I want to write a simple code in VB6 to send commands out through GPIB to control a chroma AC power supplier. Can anyone show me how?
    thanks.

    Make sure to select Example option while installing. Your install dialog may differ due to version different.

  • Help Using Labview to control Kikusui power supply with a PIA4850 controller

    HI I need some help using Labview to control 4 Kikusui power supplies. We have a PIA4850 Kikusui power supply controller. I can use the visa test panel and see the PIA4850 but can see any of the power supplies. I have very limited use of Labview and only wrote a couple programs using GPIB. The PIA4850 is a USB controller and can control up to 32 PS. I can get it to work with a Excel demo software that came with the controllers so I know that it is working. Any help will be appreciated. I am using LabView 8.2 and have updated to the Ni-DAQ 9.0. I have a program that I need to incorporate the PIA4850 into once I figure out how to operate it. Thanks in advance.

    HI and thanks for the help. I did get one power supply to work but have another problem. I need to control 4 power supplies at the same time and can only operate the one that is addressed N5!C1. If I set the other to N6!C1 and so on I get an error stating
     “Error -1074135008 occurred at ki4800_2 Configure Voltage Level.vi Possible reason(s):IVI Error in the method "get_Item" in the component "Kikusui4800". E_IVI_UNKNOWN_CHANNEL_NAME: Unknown channel name (N6!C1)”
      I am assuming that I should be able to change the node number and that will change the supply that I need to use. Everything works great if I use N5!C1 I can change any of the supplies to address 5 and can control it with no problem. I can even have multiple supplies with the same address N5!C1 (don’t think I should do that) and change them all at once. I need independent control of each supply.
      I am in a pinch here and need to figure it out but could use some help. Any ideas will be greatly appreciated.
      Thanks
    GBlair
    Attachments:
    KIKUSUI PS.llb ‏179 KB
    Kikusui Ps Controller.JPG ‏63 KB

  • Using LabVIEW for temperature control with AMREL SPS200-50-A022 power supply

    Hi, I hope someone can help me out. I'm an ME undergrad with pretty much no knowledge of LabVIEW. I am working a project which requires a temperature controller. Previously, we were using an SPS120-10 power supply from AMREL and a grad student wrote a LabVIEW VI which performed feedback temperature control. The VI would acquire temperature from a Benchlink which acquire the temperature from a thermocouple. The VI also monitor the output voltage & current and determine the power output and heater resistance from those values. When a desired temperature is set, the VI compares the actual temperature to the set temperature and adjust the voltage/current setting to achieve the desired temperature. The VI was designed to keep temperature deviation to within +/-0.5 deg C. I'm not sure of the data refresh rate, but it's on the order of seconds since the system has a small thermal mass and we're operating in the 800+ deg C range. When we were using the SPS120-10, the device used GPIB for communication with the PC. Due to higher power output demand for the heater, we switched to an SPS200-50, which only has an RS-232 port. First of all, I was wondering if someone could help me modify the VI so that it could communicate with the SPS200-50 through the serial port? In addition, the drivers for the SPS120-10 and SPS200-50 might be different. If modifying the VI to communicate through the serial port isn't enough, I would need to figure out where to modify the VI with the SPS200-50 drivers, which is provided by AMREL. If anyone would like, I can send you the VI files so that you can take a look at the block diagram and tell me where to modify it. I'm still not 100% certain I understand how to read LabVIEW block diagrams.
    Please let me know if you need any additional information. Any help would be appreciated. Thanks in advance!

    I have looked over your vi. First of all you have to do some changes in the "ARSPS Initialize.vi" See picture.
    The best way to check instrument communication is to send the *IDN? Command. The instrument will indentify itself in response to this command. The vi I have included is a labview example. Use this Vi to test your communication. Do not progress before this is working. The VI is also an excellent example on how to set up and close down RS232 communication.
    The VI "Tfeedbackpowercontroller-nolvdt-Dinh.vi" looks OK so I guess it will work then your RS232 communication with the SPS200-50-A022 is working
    good luck
    PS as mentioned before you will find all the RS232 details in the instrument manual
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.PNG ‏38 KB
    Basic Serial Write and Read.vi ‏29 KB

  • How to control HV power supply (0-5V control voltage)?

    Hey there,
    I (LV newbie) wonder how to control my DELTA ELEKTRONIKA Powersupply with Labview. The control interface is a 0-5V analog input to set the power supply's output current.
    Also I want to get some feedback of the set power supply current from an second (GPIB-controlled) instrument.
    So how do I have to program a closed loop contol (application is not time critical), cause it would be mixed up of controlling by analog out (0-5V) and feedback loop driven on the GPIB-Card? 
    For a first step a simple control loop to set the current and monitor it on an analog input would also be an assistance .
    THX for anyone helping

    Look in the example finder for DAQmx functions for analog input and analog output.

  • Lambda power supply+labview+current control

    Hi there,
    I want to control the output current from TDK lambda power supply based on input from a pressure sensor. Based on available drivers from Lambda site, I was only able to output certain current and voltage value. But don't know how to control it depending on other input like pressure reading.
    Is there any way to do this in labview?
    Thanks in advance.
    Arihant.

    Unfortunately I don't have drivers for either of 'Pfeiffer vacuum gauge controller' and 'TDK lambda power supply'...!!
    But went through your code, and it looks like you're reading from both the instruments... but you should be reading only from 'Pfeiffer vacuum gauge controller' and should be writing (current or voltage or both values) to 'TDK lambda power supply'...!!
    Now before you write the new (current or voltage or both) value(s)... you can place a simple algorithm that will calculate new value (based on reading from 'Pfeiffer vacuum gauge controller')....!!
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Pid: give a temperature wave by controlling voltage (power supply)

    Hi all.
    I have a system like the one attached in the message.
    I have two working VIs: one that receive the temperature values and one which can read and write the voltage values.
    Now: I need to control the system to have a sort of temperature value/values definied in the beginning (costant, sine wave, etc) by changing automatically ( I think PID is good to do it) the voltage.
    I don't know how to "mix" the VIs to make it work, expecially I don't know how to relate the temperature and the voltage.
    Hardware:
    Temperature: NI 4351 DAQ traditional (NO DAQmx)
    Voltage: HP Agilent 6033A (GP-IB controlled)
    Thank you all
    Attachments:
    Capture.PNG ‏13 KB

    so.. i'll try to explain me better.
    I have a peltier cell that is like a refrigerator (the hot part isn't involved in the system, so not a problem).
    Upon it there's a metal box with the termocouple; in labview I see the state of the temperature.
    upon the box there's the heater, connected to the power supply.
    the power supply is controlled by the program in labview (by controlling the voltage).
    How do I want to control voltage?
    I want that the temperature follows a determined wave (a costant, a sine wave, etc...). If I do not give voltage to the heater, the temperature's box is going down and down. So I want that the labview program, controlled by a PID control, adjusts the voltage (controlling the Power supply) to make the temperature following the determined wave..
    So:
    I don't know how to relation the voltage with the temperature, with the PID attached in this message.
    Hope this time i explained good.
    Attachments:
    pid.zip ‏104 KB

  • Does Ambient Board control Power supply fan speed?

    I've been messing around with my Mac. My Power Supply fan is constantly running at 2800rpm's http://discussions.apple.com/thread.jspa?threadID=2306202&tstart=0
    I think I narrowed it down to a temp senor issue. But I don't know where the sensor is that controls the Fan speed of the power supply?

    I'm not a tech but if the Ambient Temperature board was providing faulty indication then I would expect all fan speeds to run higher, not just the Power Supply fan. If the fan is running fast it is probably either the fan itself or a faulty temperature sensor in the power supply. Also since the Ambient Temperature indicates 72 degrees that is a pretty good indication the board is functioning normally, if it were reporting a ridiculously high value such as 20 degrees warmer than room temperature than that would be an indication it was bad.
    I'm confused here. You've stated that you moved to a new office and the computer there is annoyingly loud. You seem to be trouble shooting the computer yourself. Does your company have an IT department? Have you let your boss know the computer reports an error code and needs to be fixed? Have you asked your boss if you could swap your current computer with your old one because this one is loud and makes it hard to concentrate on work?
    Message was edited by: Martin Pace

  • Always getting errors when trying to control YOKOGAWA 7651 power supply on Labwindows/CVI

    Hi,
    I'm trying to set the voltage on the YOKOGAWA 7651 power supply through labwindows/cvi. I've set up a numeric slide on my userinterface with callback function "yoko7651dcvolts" and constant name "YOKO7651DCVOLTS".
    I always get this error when I run my program:
    "FATAL RUN-TIME ERROR: "DcSource.c", line 53, col 65, thread id 0x00001F3C: Invalid argument type: found 'pointer to double', expected 'pointer to int'."
    This error points to the third argument of the GetCtrlVal function below. The program/compiler wants me pass the variable "yoko1volts" as integer, but I want to (and should) be able to set voltages as floating numbers.
    Plus, even when I declare "yoko1volts" as integer, it stills doesn't work. All I get is zero, zero, and zero...on the power supply meter everytime I press the numeric slide.
    This is the section of the C code that is problemic:
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    This is the related h-file:
    #define YOKO7651_1 4
    #define YOKO7651_1_YOKO7651SWITCH 2 /* control type: binary, callback function: yoko7651switch */
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    Please help, how can I fix this issue?
    All the drivers (including the YOKOGAWA 7651 power supply) are properly installed and mounted. As a matter of fact, I can successfully turn the power supply on and off with the code below:
    int CVICALLBACK yoko7651switch (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    int yoko7651switchstate;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, &yoko7651switchstate);
    SetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, !yoko7651switchstate);
    yk7651_output (yoko76511Panel, !yoko7651switchstate);
    break;
    return 0;
    It's just setting the voltage on the power supply that is very problematic. Any help is appreciated...Thanks.
    Solved!
    Go to Solution.

    I second Al opinion of a disconnection between the UIR and the variable that holds the panel handle.
    As a side note, I noted that the problematic line is reading the value of the controll whose callback is executed:
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    In a situation like this, I would try using GetCtrlVal (panel, control, &yoko1volts); instead, that should get rid of all problems in panel handle / control ID.
    Despite this solution is working, in any case I would deep into the problem as an incorrect panel handle can lead to erratical behaviour in other places of the program.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • GPIB control of HP 6034A power supply

    I would like to find drivers for GPIB control of HP 6034A power supply (LabVIEW 6.1). There are drivers HP6xxxA for power supplies 6033A, 6035A, 6038A, ... Could anyone give me information how to modify these drivers for 6034A or any other directive. Jokut

    You might post your answer in the Instruments Connectivity >> GPIB section of the NI Exchange forum.
    Roland - LV DSC Exchanger
    PS: Most of the time you might just change the initialisation string of the instrument setup function/command if the instrument is similar to the dirver you already have. But this is all relative to the instrument - Unfortunatly I don't know the driver nor your instrument.

  • Need vi to control BK 1785b power supply

    I use serveral B&K 1876a power supplies in testing.
    I am looking for VI's to control the BK 1785b power supplies (through Com port).
    Just need to set voltage, max current and on/off.

    Hello,
    I cannot find any prebuilt driver in our Instrument Driver Network for your instrument, so you may have to create one for the power supply. If you know the command set of your instrument, you can try to use the Instrument I/O Assistant to send the commands or you can try to use the VISA API to program a series of commands to set the needed parameters.  Let me know if you have any questions!
    Chris R.
    Applications Engineer
    National Instruments
    Chris R.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Value is not populating in field through search help f4

    Hello Expert, I have made one field as a search help but data is not populating from popup. Data is coming from BP_search_help. Here i did not create any search help in se11. not required here. i used Code in get_p method. Method GET_P_BP_NUMBER. CAS

  • Photoshop CC reinstall

    Hi Photoshop wont open on my mac air say some componants are missing reinstall - I cant find an option to uninstall and reinstall from the Creative clould menu

  • Why does my ipod not complete playing any song?

    Why does my ipod not complete playing any song?

  • Why can I not move files in LR from 1 HDD to another

    Hi there. LR 4 I need to move a bunch of pictures located in different sub-folders on Drive C: to my new 2Tb Drive D: I try to move it in LR via the import function with MOVE. But, they are all greyed out (not selectable) and when I try to move 1-by-

  • Integration of dms with WORKFLOW

    hi, all i m DMS consultant, one of my client needs, worflow integration for DMS module, how i can go for that, what is the limitation please with EX ben ponts awiting