LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create file

Solved!
Go to solution

Thanks for the replies everyone.

I think we have a winner: the VI is actually running on the cRIO, I just checked the project tree. Sorry, this is all quite new to me.

 

Is there any way to work around this: can the logfiles be saved on the pc (which is a network target), using a shared folder or something?

We do have some free storage on the cRIO as well, although I don't really know how to access it.

Are there any tutorials available on this?

0 Kudos
Message 11 of 14
(1,128 Views)

You should be able to write to a shared folder location on your PC.  You just need to access it with the network name (ie \\PC Name\shared\data.txt).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 14
(1,118 Views)

I'm really hesitating to question your advice crossrulz, but we are talking here about a cRIO target. What you suggest would require at least a full functioning SMB/CIFS client setup. Not really impossible but don't think any of the cRIO targets support that out of the box. For the Pharlap based targets I'm not sure Pharlap ever included SMB support, for VxWorks based cRIOs there is the NQ/CIFS product from Virtuality Systems but not sure how to install that in an existing VxWorks system without access to the kernel sources from NI and for the NI Linux RT based cRIOs it's theoretically possible by installing SAMBA, but I would hesitate to install such a beast on an RT target and didn't think NI supports that out of the box.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 13 of 14
(1,109 Views)

Just for the record: I decided to just save the data on the cRIO (which has a C: drive) and download it manually afterwards. This seems to work fine. Setting up a shared folder would be more complicated, due to the safety policy on our computers.

Thank you all for the help.

 

0 Kudos
Message 14 of 14
(1,089 Views)