I am having a DAQ device with model QUAD08. I would like to perform Encoder scan for all channels (from Chan 0 - Chan 7). Here are some of my questions:
1. I looked into universal library documentation and notice there is "mapCounter" argument. I am not understand what is the used of this argument and what value should I put if I would like to configure each of the counter channel? public MccDaq.ErrorInfo CConfigScan(int counterNum, MccDaq.CounterMode mode, MccDaq.CounterDebounceTime debounceTime, MccDaq.CounterDebounceMode debounceMode, MccDaq.CounterEdgeDetection edgeDetection, int tickSize, int mapCounter)
2. What is the correct step to run CInScan for all encoder channel? Is there any parameter I have to pay attention, like ScanOptions, CounterMode, MemData format, etc?
Question
Ricky Ooi
I am having a DAQ device with model QUAD08. I would like to perform Encoder scan for all channels (from Chan 0 - Chan 7). Here are some of my questions:
1. I looked into universal library documentation and notice there is "mapCounter" argument. I am not understand what is the used of this argument and what value should I put if I would like to configure each of the counter channel?
public MccDaq.ErrorInfo CConfigScan(int counterNum, MccDaq.CounterMode mode, MccDaq.CounterDebounceTime debounceTime, MccDaq.CounterDebounceMode debounceMode, MccDaq.CounterEdgeDetection edgeDetection, int tickSize, int mapCounter)
2. What is the correct step to run CInScan for all encoder channel? Is there any parameter I have to pay attention, like ScanOptions, CounterMode, MemData format, etc?
Edited by Ricky OoiLink to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now