![]() |
gclib 2.1.20
Galil Communications Library
|
Receive messages and interrupts. More...
Functions | |
byte | gclib.GInterrupt () |
Provides access to PCI and UDP interrupts from the controller. | |
string | gclib.GMessage () |
Provides access to unsolicited messages. | |
T | gclib.GRecord< T > (bool async) |
Used for retrieving data records from the controller. | |
void | gclib.GRecordRate (double period_ms) |
Sets the asynchronous data record to a user-specified period via DR. | |
|
inline |
Provides access to PCI and UDP interrupts from the controller.
Wrapper around gclib GInterrupt(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#a5bcf802404a96343e7593d247b67f132 -s ALL or -s EI must be specified in the address argument of GOpen() to receive interrupts.
|
inline |
Provides access to unsolicited messages.
Wrapper around gclib GMessage(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#aabc5eaa09ddeca55ab8ee048b916cbcd An empty string is returned on error. -s ALL or -s MG must be specified in the address argument of GOpen() to receive messages.
|
inline |
Used for retrieving data records from the controller.
async | False to user QR, True to use DR. |
Wrapper around gclib GRecord(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#a1f39cd57dcfa55d065c972a020b1f8ee To use async, -s ALL or -s DR must be specified in the address argument of GOpen(), and the records must be started via DR or RecordRate().
System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib. |
T | : | struct | |
T | : | GDataRecord |
|
inline |
Sets the asynchronous data record to a user-specified period via DR.
period_ms | Period, in milliseconds, to set up for the asynchronous data record. |
Wrapper around gclib GRecordRate(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclibo_8h.html#ada86dc9d33ac961412583881963a1b8a Takes TM and product type into account and sets the DR period to the period requested by the user, if possible.
System.Exception | Will throw an exception if anything other than G_NO_ERROR is received from gclib. |