Hello, ALL
I work with DAQPad-6020E, using Measure Studio for VC++.
TASK:
   I try to count the number of quadrature encoded digital pulses using a general purpose counter. Exactly I need to make it with 2 counters (X and Y coordinates of optical mouse).
STEPS:
    At first I try use sample of NI library. But function 
    iStatus = GPCTR_Set_Application( iDevice, ulGpctrNum, ND_POSITION_MSR);
return error (-10120 - "Invalid application used")!!! 
I change nothing in sample (CTR\TIOquadEncoderPosMeasure), so what's up?
Wait impatiently for your answer,
Alexey Potanin, NI beginner...