ASCII closes COM port randomly during long periods of unsolicited response monitoring

I have lots of serial ASCII objects monitoring for unsolicited responses (every two seconds, from 20 different COM ports).  Randomly, sometimes a few times a day, sometimes no problem for 2-3 days....but the ASCII object somehow lets the COM ports close or it loses contact with the COM port occasionally.  All I have to do is go into edit mode and "touch" the properties....such as changing the "Retry Attempts" setting and the communication returns.
There are no alarms logged when this happens!
Ed

Ryan,
I currently use 6 Ascii objects from 6 ports and plan to use 2 more.  Unsolicited data arrives every two minutes (as measured by the sending end).  I have a button on the panel for each object that I can press to send a request to the sending end.  Each of the senders connects to a digi portserver II and is delivered to lookout via an ethernet connection (as a virtual com port).  The ethernet connection is routed over various paths including micowave, which could have an occasional traffic interupting fade. One or more of the Ascii objects may fail to respond at any time, but several days may pass without a problem.  When a failure is noticed, you can usually select the properties for that object and the problem clears.  If instead, you send a request to any of the other Ascii objects , Lookout may just hang (permanet hour glass).   When a failure is noticed, if Lookout is then turned off and the offending port is monitored with hyperterminal, the data from the sending port is on time and correctly formatted.  The help file has a section "Ascii alarm and error messages" with a section named "Early temination when parsing the response frame".  There are a bunch of reasons listed there as to why the Ascii object might not function properly.  I've tried everything that I can think of to make this work reliably.  Any ideas?  See the link for response format information. http://jrcamenzind.googlepages.com/lookout

Similar Messages

  • How come we can no longer see how many responses were made to a question?

    I see that you have changed around the DE a little again. How come we can no longer see how many responses have been made to each question? I found that to be useful when looking through the posts.
    Brian

    Hi Brian,
    Thank you for the feedback that you found the list of the number of responses to a question to be useful. This feature was unintentially not included as part of the site update on January 19th, and I am working with the site developers to see if we can get it reinstated on a future update.
    If you have additional feedback, please feel free to post them here or to e-mail them to me.
    Best Regards,
    Wilbur Shen
    Web Support and Operations
    National Instruments
    [email protected]

  • Close COM-Port

    Hi
    When I use COM-Ports in my VI, they're open still I close LabVIEW. Is someone
    there who has a solution for this problem?
    I'm searching for a VI, that closes my I/O-COM-Port.
    Thanks
    Chris

    "Chris Herzig" wrote:
    >>Hi>>When I use COM-Ports in my VI, they're open still I close LabVIEW.
    Is someone>there who has a solution for this problem?>I'm searching for a
    VI, that closes my I/O-COM-Port.>>Thanks >>Chris
    hallo chris.
    hi chris.
    i know this problem and it's quite easy to solve:
    ..\labview\vi.lib\instr\_sersup.llb\"close serial driver.vi" is exactly the
    vi you need. you van find some other useful vis at this location.

  • Pages Locking Up during long periods of use.

    I have had this problem a couple times before and have re-installed the app to no avail.
    When I run pages for long periods of time it begins to slow down, lockup, and I evenually lose my document. I can run 6 or 7 apps at the same time, but when I start pages, my CPU use spikes, real RSIZE and VSIZE grow until it simply locks up. I have lost several hours of work as a result. I thought the update would resolve it but has not.
    Does anyone have any suggestions or have had similar issues and founf a resolution?

    In addition to saving periodically, try closing and reopening your document. Like most Cocoa applications, Pages remembers undo information until a document is closed. This might contribute to the memory usage growing and growing.

  • Intermittant Connectivity Loss During Long Inactivity Periods

    I am working with a customer who is experiencing an intermittant loss of network connectivity after (or during) long periods of inactivity, such as overnight. Details of the environment include:
    Dell Latitude D820 notebook (integrated wireless disabled)
    Cisco Aironet Wireless PC Card Adapter (Aironet 802.11 A/B/G model AIR-CB21AG-A-K9)
    Driver version 3.0.0.104 (5-19-2006)
    Operating System: WinXP SP2
    Notebook Power Management: Disabled
    Cisco Wireless Power Management: CAM
    (Constantly Awake Mode)
    AP: AIR-AP1231G-A-K9, updated to A Radio Module AIR-RM21A-A-K9 (making them A-B-G)
    AP Software Version: 12.3(8)JEA1
    Any thoguhts and/or suggestions would be appreciated, and I'm happy to supply additional information if desired. Thanks!
    Alan

    User login might have timed out and may require to re-authenticate which results in loss of connectivity. Upgrade the PC card firmware version.

  • My laptops QWERTY row of keys does not work for long periods at random intervals and only after pushing all the buttons on the row does it eventually turn back on and then will still cut out every now and again, anyone know how to solve this?

    My laptops QWERTY row of keys does not work for long periods at random intervals and only after pushing all the buttons on the row does it eventually turn back on and then will still cut out every now and again, anyone know how to solve this? If not is there any way to actually get a genuis appointment lol to get one of them to have a look at the hardware on the keyboard?

    Apple Support (formerly ExpressLane):
    https://getsupport.apple.com/GetproductgroupList.do
    https://getsupport.apple.com/GetSASO?SG=SG001&locale=en_US

  • How to close the COM Port ??????????

    Dear all :
    I have written an application that send AT commands to a modem , Once I opened a com port , i don't know how to close it . I got the null pointer exception when i create a new channel , because the inputStream and outputStream is owned by the previous channel . So , some one can teach me how to close the com port that opened before ?
    my source code for open port :
    public void Connect_Com(CommPortIdentifier portId) {
    Integer i = new Integer((int) (Math.random()* 1000));
    String channel = "channel" + i.toString();
    System.out.println(channel);
    try {
    System.out.println("preparing to open port");
    serialPort = (SerialPort) portId.open(channel, 2000);
    } catch (PortInUseException e) {}
    try {
    inputStream = serialPort.getInputStream();
    System.out.println("getting inputStream");
              } catch (IOException e) {}
    try {
    serialPort.addEventListener(this);
              } catch (TooManyListenersException e) {}
    serialPort.notifyOnDataAvailable(true);
    try {
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch (UnsupportedCommOperationException e) {}

    serialPort.close() ?
    From the documentation of SerialPort:
    - SerialPort extends CommPort.
    - CommPort.close() closes the communications port.

  • Need a gui to send simple ascii commands to com port

    I am not a programmer. Several years ago I took a class in Java. Now, I am looking for a gui with buttons that are programmed so that when clicked on with mouse a command (ascii or hex) will be sent to the com port. I am pretty sure that I don't want to read from the port. I have a table of commands that I want to match up to some buttons - a simple way of putting it.

    Before you embark on Swing and javax.comm, I'd encourage you to get up to speed with basic Java. A lot has changed in the past couple of years, and getting some practice with the basics will save you a great deal of frustration. Here are some recommended resources:
    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
    Your First Cup of Java
    The Java� Tutorial - A practical guide for programmers
    The Java� Tutorial - Trail: Learning the Java Language
    New to Java Center
    Java Programming Notes - Fred Swartz
    How To Think Like A Computer Scientist
    Introduction to Computer Science using Java
    The Java Developers Almanac 1.4
    Object-Oriented Programming Concepts
    Object-oriented language basics
    Don't Fear the OOP
    Books:
    The Java Programming Language - 4th Edition
    Head First Java, by Bert Bates and Kathy Sierra
    Thinking in Java (Free online), by Bruce Eckel
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch
    Let us know if you have specific questions. Good luck!

  • My macbook pro won't sleep - if I select sleep it does so initially, then the disc-drive appears to kick in and it comes back to life.  It also won't turn off (again, the disc drive kicks in) unless you hold the power-button down for a long period.

    My macbook pro won't sleep - if I select sleep it does so initially, then the disc-drive appears to kick in and it comes back to life.  It also won't turn off (again, the disc-drive kicks in) unless you hold the power-button down for a long period.  Help?

    Hi a,
    Try an SMC Reset: http://support.apple.com/kb/HT3964

  • Can you fix , the fact that If you leave the firefox update window open for a long period (say 20 minutes in the background), then close all other windowns, then choose to install, it uses this extra time to estimate the download?

    Can you fix , the fact that If you leave the firefox UPDATE window open for a long period (say 20 minutes in the background), then close all other windows, then choose to download update, it uses this extra time to estimate the download? (Mine said, 12 Hours to start with, but took under 2 minutes!)
    == This happened ==
    Not sure how often
    == When you install update to 3.6.4 (Possibly for every update?)

    The download should happen in the background (before you get an update window). I wonder why that didn't happen for you...\
    Did you manually check for updates?

  • FTDI virtual com port driver (VCP) and Labview 2009 - random connection loss

    Hi,
    I am using an FTDI chip to go from USB to serial communication (FTDI Driver: 2.06.00). It seems to work at first but then after some time the connection gets lost ("connection for the given session has been lost" or "I/O error"). This happens in MAX as well as the built executable of the program I am running. Latest VISA drivers are installed - 4.6.  I have tried flushing the buffer before and after communication with both visa clear and visa buffer flush vis. The lost connection seems to happen randomly. 
    I have seen other threads about this issue but they never reach a resolution. One thing i notice is that there are two FTDI devices in this system and only one fails, however when I unplug the working device the one that fails is able to connect again.  
    To sum up here are the system specs:
    Windows XP SP3
    FTDI 2.06.00 and older 2.04.02 drivers both fail.
    2 FTDI devices on the system - they do get assigned different COM ports
    Labview 2009 run-time
    VISA 4.6 run-time
    Thanks for any help. 

    We use Targus ACH63US Super Mini USB 2.0 4-Port Hub. It doesn't require external power but if you have a high power device you will have to plug the Targus hub into two usb ports on your pc (one provides power and the other does power and data transfer). They provide the usb Y cable to do this.

  • 100% Sensor load during some period

    Dear ALL,
    Issue: IDSM is showing 100% Inspection(Sensor) Load during certain periods daily which causes more than 2000 ms delay in the network.This issue occurs after upgrading the signature engine to E3
    We have also monitored the traffic during 100% Load on PRTG but traffic has still in normal utilization 40 to 50Mb.
    I have found the same 100% Load issue on the Cisco TAC case.
    Has any one faced this issue before in their workaround. Actually we are not sure about our issue. Is our issue also related to SMTP traffic or not as in the TAC case.
    How can we identify our issue?
    Please see the following TAC case:
    Symptom:
    IDSM is showing high CPU and a "processing load percentage" of 100 during certain periods daily. Traffic is affected at those times.
    Conditions:
    Issue has been identified to be linked to smtp traffic.
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsz81580&from=summary
    How can we solve/identify this issue?
    Please provide us the appropriate solution for this issue.
    Here are the details of IDSM-2:
    Our IDSM is in Inline VLAN-Pair Mode:
    Inline TCP Tracking Mode: Interface and VLAN
    Core Switch IPS Etherchannel Setup:
    Group 5: IDSM(A) and IDSM(B) Port x/7
    Group 6: IDSM(A) and IDSM(B) Port x/8
    Some VLAN Pair(s) are on interface x/7 and others are on x/8
    There is an FWSM module also, which acts as the default gateway for all internal VLANs.
    All signatures are in default state.
    IPS1 version Detail:
    Cisco Intrusion Prevention System, Version 6.1(2)E3
    Signature Update S440.0
    OS Version:2.4.30-IDS-smp-bigphys
    Platform:WS-SVC-IDSM-2
    Cisco6513 IOS: Version 12.2(18)SXF17
    Thanks in advance.
    Regards,
    Anser

    I get "Red" status events on "inspectionLoad" very frequently. I am not quite sure if it has always been this frequent. I wonder if the "healthAndSecurity" status alerts can be sent off to a syslog server for long term storage, review and analysis.
    Are you getting "Red" status events on "inspectionLoad"? Just recently or all the time.
    There is another thread in this forum about something like highcpu or something like that. I am not sure if that one was very specific.
    I wonder if this is related to Cisco updating signature files with new sigs are enabled by default related to 5 year old vulnerabilities.
    evStatus: eventId=REMOVED
    vendor=Cisco
    originator:
    hostId: REMOVED
    appName: monitor
    appInstanceId: 345
    time: Nov 03, 2009 19:08:51 UTC offset=-300 timeZone=EST
    healthAndSecurity:
    description: Health and security status
    healthStatus: red
    securityStatus:
    virtualSensor: vs0
    status: green
    changed:
    metricValue: name=inspectionLoad
    current:
    value: 94
    status: red
    previous:
    value: 17
    status: green
    thresholds:
    type: upper
    yellow: 80
    red: 91
    warning:
    metricStatus: name=inspectionLoad
    status: red

  • Itunes music slows down randomly during play

    First, my system specs.
    CPU- AMD Phenom 9850 Quad @ 2.51ghz
    RAM- 2GB Adata ddr2 800
    GFX- ATI 4870 Radeon pci-e 500MB
    SFX- Creative X-Fi Sound card
    HDD- 80Gb, 250Gb, 500Gb, all sata2. (the 500 has all my music files)
    OS - Windows XP SP3 (It was doing the same thing in SP2)
    Itunes version 9.0.2.25 (version upgrade didn't fix)
    I have gone through and upgraded all the device drivers to be recent (in december). I've been dealing with this problem for a little over 8 months now that I can remember, and the driver upgrade didn't seem to help.
    Now the problem is that itunes is what I use to listen to music since it syncs with my ipod. But, this only happens in itunes (and recently on my ipod) not in windows media player or in winamp (or media player classic if I just play one song).
    It happens randomly. Some songs will play without a hitch a dozen times without a problem. Then I'll come back the next day and the song I was listening to the other day will slow down in the middle of the song. At first I thought it was distorted, but after it happened once or twice, I figured out that the song itself slows down dramatically so that the pitch is dramatically lowered. So much so that certain higher pitched long notes will sound like one long awful bass note. This will continue for a few seconds (it varies. Anywhere from one second to several seconds, up to at one point 10 seconds.)
    Sometimes moving the song backwards by clicking on the progress bar will fix it. This hasn't always worked though. Some songs seem to stay distorted and only fix themselves randomly. This is especially true on the ipod, where it seems a slowed-down song stays that way indefinitely. Admittedly I don't listen to the ipod as much so I may be off on that since it happens so infrequently. Though there are songs that play slowed down every time on the ipod (there is a messhugga song that keeps doing it only on the ipod for instance).
    It should be noted I don't run anything in the backround of windows. Here is a list of my task manager while running itunes.
    system idle proccess
    system
    svchost.exe
    svchost.exe
    svchost.exe
    svchost.exe
    svchost.exe
    svchost.exe
    svchost.exe
    spoolsv.exe
    smss.exe
    services.exe
    lsass.exe
    explorer.exe
    csrss.exe
    winlogon.exe
    wscntfy.exe
    itunes.exe
    Processes: 18
    I do run a game pretty often (and listen to itunes as a backround) and I do browse the internet using firefox, so add to that list WAR.EXE and firefox.exe. Whether these are up or not does not seem to matter. The songs slow down with them up and with them closed.
    My 500GB HDD has 60GB of space left on it, but erasing/cleaning up the disk or defragmenting it hasn't seemed to help. My itunes library has 55.90 (8940 songs) in it. Cleaning up the library and removing excess duplicates didn't seem to fix the problem. I did move the library from the 500 to the 250, but moved it back when the same thing happened after a few days of playing music.
    My RAM doesn't max out, though 2GB is a bit low these days. The WAR.EXE process uses .800-1.4gb (800,000-1,400,000k) of RAM, and the rest of the processes seem to keep well under .400gb max total. itunes stays around ~.064gb (64,984k). And remember, firefox, warhammer online, and the rest running at the same time doesn't automatically cause the slow down. And it slows down whether they are both up or neither are randomly (I listen to itunes sometimes for long periods while reading or painting). I also replaced my RAM fairly recently (other stuff went bad) but the same problem persists.
    Lastly, this has happened on my ipod. The problem is that it seems permanent on the ipod, whereas the itunes on my pc will correct itself (seemingly) the ipod version will not correct itself until I sync the ipod.
    I have completely removed itunes twice (as well as gotten rid of the registry entries and loose ends using CCleaner). I have deleted the itunes libraries and let itunes create brand new ones. I have upgraded to the most (at the time) recent version of itunes. The problem persists
    I may be missing something. I hate using winamp and windows media player, so I haven't just stopped using itunes. But the real problem is that it is so random it's nearly impossible to test. I've tried several different methods of fixing this without tearing down itunes and re-coding it And every time, I THINK I've fixed it only to have it happen again within a week. Hence why this has been a problem for well over 8 months now. It's a small enough issue that I'm still listening to music without loads of problems, but it is a persistent, if infrequent, annoyance.
    ANY help you guys can offer me would be greatly appreciated, though I'm not holding my breath since the problem is so weird. But I am willing to try anything if it might work. I can only try them out till they don't work, right?
    Thanks ahead of time.
    Message was edited by: Rannonzero

    I'm sorry to hear about your ipod, I'm also having the same trouble but my is been going on for like a day or two. I have a nano 5th generation but all of the sudden it reseted itself it turn itself off then apple logo appeared and after that it was playing the songs like it should, mine was the same as you I'll be playing a very fast song and then it'll slow it down it was frustraded I hope this will help you. good luck to you and to me too because I only hope that I won't have the same problem later on.

  • Serial break on com port does not work

    hello everybody:
    i have the following problem:
    i am writing a command via the '"visa write" vi on the com port of my pc. in some cases the com port does not retun anything. that means that my "visa read" vi would timeout. the problem is that afterwards i need to send more commands but have to break the line in order to be able to do so. I have inserted the "visa break" vi but didn't get the reaction i expected. the line does not break. i tried to increase the break length but that does not work either.
    Any ideas?
    Using LabVIEW 2013
    Solved!
    Go to Solution.

    A break will not break the connection, it will just put a 1 to the Tx line for a periode longer than 11baud length (?) or specified time. 
    A hardware check that the break is send: connect a scope or a DMM to the TX and GND , a 500ms break should be clearly visible even on a 'slow' DMM. (a 10k resistor and two LED antiparrallel  or a handy RS232 minitester would do the same job )
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How can I record multiple signals for a long period of time?

    Hi, everyone
    I am new at labView I just recentlyl started using it. Right now I am working on this assignment
    that I have to display en record six different signals comming up from a DAQ. so basically What I did
    for my IV is placing a whileloop. Inside the while loop I set up the DAQ assistant and then I send that
    to a split signal function in order to split the signas that are comming from the DAQ ( so those signals
    are EMG1,EMG2, blood flow1, blood flow2, blood pressure, and AM stimulation) after I split the signals
    I send each individual signals to a waveforme graph, but my problem is that I need to record those individual
    signals for a long period of time every second for about 8 hours. so it will be really helpfull if someone can
    guide me through this. Thanks
    Regards

    Hi,
    With your while loop, you'd better use low-level VIs to write your data to a file. Please see attached...I've used text file function but if you need ta save a large amount of data, you may need to use binary file functions instead (nearly the same way to perform this whatever you chose text file or binary file function).
    Best,
    J.
    Attachments:
    RecordData.vi ‏27 KB

Maybe you are looking for