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

◆ x_grecord()

int x_grecord ( GCon  g)

Example GRecord() usage.

Demonstrates QR and DR data records with struct names and pointer arithmetic. Also demonstrates a MotionComplete function with data records.

Warning
This function will attempt to move motors.

Definition at line 10 of file x_grecord.cpp.

References G_DR, G_NO_ERROR, G_QR, GCmd(), GCmdI(), GCmdT(), GCommand(), GRecord(), GRecordRate(), vector(), x_dr_motioncomplete(), and x_e().