LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ASAM ATFX File

I'm working with some ATFX files of the ASAM ODS standard, using the labview examples from this link:  Using the LabVIEW Storage VIs with ASAM-ODS databases.  Each data set has two files (not neccessarily but good for large data), one file .atfx for the meta information and a binary data file.  the meta information file is quite small, less than 100KB, the data file is about 4 MB.

 

After modifying the example VI i was able to read the data and some meta information, but then I noticed that once the file is closed, the original .atfx (meta information) file was replaced with a new file (same name) that apparently has the data in it too, thus make its size about 7MB or so.  With a large data file the impact is huge, each time the file is closed it takes a long time (regardless whether the file had been replaced before).  Does anyone know how to solve this?

 

Thanks,

 

Joe

 

 

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

Hi Joe,

 

How are the storage VIs that you are using storing your data? Are you interfacing with DIAdem to do this?

 

Regards,

Stephen S.

National Instruments
Applications Engineering
0 Kudos
Message 2 of 3
(3,762 Views)

Hi Stephen,

 

So far I am not using the storage to write any data yet.  The data sets were from the customer.  The problem is with the  "__closeStorageFromStorage.vi".  In the example, this VI is used to close the storage reference (the default Close Storage.vi from the function pallete actually breaks the VI.

 

for example, simply by running the "Get Main db Object Names.vi", the two files of the data set (meta information and actual data) was then combined together.  I only use DIAdem to look at the structure of the ATFX file, it does not combine the two files.

 

-Joe
0 Kudos
Message 3 of 3
(3,752 Views)