Open serial port each time to communicat​e

Hello,
I am upgrading an old serial I/O communications system. With the old system, any communications were begun by re-opening the serial port and getting a new visa resource name. The old visa resource name was never closed, but new names were continually created. In the new communications I only open the port once and use the same visa resource name. The trouble is that the new system is incredibly slow, taking almost 3 seconds to complete a message.  Note: prior to reading, I do query for number of bytes at the port and then read the corresponding amount. The old system is much, much faster. Why?
Many thanks,
Steve

Hello,
Here is a copy of both communications vis. The old one works much faster, I don't know why.
Thanks!
Steve
Attachments:
OLDSend&Recieve Data.vi ‏41 KB
NEWSend&Recieve Data.vi ‏40 KB

Similar Messages

  • Adobe lightroom asking for serial number each time I open it. Any suggestions?

    I just downloaded Lightroom 5 and updated to 5.7 when prompted on completion of the process. I now have to input the serial number each time I open the programme. Is there any thing I can do, restarting the installation for example, to try and get round this problem?

    I have the same thing happen to me. Every time I start Aperture, it asks for the license. Once I have entered the license key it lets me use the application. However, the next time I use the application again, i get the same problem. I have tried reinstalling the application, and am asked for the license key at the beginning of the install and again once the package is started. To no avail. And I get no other messages.
    I called Apple Support, and after booking a call with a support person (a Genius?), I got one who, after reading the summary of my problem in the service request, said simply "this is for Aperture? Aperture is a Microsoft product, you have to call Microsoft". And that was that.
    Please, anyone have any ideas?

  • Can't open Serial port in notebook (use Serial to USB)

    OTL
    use Serial to USB and java communication 2.0, windows 2003
    and notebook which has no RS232C port
    testing desktop it is done.
    notebook does not work....
    How can i open serial port in notebook ...

    Saludos
    tengo el mismo problema, aunque he encontrado algunas
    API pero solo tienen soporte para LINUX:
    * jsr80 y
    * jUSB API
    Si tienen alguna solucion haganmela saber.In English via Babelfish (and a little common sense), in case anyone knows a solution:
    Greetings, I have the same problem, although I have found some API but they only have support for LINUX:
    * jsr80
    and
    * jUSB API
    If they have some solution I'd like to know.

  • Does anyone have issues opening itunes? each time i open i'm shown the 'agreement' box

    Does anyone have issues opening itunes? each time i open i'm shown the 'agreement' box and have to click on agree, then set up my page each time

    mandpw wrote:
    I'm running McAfee, but this is a brand new problem.  Never happened until last ITunes update.
    because McAffee doesn't like the new iTunes update.
    Post over in their (McAffee) support.

  • Unable to Open Serial Port

    Hi I am trying to write to an ADAM 4571 Ethernet to RS422 converter. Using the software provided by the vendor Ver. 1.49. I can setup the device properly, than configure it as a virtual com port. The problem is LabView sees the port but can not open it. Visa Open Fails every time. There is very little information about this problem.
    Thanks,

    Hey Thanks for replying so fast. I know the error code would be helpful, but I don't have access to the equipment at this time. Let me tell you a little more history; Two different computers one is a laptop, has the runtime LabView 11 SP1, NIDAQ951f1_downloader and niser370 installed.  This machine the software works as it should running an executable. The second computer has LabView 11 SP1 Developer installed. This is the development station, this machine is the one that I can not open the Virtual com port. Vender software is installed on both machines and configured the same. The executable source code will not run on the development computer. It fails when it tries to talk to the serial port. To trouble shoot this problem I opened a blank VI dropped Visa Open and Visa Close in it wired a control to Comport selection and indicator to error out, connected error terminals and com out to com in. The error said that it could see the com port but could not talk to it. This error was generated by the open routine.

  • Does not open new tab each time

    I want to create a new tab each time I click on a link. I always have to click on new tab and sometimes it still doesn't create a new one just opens it in the same tab.

    You can middle-click normal links or press and hold Ctrl and left-click a link to open the link in a new tab. Links that do not specify a target window are always opened in the current tab.
    *Tab Utilities: https://addons.mozilla.org/firefox/addon/59961
    *Tab Utilities Lite: https://addons.mozilla.org/firefox/addon/62581
    *Tabberwocky: https://addons.mozilla.org/firefox/addon/14439
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/1122

  • I have installed Apache Open Office. Each time I try to open, I have to go into security preferences. How can I get it to download and show up in my launchpad that I don't have to download everytime I use it?

    I have unlocked it each time, relocked it and each time I go to use the program, have to go through this procedure. How can I get it downloaded to stay downloaded since it is from an unidentified developer?

    You need to install it - just downloading does not necessarily install it. If you double click it, does it open an installer window? Or, can you simply drag it into your Applications folder (if it is not showing in Launchpad)?
    FWIW, your downloads folder is just a temporary "holding" place for your downloads - once you have installed applications or moved other files where they belong, you can empty that folder.
    PS - If this is what you downloaded, it is a disk image (.dmg) which means you need to double click it; you then need to move the icon and install it.
    Out of curiosity: is it working well? I'm curious because it is rather dated software.

  • Can't open serial port

    I don't know what I've done.
    When I try to open COM1 I get:
    "Error -1073807202 occurred at Property Node in VISA Configure Serial Port (Instr).vi->Untitled 1
    This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input."
    "VISA FInd Resources" reports 0 resources found.
    any ideas?

    It should show up in Measurement and Automation Explorer (MAX) click the Software folder to expand it, then click on NI-VISA. It should show the versions installed in the right panel.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Apple Remote Desktop Requiring Serial Number Each Time....

    Apple Remote Desktop Admin has suddenly started asking for the serial number every time it is launched. I tried uninstalling and reinstalling - same thing. Last time this happened it required a full reimage of my Mac to get it to work again. This is getting a bit ridiculous. I am running ARA 3.2.2 and Mac OS X 10.5.6. FYI my uninstall was by the book as per Apple's documentation:
    rm -rf /var/db/RemoteManagement
    rm /Library/Preferences/com.apple.RemoteDesktop.plist
    rm ~/Library/Preferences/com.apple.RemoteDesktop.plist
    rm -r /Library/Application Support/Apple/Remote Desktop/
    rm -r ~/Library/Application Support/Remote Desktop/
    rm -rf /Applications/Remote\ Desktop.app
    Has anyone else had such a problem with the current version of ARD?
    Thanks.
    Macbook Pro 2.8 Ghz 4GB RAM 10.5.6

    hd/Library/Preferences folder had read only privs for Amin user..
    followed these instructions for my audiable.com issue, and it resolved my ARD problem!
    http://audible.custhelp.com/cgi-bin/audible.cfg/php/enduser/popupadp.php?p_sid=undefined&p_lva=undefined&p_li=undefined&p_faqid=2962&p_created=11 30971116&psp=undefined#osmac
    search Audible Activation Loop at audible.com

  • Serial port access time slows in version 6 to 7 upgrade

    Hi - I am in the process of upgrading an project from LV 6 to LV
    7,  the serial port access works well in LV6 but after the
    upgrade, the serial port access is slow in LV if the application is
    compiled into an exe.  We are running Windows 2K on all machines
    and have installed the LV7.0 runtime engine on the PC that is running
    the executable.  If I run the application on a machine that has
    the full LV7.0 development  software on it, the executable runs
    just like it used to under LV6.0
    What am I forgetting??  The application is built into one exe that
    has all of the sub vi's included.  I have checked the box on the
    application builder that says included serial port support.
    Help! - We have 3000 PCBs sitting in manufacturing waiting to go to test until I solve this problem
    Thank you

    Hi
    I just recently finished a project in which I had to upgrade code from LV 6 to LV 7.1. After I did that the serial port actually worked but all the Fieldpoint devices that were connected to the system didn't work. The problem ultimately was the NI Fieldpoint Drivers. After I installed the newest drivers from NI everything worked perfectly. I don't know why your problem is occurring, but I wanted to reasure you that there isn't a problem with the serial ports when upgrading to LV7.1 (I don't know about LV7).BTW, I had LV6.1 development system installed on the computer, but didn't have the LV7.1 (All I had was an EXE file).
    So, try installing the newest drivers. Maybe that can help.
    Ami 

  • TS2518 Aperture requests my serial number each time I open it

    I recently upgraded my MacBook Pro and OS - it's now 10.7.5 - and my version of Aperture seems to be the latest version - 3.4.4  Now, every time I load Aperture, it demands my serial no., name, etc.  Is there a fix?  From skimming the Apple site, it seems that version 3.4.3 was supposed to correct this problem.
    Thanks you.

    Stanley,
    just to be sure  - you looked in the System Library directly on your MacintoshHD and not in the Library in your Home folder?   And the ProApp System ID is missing?
    Sometimes Aperture writes this file to a temporary directory, when it cannot write to the Library. If the above does not work, look at the temporary directory /tmp
    Use the Finder's "Go" menu
      Go > Got to folder    and  enter /tmp into the textfield. If you see the file there, move it to its proper location in /Library/Application Support/ProApps
    Regards
    Léonie

  • We need to open the connection each time you read a message from the queue?

    Hi
    I have a doubt regarding my queue read data that contains those I create a session and connection.
    Whenever I do this or you can create a connection and get all data from the queue and then close the connection and session
    eg. I have 1000 files in the queue and I read all files but without creating a session and a connection every time you get a single figure, this can be done?
    I read the 1000 files without having close the session or the connection
    thanks for the help.

    I answered myself.
    No need to open a connection and a session each to be read from a data queue to extract the entire contents of the queue with only one session and open a single connection.

  • Aperture requires the serial number each time

    I transferred all the data and apps from my old 24" iMac to my new 27". Now every time I start Aperture, it demands that I input the serial number again.

    Pro Applications do not migrate well. The first thing to try would be to reinstall Aperture; then it should suffice to enter the serial number once more, from and administrator account.
    You may have migrated an old ProAppSystemID file, that needs removing, check, if you still have an old file "ProAppsSystemID" in your System Library.
    Quit Aperture.
    Go to your MacintoshHD and open the folder "Library", then "Application Support", then "ProApps".
    Remove the File "ProAppsSystemID" to the Desktop, if it exist and restart Aperture.
    Reenter your serial number, hopefully for the last time.
    Sometimes Aperture writes this file to a temporary directory, when it cannot write to the Library. If the above does not work, look at the temporary directory /tmp
    Use the Finder's "Go" menu
         Go > Got to folder    and  enter /tmp into the textfield. If you see ProAppsSystemID there, move it to its proper location in /Library/Application Support/ProApps.
    Aperture must be running, and you will have to wait a few minutes to be seeing the file appearing the /tmp directory.
    Regards
    Léonie

  • Opens same PDF each time, regardless of the file.

    I use a website where I can view my past purchases as a PDF. The first PDF I look at opens fine. If I close that and view another PDF, the previous PDF is displayed. It is like the first PDF I view sticks in the cache or something and it always is displayed whenever I open another file. If I go away for 15 minutes and try again, it works. But then the problem repeats.
    I have tried reinstalling Reader and clearing my temp files.
    Any help would be appreciated!

    a) Open the document with it's password.
    b) Pick "Duplicate" from the File Menu
    c) Pick "Save As..." from the File Menu.

  • How do i set the home button to refresh open tabs instead of opening new ones each time i click on it

    Everytime i click on the "home" button, FF 3.6 opens my three home pages as three new tabs. If i click twice, it opens three more. In IE, if i click the home button i have a choice to either refresh the three tabs starting with which ever one is open (for example, if my second tab page is where I am, that becomes home page #1 and so forth) OR i can select the specific home page i want to return to via a drop down.
    At a minimum, I'd like to set my home button to just open using currently open tabs and not appending. It must be possible b/c DH's FF browser does not do this. What am I missing?

    The best way to keep your home page in the tab is to open other links in a new tab with a middle-click.<br />
    Clicking the home page always open a new set, so you would have to close the current tabs first to prevent getting multiple home page sets.<br />
    I don't know if there is still an extension that can open the home pages and replace the current set.
    See also:
    *https://addons.mozilla.org/en-US/firefox/addon/multiple-tab-handler/

Maybe you are looking for