LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I log data in USB Flash Memory Stick in TDMS format using cRIO

Hi All,

 

I want to log data to TDMS file to a USB flash memory stick throgh the USB port of the cRIO. I know that  G_TDMS vis have to be used for writing TDMS files in RT. But this is working only for the local cRIO harddisk. I am not able to create file in the flash memory. I am accessing the flash memory by refering to it as U:\. This works for binary files.

 

Thanks in advance,

cooldude 

0 Kudos
Message 1 of 3
(3,058 Views)
The G TDMS VIs have been written before we had native support for TDMS on cRIO (introduced in LV 8.6). Have you tried using the built-in TDM Streaming API for this? If so, what was the result?

There's another possible issue here related to file access on cRIO. The drive letters on these systems are case sensitive, so you might want to try U: and u:.

If you are trying to write to a device that is accessible like a file system, TDMS should work. If you can't get it to work, I would consider that a bug in LabVIEW that we will take care of.

Thanks,
Herbert
0 Kudos
Message 2 of 3
(3,021 Views)

Also, here's what someone had to say about using USB flash memory drives with cRIO: "If a device does not work with LabVIEW Real-Time 8.2, the only option is to upgrade to LabView Real-Time version 8.5 or higher, which will upgrade the version of VxWorks on the controller, and all USB storage devices will then work."

 

 

Do you happen to be using this old version of LV 8.2?

0 Kudos
Message 3 of 3
(2,998 Views)