Writing language is Delphi 10.3. (newest version)
The dll I use is ps2000a.dll dated 11-07-17.
Following functions are implemented and works well:
However ps2000aSetSimpleTrigger does only function partly:
- enable is ok
- source is ok
- threshold has no effect
- direction is ok
- delay is not tested
- AutoTrigger_ms is ok
Therefore I can setup the scope and sample and retreive data, but I cannot set the trigger level to anything other than 0Volts. As long as 0
Any comments or suggestions are welcomed.
It turned out that the compiler took the PS2000A_CHANNEL parameter (source) as a byte. Forcing it to int16 solved the problem.