Navigation:  Programmer's Reference > Executing DPlot commands from another application >

FileType macro command

Print this Topic Previous pageReturn to chapter overviewNext page

Macro commands may be used either in macros or by sending the commands to DPlot via dynamic data exchange (DDE). Some commands are valid only in macros (noted by Macros Only). Commands sent to DPlot via DDE must be enclosed by square brackets [     ]. Macro commands should not include the brackets.

Command parameters shown in the descriptions below are placeholders for the actual values. Command parameters are either numeric values or character strings; character string parameters are always bound by double quotation marks.

All indices into arrays are 1-based, e.g. Curve1=1 refers to the first curve in a plot.

A 0x prefix for numbers in the descriptions below indicates hexadecimal notation; e.g. 0x0010 = 16.

JR/Viewer indicates that the command is supported by DPlot Jr or DPlot Viewer.
JR/Viewer indicates that the command is NOT supported by DPlot Jr or DPlot Viewer.


 

[FileType(n)]
or
[FileType("Plugin Description")

JR   Viewer

Sets the file type code prior to opening a document with the FileOpen command. n is one of:

1

 

DPlot file

2

 

ASCII file, one data set with arbitrarily spaced points.

3

 

ASCII file, one data set with evenly spaced points.

4

 

ASCII file, multiple columns.

5

 

Unformatted data.

6

 

Binary file produced by Pacific Data Model 9820 recorders, DNA/Bendix format.

7

 

Binary file produced by Pacific Data recorders, OLD format.

8

 

Binary file produced by Pacific Data recorders, NEW format.

9

 

Nicolet Time Domain files (binary) created with the Nicolet System 400 Digital Oscilloscope.

10

 

Hardened Data Acquisition System (HDAS) files.

11

 

3 columns of randomly-spaced 3D points (X,Y,Z)

13

 

1D amplitudes (opened as a Box and Whisker plot by default)

14

 

ASCII text file, tab-separated columns

15

 

Compressed DPlot file

267

 

Identical to 11, but interpreted as a 3D scatter plot rather than a surface plot.

For more information on file types, see the description of the Open menu command.. If the "Plugin Description" form is used, the descriptive string must exactly match the description shown in the Select File Type dialog box, e.g. "WAV Audio".

 


Page url: http://www.dplot.com/help/index.htm?filetypecommand.htm