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

Similar Messages

  • Help with Instrument I/O Assistant

    I am trying to control an Instrument with 'Instrument I/O Assistant. The control commands that the instrument expects are a ASCII character immediatly followed by a 'nul' character.
    If the instrument does not see the null character then it will not run the command. Is there a way of entering a 'null' character as ACSII?
    Also with 'Instrument I/O Assistant, What is the termination character \n? What do the termination characters do? 

    Unless there have been changes to the assistant in LabVIEW 8.x, you can't use it to send a NULL character. The termination character input is where you tell the assistant to append a specific control character at the end of each command and what character will terminate a read. The only options are \r (Carriage Return), \n (Line Feed), or \t (Tab). You need \00 which is the same as hex 00 and is the ASCII NULL character. You can create an assistant task and then convert to a regular subVI or just use the lower level VISA Write in the first place. There is a couple of shipping examples for serial communication. One has the front panel string control set for '\' Codes Display which does allow you to enter \00. The other sets the termination character with a VISA property node.

  • IDOC is created with status 51( application document not posted)

    Hi experts
    iam working on File-IDOC scenario, when i test the process the XML message is created with no errors and
    but the IDOC is created with status 51( application document not posted)
    the details error shows:
    An error occurred in CALL TRANSACTION USING or CALL DIALOG USING
    during a synchronous update.
    The error was caused by the transaction VA01.
    previously i used same test data that time it was working fine,
    please tell me how can i fix the issue.
    regards
    vasavi

    Key in your Idoc number in BD87, execute
    select the error message and then follow the menu path :
    EDIT --> restrict and process  (Select)
    In the next screen UNCHECK the Bkgd Processing and execute
    Now EDIT --> Process --> foreground from error or in foreground mode.
    This will lead you the screen where it errored out.
    Thx
    PSR

  • Instrument I/O Assistant not installed correctly

    I've been troubleshooting this problem for over 2 weeks now and every response to this question that has found success I have tried, but was unable to fix the problem.
    in labView, double selecting the I/O Assistant it reads the infamous text
    "I I/O Assistant Not installed correctly or..."
    I have downloaded the latest NI-VISA 5.1.3 (or the latest), NI-488.2.  In order to install the NI-VISA I needed to find a .net 4.0 framework & Visual Studios 2003 or better.  After this failed, I downloaded the DCD_AUG12_1 & 2_Downloaders.  After that did not work it left me considering if my machine or equipment is the problem, or if the software is just unable to support these features.
    My System Information includes
    Windows XP 32 bit
    Drivers Include:
    8757d
    Agilent 34401
    HP8753x
    Connection Attempting:
    GPIB Ethernet
    When launching labView I receive an error
    "The web server cannot start.  Is the webserver port already in use...
    ...labView Network Address is in use"
    When trying to communicate with the machine connected to my computer, I can write to it, however I cannot read from or query information from it.  NI says its connected just fine.
    Lastly my NI is 2005 and Labview is 8.0
    I am pretty novice in this equipment and technology.  So if there is any specific details that I need to add, please let me know and I will update the post to include such details.
    Solved!
    Go to Solution.

    RxTx,
    It looks like you might actually have too new of a version of VISA. Please see the following KnowlegdeBase article for more information about which version you require:
    http://digital.ni.com/public.nsf/allkb/E7C93038169B6E7686257847004B8B9C
    It looks like VISA 4.3 is the newest version you can have for your version of LabVIEW. 
    Let me know if that fixes the issue!
    Thanks,
    Joel C
    National Instruments

  • File created with Document Content Type will not be saved back to Sharepoint library

    Recently some of our users, after upgrading to Windows 8.1 with Office 2013, intermittantly are not able to save files created using  document content types template back to sharepoint library. Instead the location is set
    to their local storage. The same templates used by Windows 7 users with Office 2010 are working fine. Setting the SP sites as Trusted location in IE and Clearing IE Cache did not help. Adding the SP site in Word Trusted Location did
    not help. Any suggestions how this can be resolved is appreciated. Thanks.     

    Hi,
    According to your post, my understanding is that you could not save office file back to the SharePoint Document library.
    It may have to something with your Word Settings. When you click new and it opens in MS Word, word treats it as unsafe because perhaps it is not saved. To make it work:
    Go to Word (2013) -> File Menu -> Options -> Trust Center -> Trust Center Settings
    -> Protected View Tab -> Uncheck "Enable Protected View for files located in potentially unsafe locations" (2nd option)
    Here is the similar post, you can take a look at:
    http://blogs.interfacett.com/word-2010-not-saving-back-to-sharepoint-2010-by-default
    If the issue persist, you can also check the event log and ULS log to see if anything unexpected occurred.
    To check event log, click the Start button and type “Event Viewer” in the Search box.
    For SharePoint 2010, by default, ULS log is at:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Instrument I/O Assistant not available

    I upgrade to Labview 8.5 from 8.2 and I am unable to find the Instrument I/O assistant on the pallete. When I open a VI that used the Instrument I/O and double click on the Instrument I/O Assistant VI a message come up to search for the vi. Where is the vi at? I uninstalled the Instrument I/O and reinstalled from the driver CD but still no luck.

    Hello ajh,
    perhaps this link helps you:
    http://digital.ni.com/public.nsf/allkb/DC808866AF7D5C0986256FCE006E9BAB?OpenDocument
    You can find the device driver cd here:
    http://joule.ni.com/nidu/cds/view/p/id/991/lang/de
    Regards
    DianaS

  • Binary fork created with FMLE 3.2 and not in notepad?

    Creating an XML via notepad does not load in FMLE 3.5 "invalid xml" however works fine from the FMLE cmd line. I beleive its because it doesnt create the binary fork as 3.2 does when you create the XML from it. Does anyone know how to make it so my notepad created XML will read as a valid file in FMLE 3.2?? Thank Terry @ LiveU

    Idem
    same problem! really **** adobe + apple, their war of law and money! 
    I go home windows, adobe and apple and goodbye! not really serious with their client

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Everytime I connect to update message comes up saying There was a problem with the downloading The network connection timed out what should I do

    After connecting with itunes phone starts update but then message comes up saying "There was aproblem downloading the software for the iphone The network connection timed out" How do I fix this problem?

    Usual cause of this is security software on your computer: Firewalls & Anti-Virus software. Turn off or disable all of that stuff, try again.

  • Instrument I/O Assistant not properly installed

    Hi,
    I recently purchased a student edition of Labview 2009 and I've been having problems with the intrument I/O Assitant. Each time I place it on the block diagram I get the error message that it was not properly installed. I've searched the knowledge bases and carried out the recommended remedies to no avail. I downloaded drivers from NI.com, uninstalled NI VISA and reinstalled the its latest version still nothing worked. Can someone please help me out here.
    Thanks

    Hello,
    I see that you uninstalled and reinstalled the drivers, but did you make sure to only reinstall the Instrument Assistant after the drivers? Also, what operating system and driver versions are you using?
    -Zach
    Certified LabVIEW Developer

  • PDF created with InDesign CS6 on Mavericks not legible in other systems

    Recently migrated to a new MAC with Mavericks, now after creating PDF files and sending them to clients, some are able to view the file correctly and others are not?
    Any help will be appreciated.

    I figured it out
    Just in case people had the same problem here is how it's done: (i misunderstood the two posters above me, so you are actually going to change fonts within acrobat, like they said, and save it)
    Open the pdf in acrobat, go and change font settings for each of your fields and change the font under the "Appearance" tab.

  • Exe created with Report Generation toolkit does not work for all users

    I created a exicutable with the report generation toolkit and it only works with some of my users. I use microsoft 2007 and anyone that has microsoft 2007 my exe works well. Most of my users that have microsoft 2010 are able to use my program as well. However, there is one user with 2010 and Windows 2007 that cant get my program to work.
    Any suggestions for troubleshooting this?
    Thanks

    The most likely issue is due to the fact that Microsoft changes the ActiveX object model of Office for each version of Office. The Report Generation Toolkit does a pretty good job of handling this, but it is not 100% effective. Search, for example on the "Set Cell Border" function and you will see what I mean. In these cases it's up to you to handle this issue. How you handle it really depends on your situation. For us to provide a more concrete answer you will need to provide further details, such as what toolkit function is "not working" (whatever that means), and who you "users" are. Is this an internal distribution? Are you selling this program? Is this code written for a project with a specific customer?

  • Outlook 2013 with Office365 exchange Scheduling assistant not retrieving free/busy information

    Hi, we are using Outlook 2013 with Office365 Exchange and when using the Scheduling assistant in Outlook users are seeing "No Information. No free/busy information could be retrieved".  The scheduling assistant works fine in OWA.  
    I have spent time trying to find an answer on the web but most answers involve different exchange variations.
    Mark

    Hi,
    Since the problem only exists on Outlook Client, we can try running Outlook with the switch "/cleanfreebusy", this will clear and regenerate free/busy information:
    outlook.exe /cleanfreebusyin the blank box, then press Enter.
    You can also switch between Online and Cached Mode to check if there's a difference.
    Regards,
    Melon Chen
    TechNet Community Support

  • The lines I create with the pen tool are not showing up in After Effects.

    I'm working on a project where I need straight lines. I've added the lines using the pen tool on solid layers, but they are not showing up before or after rendering. I can see where they are supposed to be when I isolate the layer they are on. I have the lines at one pixel, solid white and the layers are on top of everything else. I took a screen shot. Can anyone help me?

    Well, I am still not 100% sure why the pen tool lines/masks are not showing up but I was able to work around it. I already had the stroke effect applied and set to all masks. Looking into this though, it seemed that they were only not showing up on the new solid layers I had created. I duplicated the layers the masks were  working on instead and it seems to resolve the problem for now. Thanks for your help!

  • DVD created with Imovie HD & iDVD will not play

    Footage transferred and burnt to disk using iDVD One Step DVD will not play using the play button on the DVD player software . You need to select menu twice and then it will work.
    This has only started happening recently so I imagine its due to an update of some sort?
    Is there a solution that anyone knows about?
    Thank you in advance for any replies.

    I was not using Dual Layer media, was using Maxell discs. I didn't go looking for burn speeds when I tried this version of iDVD. Just was disappointed that the 6 discs I'd burned wouldn't go on the DVD player.
    So I certainly will give it a go with the slower burn speed and let you know what happens.
    Thanks for the suggestion!

Maybe you are looking for

  • ICal automatically deletes event I just added

    I recently updated my MacBook Pro to Mountain Lion software. Now, whenever I add a new event to my iCal, it appears for a moment and then deletes itself. I have several different color calendars for different subjects. Some calendars and their events

  • Device driver for IPOD NANO...will not install from installation CD

    During first installation of software, program asked to connect the ipod to the pc for possible formatting. PC did not find the hardware drivers on the installation disk, will not reconize the new hardware!!!! Did install itunes and ipod updater fine

  • Link Documents to Purchase Order. How?

    Hi Everybody, I need help in linking documents which are available in DRAW , DRAD tables to Purchase order while creating a PO in ME21N. By passing material number to object key in drad table I can get the document number , version etc... How should

  • Pre-Comp with Collapse Transformation / Masking / Expression Controls / Etc

    Is there an issue with Pre-Comps and with the Collapse Transformation enabled? I have a Pre-comp that has various layer modes in it and in the main comp, the Pre-Comp has collapse transformation enabled to see the layer modes so the text can blend in

  • Latest PATCH for java engine 2004s_SR1 ( 7.00, SP-Number: 06)

    hello,          I have installed NW 2004s_SR1 in a clustered environment. I am looking for "Latest <u><b>PATCH for java engine</b>"</u>. Current j2EE version details are as: Specifies the version of the system <b>Cluster-Version: 7.00   PatchLevel  <