StartOperation


Function

Start the application's input and output.

Format

Ret = StartOperation (Arg1)

Parameters

Arg1 [ VB.NET : Short ] [ C++ : short ] [ C# : short ]

Fixed to 0. (Reserved)

Return Value

Ret [ VB.NET : Integer ] [ C++ : long ] [ C# : int ]

Return Value

Description

0

Normal completed

24001

Device condition error occurred.

24002

Relay error occurred.

24003

Operation start error occurred.

The others (See also: Error Code List)

Remarks

Use this function to start an operation based on the specified conditions.

This function cannot be used with devices that are not supported by C-WaveformGenerator.

If the device is in operation, this function cannot be performed.

Example

Start the output of C-WaveformGenerator.

VB.NET

Dim Ret As Long

Ret = c_fgen.StartOperation(0)

 

C++

long  Ret;

ICWaveformGeneratorPtr c_fgen;

Ret = c_fgen->StartOperation(0);

 

C#

int Ret;

Ret = c_fgen.StartOperation(0);

 

See Also

StopOperation