Instrument I/O Assistant problems

Hi,
I am having trouble using the I/O assistant through my parallel port.  It is not writing to it.  The VI example, Parallel Port Read and Write Loop, works just fine.  Is there a way to use the I/O Assistant instead?
Thanks,
Ryan

Hi Ryan,
What sort of problems are you having?  You should be able to use the Instrument I/O Assistant to communicate through the parallel port.  This tutorial, Instrument Control in LabVIEW Tutorial, shows how to set up the I/O Assitant.  If that's not working properly, what errors are you seeing?  Have you run NI-Spy to see where those errors are occuring?  Are you sure that you are sending the correct termination?
Let me know if you need any other help,
Meghan
Applications Engineer
Message Edited by Meghan R on 07-10-2007 02:26 PM

Similar Messages

  • Instrument I/O assistant problem

    I have read previous forums on the site relating to this problem but I have been unable to find my own solution. I have been getting the error message " Measurement and Automation explorer or the instrument I/O assistant is not installed correctly, please install these from the labview drivers CD. " I downloaded the evaluation version of Labview from your site, then once I got the message I downloaded and installed the IIOA files to see if this would work but no change.
    Please could you help me to solve this problem. We cannot go ahead with this purchase if we do not solve this problem, as this is the primary purpose for buying it.

    1.  Are you able to open MAX all by itself without any issue?
    2.  Are you sure you have installed all of the device drivers needed correctly?  I am not sure what IIOA files you say you downloaded and installed.  But I am pretty sure that the VISA device drivers are critical for the instrument I/O assistant to work correctly.  What version of VISA do you have installed?  (Also what versions of LabVIEW and Measurement and Automation Explorer?)

  • Instrument I/O Assistant RS232 communication problem

    Hello!
    I am currently trying to create an instrument driver for a Ballard "Nexa" fuel cell with the Instrument I/O Assistant.
    The fuel cell data is 43 byte sent every 200 ms at 9600 Baud (8N1). I do have a working communication, because I can see the data coming in when I´m using an ordinary terminal program. The Instrument I/O Assistant however does not seem to receiver anything.
    Here´s what I do / what I see:
    Create an empty VI
    Place an "Instrument I/O Assistant" block on the block diagram, the Instrument I/O Assistant windows pops open.
    Choose device: COM1 or COM2, depending on where the Nexa is connected (Choosing different devices has no influence on my problem)
    Add step "read and analyze"
    Click "Run this step" to read the data coming in from the serial port, but nothing happens until the the timeout set on the choose device tab has expired, then I get a timeout message (see attached picture).
    I added a RS232 diagnostics plug that has blinking LEDs while data is flowing to make sure there is data coming in while the assistant is running.
    I a previous thread, I read that the Instrument I/O Assistant has a bug concerning the locale settings of windows:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000002DBF0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=Instrument+I%2FO+Assistant+is+not+communicating&USEARCHCONTEXT_QUESTION_S=0
    So I tried the same after switching my locale settings from german to english, but with no success, the I/O Assistant still seems to see not input.
    Does somebody have another s
    uggestion? Has anybody written a serial read/parse VI from scratch that he/she might share so I can use that as a starting point, if the assistant keeps failing for me?
    Thank you,
    Ingo.
    Attachments:
    errormsg.gif ‏5 KB

    Hi TN,
    As I just started using LabVIEW, developing an instrument driver seems like some pretty heavy stuff. For now, I´ve managed to have someone else write the communications backend, I´ll only do the data conversion and display. But I´ll for sure take a closer look at that communications VI so I ´ll get it done myself next time...
    Anyway, thank you for your reply, I appreciated it.
    Ingo.

  • Problema con el instrument I/O assistant

    Disculpen espero me puedan ayudar, he querido utilizar el Instrument I/O Assistant, pero siempre que lo pongo en el diagrama de bloques me sale una ventana diciendo:
     "Existe un problema con el Measurement & Automation Explorer ó el Instrument I/O Assistant esta mal instalado. Reintale los drivers desde el CD" 
    "Meassurement & Automation Explorer or the Instrument I/O Assistant is not installed correctly. Please install these from the Labview Drivers CD"
    Ya intente reinstalar los drivers del I/O desde el disco de evaluacion que tengo, tambien baje unos de la pagina, tambien baje el ultimo DAQmx, e instale de nuevo el MAX, pero nada lo resuelve.
    Ojala alguien me pueda ayudar.
    Estoy utilizando LabVIEW 8.5, y windows XP

    Hola Rounel,
    es posible que al desinstalar e instalar el MAX se hayan dañado algunas secciones del mismo. Te recomiendo desinstalar todo el programa de National Instruments incluyendo LabView y Drivers e instalarlos nuevamente, primeramente LabView y posteriormente los Drivers, usando el CD de Drivers. Si no tienes este CD de Drivers, puedes bajarlo desde nuestra web de NI, en la siguiente liga:
    http://joule.ni.com/nidu/cds/fn/p/sb/navsRel/lang/es?q=drivers&x=14&y=13
    Este es la versión que deberás bajar.
    NI Device Drivers
    2008.03
    Windows
    Controlador de Hardware
    Marzo   2008
    Inglés, Chino (Simplificado), Francés, Alemán, Japonés, Coreano
    Una vez instalado todo nuevamente, abre el programa de MAX y verifica en la sección de Software (sobre el árbol de secciones) que estén instalados los drivers de NI-VISA y NI-488.2 ya que estos son requeridos por el Instrument I/O Assistant.
    De lo contrario tendrás que bajarlos de las siguientes ligas e instalarlos:
    NI-VISA
    NI-488.2 (necessary only if you are using GPIB)
    Si fue necesario  instalar estos drivers (como segunda opción) entonces tendrás que desinstalar e instalar nuevamente el Instrument I/O Assistant. Para instalar el Instrument I/O Assistant usa el NI Device Drivers que bajaste de la página de National Instruments. No es necesario que instales o desinstales el DaQmx y el MAX.
    Espero te sea de ayuda esta información y no dudes en comunicarte conmigo si tienes alguna duda.

  • Instrument I/O Assistant Help - Parsing Errors

    Hello All - 
    I am having trouble working with a TSI DustTrak DRX - which does not have its own driver so I had to make one.  At this point, all I want to do is send a command to the instrument and get an indicator to repeat what the output is.  So far no luck.
    1) I think my driver works. The instrument is connected via ethernet. The instrument has a static IP.  In MAX when I look under "Network -Devices" it appears there. "Validate" results in a successful connection. If I click on "Open VISA Test Panel/Input/Output" I am able to enter commands (e.g., rdmn\r returns the instrument number) and "Query" and the correct answer comes up. It should be noted that the number of bytes returned for different commands are different, and also that the measurement data is always of variable length, so I often get the "Timeout expired before operation completed" error.  For a simple read instrument number command, the number of bytes is predictable, but for the measurement data, it is not, unfortunately.
    2) When I put an "Instrument I/O assistant" on the block diagram of a new VI, and add a "Query and Parse" step with the same command (rdmn - no \r this time), I again get the expected value (or when I query the measurement, rmmeas, I get the expected output string). Again, it should be noted I get the "Timeout expired before operation completed.   VISA Status code : bfff0015" error. Once I close then reopen the Instrument I/O Assistant configuration window (though not before) I can parse the data, and the token appears as a potential output of the VI. Here I can declare the output as either String or Number.
    a) If I declare the output as a string and create a string idicator, an empty string is returned.
    b) If I declare the output as a number (it is "8533", so this should be OK), I get the following error (even without creating an indicator before running): "Error 1 occurred at Scan From String (arg 1) in Untitled 5:Instance:0->Untitled 5 Possible reason(s): LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @."  I know from MAX that the returned value is actuall 8 bytes: \r\n8533\r\n . So, there are no unallowed characters here. And there are no paths involved - no read/write.
    Some other info:
    1) If I send start or stop commands to the instrument in MAX or the Instrument IO Assistant, I can get the instrument to turn on/off as it should, so I'm clearly comunicating to the instrument correctly.
    2) I get the same behavior if I parse the returned measurement string  - \r\n385,0.013,0.014,0.015,0.020,0.035,\r\n from MAX - as a set of numbers (that is, with "Error 1 occurred at Scan From String (arg 1) in Untitled 5:Instance:0->Untitled 5 Possible reason(s): LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.")
    Any help would be appreciated!
    Thanks.

    Hi James -  Thank you very much.  I actually found the problem and was able to fix by changing how the output text was parsed - the \r\n in front and back was confusing it - and making sure that I flushed the read buffer after reading, just in case. I also had to modify so that the first character was read and discarded before reading (and using) the rest of the output string.
    Now for a rookie question:  I've got it set up as a working VI now - how do I declare which variables are inputs and outputs when I put it in another vi?
    Thanks.

  • Instrument I/O Assistant with PXIe-1062Q

    Hello,
    I'm using a PXIe-1062Q with LabVIEW 2009 installed on it. In the Measurement & Automation Explorer the chassis is visible, as well as the two PXIe-6363 cards I built in. Even th self test of the 6363 works without any failures.
    My Problem is, that after if I insert an Instrument I/O Assistant 1.01 in LabVIEW, and click on Select an instrument, the two PXIe-6363 don't appear in the list. Only Com1 and LTP1 is listed.
    What shall I do? Thank you very much for your support!
    Kind regards, Michael
    Solved!
    Go to Solution.

    The 6363 is programmed with DAQmx functions. You would use the DAQ Assistant.

  • Instrument I/O Assistant refuses to save serial port settings

    (I'm using Labview 7.1 on
    Windows XP)
    I have a problem communicating with a device over a serial port using my lab
    computer. The serial port is the only port on the device.
    I have successfully communicated with the device on this computer using
    windows HyperTerminal.
    I have successfully communicated with the device through Labview on another
    computer.
    I am using the Instrument I/O assistant to get things up and running, this
    worked fine on the other computer, but on this computer there are problems.
    When I click on COM1port "properties"  in the "select
    device" pane I get the "Edit vesa resource" dialog, but it comes
    up with a "port settings conflict", it says:
    "The Vesa port settings are different from the Windows port settings. Select the
    settings you want to keep."
    Whichever settings I choose, when I hit save I get a dialog box with the
    message "could not write specified port settings to the operating
    system." So it won't save the settings and so it won't work when I run the
    vi. (I know the right settings and they work in HyperTerminal, Labview just
    won't accept them.
    Can anyone help?
    thanks,
    Luke
    Luke_A_P

    I have solved the problem!
    It seems that admin rights are needed to save the settings, this seemed odd to me since HyperTerminal did not need them and I could change settings in device manager (which didn't help in itself). But, trying Labview with an admin logged in allowed the settings to be saved.
    Luke
    Luke_A_P

  • INSTRUMENT I/O ASSISTANT EXPRESS VI - PERFECT PARSING NO OUTPUT

    I am using the Instrument I/O assistant express VI to parse data from a (visa) serial port. Neatest thing since sliced bread! I initially send a write command followed by eight read/parse commands to retrieve eight tokens each ending with cr/lf. All seems well during i/o setup. The Vi compiles and shows all eight string tokens. I then connect each one to a string indicator. When the Vi is run no data appears in the indicators. Repeated runs during the I/O setup shows tokens extracted perfectly. What's going on? 

    Hello oledaqman,
    I tried to replicate the problem you are seeing, but everything seems
    to work fine on my system.  One option I would propose would be to
    use NI-SPY to determine if the reads are actually being performed when
    you run the VI.  NI-SPY should allow you to determine if the VISA
    commands inside the Express VI are being executed, as well as
    determining whether they are receiving any data.
    This will help us to determine whether the problem lies in the actual
    transmission of the data, or the parsing of the data after it is
    received.
    Let us know what you find, or if you have any questions, and we will be happy to help.
    Jason S.
    Applications Engineer
    National Instruments

  • Instrument I/O Assistant blank

    I have been having problems getting a code to work. So, I purchased LabVIEW for Everyone (a book) to see if I could figure out how to get the code to run right.  (here is a link to that thread )
    I just redownloaded and installed NI-Visa. The book says to use Instrument I/O Assistant to configure a device (PmodsGPS in my case). When I insert the assistant, I get the a gray blank screen. (see below) what does this mean? Why do I not see any options to configure?

    Thanks Dennis.
    I believe the book recomends it to avoid having to use the write functions and PMTK code. It basically says to use it to make life simpler. This is a beginners book and it really doesn't get into Visa functions very much. I was hoping it would dive a little futher into them. 
    I still don't know why you had me close one string and then open another config file only have insert another write function. I know I'm lost, but I was hoping this might shed some light on the whole situation...

  • Instrument I/O assistant configuration dialog box does not appear

    Hello,
    In the function pallette both input and output subpallettes have instrument assistant express vi.But, when I put in the block diagram window Instr I/O assistant configuration dialog box doesnot appear.I double clicked instr assistant icon but it did not work. Labview version is 7.1.Does anyone has clue to overcome this problem?
    Phylab
    Solved!
    Go to Solution.

    Hello phylab,
    The Instrument I/O Assistant (IIOA) is used for easily communicating with GPIB instruments in Labview. For Labview version 7.1, the IIOA is available on the shipping reference driver CD. It should be automatically
    installed when you're prompted to enter the driver CD, through setup.exe. Is this your first time using it or has it worked in the past? Do you also have the NI-VISA and NI-488.2 drivers? And you installed the LabVIEW cd before the driver cd, correct? The fix should be to uninstall and reinstall IIOA from the device driver CD.
    Regards,
    Deborah Y.
    LabVIEW Real-Time Product Marketing Manager
    Certified LabVIEW Architect
    National Instruments

  • Instrument I/O assistant isn't installed properly under windows 2000 and xp

    after the complete installation of Labview 7express (FDS),the instrument I/O assistant does not work. An error mesage pops up saying that the assistant is not completely installed and that labview 7 should be installed prior to the assistant and that I should reinstall the assistant. I tried to reinstall the I/O assistant directly from the device driver reference CD but it has no effect. What could I do to have the assistant installed correctly ? ( I tried under windows xp same problem)

    I forgot the screenshot.
    Attachments:
    untitled1.gif ‏13 KB

  • GPIB vi created with Instrument I/O assistant not timing out

    I am new to Labview and I am trying to write a
    program to control a HiPot tester via GPIB. This HiPot tester is used
    on several other projects, so its GPIB address can vary. I want to use
    Labview to scan for this device on the bus and then configure it.
    I used the Instrument I/O Assistant to create a subVI that can query
    the device for its manufacturer and model information. In this VI I
    created some connectors that allow an outside program to input the bus
    and device number. These numbers are formatted into a string and then
    used to send commands to the GPIB device.
    If I use this vi and specify the correct bus and device IDs for the
    hipot tester, I get back the expected data. However if I send in the
    wrong device ID (or wrong bus), the program hangs.
    The Instrument I/O Assistant creates a timeout value of 2000 msec for
    the operations. The *RST and *IDN? commands are sent first and then the
    VI performs read operations to fill 128 bytes. So I figure that the
    longest this should take to timeout is 2000*130 msec = 4.3 minutes. But
    10 minutes later the VI is still running.
    Why does this operation not timeout if the device and bus IDs on GPIB are not correct?
    Brian Rose

    Hi Brian
    the first problem would appear to be that you send a reset command. But you only give the instrument
    100ms to reset/reboot before your query its identify. If you have the instrument manual check to see actual timing
    of bus etc.
    As a rule of thumb I wait 300ms - If you run  NI spy you will be able to see exactly when processes occur.
    Add a sequence frame between reset command and id command.Place a 
    wait icon in the frame with a control on the input time so that you can
    adjust time from front panel.
    Initially set time to 400msand see what NI spy reveals.
    Go for it
    chow xseadog
    Message Edited by xseadog on 09-10-2005 01:47 AM
    Attachments:
    wait.PNG ‏11 KB

  • Installation of Lab view 8.20, DAQ Assistant has disappeared & Instrument I/O Assistant cant be used

    After upgrading to Lab view 8.20 and on a 8.20 new install I
    notes’ that
    DAQ Assistant has disappeared from the tool pallet completely.
    Also that Instrument I/O Assistant cant be used or
    configured and produces an error
    “NI Measurement & Automation Explorer or the Instrument
    I/O Assistant is not correctly installed. Please install these from the Driver
    CD”
    I have checked both of these and all parts are fully installed
    and I cant fined what part of the Full version of Labview would course this
    problem.
    Would a completely new installation with default settings
    clear the problem, what has coursed these tools to be not avalible.

    Hi Trevor
    You need to load on the Drivers for DAQmx, if you have a CD you can load them on from there otherwise the link to download NIDAQmx 8.3 is:
    http://digital.ni.com/softlib.nsf/websearch/7feaee6a4b4aa836862571c00064e6ca
    There is a order in which you must load things on for everything to work correctly,
    LabVIEW --->> Modules & Toolkits --->> Drivers
    This should solve your issue
    YatinM
    NIUK

  • LabVIEW 8.5 - error: M&A Explorer or Instrument I/O Assistant is not installed correctly: what to do?

    Dear NI creators and users,
    I freshly installed the LabVIEW 8.5 and the default set of device drivers (on a new Windows XP machine), all of which I downloaded as disk images from our university central repository (we have a site-wide license). The first thing I tried to place in my first VI was the "Instrument I/O Assistant" and I got this message: "Measurement and Automation Explorer or Instrument I/O Assistant is not installed correctly. Please install these from the LabVIEW Driver CD." I tried to repair the installation, but no change. The M&A Explorer comes up fine, when I select it from the Tools menu, so I doubt, that the problem is there. Needless to say, the "Instrument I/O Assistant" throws the same error when double-clicked in the template file.
    Does anybody have a similar or the same experience? What can I do to solve this problem? Perhaps I should add that the computer with LabVIEW is intentionally not connencted to the internet, so in case the solution involves an update, I would very much appreciate some guidance to an off-line update
    Many thanks to all for any helpful remarks.
    Daniel
    Solved!
    Go to Solution.

    Hi Daniel,
    the following knowledge base contains some information how to troubleshoot: 
    http://digital.ni.com/public.nsf/allkb/DC808866AF7D5C0986256FCE006E9BAB?OpenDocument 
    Maybe you didn't install the NI-VISA or NI-488.2 driver. 
    I wish you Merry Christmas and a Happy New Year.
    With best regards 
    Ralf N.
    Applications Engineering
    Germany 
    PS:
    If that wouldn't work for you, download the latest driver-CD from our website and install it. ( It may take a while.  )
    http://joule.ni.com/nidu/cds/view/p/id/1079/lang/de 
    I'd recommend to use an USB-harddisk for transferring the files.  
    Message Edited by ralfn on 12-23-2008 02:29 AM

  • I want to communicate a RS485/2-wire device through COM1. I tried Instrument I/O Assistance to write to COM1(hex string with or without end bye:0D0A), something happened on the bus, but is not defirrential signal, and device didn't recognised them.

    I am new to LabView, so please bear with me...
    I tried to communicate with an RS485/2-wire device through COM1.  I used Instrument I/O Assistant (and Advanced/Basic Serial Write and Read examples) to write command (HEX string) to COM1,  
    tried writing HEX strings with and withour end bye (is 0D0A the correct end signal for HEX string?).  Both didn't get device's responce.  Looks like the device didn't recognize the command.
    I monitored the transmitted signals on the bus, they were not differential as supposed to be.....
    What is the possible reason to cause this? Please help...
    The hardware connection is OK, because I am able to communicate with the device through COM1 (with the same command) using different software application.

    How are you sending the hex? Is your string control set for hex display or normal? If it's set for normal, then if you send something like 'AD', then you aer sending the ASCII characters 'A' and 'D' and that's not the same thing. I don't believe the I/O assistant can send hex but you can modify the basic serial write and read to do so. Just right click on the string control and select 'Hex Display'. You can also enter the data in a numeric control (set for dex display) and use a type cast or an array of U8's and use the Byte Array to String function. Hex data usually doesn't use any kind of termination characters such as CR/LF.
    If communication is working with another app, then as you said, the hardware is okay and it's not a problem with differential signaling.

Maybe you are looking for