2.7.8 expG2video


Brief Information

Export Browser Graph as video file (GIF, TIFF, AVI).

Command Line Usage

1. expG2video name:="<short name>" path:="<User Files Folder> res:=600;"

2. expG2video name:=Graph_001 path:="C:\Users\Documents\OriginLab\User Files" width:=500;

3. expG2video type:=2 name:=fourcc_test_wmv2 path:="C:\Users\user\Documents\OriginLab\User Files" fourcc:=wmv2;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Graph igp

Input

GraphPageBase

<active>

The graph to export. The default is the active graph.

File Type type

Input

int

2

Specify the export image type.

Option list

  • 0=gif:GIF
  • 1=tif:TIFF
  • 2=avi:AVI
File Name name

Input

string

<long name>

Specify the file name of the exported graph.

File Path path

Input

string

path$

Specify a path to store the exported image file. By default, user files folder will be used.

Actual Size size

Input

string

It is the actual size of the graph. This variable is read-only.

Width in Pixels width

Input

int

0

Specify the width of the image in pixels.

Height in Pixels height

Input

int

0

Specify the height of the image in pixels.

Specify DPI res

Input

int

300

Specify DPI

Frames Per Sec fps

Input

double

1

Specify the number of frames for per second.

FourCC fourcc

Input

string

<unassigned>

For scripting AVI output. Supply the FourCC code (example in Command Line Usage, above). A few FourCC codes can be found in the LabTalk Reference.

Note: The Codec node, visible in the dialog, will be hidden from LabTalk access. The fourcc node will be used in LabTalk and this is what is output when you Generate Script (from the Dialog Theme menu).

Move by shift

Input

int

1

Rate at which frames are captured (1 = all frames captured).

Related X-Functions

expG2img, expImage,expGraph