Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Jun 23, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Loading Data with a DataPlugin Within LabVIEW

5 ratings | 1.80 out of 5
Print

Downloads

Filename: load_with_dataplugin_lv71.llb
Requirements: View

Filename: load_with_dataplugin_lv80.llb
Requirements: View

This library contains two examples. DataPlugin Load File.vi shows how to load all channels from a DataPlugin file. If the data is stored as a waveform it is graphed vs. the waveform time values, otherwise it is graphed vs. the array index. You must select the path of the file you wish to view as well as the name of the DataPlugin to use to load that file, then run the VI.

The other example included, DataPlugin Tree View.vi, displays the hierarchy of channel groups and channels from a DataPlugin file. Properties and waveform values of the channel group or channel selected from the left hand side tree control can be viewed in the right hand side tabs. You must select the path of the file you wish to view as well as the name of the DataPlugin to use to load that file, then run the VI.

These examples will only work with DataPlugins which conform to the TDM data schema (File >> Groups >> Channels). This is true for all VBScript DataPlugins, which install with a *.URI file, and it is true of most C++ DataPlugins as well. The only DataPlugins which do not conform to the TDM data schema are DataPlugins which connect to external databases, such as the various Citadel DataPlugins or the ASAM-ODS DataPlugins. The DIAdem DataFinder also requires that the DataPlugin conforms to the TDM data schema, so any DataPlugin which works in the DIAdem DataFinder will also work with these example VIs.

The name of the DataPlugin is the same name as the title of the page you downloaded it from. For example, the MatLab DataPlugin can be download from http://zone.ni.com/devzone/cda/epd/p/id/4178 and the name of that DataPlugin is "MatLab." For VBScript DataPlugins, the name of the DataPlugin is the same name as the *.URI file that installs with it. For a full list of publically available DataPlugins, go to the DataPlugins web site (www.ni.com/dataplugins).

Requirements


Filename: load_with_dataplugin_lv71.llb

Software Requirements


Application Software: LabVIEW Base Development System 7.1
Language(s): LabVIEW

 
Filename: load_with_dataplugin_lv80.llb

Software Requirements


Application Software: LabVIEW Base Development System 8.0
Language(s): LabVIEW

 
5 ratings | 1.80 out of 5
Print

Reader Comments | Submit a comment »

How is this helpful?
Could someone at NI lease explain what use do we have from those "examples" if the VIs are password-protected and we can't even see what they do?!? Is NI in the business of selling hardware and development tools or in frustrating its users?! Of course, the example does not work for me and I have no way of knowing why...
- Name, Company. email@email.com - May 30, 2008

Works as advertised
Just downloaded the current version of the plugin - example vi works fine for me now, don't know what the earlier problem was.
- Ed Heath, Northrop Grumman. ed.heath@ngc.com - Nov 9, 2007

Works Great!
I had no problems running the VI's. All I needed to do was enter my dataplugin name and point to a data file and I had all thedata at my fingertips. This code will come in handy.
- Andrew Lenig, Northrop Grumman Newport News. andrew.lenig@ngc.com - Mar 30, 2007

Terrible example, everything is locked and password protected
Agree with previous comment - this is terrible. After searching and reading for almost an hour, still have no clue how to use any of these data plugins inside of labview. This particular example is password protected, so you cannot even see the diagrams!
- aginsburg@dragonwaveinc.com - Feb 12, 2007

Couldn't make the example work, error message is cryptic, and diagram is locked so there's no way to troubleshoot.
- Ed Heath, Northrop Grumman. ed.heath@ngc.com - Jan 16, 2007

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).