GpibExit


Function

Performs termination for driver.

Format

Ret = GpibExit ( DevId )

Parameter

DevId [ VB.NET: Short ][ C, C++: short ][ C#: short ]

Specifies DevID.

Return Value

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

 

0

Normality completion

10001

Invalid ID was specified

10002

Driver can not be called

10004

Failed in the closing of the file

 

Initial Value

None

Remarks

Performs this function when you terminate application.
After ending application without performing this function, the device may be unable to be accessed henceforth.

In the case master mode, processing which shifts apparatus to the local mode inside a function is performed.

Example

C

Ret = GpibExit ( DevId );

See Also

GpibInit