suivant l'exemple de NI "TIO_Position_Measurement.zip"
j'arrive a lire la position de mes axes avec les 2 premiers counter 0 et 1.
GPCTR_Control (PCI6601, ND_COUNTER_0, ND_RESET);//ND_COUNTER_1
GPCTR_Set_Application(PCI6601,ND_COUNTER_0,ND_POSITION_MSR);
GPCTR_Change_Parameter (PCI6601, ND_COUNTER_0, ND_ENCODER_TYPE,ND_QUADRATURE_ENCODER_X1);
GPCTR_Change_Parameter(PCI6601,ND_COUNTER_0,ND_INITIAL_COUNT, 0);
Line_Change_Attribute(PCI6601, ND_PFI_39, ND_LINE_FILTER, ND_500_NANOSECONDS);
//ND_PFI_38 ND_PFI_37
mais il impossible avec la même configuration de lire la valeur des 2 autre counter 2 et 3 de ma carte PCI6601.
coment faire?