cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

convert storage refnum to TDMS file refnum

Highlighted

convert storage refnum to TDMS file refnum

hii guys,

I am using  express VIs  for TDMS files and   also the traditional TDMS VIs.

The Express VIs eg "Open Data Storage"   generates  Storage Refnum.  whereas the TDMS VIs use File Refnum.

how do I  Convert the Refnum   to be used between both.

 

regards,

Akshay

 

 

0 Kudos
Message 1 of 5
(1,077 Views)

Re: convert storage refnum to TDMS file refnum

You can use Refnum to Path function available in functions pallet >>File IO>>Advance File Function >> Refnum to Path

0 Kudos
Message 2 of 5
(1,062 Views)

Re: convert storage refnum to TDMS file refnum

hallo,

 

I have to use the TDMS and the data Storage functions Intermittently  as I need   the Set Channel Properties  Box from Data Storage for my TDMS file also I need the TDMS Write as I have it used in many VIs . The reference cant be shared between these 2  thats the Issue.

 

regards,

Akshay

 

 

0 Kudos
Message 3 of 5
(1,046 Views)

Re: convert storage refnum to TDMS file refnum

I am not sure about your requirement clearly.

TDM—The TDM file format saves the raw data that the measurement hardware acquires and the meta data in separate files.

TDM Streaming (TDMS)—The TDMS file format saves both the raw data and the meta data in the binary format in one file with the .tdms extension.

You can use either of them to store measurement data.

-What i don't get is what is the format you stored your data? When you choose one format why do you want to open it with another format?

-The reference cannot be be shared because the inputs are of different types it's like connecting apples to oranges.

Thanks
uday
0 Kudos
Message 4 of 5
(1,023 Views)

Re: convert storage refnum to TDMS file refnum


aparab wrote:  as I need   the Set Channel Properties  Box from Data Storage for my TDMS file

Just use the TDMS Set Properties instead.  No more need for the Data Storage VIs.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 5 of 5
(1,018 Views)