LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to Spreadsheet Under cRio%5C

error.JPG

After the last post i find out when I try to write to spreadsheet under cRio, this happen, but when i run on my computer it work well.

Does anyone know how to fix it?

0 Kudos
Message 1 of 7
(2,876 Views)

Hello niukasu,

 

How are you specifying the location for the spreadsheet file - is it preconfigured within the express VI? From a string or file path constant?  Dynamically generated? What model cRIO is this- RT controllers do not typically have a 😧 drive.  This KnowledgeBase article might help you determine the file path format required:

 

KnowledgeBase 4K1HPA20: Creating the Correct File Path Format for LabVIEW Real-Time Targets

http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF

 

Regards,

Tom L.
Message 2 of 7
(2,873 Views)
Thank you for helping me.
Is it possible to save the data in computer while running in the cRio?
0 Kudos
Message 3 of 7
(2,869 Views)

Hi niukasu,

 

the cRIO CANNOT access your PC's harddrive! It's a stand-alone computer!

 

There are examples coming with LabVIEW that show how to transfer data from cRIO (target) to PC (host). Use them!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 7
(2,844 Views)

To sort of repeat what GerdW already stated, the cRIO has it's own hard drive that it accesses.  You need to think of the cRIO as a separate computer.  With that in mind, think about how you share files amonst computers.  The easiest is to setup a shared folder.  Other computers can then access that folder with a network address.  The cRIO needs the network address of that shared folder in order to read from or write to it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 7
(2,836 Views)

How to open the spreadsheet files saved in cRio by excel in computer?

0 Kudos
Message 6 of 7
(2,832 Views)

@niukasu wrote:

How to open the spreadsheet files saved in cRio by excel in computer?


You need to copy the file to your computer somehow.  If you saved the file on the cRIO, then you can FTP the file to your computer.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 7
(2,829 Views)