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

Similar Messages

  • 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

  • Can i communicate with labview, using ethernet or seriel modbus.

    Is it possible to communicate with a i/o module and labview. I can communicate with ethernet, canbus(cscan, devicenet), rs232(modbus).
    What is the easiest solusion.
    Is it necessary to buy PC-cards for the communication or have only to download some drivers.
    Thx

    Hello,
    To communicate with a CAN/DeviceNET bus you will need an interface card in your PC. NI has such cards along with LabVIEW VIs:
    http://sine.ni.com/apps/we/nioc.vp?cid=1329〈=US
    http://sine.ni.com/apps/we/nioc.vp?cid=1311〈=US
    To communicate with Modbus, you will NOT need any special cards but you do need software drivers for it (you'll obviously need an Ethernet card for TCP/IP and Serial port for RS232). There are several options for these drivers, however:
    1. Write your own driver VIs. You'll basically implement the Modbus protocol in LabVIEW. Modbus is a simple and open protocol.
    2. Try to search the Net for such existing VIs. I believe someone has already written such Modbus VIs.
    3. Use the Industrial Automatio
    n OPC Servers suite from NI:
    http://sine.ni.com/apps/we/nioc.vp?cid=4584〈=US
    4. Use any third-party OPC Server for Modbus.
    NOTE: in case you opt 3 or 4 above: though you may use DataSocket in LabVIEW as an OPC Client, you may want to consider LabVIEW-DSC which has a built-in OPC Client, and hence better support for OPC.
    Hope this gives you some options.
    Regards,
    Khalid

  • 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

  • Which Mobile Model is Suitable for Communicate with PC using Bluetooth Tech

    Hi ,
    I am new in J2ME , now i am try to communicate mobile with PC using bluetooth technology,
    now i want some suggestion from any one. which mobile is suitable to my project, I am expect nokia mobile,
    so please tell me which nokia mobile have all the facilities to communicate to PC using bluetooth, and what periperals are required to my PC. This is very urgent to me .
    Please help me , Thanks in Advance,
    With Regards,
    Ganesh Kumar.L

    What printer are you using?
    How are you connecting it to the computer?
    HP designed a quick and easy tool that diagnoses and resolves many printing, scanning, and connectivity problems: The HP Print and Scan Doctor. HP recommends that you download and install the Print and Scan Doctor any time you need to troubleshoot a problem with your HP printer from the link below.
    Let me know what errors you receive?
    http://goo.gl/3DAkq
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Trying to communicate with HP54845A using IVIscope routines and getting error 0XBFFF0011 (Insufficient location information or the requested device or resource is not present in the system).

    I am able to talk to the device using the MAX tool and also using Plug & Play VIs. The device is at address 7, so I'm using the string GPIB[0]::7::INSTR. I have downloaded the latest hp345xx dll (version 3.13)and have iviscope version 3.0.2.0 installed.
    Thank you for the help.

    Hello,
    What version of the IVI Compliance package do you have? You can check this under the software tab in MAX. Also, see the attached screenshots for a sample assignment/configuration of a logical name and a driver session. Once you have gone through the analagous steps it should work, where your resource name control in LabVIEW should be populated with the logical name created in MAX.
    Repost if this isn't successful!
    JLS
    Best,
    JLS
    Sixclear
    Attachments:
    IVI_Screenshots.zip ‏625 KB

  • Use TCP, UDP, or other to communicate with UUT using MAC address instead of IP address

    I want to verify that the Ethernet port on my UUT works. 
    My plan was to ping the UUT and verify that I got a response.  However, the UUTs will come to test with an IP that I cannot use on the network.  [Please don't ask me to explain why -- the IT group has their rules, and rules are rules after all . . . ] 
    I can query the UUT (via the serial port) for it's MAC address.  But I cannot find any LabView VIs, or DOS executables which use the MAC address as a parameter to invoke a response from the device.
    Does anybody have an idea of how I can verify the UUT Ethernet port without having to divorce myself from the company network and set up my own private network?  [Oh and by the way, before somebody suggests it, the IT group won't let me put a 2nd network card in my PC -- rules are rules after all . . . .]

    I wouldn't worry too much about the address shown in the Remote Management tab.  The ARDAgent process, which is what is listening on his computer for connections from Remote Desktop, binds to all active network interfaces and ultimately that's all that matters. Of out curiosity though, to what IP address does the "unknown-b8-8d-##-##-##-##.home" dns name resolve?  Is it the WAN address?  I can't imagine it resolves to a private address like a 192.168.
    In any event, let's focus back on the network structure. Does the BT router have both a hard wired LAN ethernet port as well as a WiFi radio for LAN connections?  My guess is yes. I am also assuming that he does *not* have another router attached to the BT LAN ethernet port like an Airport basestation that is serving the WiFi connections.  Typically, the LAN ethernet port is given, via DHCP, a real Internet accessible address but the addresses served via DHCP for wireless clients are private network addresses only.  It's seems unlikely to me that the router is automatically forwarding incoming connections to a private network address on the WiFi network.  But if he plugs his Mac in to the ethenert LAN port on the BT router then you should be able to connect directly to the address given to it via DHCP because it *should* be a real Internet accessible address.

  • IChat cannot communicate with iMessages using Bonjour.

    We are trying to setup an iChat system in our office, but having trouble with compatibility between iChat and iMessages, specifically when using Bonjour. A Bonjour List can open and shows buddies, but when we try to chat between computers running 10.8 and above and those running 10.75 and below, it won't work. Please advise.

    Hi,
    This was using Bonjour.
    I have used AIM and Jabber accounts across them as well in separate tests.
    I am the Admin on all three computers.
    when I set them up I used "Ralph Johns" as the User name.
    As a consequence all three were names as "Ralph Johnss Computer" when looking in System Preferences > Sharing.  (yes certain OS versions do silly things with names that end in s)
    Sine ce then I have made sure they have different names so that they appear in the Shares in the finder.
    The G4 tower is in fact "Ralph G4", the iMac is "Ralph's iMac" and the MacBook Pro is "Ralph's MacBook Pro" which also distinguishes it from my son's MacBook Pro ("xxxxxxxx's MacBook Pro").
    That is to say that each computer has it's Own Name to use with Bonjour as well as it User logged in to the Mac having his or her own My Card in the Address book or Contacts app.
    As I said (well I hinted really) I have also tested in Tiger (the G4 used to have multiple boots up until recently.)
    Although Text Chatting is fine  Video and Audio chats are more difficult.
    In the testing I did do before the drive failed I always had to Video Chat Calling from the Tiger end (G4)
    I have seen people report issues when using an Address Book held on a Server where the My Card is then generic.
    I do not know enough about Server sets up s to help resolve that.
    Try posting in the Server Communities.
    8:41 PM      Thursday; April 11, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why can't I communicate with both of my GPIB devices?

    I have 1 NI PCI GPIB board in my computer
    I have 2 identical devices (keithley 237) connected one at address 15 one at address 16
    and 2 different programs one program to connect with 15 and 1 to connect with 16
    after I tell the 1st labview program to communicate with 15 then I tell the 2nd labview program to communicate with 16. then both communications come back with error device timeout. one at a time, I can communicate find with either device.
    Why can't I communicate with two different GPIB devices at the same time?

    Hi mrutter,
    first I would try some other addresses, e.g. 5 and 11. 15, 16 could be
    a special address used by the controller.
    Are there any other devices on the GPIB? If so then there could be
    another instrument with the same ID. Do both (or all) devices show in
    MAX, and can you communicate with them in MAX (e.g. query a *IDN? )
    And are you sure that you *have* setup the correct addresses in the
    Keithley instruments (look in the manuals if you don't know how to
    change their addresses)? Some Keithley instrument are in local mode by
    default, and you must explicitely set them in GPIB mode.
    Sometimes, GPIB message termination can be an issue (although both the
    GPIB cards and the instruments seem to get more tolerant of this).
    Also, you must be very careful not to mix different versions of
    LabView drivers and LabView version. I once had three different
    LabView versions on a PC, it was terrible. We had to format the
    harddisk and start afresh since we couldn't remove all of the older
    versions.
    I first try all GPIB instruments in MAX. If all devices appear there,
    and I can query commands in MAX, then I usually write my own LabView
    drivers with the standard GPIB-read and -write VIs. I write them with
    my oldest LabView version (say 5.1), then I am sure they will work
    with all versions up to 7.1
    Actually I once had a project where *no* GPIB instrument worked 100%.
    We could never really find out what was the problem (it was probably a
    bad PC <-> Win98 <-> GPIB card <-> LabView 5.1 constellation).
    Good luck.
    Johannes
    On Fri, 12 Nov 2004 13:49:31 -0600 (CST), "mrutter@contech"
    wrote:
    >I have 1 NI PCI GPIB board in my computer
    >I have 2 identical devices (keithley 237) connected one at address 15
    >one at address 16
    >and 2 different programs one program to connect with 15 and 1 to
    >connect with 16
    >after I tell the 1st labview program to communicate with 15 then I
    >tell the 2nd labview program to communicate with 16. then both
    >communications come back with error device timeout. one at a time, I
    >can communicate find with either device.
    >
    >Why can't I communicate with two different GPIB devices at the same
    >time?

  • How can I use Voip to communicat with my voice in Labview

    i want to be able to call my computer using Voip. I know this service
    cost money. I dont just want to call the computer, i want to call
    labview and all labview to have access to my voice, so i can do speech
    commands on it.

    Hello,
    Thank you for contacting National Instruments. I would like to apologize for the delay in responding to your support request. I understand that you would like to use Voip capabilities to access your computer remotely and then communicate with LabVIEW using speech recognition.
    I know of a LabVIEW example file that describes the voice recognition capabilities of LabVIEW. Also, there is a link to example programs within this database entry. To access the entry, go to the National Instruments support portal: http://niweb2.natinst.com/ae/portal.htm and search for �voice recognition LabView.� Click the first entry in the list: �Voice Recognition in LabVIEW - Example - Development Library - National Instruments.� You will be able to find helpful information here.
    I hope this helps! Please let me know if I can help you further. Have a great day!
    Kind Regards,
    Joe Des Rosier
    National Instruments

  • Why doesn't SignalExpress communicate with TDS3054B scope?

    HELP!
    I have a TDS3054B scope with v3.39 firmware installed on it.  I want to communicate with it using SignalExpress but can't!  I can see the instrument in Measurement & Automation Explorer (v4.2.0.3001).  It shows up as GPIB0::1::INSTR.  I have a USB-GPIB cable going from my laptop to the scope.  The laptop is running LabVIEW 8.2.  I have installed the drivers for the scope from NI's website but still can't get it working...
    I can communicate with the scope using Tektronix's OpenChoice Desktop software, but that software is limited in what it can do...
    Any suggestions?

    Thanks again, Kent. 
    The article helped some, but I still don't have it working...
    In MAX, under the IVI Drivers >> Logical Names, I have the name MyScope.  For the General tab, I have the Driver Session listed as tkds30xx & a Description "TDS3054B oscilloscope".
    In MAX, under the IVI Drivers >> Driver Sessions >> tkds30xx >> General tab, I have the following:
    Initialization Options enabled: Cache, Range Check, Query Instrument Status;     Simulate With: Don't Simulate;     Driver Setup: tkds30xx;     Description: TDS 3000 Series
    In MAX, under the IVI Drivers >> Driver Sessions >> tkds30xx >> Hardware tab, I have the following:
    Hardware Assets: Name - TDS3054B (checked); Resource Descriptor - GPIB0::1::INSTR
    In MAX, under the IVI Drivers >> Driver Sessions >> tkds30xx >> Software tab, I have the following:
    Software Module: <None>;  my only choices are <None> or NIDMM.
    In MAX, under the IVI Drivers >> Driver Sessions >> tkds30xx >> Virtual Names tab, I have the following:
    Virtual Name: CHANNEL1, CHANNEL2, CHANNEL3, CHANNEL4;     Physical Name: CH1, CH2, CH3, CH4
    In MAX, under the IVI Drivers >> Driver Sessions >> tkds30xx >> Initial Settings tab, I have nothing.
    In LabVIEW SignalExpress, I go to Add Step >> Acquire Signals >> IVI Acquire >> IVI Scope Acquire.  The Step Setup box is displayed.  On the Configuration tab >> Device section >> IVI session name, I select Create New...  Another dialoge box opens with an IVI session name in it.  I change it to MyScope (same as in MAX), choose the Resource Descriptor GPIB0::1::INSTR (same as in MAX), but can't select an instrument driver.  The only thing available under Instrument driver is a check mark.  I can't select it for some unknown reason.  I hit the OK button & the box closes, returning to the Step Setup screen.  I try to run the step once & get an error stating:
    "ivi_IviScope Initialize With Options.vi<ERR>
    Driver Status: (Hex 0xBFFA1207) Primary Error: (Hex 0xBFFA1207) The item does not exist in the collection.
    Elaboration: tkds30xx"
    Back to square 1...

  • SAP R/3 connection with XI using an ABAP Proxy

    Have to develop an ABAP program which will communicate with XI using an ABAP Proxy.

    Hi,
    you can check these links for help,
    To generate abap proxies.
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation
    Smarter Approach for coding ABAP Proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    Regards,
    Samson Rodrigues.

  • Vix file in UI builder doesn't recieve data from Webservice application that communicates with SQL server database

    I have created Web service VI ("Prikaz insolacije.vi") which has two input string terminals (FROM / TO) for dates and two output terminals for data (1-D array) collected from database (MS SQL server). This VI communicates with database using functions from database palette with appropriate DSN and SQL query. There are two tables with two data columns (Time and Insolation) in Database.
    This VI works when you run it in Labview 2010, but when I used it as sub VI in UI builder it doesn't return any data.
    Could you please help me find a solution. Is it possible to communicate with SQL server database this way or there is another way?
    There are two attachmet files: Image of .vix file in UI builder and .vi file ("Prikaz insolacije.vi")
    Please help me ASAP!
    Thanks,
    Ivan
    Solved!
    Go to Solution.
    Attachments:
    vix file in UI builder.png ‏213 KB
    Prikaz insolacije.vi ‏35 KB

    Status is False and source string is empty. It behaves like there is no code in VI.
    I tried to access web service directly using following URL:
    http://localhost:8080/WSPPSunce/Prikaz_insolacije/2009-11-05/2009-11-01
    and it doesn' t work. It returns zeros.
    The response is:
    <Response><Terminal><Name>Insolacija</Name><Value><DimSize>0</DimSize></Value></Terminal><Terminal><Name>Vrijeme</Name><Value><DimSize>0</DimSize></Value></Terminal></Response>

  • Communicate with ICF services through java(servlet)

    hello,
    i'm trying to interrogate an ICF webservice through jsp , but it doesn't work .
    i can't interrogate the webservice through ajax (xml httprequest) since it's a not a cross-domain object.
    so i'm pushed to use a servlet as proxy to retreive de xml result from the ICF webservice .
    is there some kinda restriction when you call the icf webservice from a serverside language ..?
    or a special API ?
    looking forward to receiving help

    - When we are logging in to Oracle cloud on browser and execute the Oracle cloud RESTful service in another tab of same browser, we are able to get the result. But when executed the same RESTful service from a different browser or java program we get internal server error.
    - After investigation, we found that when user logs in to oracle database cloud, a cookie is set in browser with name s “OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443” and value as some random token. This cookie is passed in the subsequent requests to the RESTful Service calls when using same browser and as a result, we are able to get the results
    - In the Java program, we copied the same cookie with random token in the HTTP Request header and we got the proper response from REST APIs.
    - It seems that this cookie is created by an Oracle Middleware tool/server called as OAM – Oracle Accounts Manager, which sends the authentication token after successful authentication and creates the cookie.
    - We found that the cookie that OAM creates on authentication is exactly in the same format i.e. ‘OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443’. So, we are guessing that Oracle cloud uses OAM for authentication. Please refer to following link for same : http://docs.oracle.com/cd/E14571_01/doc.1111/e15478/sso.htm
    Can anyone please suggest:
    1.     How to provide authentication to Oracle Cloud REST APIs from java program?
    2.     How to pass the username and password in Java code to OAM (or how to communicate with OAM using Java) so that we can receive the unique token from OAM. We can use the token in the further requests? 3.     Also in Oracle cloud white papers , it is mentioned that they support OAuth2.0. But we didn’t find any URLs for same. Can anyone please confirm?
    Thanks
    ~ Neeraj Girolkar

  • Hi, Cannot communicate with other instrument devices (Using AT-GPIB card)

    Using AT-GPIB card to communicate with instruments that the running program is in C. After installed 488.2 software and test Hardware Diagnostic Test and Software Diagnostic Test. Everything is OK but after I run execute file the errors appeared. They displayed "GPIB cannot find Amplifier,or Unidex". My main task is transfer the AT-GPIB card from PC 386 to PC windows 98. Please help me to solve these problems. May I still use the old execute file to put in drive C in new PC Wins 98 and run that program. Thanks

    Hi,
    It is hard to say what this could be. Everything tests OK so it is likely that your card is correct. Does MAX detect the instruments? I am not familiar with that error message. Is it the output of some custom program or the driver itself? It seems like it is not a driver level problem, but it is hard to say given the information.
    By "May I still use the old execute file to put in drive C in new PC Wins 98 and run that program" do you mean keep an old application? If yes, then you should be able to use the old applicatoin with teh win98 driver. If you are refering to the driver itself, then no. You will need the windows 98 driver. This can be found at http://www.ni.com/support/gpib/versions.htm
    Hope this helps out.
    Best Regards,
    Aaron K.
    A
    pplication Engineer
    National Instruments

Maybe you are looking for

  • Duplicate entries in TOC

    When I generate a Word doc in single-source layout, some of the headings in the TOC get listed twice.  This appears to be random; the duplicated headings are listed only once in the TOC as it appears in RoboHelp, just like the others.  I tried deleti

  • CD Drive Failure

    My 2010 Macmini no longer recognizes the CD drive.  Any ideas?

  • Changing territory value

    Hi all, Has any one done something like in Segment Values screen -> Key flexfield -> Title: Territory flexfield -> Value, Country -> Values, Effective Currently there is a Value = 190 and Description = Malaysia. I would want to update All Tables (all

  • Trouble with Finder window

    Hi, My finder window suddenly stopped opening. Also noticed that my ABOUT MY COMPUTER doesn't open up as well. Any suggestions? MacBook Pro Mac OSX, 10.7.5 4GB Thanks

  • Problems IPS alert reporting

    My IPS is not reporting scanning alerts to either the console or syslog. IPS appears to be configured & working correctly. When I started using the router with the built-in signatures, alerts were seen on the console/syslog. Could the problem be with