gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GRecord< T >()

T GRecord< T > ( bool  async)
inline

Used for retrieving data records from the controller.

Returns
A struct containing the information from 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.
Type Constraints
T :struct 
T :GDataRecord 

Definition at line 566 of file gclib.cs.