Finding Address of Ethernet Controlled (VXI) Power Supply

I have a PXI system, and a TTI CPX400 power supply connected via Ethernet. In order to initialize and control these power supplies with the premade VIs, I need to supply a resource name in the form of: TCPIP0::<IP>::9221:OCKET. The concern I have is that each power supply has a different IP address, and in order to determine it, I need to connect the supply to a computer and run an LXI Discovery tool (http://tti-test.com/go/psx/psx-downloads/lxi-disco​very_tool.zip), which is a windows, GUI based tool. I would like to know if anyone has a solution for identifying such a device and finding its address in some way that can be implemented from within a labview program, so that if a power supply is replaced, communication can be established without having to manually run the discovery tool and then enter that address into my configuration file. Also, the power supplies have unique host names, so I can't just look up the address that way.
Thanks for any suggestions.

By far the easiest is to just set a static IP address for each of your supplies.  It is just let setting up a GPIB address.  Most supplies have menus on the front panel so that you can set them to have a static address.  I do this for all of my LAN instruments.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

Similar Messages

  • GPIB-Controlled XHR Power Supply and HP34401A DMM Conflict

    Dear Experts,
    I downloaded a driver for XHR Power Supply from NI's website and used
    it to controlled the power supply successfully via GPIB cable in
    LabVIEW. However, when I used HP34401A digital meter to measure the
    voltage from the power supply in the same way via GPIB cable, the XHR
    power supply was shut down automatically although the meter read the
    measurement correctly before shutting down. Since I am a new user of
    LabVIEW, I do not know if it is a conflict of GPIB-Controlled
    instuments.
    I would be most grateful if you could give me some advice and tell me how to solve this problem at your earliest convenience.
    Thanks a lot for your attention and help,
    James

    You can set LLO with the VISA GPIB Control REN function. This is on the Instrument I/O>VISA>VISA Advanced>Interface specific palette.
    You do not use the same VISA session for two different instruments. Each must be different and unique. If they were the same, then the be would be using the same address and your program would not work.
    To make a sinlg VI that will control both instruments, just take the functions you need from each and put them into a single VI. The author of the XAN power supply drivers did a kind of lame thing. The Getting Started VIs do not have their controls and indicators wired to the VIs connector pane so you would have to change this before using the Getting Started in another VI. I've attached a simple example that shows some of the other functions along with some 34401 functions in a single VI.
    Before you get going, I would recomend that you take a LabVIEW programming class. Information can bge found at http://www.ni.com/devzone/lvzone/fundamentals.htm.
    p.s. You should know that your email address is not available to forum users. If you wish an example program, you can request it be posted here but you need to provide the version of LabVIEW that you're using and you need to provide the exact name of the XAN driver you're using. I found three and don't know shich is which.
    Attachments:
    two instruments.JPG ‏51 KB

  • 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

  • To Control a Power Supply via LabVIEW

    Hi,
    I am really in the beginning of the learning LabvIEW. I am trying to control a power supply( Ametek XG 
    1500 ) via LabVIEW through USB cable. I have goggled several websites, but still do not have a clear idea 
    of how to implement such task. I downloaded COM drivers from www.programmablepower.com. Then, device and 
    my computer see the USB cable, but I do not have exact clue to make a good program to control power 
    supply.
    I tried to make a program with NI-VISA with SCPI commands. Actually, I am not sure to write true 
    commands and I can not see the voltage or current value on the front panel. I have never write a program 
    to control any electronic device. Maybe, I can not see the basic step or not.
    Firstly, I want to write a program which makes power on/off to the power supply. I do not know where 
    should I begin. Please any of you give me an offer to do this task.
    Thank you.
    Deniz

    There is of course, the IVI driver.
    I don't understand at all why you would install a different com port driver than the one that comes from Ametek/Sorenesen. In any case, I did not use the IVI driver. I simply created my own using Tools>Instrumentation>Create Instrument Driver Project. Pretty simple for me - I did a basic driver in less than a day. I would suggest you look over the instrument driver tutorial (on main idnet page). The commands are well documented in the manual. Be sure to get the termination characters correct. I can't provide the code I wrote as it was for a customer but if you post what you have written with details on errors you get etc, I'll try to help.

  • 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

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

  • 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

  • Registering a 65w power supply? Where? How?

    Just had not one but TWO G4 17'" powerbook power supplies go dead on me within the span of two weeks. The first one shorted out totally and left charred plastic and burn marks right where the cord the plugs into the computer meets the power brick. However the second literally caught fire in front of my eyes!
    I was working on my laptop when suddenly everything shut down. I was confused at first but then I noticed the burning electric smell. When I glanced down at the power supply I saw blue sparks and tiny flames coming from where the cord meets the brick (computer side). I immediately unplugged my laptop first and then killed the power surge strip. The cord was totally burnt to a crisp. Gnarly...and good thing I was home when it happened!!!
    Anyway, took it down to the Apple store where I got surprised looks from the staff but long story short my applecare was expired and they didn't have any 65w power supplies to "swap out" with me since all the new books use the 85w standard. Needing my computer desperately, I swallowed my bitterness and plunked down the $90 to get a new power supply. (Personally I find that price outrageous...especially since I recently had a problem with a LaCie drive and they sent me a new power supply free of charge without any hassle whatsoever!)
    So I am using the one cord to power the two machines currently and I tried to register the darn thing in case this one decides to ignite but on the registration page I can't find any product listing for the power supply...or other apple peripherals for that matter. Its funny too because the Apple store staff made a huge deal of telling me to register the plug and I can't find a way to do it. I own many Apple products and they are all registered but it seems I am lost when registering something simple like a plug.
    Can anyone out there help me or provide a link?
    *I tried the normal registration link and there is no category for this product.
    thanks!

    yeah, I figured I would simply call AppleCare or take it back to the store and have them explain how to register online...since they said I could specifically register the power supply online.
    also just to clarify things, the cords were not damaged but they were 3 years old. the litlle plastic flange nubs that are near where the cord from the laptop enters the brick were still intact. in fact, that is what MELTED and got all crispy and black. it seemed to me the problem was that the plug was somehow damaged INSIDE the plastic sleeve right where it entered the power brick.
    I agree to never wrap the cord around the brick though. One thing that I must say to people who bought the G4 17" books when they first came out and are still using the same power supply, please take note of how hot the brick gets. Right before all this grief happened I started to notice that the brick was getting VERY warm (dare I say hot?) to the touch. I never once noticed any physical damage to the wires or connector...as far as I was concerned the power supplies were slightly less white but there were no visible signs that they were going to ignite.
    At this point it is too dificult to determine the factors that may have caused both power supplies to catch fire, so I won't speculate. However, my new power supply is plugged into the same outlet as the other two and working fine. It is also much much much much much much cooler to the touch than my old power supplies.
    My advice: if your G4 powerbook power supply is too hot for you to hold it in your hand it may be time to take advantage of AppleCare and trade it in for a new one OR go to your nearest Apple Store and plunk down $90. Your choice!

  • Power supply freezes after running vi second time

    Hello,
    I am just starting my adventures in brave new world of LabView and I run into a problem with my first serious vi which is controling CPX400DP power supply and DPO4104 oscyloscope.
    What my vi should be doing:
    First it sets current levels of both channels of power supply (e.g. 5V on first, 0V on second) and size of the jump (e.g. 0.5V). Then vi should change both current levels by size of the jump and repeat till the current levels of both channels would be reverse to the start value (in this case, 0V on first channel, 5V on second). Also before every current change the vi would save to file mean of measurements out of the waveform from oscyloscope.
    What my vi is doing:
    At first run it seems that it's doing everything in order (new text file with resonable numbers is created). However, when I try to run the vi a second time my power supply freezes short after few current changes. I can stop the execution of the vi in LabView (it does take a while though) but to successfully run the vi again I must reset my power supply (turn it off and on).
    I tried to go around this problem by modyfing the vi in a way that it would do what I want multiple times during running the vi only once but unfortunately that didn't work.
    If anyone would have any suggestions about what I am doing wrong or how to help fix this problem feel free to share I don't bite... much  But seriously, I'm stuck with this problem for over a week and I'll be glad for any tips 
    Thanks!
    Waldek.
    PS Sorry if I am not clear somewhere but I'm not used to talk about programing in English
    PSS In attachments are my main vi and two sub vis.
    Solved!
    Go to Solution.
    Attachments:
    controling_power_supply_NEW.vi ‏29 KB
    current_changer.vi ‏17 KB
    waveform_reader_saver.vi ‏21 KB

    Revan-Ghost wrote:
    Thanks for a suggestion Bill but could you elaborate a bit on "try inserting ;*OPC? after every setup command"? I understand what that would do, concept wise, but as a new user I don't know how to do that in LabView. And Good Uncle Google doesn't say anything about " ;*OPC? " and insist on talking about OPC servers instead.
    I'm sorry - I was looking at the manual and failed to realize that the missing subVIs from your code were actually drivers for your power supply, so you may not be able to implement this (unless the drivers themselves have the "Operation Complete" capability - hopefully the drivers came with documentation).  Else, you may be stuck having to hardcode waits after each command.
    If you wrote your own drivers, this is how you would send the command to set output 1 to 1 Volt:
    V1 1;*OPC?
    The V1 1 sets your voltage to 1 Volt.  To tack on another command, you use the semicolon.  The *OPC? command forces it to return send a "1."  SInce the commands are acted upon sequentially, the power supply can't send the "1" until it is done processing the command to set it to 1 Volt.  After that command is complete, the "1" is sent, you read the 1 out of the buffer and move on.  This avoids issues where you pile on too many commands at once.  I checked the manual and it supports this feature.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • HP Deskjet D1560, Need Part numbers for power supply parts

    I have an HP Deskjet D1560 still in the box.  Does not have power adapter and power cord.  (My daughter took them for her printer.)  Where can I find the part numbers for the power supply parts?  I live in the U.S., so I need the power cord that will fit in a U.S. outlet.  The power cords in the product section are for the Middle East, Europe, and England.  I need the one for the U.S.  Where can I find that part number?

    The power supply is part number 0957-2231 and the associated US cord is part number 8121-0889.  I usually pick these up on eBay if I need a power supply, see the listings here.  Make sure the power cord is included, it may be listed as a seperate item.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Switching power supply transformer

    I cannot find the  Dc 24v 12a switching power supply tranfomer in multisim 11
    i'am talking about this http://www.amazon.com/Switching-Power-Supply-Transformer-Regulated/dp/B006QSOF60
    someone can help please ?
    thanks in advance

    Hi Behabeck,
    Multisim have an ideal power supply and you can set it to what voltage you want, the current output depends on your load. A switching power supply is type circuit and you can use Multisim to design it.
    Tien P.
    National Instruments

  • Comand power supply through GPIB

    Hi I am Michele De Santis,
    I am trying to command a elind 500 KL power supply through GPIB with a NI PXI. I can easily read the values of current and voltage of the instrument with the VISA read block in LabView environment. The problem presents when I want to use the write VISA block, in other words when I want to put a voltage and current values from my PXI. The instrument put itself, after I send the command, in CCM (current costant mode, before it was in VCM voltage costant mode) at 0 V and 0 A and from this moment on, I can't switch the status of the power supply unless I dont turn the instrument off. Anyone knows why?
    Thanks!

    Hi Michele,
    have you tryed to control yours Power Supply from another GPIB controller?
    Cheers, 
    Matteo Brunella
    Application Engineer
    NI Italy

  • To connect a Power Supply over RS-232 in LabView

    Have a nice day,
    dear friends, I have done some basic programs before in LabView, my project is now to connect Agilent E3631A DC Power Supply serially and sending/recieving data(my aim to change input voltage from the computer without touching the hardware device).
    I actually already connected the Power Supply to my computer ,I also downloaded driver of it from Agilents web site.
    So the only thing is now to establish the connection in LabView.
    hmmm. can you please tell me what to do now ? I have no idea if I should choose VISA or DAQ or sth else.. how can I let the LabView to send a new voltage to the hardware.
    With best wishes
    Message Edited by Support on 11-09-2007 08:29 AM

    After installing LabView 7.0 and VISA Now I have concrete questions. Do I need some more program to install ? ( drivers I already found from ni.com )
    You should have everything you need to do serial communications installed. The drivers you downloaded should help you get started with your applicaition, so I'd install them as well.
    first of all I installed LabVIEW Evaluation version 7.0 , and I can`t open sources which are written with ver. 7.1 , how can i handle this problem ? ( because somebody sent me some codes which are written in 7.1 and I definetely want to see them )
    You can save VIs to the previous version only. So will need to have somebody save the code to 7.0 for you.
    second; should I use VISA or IVI ? whats the difference between them ?
    At this point, I wouldn't worry about IVI. The drivers you downloaded are probably "IVI Drivers" but use VISA to communicate with your instrument. If you want to know a bit more about IVI in general, just do a search on ni.com for "IVI".
    third; lets concider that I use VISA . From the IO Config menu, I choose COM 2 and VISA interface name is than ASRL2(automatic). And than from VISA Assistant, I choose the place of the driver of my Power Supply. Up to now everything seems to be ok. what is the next step after here ? Do i forget some configurations?
    The first step is to initialize the port and instrumnet. If you look on your functions palette from the block diagram, there's a sub palette named "Instrument I/O" and a sub palette of that one named "Instrument Drivers". In this drivers palette, you should see a palette for the drivers you installed for the power supply. There should also be a sub palette in there named "Applicaiton Examples" that can help you get started. There should be one or two examples that will allow you to control the power supply, and you should be able to open the block diagram and see how it's put together.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Xserve G5 power supply ? problem

    Well I bought a dead G5 Xserve on eBay (yeah, I know). followed the "system completely dead…" check in the Xserve repair PDF. Battery was dead, replaced that and reset PMU, nothing. Checked for voltage across the power supply pins. The only reasonable way I could find to do this with the power supply installed was to remove the bracket that holds the retaining thumbscrew, this exposes the solder joints for the pins on top of the connector. Checked for voltage across pins 1 and 8 and came up with zero. Bought a used "working" power supply on eBay and installed that along with a new battery, reset the PMU, checked for voltage at my power cord, plugged it in and pushed the start button. Fans came on lights blinking away as there was no RAM installed. Shut it down. Boughtt a couple of gigs of RAM and installed that along with a video card from a B & W G3 yosemite tower that was confirmed by a couple of sources as a cheap way to get video out. All of this installing and removing following ESD precautions. Pushed the start button…nothing. Removed both the RAM and the card…nothing. Checked for voltage at those pins—nothing. Bought a new in box Apple repair kit with a power supply, fan array and PCI fan. Installed all three of those with a fresh battery, reset PMU, pushed the start button…wait for it…nothing. Checked the power supply pins, zip for voltage. These parts looked to be brand new, free of any dust or signs of human meddling. Now even if every other part of this machine was trash, I should still get some trickle power out of a good power supply—yes? Am I really missing the boat here? I have checked the front panel connections and that the button actually presses the switch. Checked the connectoion from the MLB to the interconnect board and they are all clean, sound connections. This thing is in imaculate condition, no corrosion of any kind on the logic board or anywhere else. It is the revised MLB with the 2Gig RAM printed on it. Any ideas would be greatly appreciated.
    Thanks,
    Ted

    William,
    Straight from Apple's web site...
    http://www.apple.com/support/imac/repairextensionprogram/
    Which iMac G5 computers are affected by the iMac G5 Repair Extension Program for Video and Power Issues?
    The program is available for certain iMac G5 models that were sold between approximately September 2004 and June 2005 featuring 17- and 20-inch displays with 1.6GHz and 1.8GHz G5 processors.
    Steve

  • 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

Maybe you are looking for

  • USB Storage Devices report "no media"

    Lately, I've been having a problem with USB memory sticks on my HP laptop running Windows 7 x64.  I've tried a SanDisk Cruzer and a Staples Relay  In each case, when the device is plugged in, it soon appears in Device Manager both under "Disk drives"

  • My screen has some lines going through it, it is the old model.

    My screen now has a line about 2 inches wide going across it. I have restarted it a couple of times to no avail. It has not fallen that I am aware of.

  • CProjects approval error - Signature not possible : no user certificate ex

    When i try to approve the phase in cProjects i get an error which says "Signature not possible : no user certificate exist". Where exactly do we maintain this certificate because i am not able to change the decision for phase approval. I have maintai

  • Spry Conflicts with LightBox and ThickBox?

    i have tried to use both Lightbox2 and Thickbox on a page with a Spry dataset and both will not work (they work fine on non-Spry pages). It's just a simple gallery-style page. Any ideas on how to make them compatible?

  • Alert type for GR completed

    Dear All, I want to send an email to vendor when the customer has updated the ASN to "Goods receipts completed". Is there a way to configure an alert type for this case? Thanks and best regards. Alberto.