How do I get LabView to communicate with HP4142B, using GPIB?

I have a PCI-GPIB card from NI and running Labview 6.1 under Windows 2000.
I have trouble to communicate with a HP4142B.
Every time I send a GPIB-command to the 4142B I get an EABO error. The instrument seems to receive the command
but does not give any answer. There may be some trouble with the EOS character but I don't know how to correct it. Communication with other instuments (i.e. HP34401A) works without this problem together with LabView.
I have also tried to send commands with the NI-488.2 program but the EABO error remains.
First I thougth that HP4142B has got a HW error but then I sucessfully used a program called "HP VEE".
The instument then worked without any trouble so there must be someth
ing else that is incorrect.
It is important for me to get the HP4142B to work with LabView and the PCI-GPIB card so I hope you can help me solve my problem!
Jon Alfredsson
M.Sc.EE, Ph.D student
Mid Sweden University

Hello John,
This sounds like a classic case of missing termination characters. The termination characters should be specified in the instrument's user manual. HP VEE is probably adding certain termination characters by default. Common termination characters are a carriage return, a linefeed, or both. In LabVIEW you can easily add termination characters to a string by right clicking on it, selecting / codes display, typing in a /r or /n at the end of the string. Alternatively, if you are using the regular 488.2 VIs (not VISA), you can specify different modes on the write commands. Each mode corresponds to the termination methods/characters that will be appended to the command. See the LabVIEW detailed help on the GPIB write VI for more information.
Regards,
Ra
y K
NI Applications Engineer
Ray K
NI Applications Engineer

Similar Messages

  • How do I get flash to communicate with a database

    Hi I would greatly appreciate some help here as I am getting overwhelmed by the variety of products out there. I have written a flash program using AS3 which allows the user to build a picture of a product using a variety of options displayed in checkboxes. Very simply these checkboxes either make a layer visible or invisible in my flash movie and certain choices may change the list of options. This information is currently being supplied by XML. Once the user has built his product, I would like to be able to save his choices in a SQL Server database and also be able to download his options again at a later date and view these choices at the manufacturing plant.
    So far I have tried using asp.net to write to the database and have got the information to the asp.net program by using the querystring, however there may be up to 50 options which does make a querystring rather unwieldy. Also I cannot seem to send back information from the asp.net page to my actionscript.Can anyone tell me how to do this or give me an example? I am supposing that I use the response.write function in asp.net but what command in AS3?
    I looked into the possibility of using a webservice but see that AS3 no longer supports this as all the functionality is in Flex. I have read about Flex but still do not understand whether  it could help me and how it can communicate with my flash program and pass the options in and out of it.
    I also briefly looked at Flash remoting which did appear as though it was the answer but is even more expensive to buy than flash itself.
    Can anyone give me suggestions on how to move forward with my problem

    I haven't worked with ASP, so what I'm offering is based on using PHP.  For sending data to a database using AS3, you should be able to use the URLVariables class to pass the data to an ASP file.  The ASP file will maage getting the data into the database.  To get data out of the database, the most common method would be to treat the ASP file as a xml source, having it write xml formatted data to the Flash file.
    You might want to Google "AS3 ASP SQL tutorial" and see if you get any results.  Otherwise, here's a link to a tutorial for a PHP/MySQL version that might at least give you an idea of the processing scenario...
    Flash - PHP - MySQL
    http://www.gotoandlearn.com/play?id=20

  • How can I write VISA in labview to communicate with instrument using RS485

    my instrument has a Modbus communication procotol, how can I use VISA write or read to communicate with the instrument? Thanks!

    RS485 is simply a physical-layer protocol defining pinouts, signal levels and the like. To make the connection you need either an RS232-RS485 converter (check with BlackBox) or an RS485 serial IO card (check with NI). Either way, there should be no changes required to you Modbus drivers or other software.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can i get new apple id with out using credit card or visa card

    how can i get a new apple id with out using credit card or visa card?

    Hi xianlycier06,
    If you are looking to create an Apple ID without using a credit card, you may find the following article helpful:
    Apple Support: Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534
    Regards,
    - Brenden

  • Communicate with HP3235 using GPIB

    I try to communicate with HP3235 Switch/Test Unit and I use a PCI-GPIB card and VisualBasic.
    I send the command ID? and when I try to read the data from the instrument, an EABO error occurs. But, if I look in the string used to store the information, it contains "HP3235\r\n".
    So, why do I get this error even if I receive the information from my instrument?
    Thanks,
    J.G. Lynch

    Hello
    I'm now able to read data from my instrument. But, when I send the command "idn?", I must read 4 times to retrieve all data. I use EOS "\n".
    See NI-Spy file...
    Thanks,
    J.G. Lynch
    Attachments:
    Capture_-_HP3235.spy ‏10 KB

  • How can I get Labview to interface with Altera PLD?

    Hello, I am a student trying to design a Labview interface that will download test data to an Altera EPM7128slc84-7 chip. The chip should process the data and send the results back to Labview for analysis. Is this possible. I am just learning Labview and any help will be appreciated.

    This chip is mounted on a what is called an Altera education board. There are a number of external access points where i can hardwire from this board to a DAQ board associated with Labview...the DAQ board is on a similar set up......I think I can use the digital i/o ports to send and receive data. I think I have made the problem harder than what it is.. Like I said, I am just learning Labview and its pretty much trial and error for now...Thanks for the advice though!

  • How do I get Ai to communicate with Google Picasa Albums?

    I sent some JPEGs from Google Picasa Albums to Ai to run them through Filter Effects.  I cannort seem to send them back.  Have discovered that Ai converts them to PNG.  I cannot find a way to convert them back to JPEGs again.  On Save As, there is no selection for JPEG.  I have done this in the distant past, but it was with a PC. I am now using a MacBook Pro.  I wouls just burn them and install them onto my PC, but I can't find a way to burn them, either.

    You have a fundamental lack of even some basic AI stuff. JPEGs are generated using Export, not Save.
    Mylenium

  • How can i get to a website with TOR using firefox as my explorer?

    i have to use TOR to connect to some sites.in the past i used firefox and it had an option of turn on or off vidalia...but then i downloaded this new version and now i can't open any websites by firefox...i can't activate this on firefox.

    Unfortunately for some routers, you do have to use Internet Explorer to access them. You should have Internet Explorer on your computer (if not in the All Programs list, open up windows update, that is Internet Explorer). so you can then access that IP, and get your network key.
    For future reference, write the network key down and take it to the side of your router, it makes it easier in the future :)

  • How can a LabView process communicate with a Visual c++ process

    How can a single Labview process communicate with another Visual c++ Process?
    Both Application are running separately. The LabView  Application must have the Possibility to send command to the C++ Application and receive Data from this process.
    Thanks.

    Thank y for your answer.
    The c++ application has already been written but don´t have an external interface.
    The LabView application can have an activeX  interface other dlls.
    Do you have some LabView example code using activeX interface other another Method to communicate with a c++ application?
    I have no practical experience with the interprocess communication.
    Any example in LabView will help me.
    Thanks

  • How to get Lion to communicate with WD

    Is there a way to get Lion to communicate with WD Mybook world edititon ( manufacturer's firmware update won't help )

    Phone the online Apple Store and order a download code for it.
    (70232)

  • I have a carillon 25 keyboard (bad choice, I know) and I can't get it to communicate with my mac at all! I'm running logic pro 9 and reason 5. I get signal in from my M Audio trigger finger so I know it isnt an entirely mac based problem. Thanks!!!

    I have a carillon 25 keyboard (bad choice, I know) and I can't get it to communicate with my mac at all! I'm running logic pro 9 and reason 5. I get signal in from my M Audio trigger finger so I know it isnt an entirely mac based problem. Thanks!!!

    Well, how have to determined no signal is being recieved to your mac?
    Have you got something that shows the actual signal? Or have you just been trying to control a VST? What software are you using by the way?
    I personnally went with a AKAI MPK25, because it's made already mapped for logic & ableton etc, so it just makes things incredibly easy.
    I would suggest you return it if you can as a dead unit & perhaps look at something else a bit easier?
    Otherwise, if you just want to get this working we can have a look a bit deeper.
    And driver? OS X driver?

  • How do I get fios to work with my new desktop w/ Windows Media Center

    Can someone please help me I have "fios".TV and internet 1HDSTB + 1HDDVR with multi room dvr Home media mgr.how do I get fios to work with my new desktop HP Pavillion m9715f**(specs below)**w/ Windows Media Center or did I just throw away my money?
    also equipted is 47" Samsung 850series 1080p 120hertz HD LCD TV + 36" Samsung 560series 1080p 60hertz HD LCD TV and 19"Samsung 950b LCD Monitor
    ** computer specs**
    Product number NZ017AA
    Introduction date 30-Jun-2009
    Country/region sold in: United States,Canada
    Hardware Base processor
    Phenom-9650 (A) 2.3 GHz (95W) 3600 MHz HyperTransport 3.0 Socket, AM2+
    Chipset AMD 780G
    Motherboard Manufacturer: MSI Motherboard Name: MS-7548 HP/Compaq motherboard name: Aspen-GL8E
    Power supply 300W
    Memory
    Component Attributes Memory Installed 8 GB Maximum allowed 16 GB (4 x 4 GB) (64-bit OS)
    4 GB* (4 x 1 GB) (32-bit OS)
    *Actual available memory may be less Speed supported PC2-6400 MB/sec Type 240 pin, DDR2
    Hard drive750 GB SATA 3G (3.0 Gb/sec)7200 rpm
    Blu-ray player & SuperMulti DVD burner with LightScribe Technology drive
    This Blu-Ray Disc DVD drive introduces a player that reads Blu-ray Disc format enabling you to watch high-definition Blu-ray Disc movies. NOTE: This drive does not include high-definition write capability.
    Formats/Disc types Write speeds Read speeds Storage capacity Blu-ray Disc BD-ROM SL NA up to 6X up to 25 GB BD-ROM DL NA up to 4.8X up to 50 GB BD-R SL not supported up to 6X up to 25 GB BD-R DL not supported up to 4.8X up to 50 GB BD-RE SL not supported up to 2.3X up to 25 GB BD-RE DL not supported up to 2X up to 50 GB HD DVD not supported DVD DVD-ROM SL NA up to 16X up to 4.7 GB DVD-ROM DL NA up to 8X up to 8.5 GB DVD+R SL up to 16X up to 12X up to 4.7 GB DVD+R DL up to 4X up to 8X up to 8.5 GB DVD+RW SL up to 8X up to 10X up to 4.7 GB DVD+RW DL not supported DVD-R SL up to 16X up to 12X up to 4.7 GB DVD-R DL up to 4X up to 8X up to 8.5 GB DVD-RW SL up to 6X up to 10X up to 4.7 GB DVD-RW DL not supported DVD-RAM up to 5X up to 5X up to 4.7 GB CD CDROM NA up to 40X up to 700 MB CDR up to 40X up to 40X up to 700 MB CDRW up to 24X up to 40X up to 700 MB CD-DA NA up to 32X up to 700 MB Video CD NA up to 10X up to 700 MB
    Wireless Wireless LAN 802.11 b/g
    Video Graphics Radeon HD4350
    512 MB DDR2 memory
    I/O Ports: HDMI, VGA, single-link DVI
    Television Hauppauge ATSC/NTSC TV tuner card with FM tuner
    Sound/Audio High Definition 8-channel audio
    ALC 888S chipset
    Network (LAN) Integrated 10/100/1000 Base-T networking interface
    Memory card reader
    Contains an Infrared receiver for remote control
    Supports the following cards:
    Compact Flash I
    Compact Flash II
    IBM Microdrive
    Secure Digital (SD)
    mini-SD
    MultiMediaCard (MMC)
    Reduced size MultiMediaCard (RS-MMC)
    MultiMediaCard Plus (MMC plus)
    MultiMediaCard Mobile (MMC mobile)
    Memory Stick
    Memory Stick Pro
    Memory Stick Duo
    Memory Stick Pro Duo
    SmartMedia
    xD Picture Card (xD = extreme digital)
    External I/O ports
    I/O ports on the front panel
    Port type Quantity 15-in-1 (4 slot) with IR Receiver One USB Two Headphone One Microphone One Audio L-R One S-video in One Composite video in One
    I/O ports on the back panel
    Port type Quantity PS/2 (keyboard, mouse) Two S/PDIF out (coaxial) One VGA One (disabled due to the installation of a graphics card) DVI-D One USB Four 1394a One LAN One Audio (side speaker out, rear speaker out, center/subwoofer-out , line-in, line-out, microphone) One Each
    Expansion slots
    Slot type Quantity PCI Express x16 One (None available) PCI Express x1 Three (Two available)
    Drive bays
    Bay type Quantity 5.25" Two (One available) 3.5" Two (One available) Personal Media Drive One (One available) Pocket Media Drive One (One available)
    Keyboard and mouse HP multimedia keyboard HP PS/2 optical mouse
    Remote Control USB infrared remote control,Remote control expansion card with IR ports,IR emitter cable to transmit codes to a set top box

    Based on what you've posted, your computer does not have the right tuner.   You need a QAM tuner to record locals from FiOS, or a CableCard tuner to record all local and cable channels from FiOS.
    QAM tuners to record local channels only
    This requires Windows Vista or Windows 7
    Hauppauge WinTV-HVR-2250
    SiliconDust HDHomeRun (info on a sale)
    CableCard tuner to record local and cable channels
    This requires Windows 7 + one CableCard from Verizon for $3.99/mo
    ATI TV Wonder Digital PC CableCard Tuner (records one channel at a time) -- $200-$250 on ebay
    Ceton MOCUR tuner (records four channels at a time) -- coming in early 2010 for $400-$600
    Make sure your computer has Windows 7 Home Premium (or better) installed.   That's necessary to support CableCard tuners.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it.

  • My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    1. Update iTunes to the latest version. Plug in your iPod. If iTunes still can't recognize it, then in iTunes in the top left corner click help> run diagnostics. On the box that comes up, check the last two things. Click next and it should identify your iPod.
    2. Click on your windows start menu. Type in "services". Click on it and when it pops up, on the bottom of it click on "standard". Now Scroll down to find "Apple Mobile Device" Right click it when you see it and click on "Start". When it has started, close iTunes and replug in your iPod and it should show up.
    3. Check the USB cable
    4 Verify that Apple Mobile Device Support is installed
    5. Restart the Apple Mobile Device Service and verify that the Apple Mobile Device USB Driver is installed.
    6. If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job
    7. Check for third-party software conflicts.
    <Link Edited By Host>

  • How can I get to DFU mode with a broken power button?

    How can I get to DFU mode with a broken power button?

    aarons84 wrote:
    This is bad, but i tried jailbraking my iphone
    You may as well stop there. We can't help you.

  • How can I sync my various email accounts into an iCloud account.  Example.  I have an embarqmail.account.  How can I get it to sync with iPhone, iPad, iMac so that I don't have to read or review eMails on all 3 devices.  Thanks

    How can I sync my various email accounts into an iCloud account.  Example.  I have an embarqmail.account.  How can I get it to sync with iPhone, iPad, iMac so that I don't have to read or review eMails on all 3 devices.  Thanks

    You need OSX 10.7.2 or higher in order to access icloud.  The mobile me account is now defunct (it closed down more than a year ago).

Maybe you are looking for

  • Open orders at the end of the year

    Hi, I have not dealt with open orders at the end of the financial orders. Just would like to know how they will be dealt with in case they are open Best Regrds Surya

  • Custom File Renaming Template Keeps Changing

    I'm having issues when creating a custom file naming template in Tiger with LR 1.3.1. When importing files, I created a custom template to rename the files with YYMMDD_{original file suffix}{Master}.tif to get this: 071217_12056Master.tif. The first

  • About flash player issue on Nokia E6 with all upda...

    Hello there! Here complaining about flash player. As you see my attachment of this post my phone pops out flash player error when i choose to play flash content. At first it pop out that there is server error and by the time it pops out second error

  • I tunes sinq error message

    as soon as i turn my computer on i will get an error message saying "the procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.??????????????? what does this mean? apple support hasnt been much help

  • SAP QUERY DECIMALS

    Hello , How can we restrict in display decimals using SAP query. Ex: i have a field ^marc-MINBE dont want to show decimals, hwo can i restrict it at display level. Tcode : SQ01 (SAP query)