User Guide LabVIEW Data Plugin SDK Manual

User Guide LabVIEW Data Plugin SDK Manual
Pages 13
Views 185
Downloads : 2 times
PDF Size : 314.6 KiB

Summary of Contents

User Guide LabVIEW Data Plugin SDK Manual

  • Page 1

    USER GUIDELabVIEW DataPlugin SDKContentsAn Introduction to the LabVIEW DataPlugin SDK................................................................. 1DataPlugin Overview ....................................................................................................... 1 3,LabVIEW 3, DataPl...

  • Page 2

    2|ni.com|LabVIEW DataPlugin SDK User GUIDEThe TDM data model has the following structure:Figure 1. TDM Data ModelInitially DataPlugins could only be created by using C++ or VBScript programming languages, but the LabVIEW DataPlugin SDK gives you, the LabVIEW programmer, the ability to create Dat...

  • Page 3

    LabVIEW DataPlugin SDK User GUIDE|© National Instruments|3an overview of the installed DataPlugins use the “DataPlugin Settings” dialog box in DIAdem or DataFinder Server Edition. Use the same dialog box to uninstall LabVIEW DataPlugins.In LabVIEW you can use the Storage VIs to enumerate, re...

  • Page 4

    4|ni.com|LabVIEW DataPlugin SDK User GUIDEOn-Demand DataPluginsThe on-demand DataPlugin is more complicated and less comfortable for the LabVIEW programmer, but in general this is still the right choice for very large data files. The on-demand DataPlugin has two callbacks, the Your Code Here_meta...

  • Page 5

    LabVIEW DataPlugin SDK User GUIDE|© National Instruments|5Another distinction of on-demand DataPlugins and on-demand channels is that the data values are in general loaded in buffers. When an on-demand DataPlugin is called to load all the data from a given on-demand channel, the DataPlugin engin...

  • Page 6

    6|ni.com|LabVIEW DataPlugin SDK User GUIDEFigure 3. LabVIEW Project Layout for On-Demand DataPluginsThe LabVIEW project folder Adapt this to your file format contains your actual file-format-specific source code to read the data from the particular data file that your DataPlugin supports. In the...

  • Page 7

    LabVIEW DataPlugin SDK User GUIDE|© National Instruments|7in your project. Any additionally included subVIs can show up here, and any included DLLs, such as the lvStorage.dll (always) or the lvanlsis.dll also appear here.The LabVIEW project folder Build Specifications contains the configurations...

  • Page 8

    8|ni.com|LabVIEW DataPlugin SDK User GUIDEDataPlugin ParameterizationTo personalize your LabVIEW DataPlugin, you need to edit the content of the Register LabVIEW DataPlugin.ini from the Adapt this to your file format project folder. Below is the content of the Register LabVIEW DataPlugin.ini file...

  • Page 9

    LabVIEW DataPlugin SDK User GUIDE|© National Instruments|9The DataPlugin installer includes the resulting DataPlugin DLL as well as the Register LabVIEW DataPlugin.exe from the Don’t change this project folder and the Register LabVIEW DataPlugin.ini plus any associated icon file from the Adapt...

  • Page 10

    10|ni.com|LabVIEW DataPlugin SDK User GUIDEConstraintsIn this chapter you will learn which data types DataPlugins support, and which channel length limitation and name conventions you have to consider.Channel Length LimitationDataPlugins currently can only declare channels to have a length from 0...

  • Page 11

    LabVIEW DataPlugin SDK User GUIDE|© National Instruments|11If you are reading U32, U64, or I64 data, you should use the Write Channel Values.vi instead (see below).If you use instead the Write Channel Values.vi (which you can find in the Datalog example project), the following type conversions a...

  • Page 12

    12|ni.com|LabVIEW DataPlugin SDK User GUIDEThe following property names for file have a special meaning in the TDM data model: author, datestring, datetime, description, name, mime_type, registertxt1, registertxt2, registertxt3, timestring, title, wf_create_time.The following property names for f...

  • Page 13

    © 2008–2016 National Instruments Ireland Resources Limited. All rights reserved. 372601G-01Sep16Refer to the NI Trademarks and Logo Guidelines at ni.com/trademarks for more information on NI trademarks. Other product and company names mentioned herein are trademarks or trade names of their res...