Why do I get Network Streams Error -314351 (xFFFB3411​)?

I've had network streams working great (love them!!) for a while with a type def cluster of some numerics and strings.  I've changed the type def numerous times and haven't had a problem.  The last time I changed it, however, I started getting this error from the "Write Single Element to Stream" primitive.
"LabVIEW: Unable to read or write the stream endpoint with the specified data type.  The data type isn't compatible with the data type used to create the stream."
I don't get an error when I initialize the stream with "Create Network Stream Writer Endpoint".  Yes, the same datatype is being passed to both primitives.  It's the same code that has worked hundreds of times until now.
My best guess is that the Network Streams Engine is somehow caching the old datatype.  I've restarted both the local and remote (LV RT) computers multiple times, to no avail.
Maybe this is a red herring, but I'm using LV 2010 SP1 with LV RT 2010 (no SP1).  The computer is in another state and not easily upgraded, but I'm working on that as a possible solution.  I doubt that's the problem, however, since it has worked up till now.
What would cause me to get this error even though I'm using the same type def for both the initialize and write?
Robert C. Mortensen
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Endigit
Solved!
Go to Solution.

Hi Robert,
It very well might be that the Network Stream is somehow still registering the old data type. If this is the case, try deleting the Create Network Stream, the Write Single Element, and one of the type defs. Then, place down a new Create Network Stream and Write Single Element, and ensure that it's a copy of the type def. that you're wiring for both the initialization and the write. If replacing the Network Stream VIs fails to do the trick, I'd like to see if I can't replicate the error your getting on my end. To replicate your setup, can you tell me the data type of your type def.?
On a final note, I searched through the 'Known Issues' for LabVIEW 2010 and 2010 SP1, and found that there is a known issue which might help explain the error you're receiving:
233205
Network Streams do not support enums, data types w/ units, substrings, subarrays, & fixed-size array...
Sanjay C.
Embedded Software Product Manager| National Instruments

Similar Messages

  • Why did text message freeze? had to turn off phone and restart it to work. plus why do i get network errors on facebook app?

    why did text message freeze on my iphone4s? had to turn off the cell then turn on to work normally again. plus why do i get network errors on my facebook app?

    why did text message freeze on my iphone4s? had to turn off the cell then turn on to work normally again. plus why do i get network errors on my facebook app?

  • Network Stream Error -314340 due to buffer size on the writer endpoint

    Hello everyone,
    I just wanted to share a somewhat odd experience we had with the network stream VIs.  We found this problem in LV2014 but aren't aware if it is new or not.  I searched for a while on the network stream endpoint creation error -314340 and couldn't come up with any useful links to our problem.  The good news is that we have fixed our problem but I wanted to explain it a little more in case anyone else has a similar problem.
    The specific network stream error -314340 should seemingly occur if you are attempting to connect to a network stream endpoint that is already connected to another endpoint or in which the URL points to a different endpoint than the one trying to connect. 
    We ran into this issue on attempting to connect to a remote PXI chassis (PXIe-8135) running LabVIEW real-time from an HMI machine, both of which have three NICs and access different networks.  We have a class that wraps the network stream VIs and we have deployed this class across four machines (Windows and RT) to establish over 30 network streams between these machines.  The class can distinguish between messaging streams that handle clusters of control and status information and also data streams that contain a cluster with a timestamp and 24 I16s.  It was on the data network streams that we ran into the issue. 
    The symptoms of the problem were that we if would attempt to use the HMI computer with a reader endpoint specifying the URL of the writer endpoint on the real-time PXI, the reader endpoint would return with an error of -314340, indicating the writer endpoint was pointing to a third location.  Leaving the URL blank on the writer endpoint blank and running in real-time interactive or startup VI made no difference.   However, the writer endpoint would return without error and eventually catch a remote endpoint destroyed.  To make things more interesting, if you specified the URL on the writer endpoint instead of the reader endpoint, the connection would be made as expected. 
    Ultimately through experimenting with it, we found that the buffer size of the create writer endpoint  for the data stream was causing the problem and that we had fat fingered the constants for this buffer size.   Also, pre-allocating or allocating the buffer on the fly made no difference.  We imagine that it may be due to the fact we are using a complex data type with a cluster with an array inside of it and it can be difficult to allocate a buffer for this data type.  We guess that the issue may be that by the reader endpoint establishing the connection to a writer with a large buffer size specified, the writer endpoint ultimately times out somewhere in the handshaking routine that is hidden below the surface. 
    I just wanted to post this so others would have a reference if they run into a similar situation and again for reference we found this in LV2014 but are not aware if it is a problem in earlier versions.
    Thanks,
    Curtiss

    Hi Curtiss!
    Thank you for your post!  Would it be possible for you to add some steps that others can use to reproduce/resolve the issue?
    Regards,
    Kelly B.
    Applications Engineering
    National Instruments

  • How do I install the lastest Ver? Why do I get a Windows error message?

    I have Acrobat Pro 1.1.8. The Help menu command Check for Updates says NO UPDATES AVAILABLE.
    A tray message in Windows 7 (32 bit) says to SOLVE A PROBLEM WITH ADOBE ACROBAT... and it takes me to my download page at Adobe where Acrobat Pro versions 11.0.01 through 11.0.05 are listed.
    When I try to install any of the newer versions I get an error msg saying "...upgrade patch may update a different version of the program..."
    What is the latest Acrobat Pro Version? How do I install it? Why do I get the Window error message?

    Please try to install the Acrobat update manually from the following page:
    Acrobat X: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5641 (Acrobat X Pro 10.1.8)
    Acrobat XI : http://www.adobe.com/support/downloads/detail.jsp?ftpID=5643 (Acrobat XI Pro 11.0.0.4) and then
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5673 (Acrobat XI Pro 11.0.0.5)

  • Why do I get a "script error" message from Adobe flash player?  It is installed as a part of my browser.IE 11

    Why do I get a "script error"  from flash player when it is not installed separately?  It is part of my browser--IE 11

    Same error message, I disabled tab mix and made sure I only have the newest version of Java, restarted firefox, now it seems to be fine no error yet on Pogo games or pictures upload to ebay which were the biggest problems besides hanging. I had also had disabled AVG secure search yesterday but that did not solve the issue. Now I will try to add back in AVG search...I have very few adds ons, also the note embedded about re- installing a toolbar went away, my old one did not work with FF4, so I installed Yahoo toolbar but the message still did not go away until I applied this fix. Hopes this helps someone..

  • Why am I getting a mf error domain 1032 message and when I put my password in it keeps coming up?

    Why am I getting a mf error domain 1032 message when trying to get my email?  I put password in and it keeps going back to error message?

    Try what Google threw out:
    Tap Settings > Mail, Contacts, Calendar and delete your email account.
    Then tap Settings > Safari > and Tap Clear History and Clear Cookies and Data.
    Now tap Settings > Mail, Contacts, Calendar and re-enter your email account details.

  • Why am I getting a -50 error when moving music to my iTouch?

    Why am I getting a -50 error when moving music to my iTouch?

    As Jim as stated, you do not want the OS, video app, and media all competing for hard drive access.
    It may have worked before, but that doesn't mean will work henceforth, as you have learned.
    A FW800 portable drive will cost about $75.00.

  • Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Try the troubleshooting tips here:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques
    You may have something in your project on one of the slides that is tripping up the publishing process.

  • Why am I getting the following error message? You can't open the application "Microsoft Word" because PowerPC applications are no longer supported.  This is new...

    Why am I getting the following error message? "You can’t open the application “Microsoft Word” because PowerPC applications are no longer supported."  I never used to have a proble!

    Only Office for Mac 2008 and 2011 will run on Mavericks. Microsoft support for the former package ended in April 2013. If you do not want to spend the money, you might download and try the donation-ware (free) LibreOffice Suite. No ribbon bar crap. Supports about any document created on Windows.

  • Why do I get an unexpected error occured when I try to save a form as a pdf file?

    Why do I get an unexpected error occured when I try to save a form as a pdf file?

    Hi MsSunnyD,
    Try uninstalling Adobe Acrobat using the Adobe cleaner Tool  http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, try installing Adobe Reader XI. That should resolve the problem.
    Regards,
    Ajlan Huda.

  • Why do i get an "unknown error" when entering my apple id

    Why am I getting an "unknown error" message when I am trying to log into itunes with my apple id & password. Its a second mac pro and I was logged in and then logged out, now I can not log back in.. strange

    Have you tried to download anything else?

  • Why am I getting the 404 error when on pinterest?

    Why am I getting the 404 error when on pinterest?  This is happening on my iMac and macbook.
    I have tried to clear my history, tried in safari and in firefox, enabled and disabled Javascript, and allowed 3rd party sites.
    Please help!!

    No you are not alone. I tried to create an apple ID and then access the app store and itunes and got the same error code. Spoke with tech support for over 45 minutes and we tried everything. Tech support seemed to think that it had something to do with credit card registration. Suggested that I use a different credit card. I modified my account settings with a different card and still had the same errors. At this time I have no confidence that Apple has any idea what the problem is.

  • Why do I get the message "error connecting to acrobat"?

    Why am I getting the message "error connecting to the acrobat..." when I try to open a pdf file from the internet? I have the adobe reader installed on my tablet. This is something that just started happening. I did not have this problem before. I hope that someone can help.

    Hi,
    Thanks for writing to us. Are you able to view the file after this message? Is this message coming every time when you are trying to open a file from internet? If possible please share the file or link from where you are trying to open this file with us on  [email protected]  so that we can resolve the issue you are facing.
    Thanks,
    Shefali

  • I keep getting network connections error when downloading update for iPhone 4. Any suggestions?

    I keep getting network connections error when downloading update for iPhone 4. Any suggestions?

    I think I solved the problem by initiating the update in a different way, from the itunes panel where I can click to start the update, instead of saying yes when asked if I want to update when itunes launches in response to the iphone being plugged into the computer.

  • Why do I get a -2146959355 error in report subVI

    When running the attached VI within LabVIEW 6.1 I get the reported error in the Set Report Font subVI. When I build an executable from the very same VI it runs without an error. Why do I get the error within LabVIEW?
    Attachments:
    VVPTS_Print_Err_Rpt.vi ‏186 KB
    Print_Test.exe ‏382 KB

    Rick,
    Your VI was missing one of the subVIs, VVPTS Error Code Arrays.vi, so I was not able to run it. When I just deleted this SubVI, I was not able to reproduce the error.
    Which property or invoke node in the Set Report Font subVIs returns the error? Wire the New Report.vi output cluster, to see if the error happens in this VI.
    2146959355 is a Microsoft error. I found a document with a similar issue. This error was solved by going into subVI of the Set Report Font VI, called Font Style.vi. On the diagram, in the upper left-hand corner, there is a property node. Change the property node to a different property and back. It then should work.
    A better workaround is to force a recompile on the VI. Ctl+Run arrow on the specific vi causing the problem ie. F
    ont Style.vi, or Set Report Font.vi
    I hope this solves the problem.
    Have a nice day.
    Zvezdana S.
    National Instruments

Maybe you are looking for