After a question here 'How to create a scope', I played a bit with the subject. Reminded me some 'old' days .
The program can:
- display 4 curves, selectable
- select time interval (sampling rate)
- select the scale for each curve
- set an offset for each curve
- three diplay modes (SCOPE, MEM, ROLL)
- when the scope is stopped, display the curve values (touching the screen and moving)
The program is based on a timer, therefore there could be timing problems on slow devices.
The scope is on a panel so it could be used in other programs.
The curves are calculated, but it's possible to change the GetValues routine to get other signals.
The program is more a 'demonstrator' rather than a stand alone scope.
Bug reports and suggestions are welcome.
Best regards.
EDIT: 2012.01.07 Version 1.1
Amended bug reported in post #9
EDIT: 2012.01.10 Version 1.2
ROLL mode does work, but somewhat slow
EDIT: 2012.01.11 Version 1.3
Amended the bugs reported in post #14
EDiT: 2018.05.04 Version 1.4
Set the target version to 26 in the ManifestEditor
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
The program can:
- display 4 curves, selectable
- select time interval (sampling rate)
- select the scale for each curve
- set an offset for each curve
- three diplay modes (SCOPE, MEM, ROLL)
- when the scope is stopped, display the curve values (touching the screen and moving)
The program is based on a timer, therefore there could be timing problems on slow devices.
The scope is on a panel so it could be used in other programs.
The curves are calculated, but it's possible to change the GetValues routine to get other signals.
The program is more a 'demonstrator' rather than a stand alone scope.
Bug reports and suggestions are welcome.
Best regards.
EDIT: 2012.01.07 Version 1.1
Amended bug reported in post #9
EDIT: 2012.01.10 Version 1.2
ROLL mode does work, but somewhat slow
EDIT: 2012.01.11 Version 1.3
Amended the bugs reported in post #14
EDiT: 2018.05.04 Version 1.4
Set the target version to 26 in the ManifestEditor
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
Attachments
Last edited: