LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to Export Waveform Chart to Excel

Capture.JPG

 

 

Why do I get this error?

0 Kudos
Message 1 of 8
(3,028 Views)

Hi!

Can you show also the relevant part of your code, please?

 

Regards,

Marco

0 Kudos
Message 2 of 8
(3,012 Views)

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 8
(3,010 Views)

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?

0 Kudos
Message 4 of 8
(2,998 Views)

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:

check.png

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)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 8
(2,991 Views)

So the only way to save the data is by right clicking the waveform chart and export as Excel?

0 Kudos
Message 6 of 8
(2,985 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 8
(2,982 Views)

Great, thanks for the input

0 Kudos
Message 8 of 8
(2,973 Views)