Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Open/create TDMS file from stream instead from file on disk?

Dear Ladies and Gentlemen,

 

Using Measurement Studio 2015 Professional with Visual Studio 2013 (C#).

 

Our application is loading and saving logged data from/to TDMS files.

For protecting the data, the TDMS files must be encrypted when located on disk.

 

Due to the lack of build-in opportunities of encrypting TDMS files we rely on third-party components for doing this. At the moment we test the ZIP library from Xceed for zipping and encrypting the files (we need to zip the files anyway).

The problem with this approach is that we must decrypt the files to a “physical” location on the computer’s hard disk before loading the files into Measurement Studio, and then encrypt the files again after finishing loading.

This way the TDMS files are unencrypted on the hard disk for several seconds while loading them into Measurement Studio, thus one can simply copy the (unencrypted) files during this time.

The encrypting tool we are using (Xceed) has the ability to decrypt the files into a stream (in RAM), instead of writing the decrypted files to the hard disk.

Now we just need Measurement Studio to be able to open/create a TDMS file from a stream, and not only via a physical path from the hard disk.

Is this possible in any way?

 

Thank you very much in advance!

0 Kudos
Message 1 of 3
(4,009 Views)

Hello PureNI,

 

Unfortunately I don't believe there is any way of doing this in Measurement Studio. There is a way of reading a TDMS file from the memory in LabVIEW but I believe that reading it from the disk as you are doing is the only way possible in Measurement Studio.

 

Best regards,

Jake

Jake A

Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 2 of 3
(3,977 Views)

Hmmm, OK, thank you for your answer.

I would like to get this added as a feature request then.

 

BR

0 Kudos
Message 3 of 3
(1,192 Views)