Timeout error (code 6101) for acquisition from MODBUS instrument

I am experiencing a problem which other users have reported, but for which little useful information has been posted:
I am trying to acquire data from an instrument using MODBUS RTU protocol.  The code works as desired for a while, but will intermittently stop executing and give a timeout error, code 6101.  This code seems to be associated with the MB Serial Master Query sub VI.  In the past, I was getting this error as a result of RF noise corrupting the signal in the USB connection to the instrument.  Removing the USB cable from the noisy environment eliminated the problem.  I am now having the problem with an RS 485 line in the noisy environment, which should be very stable in noisy environemnts. 
My question:  is there a coding trick i can use to reconnect in the event that a corrupt signal occurrs (or some other problem which results in the intermittent appearence of the error 6101)?   I've increased the timeout value on the MB Serial Master Query sub vi, but this hasn't helped.  Any input is appreciated.  In case it's useful, I've posted a simple version of code which generates the problem. 
Thanks,
Paul   
Attachments:
Floating point 1.12.vi ‏24 KB
timeout error1.JPG ‏31 KB

Thanks for your input, Ravens Fan.  I am indeed getting a popup error message with the timeout.  I agree that putting the MODBUS read in its own loop would solve the problem.  However, I'm struggling with trying to figure out how to actually do this.  Should I put the read in a case structure or a while loop?  How do I go about looping back to re-execute the read statement?  I think so called "state machine architecture" seems to be where I should be going. Some example code would be greatly appreciated. 
paul  

Similar Messages

  • LV Modbus library 1.2.1 - Error code 6101 (timeout)

    This seems to be a common problem but did not found a clear solution. Timeout (error code 6101) appears randomly during register(s) read in Windows and Real-Time environment and with various computers. No matter which RS232-RS485 converter or short/log cable is used. Does anybody know what is the main reason for this error?

    Bonjour,
    Je suis débuté en Modbus c'est pour cela que j'ai regardé de nombreux sujets de discussion sur les forums NI etc.. j'ai donc téléchargé la bibliothèque modbus, j'en ai même téléchargé et essyé 3 différentes, j'ai suivi tous les conseils que j'ai pu lire malheureusement mon programme ne fonctionne pas. Le but est de commniquer avec le controleur de température CAL 9400 afin de lui atribuer un setpoint et un heating rate notamment. Mon Pc portable est relui à lui grace à un adaptateur USB-RS232 et un autre cable RS232 qui fait relais. Aucun des exemples ne marche et j'ai à chaque une erreur différente. Je privilégie plutot l'exemple 3. J'ai donné l'adresse 1 au controleur de température qui est ici le " slave", mon PC étant le "master". Pourtant en entrant l'adresse 1 dans mon programme j'ai l'erreur 6101, alors que si j'entre l'adresse 0 dans mon porgramme il n'y a aucune erreur mais rien ne se passe non plus pour le controleur, quelle que soit l'adresse que je lui ai attribué, je ne comprends, pouvez-vous m'aider s'il vous plait ? sachant qu'il y a trois types de data pour le controleur apparament : 18ni,18E1 et 18O1 je ne sais pas ce que ca signifie.
    Vous trouverez ci-joint les trois exemples que j'ai essayé ainsi que la documentation sur le controleur de température et la manière dont on communique avec lui en modbus.

  • I have upgraded my iphone 4 (ios 4.3.5 to current release 5.0.1) yesterday and got an error code 1630 for carrier up-gradation failure. Now my device is not working for phoning purpose. It just stay muted at the time of call.

    I have upgraded my iphone 4 by iTunes from ios version 4.3.5 to 5.0.1
    and think it was the biggest mistake I have ever done.
    Now my iphone basically not a celluler/mobile phone. I can't hear a single tone at the time of calling
    and even the the receiver also can't here my voice. calling other and after receiving by them and to be
    mute is the thing happned to me with that upgradation. before that it was working absolutely fine. I have
    checked my microphone and headset by recording and it seems absolutely OK. I don't know what should
    I do now?
    Please help me.
    I tried to downgrade my phone to 4.3.5 back but at don't accept downgradation and gives me an error code 3194

    Thanks for reply,
    It's truely a disestar for me to kill my phone myself by so called bloody upgradation.
    Iwish I have not upgraded.
    I baught it from here in Bangladesh and now I’m ina mess to get at least a minimum support.
    Thanks for your valued suggessions but it didn’tmade any difference to my situation.
    So now I have an ipod in the price of an iPhone4. Crap.
    Is there any chance of fixing this bug by apple?As the same problem has already been faced by a lot of iPhone Users.

  • Is there a range of error codes reserved for user defined error codes?

    I would like to create my own error codes for a CVI dll but I want to make sure I don't use error codes already defined for something else. Is there a range reserved for such use?
    Samee thing for warnings (errorcode > 0)
    Thanks

    I have never found a positive mention of a "safe" range of error codes available for user-defined error conditions, but I can suggest you some source of informations.
    First of all, every library has its specific list of error codes, usually listed in the relative include file. All these error codes are listed in the online help too (search for "error codes" in the index tab of the help).
    Second, GetGeneralErrorString () is a function that can be used to trap errors of the following libraries with a unique error function:
    User Interface Library
    Easy I/O instrument driver
    Toolbox instrument driver
    ActiveX Library
    DIAdem Connectivity Library
    .NET Library
    DataSocket instrument driver
    Network Variable Library
    Real-Time Utility Library
    TDM Streaming Library
    UDP Support Library
    This means that the error codes from this libraries do not overlap, so you could derive from its code some ranges not used by these libraries.
    Nevertheless, there is not a single function for error trapping: every library has its proper list of error codes and a function to decode them in human readable form, andthere is no guarantee that these ranges does not overlap. It's up to you to trap errors from every function in the proper way.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Adobe CSXS InfrastructureCS6 Installation failed. Error Code: U44M1P7 for CS6 during exchange update

    Adobe CSXS InfrastructureCS6 Installation failed. Error Code: U44M1P7 for CS6 during exchange update on Windows 7.
    Please advise... It appears that some programs available in CS6 did update, just not PS, AI or some of the other programs needed for my current classes.
    Thank you,
    tjr

    Try following the steps outlined in this blog post:
    http://acrobatninja.com/2013/07/fixing-csxs-infrastructure-update.html

  • Error code 499 for download music

    error code 499 for itune music download all other music is ok.thanks

    Hello, holebung. 
    Thank you for visiting Apple Support Communities. 
    Here are the troubleshooting steps that I would recommend going through when receiving error 499. 
    "Error 499"
    This alert occurs due to security software. Follow iTunes for Windows: Troubleshooting security software issues.
    iTunes: Advanced iTunes Store troubleshooting
    https://support.apple.com/kb/TS3297
    Cheers,
    Jason H. 

  • Import Error (Partial Set failure with RC error code = 0x84020020 for rec

    Hi,
    While importing the data through xls file , i am getting the error message "Partial Set failure with RC error code = <0x84020020> for record number
    0 through 212"  and no record get created in Data manager.
    Although i mapped all values , still it giving me an error message.
    I tried to Import other data and it was all working fine.
    Please guide
    Regards
    Sandeep Kumar

    HI,
    I checked the exl file and found that in the first column and first data  was in text format ('0001)but later on when i change the record and moved it to the last record , it worked fine. I was able to load all records including ('0001)
    I don't know wht the logic behind this:
    if my first record was ('0001), system was giving me the error and not allowing me to load the data. But when i moved the record as the last record it not only allow me to load the records but allow ('0001) also.
    If anyone have any clue , plz let me know.
    Regards
    Sandeep

  • Modbus error code 6101 and framing error

    Using the Vi's MB INIT and MB WR to monitor the registers of a Micro-Motion sensor but keep getting either Framing error 1073807253 or timeout 6101. The communication is RS232, 1 stop bit, RTU (8 data bits), 9600 Baud and the program reads 50 consecutive registers (Floating), timeout is set to 2000 ms. Usually the errors occur after about 5 minutes or so.
    Labview Version 8.5
    Labview Version 8.6
    Labview Version 2013

    Hello Romain
    Please find attached my Vi. I have reduced the amount of registers taht were originally read from 50 down to 20 and increased time delays which seems to have removed the error code problem.
    However I still miss data, for example the temperature reading will be fine for a few minutes but then go to zero or a large number. The same thing occurs with other registers that are being read.
    Thanks
    Jack
    Labview Version 8.5
    Labview Version 8.6
    Labview Version 2013
    Attachments:
    MODBUS MVD VER1.vi ‏37 KB

  • I am receiving an "Unknown Error code (-3) for the song (Don't Fear) The Reaper when I try to convert to AAC format when I purchased it from itunes so if someone wants to help me out please feel free

    I am receiving this error code on a song I purchased a few days ago and all i want is to listen to the song and itunes has been giving me more problems than i would wish to talk about lately so if someone could help me fix it that would be great if not i hope itunes and apple decide to fix it because it is ******** that a song i purchased from THEM doesn't work on THEIR service.

    Q1-
    3. Will the data on my iPod be preserved?
    No. You will receive a replacement iPod that will not contain any of your data, songs, or after-market personalizations. Before you submit your iPod for service, it is your responsibility to keep a separate backup copy of the data stored on your iPod and reinstall that data.
    From:
    http://www.apple.com/support/ipod/service/faq/#warranty7
    Q2- Updating iTunes should not change/delete your library.  However, thisngs sometimes happen.  You should have the computer files backed up
    Q3- When you update an iOS, the first step is making a backup of the iPod.  However, the backup does not include the apps themselves or music since those are always synced to the iPod from your iTunes library.  You need to use a third-party program to copy the non-iTunes purchased music to your computer.  That is the way it is.

  • Error code U44M1U5 for updating PSE and Premiere Elements from 12.0 to 12.1

    Why not just give a hint in plain language rather than an error code and no listing?

    See this help document:
    http://helpx.adobe.com/photoshop-elements/kb/elements-12-1-update-error.html

  • Finder error code -36: Copy file from macOS to external HD then copy it back to macOS: got error code -36

    Hi all,
    I got this error whenever copy file from my external HD to my macbook (internal HD).
    For more detail:
    last week, i copy a lot of my folder to external HD then i format my macbook to install new MacOSX Maverick.
    But when i copy my file back to my laptop, i got a lot of file with message:
    The Finder can't complete operator because some data in "some file name here" can't be read or written.
    (Error code -36)
    I try to research a lot of time on google and apple support communities but i still can not solve this problem.
    Someone, please help me and guide me how to solve this error because almost my file is my working data.
    Some infomation:
    My last version of my macbook: MacOS 10.9.3
    New version installed on my macbook: MacOS 10.9.3
    I just only copy file from my macbook to external HD without doing anything.
    Then i format my macbook to install new MacOS 10.9.3
    When i copy my file back, this error is happened.
    I try a lot of way like dot_clean, disk utility verified, repair, ....

    The files may be from the old user account and not accessible from the new one. I found this article, though see that it may not be current.:
    http://support.apple.com/kb/ts1402
    Pondini's guide also covers this topic, but it may be hard to find the relevant bit of information.
    http://pondini.org/OSX/Transfer.html
    In future, use Time Machine or Carbon Copy Cloner to make a complete backup of your system onto an external disk, before doing an erase/install.  Then you can use Transfer Assistant to bring your data and apps across.

  • Error Code Definition for JDBC Thin driver

    Would like to know where I can find the definition of error codes
    for JDBC thin driver to Oracle 7 database. Right now, when I have
    database errors, I get SQL execption with CODE=XXXXXX. Need to
    know the definition of the error codes in order to decide whether
    the application shall retry or quit or do something else. Thank
    you in advance.
    null

    Hi,
    thin client session Language is controlled by java Locale.
    Based on testing code, ORA- messages are localized after the connection is successfully established. ORA- messages returned in the middle of connecting are in instance language.
    So, as far as I can say, you need to catch exceptions from DriverManager.getConnection(url, info); and translate them on your own.
    Once the connection is successfully returned, ORA- message language is defined by java Locale.
    Tests were performed on Oracle 10gR2 (both thin driver and DB).

  • Error code when migrating pics from iPhotos to Photos

    Migrating iphotos to photos stops at 30% with error code  "An unexpected error had occurred".  HELP

    Maybe these two Apple documents will help:
    Migrating from iPhoto for iOS to Photos on iOS 8 - Apple Support
    Get help finding your Photos in iOS 8 or later - Apple Support

  • IM error code 500 for sprint centro

    I have been receiving error code 500 "server is temporarily unavailable" for the past 2 days and I get it when attempting to log into yahoo or msn. I haven't been able to find a real solution for this anywhere and I'm hoping someone here can help. I've done a soft, warm and hard reset on my phone...deleted the IM program, attempted to reinstall it but was unable to do so (yet I still have access to the program) and I'm still receiving the same message. Any help is very appreciated.
    Post relates to: Centro (Sprint)

    I can't offer any help, but can commiserate a bit.
    The IM app has been pretty flaky on my AT&T Centro.  I'll see this error for several days, then it works fine. 
    I just logged into AIM and Yahoo with mine and it worked correctly today...?
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Error Code 54 for Windows 8

    I'm trying to get my library completed for my IPhone 5 but I keep getting error (-54) on my computer. I'm running ITunes through Windows 8. If anyone has anyway to fix this step-by-step please help it's getting very irritating when I see ITunes acting like this.

    == Error -54 ==
    From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Some of the old codes still apply to OSX although there is no formal list of OSX error codes.)
    First, try simply restarting your computer.
    iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814
    Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files
    Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114
    Error -54 possibly related to Touch Copy - https://discussions.apple.com/thread/3727114 - cleared by deleting preferences on iPad.

Maybe you are looking for

  • What is the best name for a book written by iBooks Author?

    Hello, I just wonder what we can call the book written by iBooks Author? Because, iBooks Author is limited to iPad and it has lots of multimedia and interactive contents.

  • ASM LABLED DISK NOT SHOWN IN GRID INSTALLATION

    Hi Guru, Im new to oracle,just started, we are installing ORCALE 11gr2 11.2.0.3 single node cluster for an test environment on RHEL 6.2. we installed oracle prerequisite with yum provided by oracle with following command. yum install "oracle-rdbms-se

  • Log4j.jar issue under Web Service Security Module

    I am running into an issue with log4j.jar for WebLogic OES PDP. there is a custom appender class that extends org.apache.log4j.AppenderSkeleton, if we packed into one jar file under \bea\ales32-ssm\webservice-ssm\lib\log4j.jar everthing is fine. if w

  • How to change aspect ratio AFTER creating a project

    I created a project in FCPX and somehow it's got Black bars on the left and right (i think i created a 16:9 project and put 4:3 clips in). I can't enlarge the clips as they contain text that would be cropped out, so i need to turn my 16:9 project int

  • Invalid Output Device

    Hello, Can anyone please help me in the following error, i am getting a “Spool: Invalid Output Device”. Customer thinks that other automatic processes, created by a parent program, trigger these errors. They would like to get rid of this error.  Also