Der Befehl müsste eigenlich funktionieren. Der Counter muß dann aber neu initialisiert werden.
ulGpctrNum1 = ND_COUNTER_0
Status := GPCTR_Control(Device, ulGpctrNum1, ND_RESET);
Status := GPCTR_Set_Application(Device, ulGpctrNum1,ND_SIMPLE_EVENT_CNT);
Status := GPCTR_Change_Parameter(Device, ulGpctrNum1, ND_SOURCE,ND_DEFAULT_PFI_LINE);
Status := GPCTR_Change_Parameter(Device, ulGpctrNum1,ND_INITIAL_COUNT,ulCount1);
Status := GPCTR_Control(Device, ulGpctrNum1, ND_PROGRAM);
Ich will den Counter nach dem Auslesen (watch) ohne reset auf 0 setzen. Vielleicht kannst du mir helfen
Gruß
Ulrich