If the max. difference between the sequential images is greater than Threshold then motion occurred.
Threshold As Long
Class GxMotdet Overview GxMotdet Properties GxMotdet Methods SetIntProperty UpdateImage