Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Use Custom Data Types from DIAdem with the Data Storage VIs?

Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: DIAdem

Problem: I've used a custom DataPlugin to read my data type in DIAdem and now want to read this data in LabVIEW using the storage VIs. I see the option for "Data Storage Format" in the "Open Data Storage.vi", but it is disabled and set to "TDM (Binary Measurement File)". How can I read my custom data type?

Solution: A VI called _openWithRoot.vi exists in the lvStorage.llb that makes it possible to open data files that were generated using custom DataPlugins. The output of this VI is a storage refnum which can then be passed to the other storage VIs, such as the "Read Data.vi". As a result the "Open Data Storage.vi" is not needed to open custom data file.

The _openWithRoot.vi is located in the C:\Program Files\National Instruments\LabVIEW8.0\vi.lib\Platform\storage\lvStorage.llb directory.

The inputs to this vi are the Storage File Location, Storage Type, Overwrite Options and Additional Parameters. The main input of concern is the Storage Type. It is this parameter that is used to specify the custom data type. For example if you use the Yokogawa_WVF custom plugin, you'd input "Yokogawa_WVF" in the "Storage Type" parameter. For more information on DataPlugins as well as some downloadable plugins visit the DataPlugins web site linked below.

For an example of using the _openWithRoot.vi, see the VI below titled "Custom DataPlugin Example.vi"

Related Links: DataPlugins: Downloads and Developer Information

Attachments:


Custom DataPlugin Example.vi


Report Date: 11/18/2005
Last Updated: 12/03/2005
Document ID: 3RHBOHMY

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit