Share My Creation Oscilloscope

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"/>
 

Attachments

  • Oscilloscope.jpg
    Oscilloscope.jpg
    90.7 KB · Views: 14,948
  • Oscilloscope1.jpg
    Oscilloscope1.jpg
    90.5 KB · Views: 2,083
  • Oscilloscope2.jpg
    Oscilloscope2.jpg
    90.1 KB · Views: 2,092
  • Oscilloscope_V_1_4.zip
    8.4 KB · Views: 946
Last edited:

klaus

Expert
Licensed User
Longtime User
... getting data from Arduino via a Bluetooth.
I have no experience in that area. But you should find some threads on the subject.
To display the data you can use the code from the oscilloscope example and change the Sub GetValues routine.
You could also have a look at the User's Guide chapter 9.3 Diagrams / Charts.

Best regards.
 

Beja

Expert
Licensed User
Longtime User
getting data from Arduino via a Bluetooth.
For real-time data acquisition, bluetooth is too slow, because you can't use more than one bt Chanel.

edit:
I mean you can multiplex signals and use a single bt channel but this will be absolutely futile if used in audio or radio high frequencies.
 
Last edited:
Top