gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ GRecordRate()

void GRecordRate ( double  period_ms)
inline

Sets the asynchronous data record to a user-specified period via DR.

Parameters
period_msPeriod, 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.

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

Definition at line 588 of file gclib.cs.

References G_NO_ERROR, GError(), and vector().