Problem with Get the current and voltage from HP Power Supply (HP E3631A), using the GPIB interface.

my USB device's power support is from the DC Power Supply ( HP E3631A)
I need to read using current from a DC Power Supply ( HP E3631A),via GPIB interface.
When I use the follow command.Why can't read the current value.My environment is in vc++ 6.0.
"APPL P6V,5.0,1.0"
"OUTP ON"
"MEAS:CURR? P6V"
attached the NI SPY File.Please check it.
Can you tell me what the problem is ??
Thanks in Advance !
Hope you can solve my problem !!!"
Attachments:
E3631AERR.spy ‏7 KB

Hi neilchuang,
A read timeout error is usually caused by an error on the command string sent.
The first thing I would check is if the instrument requires a termination character at the end of each message (such as linefeed). I noticed in the Spy capture that the commands do not have a termination character attached. This means that the instruments never recognized that you completed the query command, it doesn't execute the requested action and as a consequence of that it doesn't have any data to return.
One question: Is the instrument detected by MAX when you scan for instruments?. If yes then you can assume that the GPIB software and hardware are properly installed. The scan for instruments sends the *IDN? (terminated by a linefeed). You can right-cli
ck on the instrument entry in MAX and select "Communicate with instrument". Notice that at the end of the command the linefeed is included (\n).
Double check with the instrument manual if the commands sent are the right ones.
Finally, there is an instrument driver available in the idnet library: www.ni.com/idnet. Search for 3631. Since you are working in C you can use the LabWindows/CVI Plug and Play driver. Even if you decide not to use the instrument driver, you can still use it as an excellent reference on how to program with the instrument.
Hope this helps!.
DiegoF
National InstrumentsMessage Edited by Molly K on 02-18-2005 11:05 PM

Similar Messages

  • I have a US Mac living in the UK. I tried to download both the British and American version. Both state "You cannot use the application Firefox with this version of MAC OSX". Any suggestions how to proceed?

    I have a US Mac living in the UK. I tried to download both the British and American version. Both state "You cannot use the application Firefox with this version of MAC OSX". Any suggestions how to proceed?

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. You can get the latest version of Firefox 3.6 which works on OS X 10.4 from http://www.mozilla.com/en-US/firefox/all-older.html

  • How to read three parameters for exemple temperatur​e,current and voltage from the same port with visa read and separate them in a table

    Hi i want to read parameters with visa read, from three sensors related to  pic16f877a, using  module xbee ..but i want to make every one from those parameters (temperature, voltage and current) in a table ..it's the first time i use Labview so i don't know if ther is a solution for my problem so if any one have any idea please help me. thnx in advance. 

    [email protected] wrote:
    Hi i want to read parameters with visa read, from three sensors related to  pic16f877a, using  module xbee ..but i want to make every one from those parameters (temperature, voltage and current) in a table ..it's the first time i use Labview so i don't know if ther is a solution for my problem so if any one have any idea please help me. thnx in advance. 
    The short answer is: "Yes, of course."  But you are going to have to do the legwork and learn LabVIEW basics before we can offer meaningful help.
    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.

  • IPad 2 music does not play and high resolution pictures get corrupted when syncing through iTunes on 64 bit Win 7.  Anyone else have a problem with iTunes corrupting music and pictures from 64bit machine?

    Works from a 32 bit XP machine.  Does not work from a 64bit Win 7 machine.  It's 64 bit that seems to be the issue; the music won't start playing, and for pictures, it's when they're more than 768x1024 resolution that they appear very low resolution and/or corrupt.  None of the normal tricks work (different user account; different USB port; different USB hub controller) and the problem is replicable.  The music and JPEG and PNGs, however, are fine if transferred via a Windows network to a 32 bit machine ie it's not the music/image files.

    Dear Katrina, the problem has finally been solved, with the help of a computer-savvy friend of mine who came round this afternoon. As a courtesy, and to thank you for all your help in this matter, I want to share the solution with you.
    A piece of the puzzle was missing, as you said, and it lay in the tenth line of the XML document I relayed to you....
    <key>Music Folder</key><string>file://localhost/C:/Users/Simon/Music/iTunes/iTunes%20Media/</string>
    My friend spotted that the command string contained a sub-folder of the iTunes folder called "iTunes Media". iTunes was expecting to find all my music there, but that folder didn't exist.
    So I created a new folder called "iTunes Media", and moved all my musical content into it, leaving all the command files in the original iTunes folder.
    Then I moved the "iTunes Media" folder into the "iTunes" folder, so that it was a sub-folder of the latter.
    Then I re-opened iTunes and - joy of joys! - everything works once again. I am re-united with all of my music, and without having to make over 14,000 manual location exercises. I can't tell you how exciting that is.
    The mystery is solved, and what had me so puzzled seems obvious now. Thanks again for your help. Without you I might never have got to this point.

  • Problem with hp photosmart c5180 and printing from computer

    Hello, I have windows 7 and an hp photosmart c5180 all in one printer, at first, I couldnt scan anything to my computer, so I reinstalled the software and drivers for windows 7, and it scans now, but the printer doesnt respond to the computers command to print anything, it kept saying it had expired ink, so I bought new ink, and it still doesnt work, could somebody help? Any answers are appreciated.

    Try the steps in this document, depending on your operating system:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01892627&tmp_task=solveCategory&lc=en&dlc=en&cc...
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Apple TV quits unexpectedly and when I look at the Mac Mini where the Music is coming from, it says someone else is using the Apple TV.  Any idea how this happens?  All s/w is updated.  Re-booted all h/w.

    The Apple TV will play four or five songs from the Computer, and then stops suddenly.  It's worked fine for months until a couple days ago.  The message says the AirPlay/Apple TV is being used by another person.  When I go down to the tiny icon in the iTunes box (lower right), it only offers Computer as option and no longer shows Apple TV as option. 

    Welcome to the Apple Community.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel.

  • Can I turn off the setting that displays the height and width in a little black box when using the marquee tool?

    In Photoshop CC, on a mac...
    When using the marquee selection tool, a little black box pops up next to the curser and displays in real time, the height and width of the selection.  The same annoying box also appears when dragging an item with the move tool, displaying the numerical location of the cursor.  Is there anyway to turn off the display of that little black box?  It is driving me bonkers.

    Under the preferences cmd/ctrl-k click on "Interface". At the bottom of the UI is a drop down box for show transformation. Set that to "Never"

  • The text and phone rings come on while I'm using the phone..irritating, the text and phone rings come on while I'm using the phone..irritating

    the text and phone ringtones come on while I'm talking on my IPhone4.  What do I need to change to not hear the actual tone?

    Engage the mute switch while you're on the call. It's the little slider switch over the volume buttons on the side of the phone.

  • The SSD on my MacBook Air failed and I lost all of my files and information. Will Apple be able to put the music and photos from my iPad onto my computer since the SSD failure was on them?

    Because the failure of the SSD was not in my hands, will Apple help me avoid the inconvenience of restarting on a new computer by using my iPad to get music and pictures back on my computer? It's still under warranty and I feel that Apple should do this for me since I paid $1,500 for a computer that is supposed to be reliable.

    Drop the sass, dude.
    What I'm asking is will they be able to rip the files off my iPad and put them on my computer instead of leaving me in an unfortunate situation which wouldn't have occurred in the first place. I understand electronics fail all the time, but will they help me get back on track by taking my iPad's files and ripping them onto my Mac?

  • I downloaded to the version and all music was lost.  If I use the restore option, will I loose all my other files on ipod?

    I downloaded the latest version of Itunes.  After the game was downloaded, all my music was lost.  How do I recover my music?

    I am confused.  Did you update the iTunes on your computer?  You download the game to your computer?  Of this all done with your computer and itunes you do not have a iPod problem and posting in the iTunes forum is more appropriate.

  • How can i sort out the N lowiest elements from an 1D array faster than using the build in sort function (1D-array) in Labview?

    I need an algorithm that is based on the same sorting-algorithm that Labview uses (or one that is just as fast) but it only needs to sort out the N lowiest elements (and the N-element output array don't need to be sorted).
    /Jonas

    I want all three zeros in the output. You can se the algorithm that I'm looking for as a soft version of Labviews own sort algorithm that only gives you the N (always less then the length of the array) lowiest values as output.If two elements contain the same small value both should be sorted out.
    /Jonas

  • I have totally forgotten my answers for the security and when i try to reset them by using the tutorial it says there should be a reset button at the bottom but there isn't one, please help

    I am trying to but something on the appstore but since i had forgotten the answers to my security questions i am not able to do so.
    I have tried resetting the questions by using tutorials but it says there should be a reset option at the bottom but there isn't one, what do I do?

    Per the following, if there is no link to send a reset email then you need to contact Apple Support: If you forgot the answers to your Apple ID security questions
    Apple Support: Apple ID: Contacting Apple for help with Apple ID account security

  • Measure current and voltage in Elvis and labview

    Hi!  We're setting up a control system setup for class where we need to monitor the current and voltage that we are supplying/drawing from the ELVIS hardware within a LABVIEW setup.  So far, we can accurately display voltage input and outputs from the AI and DAO terminals respectively.  However, we can't seem to find a direct way measure current draw.  I believe that we are supposed to be able to get DMM readings from the AI5 channel, but either we're not doing it correctly, or we still need to place a known resistance across it (which we cannot do, due to variable loads).  Any advise please?
    Cheers,
    Gerald

    Are you using Elvis I or II?  From your post, I will assume it is Elvis I but please correct me if this is not the case.  Page 38 of the manual shows that ACH5 is used for capacitor or diode measurements for the DMM.  To measure current, use the connectors on the front of the Elvis unit and then route the current HI/LO on the protoboard to either the oscilloscope or an analog input channel.  You can use the DMM Soft Front Panel to monitor current as well.
    Message Edited by h_baker on 07-09-2009 04:54 PM
    Regards,
    h_baker
    National Instruments
    Applications Engineer
    Digital Multimeter Resources

  • Connect RS232 with labview to read current and voltage values.

    Hi, I am trying to connect my microcontroller kit which will measure the current and voltage. I was provided with rs232 port to connect with labview to read the voltage and current data that is measured by my controller. How to make it display both current and voltage value by acquirng the data from rs232. I tried some programming but it doesn't work or it was wrong. How to make it work ?
    Attachments:
    pro.vi ‏13 KB

    As we said in the other thread, you need to talk to whoever is designing the microcontroller and decide on a specific format for it send you the data.  Once we have that, then we can start talking about how to program this up.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to measure current and voltage and rpm with daq device

    i am measuring current and voltage and am wondering should i use shunt resistors or current sensors hall effect sensors. i have a pci 6221 and a scc-68 breakout box. what specifications or size should the shunt resistor/current sensor be or should i use another device to measure the currrent and voltage. do i need any other safety device between the resistors, current sensors and the scc-68 breakout box when measuring the current and voltage. will the daq card pci 6221 pick up a signal from the resistor. what terminals should the wires from the resistors and current sensors be connected to in the scc-68. i am using a proximity switch to measure rpm of a motor. should the proximity switch be 2 or 3wire connection. should it have an analog or digital connection and is a power supply required to power the proximity switch and should it have an npn or pnp connection

    hello,
     i was going to use a 20amp 50mv, or a 20amp 100mv current shunt and connect wires directly into the AI input terminals of the scc-68 from the current shunt would these be suitable. would current shunts such as these be suitable to use http://uk.farnell.com/elc/sh10020/shunt-sh10020-20a-100mv-1-class/dp/1319576 or http://uk.farnell.com/datel/3020-01098-0/shunt-50mv-20a/dp/1339338
    is it ok to use either a current shunt or should a hall effect sensor be used  such as this http://ie.farnell.com/honeywell-s-c/csla2cd/sensor-hall-effect/dp/1082269 . which of them would be more accurate or are both of them fairly accurate.
    when i am measuring voltage can i connect two resistors between the positive and negative of the wires going to the battery and connect two wires from either side of the resistor directly into the analog inputs of the scc-68 and measure the 12-15 volts directly would the pci6221 and scc-68 be able to measure the voltage drop across the resistor.
    i wanted to measure rpm also does it matter whether the proximity switch has 2 or 3 wires and should it have an analog or digital/frequency output for cponnecting to the scc-68

Maybe you are looking for

  • Activate account on a new computer when its impossible to deactivate the old account

    Hello! I have purchased and activated Adobe Photoshop Elements on my old computer, which is now broken. This means that I can not use Photoshop on my new computer because I first have to disable the old version, which I can not do this when my old co

  • IPhone incoming call started studio monitor, but no image

    I placed my iPhone about 6" in front of my 15" apple studio monitor. When the phone rang, it activated the power switch on the face of the monitor. The computer started up as if I had touched the power switch, but the screen was black. The cpu powere

  • Coherence stats example code

    Hey all, I attached the Java class we use to collect Coherence stats to display in our admin tool. Hopefully it will be useful to someone else. I'll keep this thread updated with the latest copy as well. Provides the following stats about each cluste

  • Print Preview texts from event handler of a web UI component enhancement

    Hello, I've enhanced View GSTEXT/List to add Print Preview button. What I've done in the event handler is to read the text with  function module READ_TEXT and I have all my text in the lt_lines internal table. Now I want to View this text in PDF form

  • Looking for SQL*Net patch version 2.3.3.0.3

    Hello friends: In order to migrent a Oracle 7.3 database to a Oracle 8i DB I need a SQL*Net patch version 2.3.3.0.3. Would you please tell me where can I get it? Thank a lot! Zhang Weidong