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

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006

Importing data channels which span multiple data files into DIAdem

3 ratings | 4.67 out of 5
Print

Downloads

Filename: 4280.zip
Requirements: View

Filename: 4281.zip
Requirements: View

Filename: 4285.zip
Requirements: View

Filename: 4283.zip
Requirements: View

Filename: 4284.zip
Requirements: View

Filename: 4282.zip
Requirements: View

Often in data logging applications which generate a great deal of data, that data is saved in a segmented fashion across multiple data files, where each data file contains the data values of all the channels being acquired for a particular time slice.

This set of DIAdem VBScript projects illustrates how you can programmatically import data channels which span multiple files and then concatenate the values from all the desired files into a single set of DIAdem data channels.

Each DIAdem VBScript project enables you to select N data files from the list of possible data files acquired, from the same directory or different directories. The data from these files is loaded into DIAdem as N sets of parallel channels. Finally, these parallel channels are appended one after the other, according to their time/x-channel values, until you have only one set of consolidated channels in DIAdem, containing the entire time period(s) corresponding to the data files selected.

The is a separate VBScript project for each type of file (ASCII, Excel, Binary) and also for DIAdem versions before 9.1 or version 9.1 or after. The 9.1 versions have additional features and make use of DataPlugins.

Requirements


Filename: 4280.zip

Software Requirements


Application Software: DIAdem Development System 8.10
Language(s): VB Script

 
Filename: 4281.zip

Software Requirements


Application Software: DIAdem Development System 8.10
Language(s): VB Script

 
Filename: 4285.zip

Software Requirements


Application Software: DIAdem Development System 9.1
Language(s): VB Script

 
Filename: 4283.zip

Software Requirements


Application Software: DIAdem Development System 9.1
Language(s): VB Script

 
Filename: 4284.zip

Software Requirements


Application Software: DIAdem Development System 9.1
Language(s): VB Script

 
Filename: 4282.zip

Software Requirements


Application Software: DIAdem Development System 8.10
Language(s): VB Script

 
3 ratings | 4.67 out of 5
Print

Reader Comments | Submit a comment »

 

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/).