11-22-2022 05:08 AM
Hi all
I try to read a csv file saved in my project on my RT Target.
For example: I try to read read_csv_data_1.csv on my VI read_csv.vi when it's running on my RT target (without copy-paste him before the run).
project structure
When I run my VI on my RT target the VI path is "/home/lvuser/natinst/bin/read_csv.vi", I assume it's a temporary location. I try to find my csv file in this path but I see nothing.
Does it exist a way to read my csv on my RT target, without manual copy-paste on a RT target folder?
Thanks,
Carole
11-22-2022 05:14 AM
Hi Carole,
@carole8938 wrote:
When I run my VI on my RT target the VI path is "/home/lvuser/natinst/bin/read_csv.vi", I assume it's a temporary location. I try to find my csv file in this path but I see nothing.
Does it exist a way to read my csv on my RT target, without manual copy-paste on a RT target folder?
Your RT controller is a computer on its own! It cannot access the harddrive of your Windows computer!
So to be able to read a (CSV) file using a VI running on that RT controller the file has to be located on the harddrive of that controller. You need to deploy those files to your RT target…
That path is no "temporary" location, it is the filepath on your RT controller harddrive.