Verification of GPIB devices

Hello

I have a code that sends a "* IDN? GPIB addresses 1 to 31, if I get a response to the motion, I guess there is a GPIB device address. This approach gets watered until when I have a GPIB instrument does does support/recognize the * IDN? query.   However, MAX is able to recognize that there is a GPIB device to the address of the instrument I have. Ideas of how recognize/detect if a GPIB device exist if it does not meet a * IDN?

Concerning

Kaspar

Use the function of the same name on the Instrument i/o > GPIB > palette 488.2.

Tags: NI Software

Similar Questions

  • Can't control RS232 and GPIB devices simultaneously with labview.

    Hi all

    I have a thermostat that has a RS232 to my computer connection and a counter from the source which has a GPIB to my computer USB connection.

    I have screws that allow me to control each device separately. But when I did a VI to fight them together that I can communicate with the GPIB device, but not with the RS232 device. I think that the VISA GPIB and RS232 VISA having a problem to determine this.

    Do you know what I could try to fix this?

    Thanks for your help.


  • Check if a GPIB device is turned on

    Hi all.  Fairly new to LabVIEW, to be understanding.  I searched and searched for a solution for what must be a very common problem, so I must be mssing something very simple.

    I am writing a vi to control up to three units GPIB.  The problem is that they will not be lit permanently, and people fly for other platforms (sometimes they even give them back, occasionally with their address unchanged GPIB).

    The thing is, I don't want the vi user to rely on all units being there, with the right address GPIB specified and put on the market.

    I know that LabVIEW will give me an error 14, put an end to execution, if she does not see a unit at a given address, but this seems surprisingly gross and I would rather deal with the error in other ways (disable the part of the measure, giving an error message etc. - details to be defined!).

    Then... How can I check that there is a GPIB device turned on at the specific address without sending a command that triggers the same error (for example, error 14) program that I try to avoid?

    Everything works fine when all units are powered on and properly addressed.

    I am very vague about what is VISA (or if it is still relevant to this question) and have in it (and will not if I have to).  I just used "GPIB write" and "read GPIB" functions.  I would like a minimum of jargon, please.

    Thank you all!

    Andy

    You need to disable the automatic error handling (Tools > Options > block diagram) and the wire to the top of the error in/out of clusters. A Unbundle by name you will get the error code.

    This is a simple error handler that displays a message. If this error occurs, I put the next State (you use a state machine, aren't you?) to test the connection.

    You should probably take the LabVIEW tutorial to get a better understanding of the error in/out cluster.

  • Cannot use my GPIB device with labview

    Hi all

    I installed my GPIB card, but now I am facing another issue. When I try to import device recognized by Visia (photo 1) it does not appear.

    My device is a function tektroniks generator. I just need 2 functions: change of frequency, type of wave and amplitude. Any help will be appreciated.

    Concerning

    Tektronix adapter?  I think you should go to your NI-VISA software section MAX.  Then under Options of VISA, there is a section for passports.  I'm fairly certain you need to activate the Tulip passport.

  • GPIB device found, but not reognized

    Hello

    On a remote system, I have HP 3458 A and temperature control of Lake Shore 331 connected on GPIB. I installed a PCI-6259 OR on the remote system, as well as the NI VISA 4.2 and 11 in real-time. Also, I installed two devices instrument drivers on my local computer.

    With the help of VISAIC, I am able to see the two devices however, I am only able to use the HP 3458. The LS 331 GPIB address is incomplete; It's visa: / / [IP] / GPIB0::INTFC while the HP 3458 has is visa: / / [IP] / GPIB0:22: INSTR

    Any ideas?

    Thanks in advance

    I tried running the * idn to the device and I do not know what is the game of 331. However, it turned out that the GPIB cable going to the unit I tried to communicate with was a shame (not exactly how) and he began to communicate when I tried to use another GPIB cable.

    Everything is good. Thank you for your time.

  • Find resources VISA does not display my USB/GPIB device

    Hello

    I'm using LabView 8.0 with MAX 4.2.1.3001. I try to communicate with a former HP8563E Spectrum Analyzer with a GPIB to USB with VISA vi device nothing helps. When you try to find any valid VISA device with the vi 'VISA find resource' no device is returned. Can anyone offer any suggestions?

    -Chris

    Finally, I'll be back around him and the VISA drivers were not installed. This me baffled because in the latest versions of LabView, as 6.0, screws requiring some drivers (like writing serial port) were not available unless the associated drivers have been installed. Perhaps this philosophy has changed in more recent versions. In any case, thanks for your help

    -Chris

  • A GPIB device playback

    I tried to make a driver for the 181 keithley but got frustrated way, then I'm gone with the method of MacGyver thinking this would be much simpler, but I still have problems.

    My 'GPIB write' function works like a charm, the GPIB address is 5, and to interpret the great big chain (in case you are interested) here's what mean all the letters/numbers.

    X initializes communication

    T0 - affects continues in talk mode

    M0 - defines SRQ OFF

    R2 - affects my range to 20mV

    B1-tours on the Hi Res mode

    P1 - sets the filter off

    D0 - disables the depreciation

    The problem is that something goes wrong with reading GPIB or Fract/Exp chain to the number, and I can't get out the measure.

    5 is the GPIB address again (and is correct, because the upper part works very well)

    The value 0 is the mode which is the default

    and 14 is the number of bytes to read.

    My guess is either "14" needs to be a different number (did this question?  If I said to read more bytes, then the resulting string is in fact, not only will extra zeros?)

    I use a function badly, either read GPIB or Fract/exp chain number necessarily be replaced by another function GPIB.


  • Device ENET connect computer USB using NI GPIB-ENET/1000

    Hello

    Currently, I am trying to connect to a controller PI E-712 has an ENET port on a windows 7.

    I have a converter NI GPIB-ENET/1000 and a GPIB-USB-HS cable and want to use the ENET end for the controller and the GPIB for contact with the computer, but is it possible? Or does only for GPIB-devices of connection for calculating rusing ENET?

    I have the drivers on my computer, namely the NEITHER-488. 2, IMAX can detect the GPIB connection and the cable has a light orange on the loan. Lights green ENET-converter for power, ready and the positions of the Act/LINK but nothing either of the GPIB for speak and listen to the lamps. When trying to connect, the computer does not see the device at all.

    Any help will be greatly appreciated.

    FrellZilla wrote:

    Thank you for your adivce.

    I am sure that tha the device does support ethernet. The problem is, however, that we cannot connect the ethernet to the computer itself. We do not actually use Labview but a program called DMACS, that's why we want to use GPIB on the end of the computer.

    The NI GPIB-ENET/1000 will not work for you. It is an Ethernet to GPIB device. Your instrument is not a GPIB interface.

    I'm not familiar with DMACS.

  • "Connection to the GPIB driver or device error".

    Hi all

    It is the first assignment, I do on this forum, so please be refrain, if I make mistakes.

    Now my problem:

    I use the NI USB2GPIB adapter and want to communicate with any GPIB device using the Simple screw GPIB.vi NOR-example.

    From the VI the GPIB - correct the device address occurs an error:

    My settings of the GPIB adapter are:

    Anyone can unmask, why in MAX, the communication is running:

    but not in VI. In the VI I get error indicator, when I try to use the function write GPIB (error bit 15 is set to 1).

    Can someone help me please?

    Sincere best wishes from good old Germany,

    z


  • Small size of device driver USB-GPIB for distro?

    Hi all.

    I had a search, and you can't find a similar question so I hope I'm not duplicating something...

    I created a little app to control an Agilen 53132 meter using the USB-GPIB device OR that I would like people to be able to use internally in my group. Driver I use has been downloaded from http://joule.ni.com/nidu/cds/view/p/id/2315/lang/en.

    I see that my app uses the following DLLs. However, I a) disseminate these and b) there must be some drivers below this level that will be required by a clean system.

    gpibconf. SLL, ni482.dll, nipal32.dll, nipalu.dll, nipalut.dll, nispylog.dll.

    Only problem I have is that it is almost 0.5 GB in size. I want my application to distro with a smaller subset so that the user can install just the driver concerned & dll etc I need for using the USB-GPIB device. Does anyone know if a driver more small value distro exist please?

    Thank you very much

    James

    There is no available smaller driver.

  • The list of connected devices (USB, GPIB, etc.)

    For GPIB (actually of GPIB devices connected to the GPIB to USB cable), I do:

    static short addrList[31];
        static short listList[31];
    
        for (j=0;j<31;j++) {
            addrList[j] = j;
        }
        addrList[30] = -1;
    
        SendIFC(0);
        FindLstn(0,addrList,listList,30);
    

    But do not know how I would do other ports like USB.  I can see it in MAX, but it just seems to appear automatically.

    Hello

    personally, I use VISA. To find all of the available serial ports, I use viFindRsrc (resource_manager_handle, "ASRL [0-9] *:?") * INSTR", & find_handle & return_count, instrument_descriptor); to the GPIB, you would use "GPIB [0-9] *?: * INSTR"as the second argument.

  • Question from newbie GPIB on multiple devices

    Hello, I'll work on the reproduction of a test bench that communicates through GPIB. I've never worked with GPIB and I'm looking for a list of hardware to buy to reproduce this system and have a question. I'm having 2 GPIB devices, one on the address 9 address the other 22. One device is a voltmeter of HP and the other is a HP (3488 (A) switch unit. The old test bench has 2 GPIB cards for that but my question is should I really 2 GPIB cards to communicate with these 2 devices? From what I've read up to 15 devices can be connected on the same port, GPIB. Is how software should be written is different because of the Garland of devices?

    Hello

    GPIB addresses up to 15 devices and you don't need two gpib cards.

    Addresses of software always using an address, so the only thing you need to take care of is to assign different addresses to instruments and to ensure that all calls are sequential, not parallel because it's just a bus.

  • Smartphones from blackBerry Desktop Software suspended while "Verification of device application updates... »

    HI -.

    I am running Windows Vista and version 4.7 of the Blackberry Desktop Software.  I am having a recurring problem during synchronization.  As soon as I plug my Blackberry, desktop message software appears: "Verification of the device application updates... ' and it hangs here.

    I tried to restart, reinstall the Desktop software and sometimes it will solve the problem for a few syncs, but it always comes back.

    Help, please!

    Make sure that your USB cable is connected to one of the main rear USB ports of the PC. A USB hub, or USB Monitor port not a USB port on the front of the PC.

  • VXI by GPIB on LV 2009 + Windows 7 help

    Hello.  I have no experience with VXI.

    I have a client who got hired to encode a VXI product that has been marketed as controlled by GPIB (the chassis contains a GPIB interface).

    I was informed late last night I have to use Plug and Play VXI drivers to make it work.  (Long story and I am not happy about).

    I'm coding LV2009 SP1 on Windows 7.

    I installed NI-VISA and NOR-VXI.  I can see the GPIB instrument in MAX.  I can even run the SCPI via Max and LabVIEW controls.  (The problem is that they have apparently not applied specific GPIB commands that they published).

    They provided a VXI - PNP driver and very vague instructions.  I installed this driver and I have imported their .fp file in LabVIEW.  When I run the init code with the right GPIB resource passed into the function, I get the same error when I call a non-existent GPIB device - even if it takes more time to get back.

    I searched for VXI tutorials on the site of NOR and there are a LOT of things to go, and I'm not even sure that I have all the necessary drivers.

    Anyone know a good place to start to read up?

    (And Yes, I'm dogging people instrument to help me too)

    Thank you

    Hi Jed,

    From our conversation with your service request, I wanted the documents a link to this post to help with future issues.

    Why don't My GPIB-VXI system appears correctly in MAX?

    Getting started with the GPIB-VXI/C

    OR GPIB-VXI/C

    Configuration of T & M Explorer use a GPIB-VXI address different GPIB?

    * NOTE: The T & M Explorer is the predecessor of MAX

  • Control PXI via PyVisa devices?

    Is it possible to control PXI peripheral via PyVisa in the same way as USB and GPIB devices?

    Hi k-rhyme.

    It should be possible to do so. You can definitely control devices with NI-VISA PXI and PyVISA is simply a Python wrapper, it should be possible. It also depends on the version of VISA that is using PyVISA. I recommend you look at the manual of user NI-VISA for more information PXI of specific functions.

    With the help of the Assistant of the Driver NI-VISA and NI-VISA to develop a PXI (e) /PCI (e) driver in Windows

    http://www.NI.com/Tutorial/4713/en/

    NI-VISA user manual

    http://www.NI.com/PDF/manuals/370423a.PDF

Maybe you are looking for