gclib 2.1.20
Galil Communications Library
All Classes Files Functions Variables Typedefs Macros Modules Pages
Java

Topics

 Connection
 Discover available controllers and open connections.
 
 Controller
 Manage a Galil controller.
 
 Galil Connect
 Host or connect to a remote gcaps instance.
 

Functions

void gclibjava.GclibJava.GSleep (int timeout_ms)
 Uses GUtility() and G_UTIL_SLEEP to provide a blocking sleep call which can be useful for timing-based chores.
 
String gclibjava.GclibJava.GVersion () throws GclibJavaException
 Uses GUtility(), G_UTIL_VERSION and G_UTIL_GCAPS_VERSION to provide the library and gcaps version numbers.
 

Function Documentation

◆ GSleep()

void gclibjava.GclibJava.GSleep ( int timeout_ms)
inline

Uses GUtility() and G_UTIL_SLEEP to provide a blocking sleep call which can be useful for timing-based chores.

In GclibJava, this is primarily a debugging call.

Parameters
timeout_msSleep time in milliseconds.

Definition at line 552 of file GclibJava.java.

◆ GVersion()

String gclibjava.GclibJava.GVersion ( ) throws GclibJavaException
inline

Uses GUtility(), G_UTIL_VERSION and G_UTIL_GCAPS_VERSION to provide the library and gcaps version numbers.

Returns
A String containing the version, e.g. 189.224.370 1.0.0.125
Exceptions
GclibJavaExceptionIf an error is generated by gclib.

Definition at line 579 of file GclibJava.java.