Get the status of C-WaveformGenerator.
Ret = GetApplicationStatus ( AppId , Status )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by GenOpenApplication.
Status [ VB.NET: Long] [ C++: long * ] [ C#: out int ]
Return the status return value as a number.
Status |
value |
Device working |
00000001H |
Waiting for start trigger |
00000002H |
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return Value |
Description |
GEN_ERR_SUCCESS |
0 |
Normal completed |
GEN_ERR_STATUS |
10001 |
Unable to get status. |
The others (See also: Error Code List)
Get the status of C-WaveformGenerator.
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.
Get the status of C-WaveformGenerator.
VB.NET |
Dim Ret As Integer Dim Status As Interger Ret = GenGetApplicationStatus(AppId, Status)
|
C++ |
long Ret; long Status; Ret = GenGetApplicationStatus(AppId, &Status);
|
C# |
int Ret; int Status; Ret = gen.GetApplicationStatus(AppId, out Status);
|
None