01-18-2014 11:19 AM
Hi all,
The following code works on my windows system. The VI will stream directly to the NAS.
However, I want to run this on my VxWorks cRIO but I get error 1430. Is this because my windows 7 is automatically doing all of the FTP but VxWorks does not support that?
So my question is... Can I stream to a NAS on a cRIO like I can on windows?
PS. I know I can use the FTP VIs to transfer a file once it has been closed but I but I want to continuously stream to a NAS.
Thanks.
01-22-2014 05:02 AM
for anybody with the same question, I asked NI support...
The necessary drivers needed to decipher the path are not present in the Real-time OS and hence this code cannot be executed on your RT target (like you would do on windows). hence you would need to use the FTP functions to carry this out. It should be possible to carry out FTP streaming (not transferring whole files) using the functions in the advanced sub-pallette of the FTP pallette (though there are not any examples I could find for this on the community).
The general recommendation would be not to stream data if you can avoid it as a bad network connection could result in data loss. Please find an example that shows how to set up and use network streams in labview here;
https://decibel.ni.com/content/docs/DOC-21101