10-02-2012 01:03 PM
I'm trying to FTP into and download all files in a directory on a PC running RT 11.0.1, I'm getting the above error some what randomly (error is displayed on RTOS monitor) at which point my FTP freezes
I searched on the error but was unable to find any info at all
I'm using "Get cRIO Data.vi", I found that on this site in an example.
running labview 2011 sp1 and labview realtime 11.0.1
I have network streams running as well as shared variables.
10-03-2012 12:22 PM
Hi there,
I have seen this before, although with older version of LabVIEW/Real-Time.
Can you provide any details on whether this happens only with very large files? Or, perhaps, if you can close and reopen the FTP connection between each file, does this change the behavior?
Also, can you provide a link to which example you are using? It would be helpful to know which VI’s you are using, and how.
Best,
10-03-2012 03:02 PM
Thanks for the reply Ryan,
I've since change the way I'm getting the data - I'm having th RTOS push it to the PC running a server.
Which seems to working well.
The files I was transfering where all rather small <600 bytes, but somewhat numerous
as to where I got what I was using it is here :http://zone.ni.com/devzone/cda/epd/p/id/6287
taken from the XML_recordset.zip (was looking for a different solution to my needs when I decided to go with FTP)
I do have another isssue - I keep losing my network streams, or it says the connection has been deleted, but if I try to reconenct it says it already exists.
I do have 2 network cards on this PC (a private local net and the corperate net) could that be part of the issue with the network streams?
I've even tried closing the connection after every use (on the PC/master side) but I'm getting the same problem/error
10-04-2012 10:38 AM
I would recommend disabling all but one network interface card regardless. It is possible this will solve the issue, but I am interested if there is a specific error, what does it say and can you provide an error number?
For Network Streams, you should be Creating a Writer only once, doing all of your streaming, and then Destroying the Stream only once. The same goes for Reading. Check out the following DevZone Tutorial for some tips and best practices: http://www.ni.com/white-paper/12267/en