01-04-2016 02:10 AM
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!
01-05-2016 11:22 AM
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
07-18-2022 11:38 AM
Hmmm, OK, thank you for your answer.
I would like to get this added as a feature request then.
BR