The number of sample I quoted 11718 if for each channel. To calculate the number of samples per second or the sample interval use this formulea:
The maximum number of samples is 3,000,000 when one channel is active and 1,500,000 samples for each channel, when both channels are active.
The timebase you have selected is 7 and both channels are active so therefore:
number of samples = 1,500,000 /2^7 = 11718.75
time interval = 1 / number of samples = 85.33333 microseconds
I have adapted the example that we provide to use the function
The function returns the required number of samples. To use this function you will have to include this line in your module.
- Code: Select all
Declare Sub adc200_get_times_and_values Lib "c:\ADC20032.dll" (times As Long, buffer_a As Integer, buffer_b As Integer, ByVal no_of_values As Long)