Function
The contents of an error over an error code are changed info a character sequence.
Format
Ret = GpibGetErrorString ( ErrorCode, ErrorString )
Parameter
ErrorCode [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
Specifies return value.
ErrorString [ VB.NET: StringBuilder ][ C, C++: char * ][ C#: out StringBuilder ]
The head address of the buffer which stores an error character is specified.
Please secure a length of 256 characters of a character sequence..
Return Value
Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
0 |
Normality completion |
10301 |
The value of ErrorCode is outside the designated range |
10312 |
Pointer to ErrorString is NULL |
Initial Value
None
Remarks
Example
C |
char ErrorString[256]; Ret = GpibInit ( "Gpib000" , &DevId ); GpibGetErrorString ( Ret, &ErrorString ); |
See Also