GetApplicationStatus


Function

Get the device status.

Format

Ret = GetApplicationStatus (Status)

Parameters

Status [ VB.NET : Long] [ C++ : long * ] [ C# : ref int ]

Return the status return value as a number.

Status

value

Device working

00000001H

Waiting for start trigger

00000002H

Return Value

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

Return Value

Description

0

Normal completed

10001

Unable to get status.

The others (See also: Error Code List)

Remarks

Get the device status.

Conversion will stop due to frequency (generating clock period error) or DA conversion error.

This function can be performed while the device is in operation.

Example

Get the output status of C-WaveformGenerator.

VB.NET

Dim Ret As Long

Dim Status As Interger

Ret = c_fgen.GetApplicationStatus(Status)

 

C++

long Ret;

ICWaveformGeneratorPtr c_fgen;

long Status;

Ret = c_fgen->GetApplicationStatus(&Status);

 

C#

int Ret;

int status =0;

Ret = c_fgen.GetApplicationStatus(ref Status);

 

See Also

None