The computer hangs during the communication via a serial port

I developed a code in LabVIEW 2011 to connect with the XY stage. It's actually two steps mounted perpendicularly. The installer of the system is that a (made by the same manufacturer as the stadium) gamepad is connected to the USB port on the computer if a USB to Serial converter. A step is daisy chanied to the controller and the other stage Garland at the first stage.

To our application had to continually check the status and position of the steps X and Y. Because the joystick also returns responses when a request is sent to all devices, I need to send applications individually; for example. one request per order per device, making it a total of 4 orders. It takes care of the error returned by the controller. The problem, however, is that after a while the freezing of the program or the computer stops and restarts. It is located about 13 minutes (on average) after the start of the program. It also happens even when no command is sent to the devices. I put 50 ms delay before each send two commands (position and status) by device. Basically, the application waits for 50ms before sending two commands for X stage and the receipt of the response and when everything is done with X stage, he expects another 50 ms to do the same for step Y. Should this procedure goes on until the application is stopped. But as I said, there is a problem. Now, I guess the problem is that serial port buffer overflows. He chose to increase the delay time, but if it works to solve the problem, then I have no choice!

I would appreciate any thoughts and comments!

After a lot of time to experiment, I am convinced that the issue was with adapter Profilic.

Tags: NI Software

Similar Questions

  • You will need to plug Sony IEEE 1394 camcorder to an iMac. It would connect to the thunderbolt via an adapter port? I have a cable of firewire 800 and wanting to know how to get the video of my iMac. Thanks for any help you can give :)

    I borrowed a camcorder tape Sony that has an IEEE 1394 (ilink Sony) and eager to download video from my iMac.

    It would connect to the thunderbolt via an adapter port?

    I have a cable of firewire 800 and wanting to know how to get the video from my iMac via this cable.

    Appreciate any help you can give :)

    You want a Thunderbolt Apple FireWire adapter. Here is a link (to the US store):

    http://www.Apple.com/shop/product/MD464LL/A/Apple-Thunderbolt-to-FireWire-ADAPTE r? FNODE = 8 b & fs = f % 3Dadapter % 26fh %3 D 4595% 252B45b0

    Sorry, I don't know what software you need to play your video, once you get the cable work.

  • Get the description of a serial port with bundles of Visa

    Hi all

    How can I get the description of a serial port? for example. Communication port (COM14)

    I use currently Instrument VISA, but there is a large top of the head to the liberation, 65 MB on head.

    I wish to all the port available for the user to select the list.

    Thank you

    Shakeel

    You can find useful resources in the present code published by Martin some time ago. Original code only returns the port number, but running it step by step, you can find the point where the description of the device is found and use it.

  • How to transfer files from PC to PC via a serial port using labview

    I need to transfer files (.txt, .doc, .xls) from PC to PC via a serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?

    Yes, it is possible to transfer files with the serial port using LabVIEW.  The files are just collections of bytes and the serial port is good enough in the expedition of the bytes from one PC to another.  You must connect the ports series with a null modem cable.

    First, take a look at the example of serial communication.   In LabVIEW, go to the Help menu and select «Find examples...» ».  From there, you can search for "serial" or navigate to hardware input and output > series.  Select «Write series base» and Read.vi  Try this example to gain confidence on the serial communication methods.

    Then it's time to learn how to read and write files.  For this, the examples might be somewhat confusing as they deal with files that are presumed to have data of a specific type in them.  I would recommend just familiarize yourself with the functions in the file e/s palette.  Specifically, familiarize yourself with the following functions.

    1. Open/create/replace file - on the side of your destination, you will need to create the copy of the file you are trying to transfer
    2. Close the file - when you're done reading or writing to a file, you must close it.  It cleans the memory used and finalizes write operations that are still floating in the write buffer.
    3. Read a binary file - is the best way to play a file when you don't really like what type of file it.  In your case, you just want to get these read bytes and sent so they can be written down instead of destination.
    4. Write to a binary file - next to the destination, is what will store the bytes in the file that you created with the number 1.
    5. Size of the file get (under the range of the advanced features of file) - you need to know how big the file is, so you know when you are finished.

    OK, so once you are able to create files byte write and read bytes from existing files, you can move forward.

    I suggest the basic method is to have the user specify a source file on the source PC, and a folder on the destination computer.  Then find the size of the source file using the number 5.  Divide this number of size by the number of bytes that you want to transfer to the times.  The series pads are usually around 32 k (if I remember correctly) in order not to exceed that.  Now start to send data by reading a number of bytes and this string output wiring to the feature of writing VISAS.  On the side of destination, you will want to monitor the serial port for bytes and read when they arrive.  This string of yarn to the writing of the function of binary file to add them to your destination file.

    This is the basic outline of how to do it.  He needs to not to overload him write and read buffers on the serial ports.  Initially, you can use delays on the side sending to make sure that the side reading has enough time to digest.  To make things faster, you can bring in a control of flow.

    If all that sounds a little intimidating, there are there Alliance member companies (such as the automation of PrimeTest) who can write this code for you and even provides a turnkey for you solution.

    Happy wiring,

    Dan press

    Certified LabVIEW Architect

    PrimeTest Automation

  • Computer hangs during playback of streaming online videos

    Dear friends,

    I have a Dell Inspiron laptop, Core i3, OS Windows Ultimate 64 bit processor.

    I have a weird problem for two days. Instantly, my computer hangs when I play a video (like YouTube) online on any browser elsewhere (IE/Firefox, Chrome). And sometimes only the parts sound without the video, but that is only for a moment before it crashes.

    I tried most of the common fixes as updated drivers, video card, reinstall Adobe Flash Player, uninstall applications useless, but nothing worked so far.

    I'm really frustrated by this and can not think of a solution. Please help me with this. Thank you for your time.

    Kind regards
    SA

    Hello Syed_Asif

    Try these steps and check if the YouTube video freezes between steps, so we can say that it has helped solve the problem.

    Step 1:
    I understand that you have updated your drivers, but I suggest you go to Device Manager, located in your video card. Uninstall the driver, download the latest version of the driver and reinstall it.

    Step 2:
    Clear your "cache" of all the 'temporary internet files', 'cookies '.
    and 'history '. If you are using Internet Explorer, perform the following steps:

    The KB Article ID: 260897 - How to remove the content of the Internet temporary files folder
    http://support.Microsoft.com/kb/260897

     

    Step 3:
    Run SFC/scannow to see if you have corrupted system files.
    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: sfc/scannow

    This will check for any violation of the integrity and repair any damaged operating system files.

    Restart your system

    Step 4:

    Run the chkdsk command: (you can do this step at night because depending on the size of your drive, it may take some time to complete.
    1 disable any security software before you attempt to upgrade or do a clean install.
    2. make sure that your computer is updated (devices and applications)
    3. disconnect all external devices before installing.
    4. check your hard disk for errors:
    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: chkdsk /f /r
    When you restart your system, your computer will be scanned for errors and will try to correct them.

    Step 5:
    Defragment you the system
    To defragment your hard drive

    1. Open Disk Defragmenter by clicking the start . In the search box, type and then Disk Defragmenter in the list of results, click Disk Defragmenter.

    2. Under the current state, select the disk to defragment.

    3. To determine whether the disk should be defragmented or not, click Analyze disk. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

      Once Windows is finished analyzing the disk, you can check the percentage of disk fragmentation in the column was last run. If the number is greater than 10%, you must defragment the drive.

    4. Click on defragment disk. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    Disk Defragmenter may take a few minutes to a few hours at the end, depending on the size and the degree of fragmentation of your hard drive. You can still use your computer during the defragmentation process.

    Let us know if the measures have contributed to your question.

    Sincerely,

    Marilyn

  • Always replace the output file for serial port.

    Hello, I use Workstation 7 on Linux and use the option "Output to a file" serial port for the logging of messages to the client for debugging.

    It works perfectly, however, if the file exists already workstation asking what to do (crush, add, etc.). It works, but I would like to have the option to auto restart, restore, instant, etc. and this message gets in the way.

    Is he a .vmx parameter I can apply to my computer always replace the output file without asking?

    Yep - found

    you need these two lines:

    msg.autoAnswer = 'TRUE '.

    Msg. Serial.file.Open = 'Add '.

    _________________________

    VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual

    You find me also in the PhD Virtual Backup support team

  • Re: Portege R830-19 t: cannot find the Win XP PCI Serial Port driver

    Hello

    Creating a win XP to image for the machine above and can not find a driver for Win XP PCI Serial Port.

    everyone has ideas... looks like a pilot intel.

    any help appreciated

    Hello

    All Win XP drivers are available on the European driver Toshiba page and the serial port driver is also available.

    I found this one:
    [Win XP Serial Port Driver v1.00.000 | http://eu.computers.toshiba-europe.com/innovation/download_driver_details.jsp?service=EU&selCategory = 2 & selFamily = 4 & selSeries = 151 & selProduct = 6470 selSh ortMod = null & language = 13 & selOS = 10 & selType = all & yearu pload = & monthupload = & dayupload = & useDate = null & mode = a llMachines & search = & action = search & macId = & country = al l & selectedLanguage = 13 & type = all & page = 3 & ID = 78794 & OSI D = 10 & driverLanguage = 42]

  • dc7800mt: dc7800 10 Windows 64 b PCI Simple Communications and PCI Serial Port drivers missing

    Can't seem to find the drivers for a dc7800 upgraded to Windows 10 64 b for PCI Simple Communications Controller and PCI Serial Port devices.  Any help would be greatly appreciated.  Paul_Tikkanen, are you still there?

    Hello:

    Yes, I'm still here, and Yes, I know what drivers you need...

    You need this for the PCI of Simple Communications controller:

    This package contains the device driver Intel Active Client Manager Host Embedded Controller Interface (HECI) for desktop models and operating systems supported.

    FTP://ftp.HP.com/pub/SoftPaq/sp46001-46500/sp46137.exe

    PCI serial port:

    This package contains the Intel Local Management Service (LMS) and the support of Serial - over - LAN (SOL) for Intel Active Management Technology (AMT) for the supported desktop models and operating systems. This software is part of the Intel Digital Office Initiative.

    FTP://ftp.HP.com/pub/SoftPaq/sp46001-46500/sp46134.exe

    And let me give you a bonus tip... Install the audio driver Soundmax ADI W7.

    I found that works much better than W10 installed.

    You install it, then select multistreaming in adi Control Panel, restart again and go to manage audio devices in the Control Panel, and then select the PC speakers, but of course install the W7 audio driver is optional, and it is up to you...

  • Computer hangs during the transfer of 16 jpeg files.

    Recently, I replaced my Toshiba Satellite M40 PATA hard drive and reinstalled Windows XP SP3.  Subsequently, I find transfer more than 16 jpeg files (approx. 1 MB each) at the same time causes the computer freezes.  I have to shut down the computer and restart and sometimes the computer is 'always' Hung/frozen after restarting Windows (mouse move no keys, ctrl + alt + delete work does produce no action) which necessitated my stop down and restart the computer again.

    This problem occurs during various methods of transfer-to transfer pictures from my card SD using the scanner and camera or Nikon transfer software, trying to copy and paste pictures from the SD in an empty folder, and the problem occurs even when I try to spend more than 16 images from a folder in another.  I tried to transfer images from a folder with the computer in safe mode and the problem occurs when I try to transfer a little more than 16 images at once.  (my SD card, has about 60 images on that.)  There is no error message or any other message - the computer simply crashes.

    I did not have this problem before reinstalling XP.  There seems to be no limit to the size of the transfer that I could perform. I can't wait to find out how I can remedy this problem.  I am familiar with writing code, check the registry, etc, but I'm good enough following the simple procedures.  Thank you for your help.

    Original title: file transfer causes XP to hang, no error message

    Hi RobertMorouney,

    Thanks for posting in the Microsoft Community.

    In addition, how are you doing today?

    You have a problem with the computer hung on the transfer of files on Windows XP. This can be very frustrating for you, and I appreciate the efforts you have put in. Let us work together as a team and try to get this fixed number.

    Method 1-

    Step 1-

    Trying to transfer files in Mode without failure.

    Check out the link-

    To start the computer in safe mode

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/boot_failsafe.mspx?mfr=true

    Note: Make sure that you get the computer back to Normal Mode after performing all the troubleshooting steps.

    Proceed to step 2, if the problem does not occur in Mode without failure.

    Step 2-

    I recommend you perform the clean boot.

    Placing the computer in a boot minimum state helps determine if third-party applications or startup items are causing the problem. You must perform the steps in the article-

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: Make sure that get you the computer to a Normal startup after performing all the troubleshooting steps.

    Method 2-

    I wish that you run a Chkdsk command on the computer.

    Check out the link-

    How to perform disk error checking in Windows XP

    http://support.Microsoft.com/kb/315265#Method1

    Note: The Chkdsk command will try to fix bad sectors on the hard drive. All the data on these sectors may be lost. The computer could go to a State no boot as well. Proceed at your own risk.

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

  • HP Pavilion p6-2069sc: computer hangs during the HP splash screen

    Hello.

    I plug an ASUS GeForce GTX STRIX 750Ti to use in my Pavilion P6 - 2069sc, but when I start the computer after installing my GPU, the screen hangs on the blue HP startup screen.

    When I try to hit the ESC key to enter the BIOS or any other keys it comes just a beep of the machine.

    It is a long beep every 20 seconds or so from the computer.

    When I use the integrated graphics card, everything works as they should.

    I already upgraded to 550W 300W POWER supply

    Because your computer has been manufacturer Sept 2011, there Legacy BIOS.  The latest vBIOS UEFI was initiated at the HP units at end of 2012.  That said, either you stay with a Legacy BIOS GPU card, or choose a dual hybrid card BIOS.  The GTX 660, or GTX 670, all of which are two high-end of the legacy card would be far superior to the GTX 750Ti.   All the current hype is looking for a lower quality card, the 750Ti, based on the more low power and some GTX offering a BIOS hybrid via Select manufacturer. The Asus could not be hybrids, as you can testify.

    http://www.hwcompare.com/17301/GeForce-GTX-660-vs-GeForce-GTX-750-TI/ 450W SS6

    http://www.hwcompare.com/17306/GeForce-GTX-750-TI-vs-GeForce-GTX-670/ 550W PSU

    http://www.GeForce.com/hardware/desktop-GPUs/GeForce-GTX-660/specifications

    Based on your existing new POWER Pack, (hopefully a quality unit), 660 GTX would be good.  In my humble OPINION, an EVGA GTX 660 is better based on your power supply of the system. Please call EVGA for re - check a Legacy BIOS.

    PS I have a EVGA GTX 660 and 670 in my BIOS Legacy of <>towers.  I tried an ASUS, but he did not have an ASUS motherboard. Strange, but ASUS check the fault has his own card. Cost me $50 return shipping cost, so Please check with any manufcacturer.

  • HP Pavilion 23: computer hangs during the boot process

    Computer updates been made 2 days ago and has frozen black screen. Now does not start at the top. Starts the process and then freezes. He did start once yesterday and was going well for a few hours, then got a message saying computer had a problem.

    Error message:

    SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (atikmdag.sys)

    Now back to not start upward again, hangs with the HP logo on the screen.

    Hi there @ldgie25.

    That the Forums are with you!  I understand that, after a few updates, your computer does not start correctly and freezes on the HP logo.   I'm happy to help you with this.

    Since it was started once, but then had a blue error screen, I suggest using the computers HP - use Microsoft System Restore (Windows, 10, 8).   Follow the instructions in the section «restore your computer when Windows is unable to boot normally»  See if it will start normally after the restoration. If yes then you probably want to prevent the offending update to install again.

    Please see the following for how to do this:

    How to temporarily prevent an update for driver reinstallation of Windows 10 - support.microsoft.com

    How to uninstall and updates to block and drivers on Windows 10 - howtogeek.com

    Please let me know if it works for you and if it does not solve your problem, please mark this message as a solution. Bravo would be appreciated as well.

  • Computer hangs during the installation of updates (I have to install 64)

    What should I do when I cannot yet download or update anything without my computer freeze or lock up on me.

    Hi floridahmbdy,

    Check if an error message or error code listed in the event viewer, you can check the link below:http://windows.microsoft.com/en-us/windows7/What-information-appears-in-event-logs-Event-Viewer

    Try the methods below:

    1. start the computer to boot and check if you are able to install the update to Windows. Link below will help you to start the computer in clean boot:http://support.microsoft.com/kb/929135

    Make sure that you reset the computer in normal mode in step 7.

    2. you can also try the steps from the link below: the problems with the installation of the updates:http://windows.microsoft.com/en-us/windows7/Troubleshoot-problems-with-installing-updates

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The computer hangs during startup until after latest upgrade of Windows 7

    My new Dell has a little less than 3 months and so far has worked like a dream. It runs Windows 7. The latest Windows updates, which there were 3 were installed as I stopped last night. When I booted the pc this morning he hooked up with the following message: "Operation Applying 51 51 (\Registry\Machine\Components\...) update".

    The pc reacts more than anything, so finally, I manually turned off and restarted. The system returns to a previous Restore Point. Later in the day, I turned off the pc how he downloaded 3 updates (probably the same ones again) and the same problem occurred when restarting later. The pc is running McAfee SecurityCenter, which has been pre-installed again.

    Please can anyone help with advice for this problem?  Thank you.

    Peter

    Consider yourself lucky.

    Because this update was 'critical', he went ahead and downloaded itself last night while I was asleep.

    I woke up this morning to a glorious flashing cursor whenever I try to start.  My computer still runs beautifully, now it does not even start.

    Thank God for this update, otherwise I might be able to get for the photoshops I was working on that.

    Before restoring personal windows comes to talk here about starting of system restore and all the other _ with windows that never worked for me once, I already tried it.

  • The computer hangs during the analysis of Microsoft Security Essentials. Error checking: 0x0000007f

    Hello.

    My computer - windows 7 x 64 SP1 - is now fallen down several times all by performing a full scan of the system with Microsoft Security Essentials. This is the last event:

    Log name: System

    Source: Microsoft-Windows-WER-SystemErrorReporting
    Date: 28/02/2016 13:20:17
    Event ID: 1001
    Task category: no
    Level: error
    Keywords: Classic
    User: n/a
    Computer: GAMUT
    Description:
    The computer was restarted after a bugcheck.  The bugcheck was: 0x0000007a (0xffffffffc0000185, 0x000000010495a880, 0xfffff6fc500110e8, 0xfffff8a00221da3c). A dump was saved in the: C:\Windows\MEMORY. DMP. Report ID: 022816-17986-01.
    The event XML:

     
       
        1001
        0
        2
        0
        0
        0 x 80000000000000
       
        636121
       
       
        System
        RANGE
       
     

     
        0x0000007A (0xffffffffc0000185, 0x000000010495a880, 0xfffff6fc500110e8, 0xfffff8a00221da3c)
        C:\Windows\MEMORY. DMP
        022816-17986-01
     

    You can access the minidump here: https://www.dropbox.com/s/shogzx1tvdqh904/022816-17986-01.dmp?dl=0

    Can you help me? I don't know how to parse this file to understand what the problem is.

    Thank you!

    92 KB in bad sectors.

    You should check this number against the future reports. It will not reduce, but if it increases, you need to back up on external media and replace the disk.

    Cleaning of unused 161 entries index $SII of file 0x9.

    Cleaning of unused 161 entries index $SDH of file 0x9.

    Cleaning of 161 unused security descriptors.

    It is a problem less than bad sectors. If you get these errors, you must test the drive using the drive manufacturers test utility.

    Model Hitachi HTS543232A7A384 ATA Device

    IBM - Hitachi Drive Fitness Test 4.16

    http://www.MajorGeeks.com/files/details/ibm_hitachi_drive_fitness_test.html

  • Computer hangs during the update of Windows 8

    My laptop recently posted a message saying that he would automatically restart in 15 minutes to install a Windows Update.  After 15 minutes, it restarts and a screen will appear that says "Configuring Windows updates.  Do not turn off your computer. "He started to install, then stalled to the point 13%.  I rebooted several times, and it keeps the timing at this point.  I can't go past this screen for something else, so I have no use of the computer right now.  Y at - it a fix for this problem?  Thank you.

    Hi Rebannle,

    What is the brand and model of your computer?

    This problem may be caused for the following reasons:

    Conflicts of hardware/software.

    System files are corrupt.

    You can see the steps from the following thread that was answered by MikeSimmonsUK on November 7, 2012, that will help us solve the problem.

    Windows 8 updates stuck at 13%. (NOTE: laptop HP - audio drivers)

    If the problem persists, you can also see the steps in the following Microsoft article: Windows Update crashes when installing updates in Windows 8, Windows 7, or Windows Vista

    Notes:

    When you perform the System Restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    When running at Refresh: the applications that came with your PC or you installed on Windows Store will be reinstalled, but all the apps you have installed other Web sites and DVD is deleted. Windows puts a list of applications on your desktop after you refresh your PC.

    Keep us informed on the status of the issue.

Maybe you are looking for

  • Satellite Pro A120 hangs sometimes

    Hello I've had my Satellite Pro A120 for a little over a month now, and during that time, he has frozen maybe five or six times. This is the type of crash response system, which completely stops can be recovered by using the Task Manager to end the p

  • Satellite Pro L300 create backup disks, TRDC Launcher error window

    Error messages saying "no HARD disk recover space! "\n the Toshiba Recovery Disk create cannot be launched. This is a brand new machine and tried to make a backup of performed complete recovery, there were leaving them 1 C: Can anyone help? Thank you

  • Convert Ascii FF FF Hex

    I have a serial device that returns a hexadecimal number but in ascii format (!). For example: Instead of return FF0A (seen in a hexadecimal display value chain indicator), it returns ff0a (such as seen in a chain flag set to normal view). But the da

  • PC Cleaner is included with Microsoft Security Essentials?

    PC cleaners is a part of most of MS? McAfee stopped installation when PC cleaners has been detected during installation. It seems to be in the XP Directory for security. Is this normal? or is malware PC cleanup?

  • How to delete a backup image of the computer?

    Last week I had to format my hard drive of the PC (I won't go into details, but a certain SQL Server 2008 SP1 was the culprit). I reinstalled Windows Vista Ultimate 64-bit and spent 5 days to install my apps and all the updates of windows (SQL Server