Hello,
There is a program that uses PCI-QUAD04, and I want to use two encoder channels of USB-1808 to make the program work the same way.
PCI-QUAD04 and USB-1808 use different functions and RegNum are different, so I want to get help on how to change them.
err = cbC7266Config(vSet.cntboard, ch, X1_QUAD, NORMAL_MODE, BINARY_ENCODING,
RESET_CTR, DISABLED, CARRY_BORROW, DISABLED);
-> cbCConfigScan(helpme)
err = cbCLoad32(vSet.cntboard, COUNT1+ch, 0); // start value
err = cbCLoad32(vSet.cntboard, PRESET1+ch, 100000); // end value
err = cbCLoad32(vSet.cntboard, PRESCALER1+ch, 1); // filter 0 ~ 255
-> cbCLoad32(vSet.cntboard, LOADREG0(correct?) +ch, 0);
cbCLoad32(vSet.cntboard, MINLIMITREG0(?) +ch, 100000);
cbCLoad32(vSet.cntboard, MAXLIMITREG0(?) +ch, 1);
Thanks.