calling adc16_get_cycle in XL code

Post any questions about our serial port products
Post Reply
Dumbo

calling adc16_get_cycle in XL code

Post by Dumbo » Thu Mar 25, 2010 3:40 pm

I am attempting to produce a "live" graph in XL powered through an ADC16. Using code based on the ADC1632 XL example I get data but it does not seem to be very responsive to the input.

I have tried to use the get cycle function to help troubleshooting but am having difficulty in calling the routine. No matter what I try I gat Run time error 49 "Bad DLL calling convention".

Clearly I'm doing something stupid. Can anyone supply an example of how this should be called.

Many thanks.

Post Reply