The amplitude of the signal is output as Analogue to Digital Converter (ADC) Counts from the driver. You can convert to millivolts using the following formula:
- Code: Select all
voltage_value = (value / max_value) * voltage_range
voltage_range is the voltage range you have selected e.g 1000 milliVolts (remember it is an enumeration for setting the voltage range in ps3000aSetChannel so don't use the enum value itself).
If converting to volts instead of milliVolts, simply adjust voltage_range.
max_value is returned from the call to ps3000aMaximumValue - it is the maximum ADC Count for the driver.
I hope this helps.