07-02-2013 04:16 AM
Why do I get this error?
07-02-2013 07:11 AM
Hi!
Can you show also the relevant part of your code, please?
Regards,
Marco
07-02-2013 07:18 AM - edited 07-02-2013 07:21 AM
Hi August,
from your picture it seems you're trying to save a file on your PCs harddisc while running a VI on a realtime target (conclusion from error message mentioning "Real Time Interface" and different path formatting).
You can't save a file from your target to a different PCs harddisc!!! You have to create that file on a local storage (using proper file paths) or use network access to transport data (like shared variables) to your PC...
07-02-2013 08:10 AM - edited 07-02-2013 08:10 AM
I see, because my program is running in real-time. So if I want to save in my PC, I need to create a VI in computer right? Does simply calling the VI from the computer in the Real-Time VI fixes this problem?
07-02-2013 08:19 AM - edited 07-02-2013 08:19 AM
Hi august,
to repeat my message: You can't save a file from your target to a different PCs harddisc!!!
Your VI runs on the target, even when you watch it running on your monitor. Just look at the left down corner of the VI's frontpanel:
Here LabVIEW tells you where the VI is running. In the shown picture the VI belongs to a project and is running on a target named "Demo-Fzg" (which is a cRIO)...
07-02-2013 08:52 AM
So the only way to save the data is by right clicking the waveform chart and export as Excel?
07-02-2013 08:56 AM - edited 07-02-2013 08:56 AM
Hi august,
to repeat my message: You have to create that file on a local storage (using proper file paths) or use network access to transport data (like shared variables) to your PC...
LabVIEW comes with a lot of examples. Did you check them?
LabVIEW comes with some predefined projects. Some include host ("PC") and target ("RT cRIO") applications like yours. Did you check them?
You always have the option to transfer data from target to host. Use them to automatically create files on your host's harddisc!
07-02-2013 09:45 AM
Great, thanks for the input