gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GRecord()

T GRecord ( Of  GDataRecord)

Used for retrieving data records from the controller.

Returns
A struct containing the information of the retrieved data record.
Parameters
asyncFalse 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().

Exceptions
System.ExceptionWill throw an exception if anything other than G_NO_ERROR is received from gclib.