Error -107380724​6 when trying to control a circulator in Labview via RS-232

Hi, I'm trying to control an F32 refrigeration/heating circulator through LabView via an RS-232 cable but am having trouble. I keep getting the error - 1073807246 at property node (arg1) in VISA configure serial port. What does this error mean and how can I correct it? I have already specified the values for Baudrate (4800), parity (even), handshake (RTS/CTS), data bits (7), and stop bit (1).
Thank you,
Hung

It is rare to get a timeout when writing. I usually get this when I am reading a port. What value did you use for the timeout when you configured the port? I think the default is 10,000 ms, i.e. 10 seconds. If it were timing out, you would notice the code hanging for 10 seconds as the serial I/O function tries to run to completion.
To avoid timeouts, check the following in your code.
1) Make sure the configured timeout is long enough to handle the data stream sent on your write. If you are sending a long stream of data, you should test the time it takes and make sure the timeout is larger than the longest time for your longest data stream.
2) When you are reading a port, make sure the number of bytes you request is equal to or smaller than the number of bytes being sent from your serial device hanging on the other end of the cable. Otherwise, it will always use the entire alotted time (the timeout value) attempting to read the data.
3) Verify that the response time of your device is not abnormally slow. Some devices don't interrupt processes very quickly. In fact, some devices put a very low priority on the serial port and may not respond at all while executing certain functions. You need to set the timeout value to be long enough to account for the device's response time when reading a response from your device.
If you don't know what to use as a timeout value, always start with a long one and try to handle timing variations in your code, e.g. read or write the data in chunks perform sanity checks as you go. Long delays in the response of your code will point you to a bug in the handling of serial port communications. You will get a long delay everytime the serial command cannot complete due to an unreasonable request, e.g. telling it to read 100 bytes when the device can only return 16 bytes for the requested command.
You can use the NumberOfBytesAtPort property to help you determine when data is available for reading. Also, in a loop that may be used to poll a serial port, try to use a wait (the wristwatch timing function). This keeps you from pummeling the serial port to hard with futile requests.
Another good way to avoid serial timeouts is to use a termination character. If your device always expects a as the last character in a command, or if it always sends a as the last character in a response, then configure your port to terminate a transmission automatically upon receiving the character. I think the default termination character is (linefeed character) it you elect to enable this feature in your configuration.
jc
Mac 10.4
LV7.1
CLD

Similar Messages

  • Why is this error shwoing up when trying to acquire an image in labview?

    Error -1074396120 occurred at IMAQ AVI Write Frame
      Not an image.
    Possible reason(s):
    IMAQ Vision:  (Hex 0xBFF60428) Not an image.
    This error keeps showing up when i try to acquire an image and save it. the VI being used is attached.
    Attachments:
    ImageAcq.vi ‏49 KB

    Hi bonesaw,
    You're getting this error because the IMAQ AVI is expecting the image type to be the same as what you had specified at the beginning (using the IMAQ Create.vi). At the moment you have wired the channel number to the image type terminal of the IMAQ Create.vi. You should change that property to Image Type instead of Channel.

  • Error about HKEY_LOCAL_MACHINE when trying to install QuickTime 7.2

    This is the error I receive when trying to install Quicktime: "Could not open key: HKEYLOCALMACHINE|Software|Classes|QuickTimePlayerLib.QuickTimePlayerApp|CLSID. Verify that you have access to that key."
    I have manually edited the Regedit permissions to include all, restarted the computer, and tried again... get the same Error message. I have also uninstalled both iTunes and QuickTime first, and used a Windows Cleanup utility.
    Thanks, Merber

    If you go to Start>Settings>Control Panel and open the User Accounts control panel. Does the account name that is being used to log onto the computer, appear in there as a Computer administrator? Also if you right click on CLSID go to Permissions>Advanced>Owner, is this account name showing up in there?

  • Error code 306 when trying to connect to apple store

    error code 306 when trying to connect to apple store

    Refer here from Apple Article:
    iTunes Store loads partially or returns "Error 306" or "Error 10054"
    Proxies, parental control settings and software, security or filtering software, or a bad iTunes Store cache can cause this.
    To address proxies, Remove Internet Options proxy settings and connect to the Internet without a proxy.
    To reset iTunes Store cache:
    In iTunes, choose iTunes > Preferences (Mac) or Edit > Preferences (PC).
    Click the Advanced tab.
    Click the "Reset cache" button.
    Click OK and see if the issue is resolved.
      Adjust Parental Controls in iTunes: 
    Open iTunes.
    Access iTunes preferences: 
    On a Mac: From the iTunes menu, choose Preferences.
    On a Windows PC: From the Edit menu, choose Preferences.
    Click the Parental Controls tab.
    Remove restrictions on Parental Controls.
    For more information on parental controls or content filtering software, see iTunes 10.5 for Windows: May see performance issues and blank iTunes Store.
    For more information on other security software, see iTunes: Troubleshooting security software issues.

  • Unknown error occured (310) when trying to connect to itunes store

    Unknown error occured (310) when trying to connect to itunes store

    This is probably due to a connection error.
    I fixed this by navigating this route:
    Control Centre > Network and Internet > Internet Options > Connections Tab > LAN Settings > Untick proxy server box (if ticked).
    Hope this solved your problem!

  • I keep getting the message "An unknown error has occurred" when trying to sign in to the App Store. Why?

    I keep getting the message "An unknown error has occurred" when trying to sign in to the App Store. How do I solve this problem?

    Make sure you have the correct country selected. Click the round flag icon bottom right side of the App Store window.

  • HT201303 An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...

    An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...

    urgh... just noticed my previous post said i have mountain lion... i meant that i have snow leopard.  no idea why i messed that up!
    anyway, i just tried reinstalling snow leopard from the usb key that came with the computer. Then, I installed software updates until it told me there were no more updates. After that, I tried the app store again, and it still is giving me the unknown error. really irked by that. may have to take it back to the apple store yet again, to see if i can figure out why the app store won't work.

  • Error: Invalid Password when trying to sign in on any wireless devise

    Error:  Invalid Password when trying to sign in on any wireless devise
    I even reinstalled my WRT110 to be sure of the Network Name and Password but I still get this error.  I have never been able to log in to the wireless network.  I can see it - Ienter my password and still "Invalid Password"

    I don't understand this: Connect directly to the router.  Is this the http://192.168.1.1?
    I  HAVE changed the network name, I HAVE changed the password.
    I still get invalid password!!!
    I am extremely frustrated by all this.  I need simple instructions.  I followed them when I set the friggin thing up, I reinstalled.  I know what my friggin password is - why why why?

  • File Error: Unknown File when trying to render a Motion Lower third

    I'm getting this: "File Error: Unknown File" when trying to render a Lower third made in the Motion tab. I'm using FCP 6.0.6 and haven't had any issues with this before. It seems to work fine if there is just text, but as soon as I apply any effect, like a drop shadow, I get that error message.
    Thanks,
    Joe

    What's the exact format of the video you're working with and the exact specification the sequence you're editing in?

  • I'm getting an error code (A12E1) when trying to install Creative Cloud for photographers. Agraphers

    I'm getting error code A12E1 when trying to install the Creative Cloud app for photographers. Can anyone help me get installed?

    Hi Redrock,
    Could you try the solutions described here:
    http://helpx.adobe.com/creative-cloud/kb/a12e1-error-downloading-creative-cloud.html
    Thanks,
    -Dave B

  • TS3258 I get error message -42408 when trying to download itunes update 11.0.2 and thus can not upgrade to latest version.  What should I do?

    I get error message -42408 when trying to download itunes update 11.0.2 and I therefore can not update to that latest version.  What can I do?

    Hey there davidgor2!
    I have found an article that should help you resolve this issue with updating your iTunes. The article can be found here:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    and the specific part of the article you will want to look at first is right here:
    "Error 42023" through "Error 42408"
    These alerts might occur when trying to authorize iTunes or during launch when iTunes checks for authorization information.
    Install the latest iTunes from apple.com/itunes/download/
    Remove the SC Info folder.
    If that does not resolve the issue, see iTunes: "Error 42408" or "Error 42404" after upgrading to iTunes 9.0.3.
    Thanks for using the Apple Support Communities!
    Regards,
    Braden

  • I get error message 42032 when trying to connect an iPhone to iTunes. Any ideas how to fix it?

    I get error message 42032 when trying to connect an iPhone to iTunes. Any ideas how to fix it?

    Did you already try these suggestions?
    Check USB connections
    Related errors: 13, 14, 1600-1629, 1643-1650, 2000-2009, 4000, 4005, 4013, 4014, 4016, “invalid response,” and being prompted to restore again after a restore completes.
    If there’s an issue with the USB port, cable, dock, or hub, or if the device becomes disconnected during restore, try troubleshooting the USB connection, then troubleshooting your security software.
    To narrow down the issue, you can also change up your hardware:
    Use another USB cable.
    Plug your cable into a different USB port on your computer.
    Try a different dock connector (or no dock).
    Add (or remove) a USB hub between your device and computer.
    Connect your computer directly to your Internet source, with no routers, hubs, or switches.
    If you checked your connections and are still seeing the error message, check for hardware issues.
    copied from Resolve specific iTunes update and restore errors

  • When trying to work with Agilent 34401A multimeter (serial RS-232 connection), HP34401A Getting Started.vi gives always the message: "Error 1073807369 occurred at Old VISA Open ".

    Baud rate and parity are set correctly, RS-232 cable is also connected correctly. My QuickBasic program has no problems to read and write to the Multimeter. It is obviously a software problem: the same error is persistent if I disconnect RS-232 cable.
    I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm digital.ni.com and installed it. But it did not help.
    Thank you in advance
    Best regards
    Alexei Soloviev

    Hi Steve
    I have problems with the 34401A and serial communication. Do you remember
    where the error was in the code ?
    Thanks
    Klaus
    wrote in message
    news:[email protected]..
    > Alexei,
    > This may or may not help, I was tasked to do something similar
    > recently and found an error in their driver. The GPIB VISA worked
    > fine, but when I tried it on serial it played up. There was an errant
    > carriage return (or CR/LF I can't remember). GPIB liked one and Serial
    > liked the other. It always amuses me that we never have problems with
    > Quickbasic!.
    > If you want me to dig deeper give me a shout.
    >
    > Steve Watts
    >
    > On Thu, 24 Jan 2002 06:16:55 -0800 (PST), "Alexei V. Soloviev"
    > wrote:
    >
    > >When trying
    to work with Agilent 34401A multimeter (serial RS-232
    > >connection), HP34401A Getting Started.vi gives always the message:
    > >"Error 1073807369 occurred at Old VISA Open ".
    > >
    > >Baud rate and parity are set correctly, RS-232 cable is also connected
    > >correctly. My QuickBasic program has no problems to read and write to
    > >the Multimeter. It is obviously a software problem: the same error is
    > >persistent if I disconnect RS-232 cable.
    > > I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm
    > > digital.ni.com and installed it. But it did not help.
    > >Thank you in advance
    > >Best regards
    > >Alexei Soloviev
    >

  • How do I fix the 4900 error I get when trying to burn a cd in itunes?

    how do I fix the 4900 error I get when trying to burn a cd in itunes?

    We are having the same issue.
    Windows 7 x64
    Microsoft Office 2013 (Word)
    Adobe Reader XI (11.0.0)
    Whenever someone tries to embed a PDF file into a Word document, the following error occurs:
    The program used to create this object is AcroExch. That program is either not installed on your computer or it is not responding. To edit this object, install AcroExch or ensure that any dialog boxes in AcroExch are closed.
    I have looked at alot of articles online that say to 'Disable' Protected Mode.  This does not resolve the issue.  This option is not set by default in our environment.
    Do we have any confirmation or information from Adobe on this issue? 

  • I am getting error code 0x8002006E when trying to burn a DVD

    Hi, I am running the latest Lion update, on my MB Pro, and keep getting the error code 0x8002006E when trying to burn a DVD. Could this be a dirty lens issue in the drive. I see that many others have had the same problem, but relly cant seem to find anyone that has a solution that works.. Help

    marobinson58 wrote:
    keep getting the error code 0x8002006E when trying to burn a DVD.
    It's an error thrown by Mac OS X's DiscRecording framework (as opposed to an error communicated by the drive's firmware). The message is (as you probably saw)
    "The burn failed because of a medium write error."
    Could this be a dirty lens issue in the drive.
    I don't think there's one single cause for this error. It might be a dirty lens. It might be something else. Not all recordable optical discs work well with all burners. Try a different brand.

Maybe you are looking for

  • Windows 8.1 Custom Tiles - Deploying SCCM 2012 R2

    Confused. In Hyper V, I created a Windows 8.1 Enterprise image while in sysprep audit mode. I configured the tiles exactly how I wanted them. Captured the image and deployed.  When I login, the tiles are all set to default. Found a Microsoft site tha

  • IPod Classic Ear Phone Problem

    Using Apple or Klipsch ear phones, right ear bud does not work. Any suggestions?

  • BI Publisher 11g - any classes being offered on this?

    Are there any plans to offer training classes on 11g? Edited by: user721036 on Sep 27, 2010 2:42 PM

  • Create Object with "Photoshop.Application"

    Cannot create an object reference to Photoshop CC using Excel 2011 and vba, is there missing files with the standard installation?

  • XML-Beans or JAXB?

    Folks, I'm maintaining a map building webapp which is a few years old now. The user navigates up to a dozen HTML forms which build up a "profile" of the required map. The webapp sends the complete "profile" to a "mapping" tuxedo service, which builds