05-23-2014 04:52 AM
Hi,,
my code connot write data from myrio to my PC, I need you help to fix it. Plz,,
This is the code
05-23-2014 06:13 AM
The myRIO doesn't actually run on your computer. It has its own OS and file system. Would you expect your friend's computer to write to your computer's harddrive? Well, it can if you use a shared folder and address the folder with the network name. So you need to supply a network address for your shared folder on your system that the myRIO can then write to.
05-23-2014 07:10 AM - edited 05-23-2014 07:12 AM
Thank you for your reply and help
actually , I just need write data on file when I run the system.
05-23-2014 07:28 AM
wael121 wrote:
actually , I just need write data on file when I run the system.
I don't understand what you mean by this.
05-23-2014 08:29 AM
05-23-2014 08:30 AM
05-23-2014 08:51 AM
Again, the myRIO is its own little computer. Anything that you run will be ON THE MYRIO. The myRIO doesn't have a GUI. So you need to supply the file path manually and you need to give it a network address if you want it writing to your harddrive. Otherwise it tries to write on its own flash drive.
05-23-2014 09:15 AM - edited 05-23-2014 09:17 AM
I see.
So, could you give me an example code for write data on myrio drive.plz
or any helpfull link.
Thanks alot
05-23-2014 12:27 PM
Here's a couple of articles to read:
Under the Hood of NI Linux Real-Time
Working with File Paths on Real-Time Targets
05-23-2014 01:33 PM