Jump to content

What do you think of Storage VIs?


Recommended Posts

Has anyone here tried Storage VIs?

what do you think of Storage VIs in LV?

Thanks!

Depends on your needs. Storage VIs are very easy to use. The performance is however a bit slow and undeterministic. I use them in a few projects because Diadem can open TDM files written by storage VIs. On more demanding projects I use HDF5 1.8 library of our own which performs better and more quite a lot more flexible but also more difficult to use. Unlike in TDM there are no limits to data dimensionality or file hierarchy depth or number of attributes. Anybody interested in becoming a beta tester for HDF5 library, please contact me.

Link to comment
Depends on your needs. Storage VIs are very easy to use. The performance is however a bit slow and undeterministic. I use them in a few projects because Diadem can open TDM files written by storage VIs. On more demanding projects I use HDF5 1.8 library of our own which performs better and more quite a lot more flexible but also more difficult to use. Unlike in TDM there are no limits to data dimensionality or file hierarchy depth or number of attributes. Anybody interested in becoming a beta tester for HDF5 library, please contact me.

Thanks! :)

You mentioned HDF5, what is it? and what's the relationship between Storage VIs and it? Is it implemented using Storage VIs? If so, I'd like to be your beta user:)

Link to comment
Thanks! :)

You mentioned HDF5, what is it? and what's the relationship between Storage VIs and it? Is it implemented using Storage VIs? If so, I'd like to be your beta user:)

No, it is not implemented using storage VIs and storage VIs are not implemented using HDF5 (at least to my knowledge). The quotation below from HDF5 homepage tells propably more. See HDF5 homepage for more details.

HDF5 is a general purpose library and file format for storing scientific data.

HDF5 can store two primary objects: datasets and groups. A dataset is essentially a multidimensional array of data elements, and a group is a structure for organizing objects in an HDF5 file. Using these two basic objects, one can create and store almost any kind of scientific data structure, such as images, arrays of vectors, and structured and unstructured grids. You can also mix and match them in HDF5 files according to your needs

The LabVIEW library I have written implements central parts of the HDF5 C library. It currently ony works on Windows.

Link to comment
No, it is not implemented using storage VIs and storage VIs are not implemented using HDF5 (at least to my knowledge). The quotation below from HDF5 homepage tells propably more. See HDF5 homepage for more details.

The LabVIEW library I have written implements central parts of the HDF5 C library. It currently ony works on Windows.

Thank you, Jimi! :thumbup:

And I want to know is there any other disadvantages of Storage VIs except the performance? When I using them, especially "Write Data", they always cause LV hang, I have to kill the process of LV at last. Did you also meet such a situation? Thanks again!

Link to comment
Thank you, Jimi! :thumbup:

And I want to know is there any other disadvantages of Storage VIs except the performance? When I using them, especially "Write Data", they always cause LV hang, I have to kill the process of LV at last. Did you also meet such a situation? Thanks again!

I just encounter occaisional delays every now and then when writing data. This is a problem because my data acquisition buffer gets full during the delay and I loose data. Well, I made an enormous data acquisition buffer to overcome this problem. I also get LV to hang when I acquire data after about 30 mins, but I think the problem is no in storage VIs but rather on front panel buffer.

I use the HDF5 because it allows me to

  • Write multidimensional arrays, storage VIs support only 1d arrays (maybe 2d)
  • Create hierarchies of unlimited depth, storage VIs allow only two levels namely channel groups and channels
  • Add any number of attributes and any type of attributes, storage VIs support only predefined attributes
  • Write complex number arrays
  • Read selections of the data instead of the whole data
  • Write parts of the data instead of the whole data

Link to comment
I just encounter occaisional delays every now and then when writing data. This is a problem because my data acquisition buffer gets full during the delay and I loose data. Well, I made an enormous data acquisition buffer to overcome this problem. I also get LV to hang when I acquire data after about 30 mins, but I think the problem is no in storage VIs but rather on front panel buffer.

I use the HDF5 because it allows me to

  • Write multidimensional arrays, storage VIs support only 1d arrays (maybe 2d)
  • Create hierarchies of unlimited depth, storage VIs allow only two levels namely channel groups and channels
  • Add any number of attributes and any type of attributes, storage VIs support only predefined attributes
  • Write complex number arrays
  • Read selections of the data instead of the whole data
  • Write parts of the data instead of the whole data

Thank you, I see.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.