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

Similar Messages

  • 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

  • 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.

  • TS1367 Hi....I have an Intel based iMac.......serial # QP******DAS....I need a new logic board and power supply please ......can anyone help..........thank you

    Hi I have an intel based Imac......serial #      QP******DAS.....early 2011 I beleive......I have been advised that I need to replace both the logicboard and the power supply as the mac fails to start.
    I have been quoted a ridiculous amount of maoney for them and wanted to buy direct in the USA in the near future......does anybody sell thes plaeas........thanx ...Mike
    <Edited By Host>

    Check the following places: 
    We Love Macs! 
    iFixit.com 
    Also do a Google search. 

  • 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?

  • I Need a way to test computer Power Supply

    Im running a 2005 Dell XPS
    Intel Pentium 4  3.4GHz
    I get a BSOD (Blue Screen of DEATH) every once in awhile.  Mostly at startup.
    The code seems to be something with hard drives.
    Now being an old maching and adding 2 more drives for a total of 3 i had to us splitters to power everything.
    I also have a Nvidia 9800GT card with 1024MB RAM with 2 six power ran to it also.
    I have looked on the outside of my case but cant see what my PSU power is.
    I know I could open it up but was wondering if there was any software kinda like CPU-Z that could read what is inside my computer ?
    Maybe something that could add up all that is inside and see how much is being used ?
    I will be building a new i7 soon but for now this is what I have.
    I ran the PPBM4 test and think im going to take over the LAST spot.
    Here are the results:
    Powered by DESIGN,   Personal or Computer ID
    DELL,  Computer Manufacturer
    XPS,   Computer Model
    329.6,  secs Total Benchmark Time
    54,  secs AVI  Encoding Time
    179.6,  secs MPEG Elapsed Time
    96,  secs Rendering Time
    Intel,    CPU Manufacturer
    Pentium 4 550,    CPU Model
    3.4,    GHz CPU speed
    1,    Number of CPU chips
    1,    Total Number of Cores
    3,    GB RAM
    4.2.1,    APP Version PPBM4 DV
    XP 32,    OSVersion
    SATA,    OS Disk Interface
    1000,    GB OS Disk Capacity
    7200,    OS Disk Speed
    SATA,    Project Disk Interface
    500,    GB Project Disk Capacity
    7200,    Project Disk Speed
    750,    Preview Disk Interface
    500,    GB Preview Disk Capacity
    7200,    Preview Disk Speed
    SATA,    Output Disk Interface
    500,    GB Output Disk Capacity
    7200,    Output Disk Speed
    Nvidia GeForce 9800 GT,    Graphics Board
    This test really shows how slow my computer is,    Comment
    ENjoy:  GLenn

    Glenn:
    On most motherboards I've owned there is a Hardware/Health area of the BIOS where voltage problems are indicated. The power supply is one of the most neglected pieces of hardware on a computer.
    There was a time when Dell used power supplies on their computers that had the positive and negative leads that connect to the motherboard reversed. Of course the motherboard was designed to accept this reverse setup.  This pissed a lot of people off, because a standard replacement power supply would blow out the board. I don't know when Dell discontinued this practice, but you should check your Dell model before replacing the power supply.
    I recommend you find your power supply model# and then use one of the online power supply wattage calculators to see if your power supply is supplying enough wattage. I believe newegg.com has one of these calculators.

  • Need help with my laptop's power supply

    Hi! I have a Chinese power supply and I heard the Chinese voltage measurements can be different than North American voltage measurements. For example if an American measurement was 130V it would be a different number in China but be the same voltage. Is this true or a myth?
    Here is all the power supply's information and picture:
    http://i133.photobucket.com/albums/q77/pearlsinpur​plecrystals/Picture-165.jpg
    Thank you!
    Best wishes,
    ~Christie
    Solved!
    Go to Solution.

    So what's the issue you're having?
    I have never heard that rumor, a volt is a volt, an watt is a watt.
    If you like my post, or solution to your issue/question, go ahead and click on the little star by my name and/or accept the post as the Solution. It makes me happy.
    I'm NOT an employee of Best Buy, or Geek Squad, though I did work as an Agent for a year 5 years ago. None of my posts are to be taken as the official stance that Best Buy will take on your situation. My advice is just that, advice.
    Unfortunately, that's the bad luck of any electronic, there's going to be bad Apples... wait that's a horrible pun.

  • 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

  • Need driver for Lambda power supply

    Hi,
    I need driver for Lambda Zup60-7 power supply,I could not find in instrument drivers,
    it is through RS-232 communication,
    Is it available ? If available please send it,otherwise try to send related VI's
    Thank you.

    Check if anything here helps. Otherwise, try Tools>Instrumentation>Create Instrument Driver Project. A power supply driver is pretty simple to write.

  • HP 6622a Power Supply Driver

    Dear Sir:
           I downloaded and installed the drivers for my power supply, HP6622A, at this link:
           http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1096
           I downloaded, both, the Labview driver and the LabWindows driver, and installed them. 
           Usually, when instrument specific drivers are installed, all you need to do is search for the driver in labview and then it is all plug and play.
           This did not happen when I downloaded and installed the HP 6622A power supply drivers.   
            Can anyone with any experience with these drivers get me started on how I can use these drivers to control my HP6622A power supply? 

    Dear Sir:
          I would like to thank you for your post.
          The post was helpful.  
           With regard to searching the IV folder in the C drive,  I found drivers which could be useful in a LabWindows environment but I found nothing relevant for the Labview environment.
           I installed every supported Labview driver and LabWindows driver available from the webpage that I had linked to this post.
           The problem is I need to know exactly which filename extensions for this particular test instrument I should be looking for.  I searched the C drive for *.mnu and *.llb files but nothing relevant turned up.     Can you tell me exactly what labview files I should be looking for, the files I need to cut and paste into the instr.lib folder?
           I am trying to install working Labview drivers.   I looked in the instr.lib folder for the HP6622A folder but none appeared.  I realize after reading the webpage you pointed me to that I am supposed to cut and paste these files into the instr.lib folder.   I am just telling you this to let you know that I looked in that folder.  
            I looked at MAX and I know drivers had been installed.  I have enclosed a *.jpg screenshot of the software that had been installed which the program MAX detects.
            I was hoping that maybe you can tell me a way I can find the Labview files which I need to cut and past into the instr.lib?   This would be very helpful.
    Attachments:
    MAX HP6622A installed sofware.jpg ‏156 KB

  • CAMTEC power supply with USB interface

    Has anyone already controlled a CAMTEC power supply with an USB2.0 UI.Drive-Interface by LabVIEW ?
    Many thanks in advance for any advice.
    Solved!
    Go to Solution.

    JB wrote:
    Has anyone already controlled a CAMTEC power supply with an USB2.0 UI.Drive-Interface by LabVIEW ?
    Many thanks in advance for any advice.
    Looks like you'll need to call a .NET DLL unless they wrote some wrapper LabVIEW VIs .

  • Monitoring 3750x and 3560x Redundant Power Supply and Fans

    I need help for monitoring the redundant power supply of my switches (3750x and 3560x)
    I have configured my snmp on my switches and is able to monitor interfaces, temperature and etc.
    The problem is when I am monitoring the redundant power supply and fans.
    I am using two Cisco C3KX-PWR-350WAC Modular Power Supply per switch.
    The OID I use to monitor the PSU are the following:
    Power Supply 1
    .1.3.6.1.4.1.9.9.13.1.5.1.3 Instance: 1003
    Power Supply 2
    .1.3.6.1.4.1.9.9.13.1.5.1.3 Instance: 1004
    When I do an SNMP walk, the value is showing (1) which means normal.
    When I simulate a power outage on power supply 1 or 2 by unplugging the power source, the value doesn't change and is still (1).
    Values: normal(1), warning(2), critical(3), shutdown(4), notPresent(5)
    As for the Fans:
    When I remove the fan module, I am able to get a notification that the fans are down, but when I plug back the fan module it is now using a different instance.
    Below is my config for SNMP:
    snmp-server community XXXXXXXXXXXXXX RO
    snmp-server location XXXXXX
    snmp-server contact XXXXXX
    snmp-server chassis-id Cisco3560X
    snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
    snmp-server enable traps transceiver all
    snmp-server enable traps tty
    snmp-server enable traps license
    snmp-server enable traps cpu threshold
    snmp-server enable traps syslog
    snmp-server enable traps vlancreate
    snmp-server enable traps vlandelete
    snmp-server enable traps port-security
    snmp-server enable traps envmon fan shutdown supply temperature status
    snmp-server enable traps errdisable
    snmp-server enable traps vlan-membership
    snmp-server host X.X.X.X version 2c XXXXXXXXXXXXXX
    Note: This problem is the same for all of my 3560X switches and 3750X switches. I am not sure if I am monitoring the wrong OID. 
    Thanks in advance

    Hi ,
    You are running an old IOS code , definitely you are hitting a BUG .
    there is no workaround or I would say unfirtunetely you will not be able to get the correct power supply status via SNMP.
    you need to use command line for this.
    I mean "show env all "
    **** if you want to know the Excat BUG that your code is hitting ,please contact TAC.
    Thanks-
    Afroz
    **Ratings Encourages Contributors ****

  • PowerMac G5 Power Supply Replacement _ Sharing some information

    I thought I might share my experience here with the recent replacement of the 600w power supply on my DP 1.8 G5.
    Like many who have experienced the failure, the loud cap gun like sound when the PS failed was a sound I didn't want to hear.
    Because this system is the workhorse of my business it was imperitve that we ether got it back up and running or replace it. After a quick call to Apple, even though the system is out of warrenty, I realized this was going to be an in house repair, one because of the cost invloved, and two because of our time frame.
    My thought was how bad can a power supply replacement be? We replace them all the time on our Web Servers and other Linux based systems.
    To those of you that have done this G5 repair I'm sure you are snickering about this time.
    We were able to locate a new power supply and had it over nighted. To those of you ready to tackle the job here is our experience:
    1. Remove the fans, both the front and rear.
    2. Pop off the covers on the processor heat sinks so you can get to the allen head screws that hold the processors in place. ( Yes you have to pull the processors to remove the power supply) Make sure you have a 2.5mm allen head driver with at least a 5.5" shank so you reach the screws that hold the processor in place.
    3. Mark the processors, A or B, top or bottom, you want them going back in the same slots.
    4. Once you have loosened the screws (leave them in the posts, no need to pull them out) pull each processor straight up. Don't wiggle them or rock them, you don't want to bend any pins.
    5. If you have the lower RAM slots filled I would pull the RAM, you'll need the room to get the Power Supply cover out of the way. Again be sure to mark the modules so there is no mismatch.
    6. Remove the 2 screws that are holding the PS cover in place. I found that if you lift the front of the plate up and then slide it to the front, it clears the case. It IS tight to remove this cover, be careful not to jam it against the logic board. I also found its flexable so I could torque it a little from the middle to pull it out.
    7. Remove the 4 screws from the bottom of the case, they hold the PS in place.
    8. Remove the 3 connections from the logic board.
    9. I found that with the case laying on its side, I tipped the power supply up horzontialy towards the top on the case, and then it lifted stratgit out.
    10. Pop the new in the samew way the old one came out, and make the connections to the logic board. The front connection is a pain because the pig tail isn't all that long, so you end up doint it with one hand.
    11. Reinstall the 4 screws on the bottom of the case, and reinstalled the PS cover using 2 screws.
    12. Put you processors back in place, first the top and then the bottom, be careful here, you don't want to bend any pins, line up the posts and push straight in, you'll feel it seat itself. Tighten up the screws. Don't overtighten these they need to be snug.
    13. Replace the ram, and the top covers for the heat sink and your fans.
    At this point you should be all set, replace the dust covers close up the case and fire it up and all should be well.
    We of course cleaned up the case before replacing the PS and we DID run into a problem with the top processor not seating properly. When the machine booted we got to a gray screen and that was it. I suspected a processor wasn't seating properly and when I pulled the top processor I found a piece of dust between the pins. Of course when I removed the dust I bent a pin, and spent the next 20 minutes realigning it it with a safety pin. I know bad idea but I was desparate. We got incredibly lucky with the alignmnet and the machine booted and has been running like the bear it is.
    We have built and service a lot of machines over the years, and I have to tell you pulling processors to change a PS just doesn't make a lot of sense to me. I also have to take issue with the unavailability of information from Apple. I KNOW they want you to use their services but not all of us are in the position to lay out 250 for a PS and another 300 for labor and wait 10 days:)
    I was in touch with a couple of people I know that stated when they pull the PS they also pull the logic board. I didn't find that to be necessary in our situation.
    Like always when you open the case take the necessary precautions with static discharge and electrical hazards.
    Hope this helps somebody out there, I know there wasn't a whole lot of info I found for the task in detail.
    G5   Mac OS X (10.4.8)  

    You really need to call Apple and ask about your particular machine. Sometimes Apple will still honor the extended warranty if it applies, even if you're beyond the expiration, and your machine might fit a narrow set of circumstances that doesn't apply to everybody else.

  • Replacing Power Supply

    Hi,
    I think my power input jack is somewhat broken. The input jack has been ripped out of it accidentally, causing the input jack to break off and it also bent the gold pin on the supply connector (on the actual computer). Some of the time I can wiggle my new power cord to get it to light up the computer, but often times I don't get any power.
    So, was wondering how hard it is to replace the power supply on the computer itself, or if anyone knows, in general how much it will cost to have it fixed.
    Thanks,
    Grant

    You don't need to replace the entire internal power supply - just the jack. If you're handy with a screwdriver and a soldering pencil, you can do it yorself. Otherwise, I'd relegate the job to a 3rd-party PowerBook repair service. If you're near a Best Buy or Fry's (I don't konw where you are located) you can try them. Too, Google is your friend.

  • Power supply from CAN hardware PCI board

    I am using a PCI-CAN/2 board to construct a network among some equipments. I need know how to get the power supply ( 5v ) from the two ports of that board to a circuit which contains a PCA82c250 can controller from phillips. I have already tried switch the board's jumpers to internal power mode and external power mode but no voltage was appeared. How can I do this ????

    Yes, this can be quite confusing. The internally/externally powered option refers to how the transceiver of the NI-CAN board is powered. When internal, the transceiver gets its power from the computer. When external, the transceiver gets its power from the V+ line of the CAN bus. Changing to external power will NOT bring any power to the V+ line.
    If a CAN bus requires power, try adding a power supply that can produce the recommended voltage. In such a case it is best to either set the NI-CAN board to externally powered or do not connect the V+ line to the board.
    Randy Solomonson
    Application Engineer
    National Instruments

Maybe you are looking for