03-08-2012 11:18 AM
I was trying to use network streams to transfer my data from RT vi to host vi. That data comes from the DMA fifo with 10k sampling rate. But when I run both of RT vi and host vi. It keeps give an error '-314004'. Error -314004 is the "Failed to Connect" error. How can I avoid this error.
My RT target is CRIO 9022.
03-09-2012 06:25 PM
Hi sdualienware,
Here is an example of network streams which you can reference when setting up your reader/writer streams on RT targets (https://decibel.ni.com/content/docs/DOC-21101). In addition, here is an excellent tutorial on how to use network streams in general (http://zone.ni.com/devzone/cda/tut/p/id/12267). In specific, look at the section "Creating Endpoints and Establishing a Stream". I believe that the slash in "/writer" might be causing the connection failure. Hope this helps!
08-19-2014 02:57 PM
Error −314004:
"LabVIEW could not create the endpoint within the timeout period. Ensure that you specify the URL of a remote endpoint with the reader url terminal of the Create Network Stream Writer Endpoint function or the writer url terminal of the Create Network Stream Reader Endpoint function."
I can see that your 'creat network stream endpoint' is set to time out after 1000 milliseconds. That seems like alot, but it might not be enough, if you have a slow network or something.
Error code look up table:
http://zone.ni.com/reference/en-XX/help/371361H-01/lverror/streams_error_codes/