Donald Wager


Discussion created by Donald Wager on Feb 19, 2009
Latest reply on Feb 23, 2009 by Processor Expert

I am having trouble getting the GetChanValue(channel,void*) to work. I used processor expert to set up the A to D. The only methods I had it generate was the GetChanValue and Measure. I am only using 4 channels of the A to D. The first parameter it wants is the channel being measured. I declare the variable channel as a byte and set it to 0x01 for channel one. I can't seem to dereference the pointer to get converted value. I also set it up for 8 bit resolution. So I am assuming it will be a one byte value. Can some send me a code snippet with an example as how to use this.


Thanks in advance