01-15-2018 07:06 AM
Hello,
i created simple .vi to save data and send simple http request through wifi, but when i add them to my project file, they dont execute. The error i get is presented below. I'd like to add, everything works fine when i open vi outside project. The wi_fi.vi stands for sedsing simple http request and tdms.vi stands for simple datalogging. Also reading from .csv file acts the same. I tried to specify multiple paths (relative, absolute) and none worked. Please help,
Greetings
Damian
Solved! Go to Solution.
01-28-2018 01:22 PM
The solution for following problem was:
.csv
In order to read from .csv file you need to put that file on myRio disk.
You need to think about it as a little computer. The same stands for saving TDMS file.
Use control "current VI path" to specify where your project is. For example, .csv path can look like this:
"/c/ni-rt/startup/KMC512.csv"
You can use string constant and string to path control.
For TDMS file, use build path control, and specify base path as:
"/c/ni-rt/startup/TDMS"
and get additional TDMS name.
If you want to access files on disk, make sure you have installed webdav packages for myRio.
In order to install additional packages, get into labview window select:
Tools -> Measurement & Automation Explorer -> Remote Systems -> NI - myRIO -> Software -> Add/Remove Software
In Wizard pick custom software installation and you will get this window:
Following this link u can get access through PC using disk mapping:
digital.ni.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025
For HTTP request or sending emails you need HTTP or SMPT packages, which you can install like the ones before.
02-24-2020 11:46 PM