Terminate WaveformGenerator and disable to access.
Ret = GenCloseApplication ( AppId , CloseStatus)
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ] [ Python: ctypes.c_short ]
Specify Application ID retrieved by GenOpenApplication.
CloseStatus [ VB.NET: Integer ] [ C++: long * ] [ C#: out int ] [ Python: ctypes.POINTER(ctypes.c_ulong) ]
The status of C-WaveformGenerator when it is terminated.
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ] [ Python: ctypes.c_long ]
Definition |
Return Value |
Description |
GEN_ERR_SUCCESS |
0 |
Normal completed |
The others (See also: Error Code List)
Perform termination process.
VB.NET |
Dim Ret As Integer Dim CloseStatus As Integer Ret = GenCloseApplication(AppId, CloseStatus)
|
C++ |
long Ret; long CloseStatus; Ret = GenCloseApplication(AppId, &CloseSttus);
|
C# |
int Ret; int CloseStatus; Ret = gen.CloseApplication(AppId, out CloseStatus);
|
Python |
Ret = ctypes.c_long() Ret.value = cgen_api.GenCloseApplication(AppId, ctypes.byref(CloseStatus))
|