TOscilloscopie is not just a graphical effect control.
It can be used to create real-time waveform visualizers, audio analyzers, electronic signal simulators and educational applications.
Some possible uses:
- Audio waveform visualization
- Oscilloscope simulation for schools and laboratories
- MIDI activity monitor
- FFT / spectrum analyzer
- Real-time serial data visualization
- Arduino / ESP32 sensor monitor
- Industrial data plotting
- Scientific signal analysis
- ECG / biomedical signal simulation
- Retro synth and music applications
- Debugging serial devices
- Educational electronics software
- Waveform generators
- CSV / WAV file visualization
- Real-time monitoring dashboards
The control supports:
- Multiple channels
- Independent colors and pen sizes
- Different waveform types
- Horizontal scrolling
- Configurable grid
- Center reference lines
- Vertical and horizontal measures
- Real-time updates
- Script-based waveform generation (on working)
- Custom waveform rendering methods
Possible future extensions:
-scripts
- Audio input support
- WAV playback visualization
- USB/RS232 hardware integration
- Trigger system
- Zoom
- Data recording
- Screenshot export
- Signal math functions
- Real-time FFT
One practical use of TOscilloscopie is real-time visualization of data coming from a COM/RS232 serial port.
For example:
- Arduino sensors
- ESP32 devices
- Temperature sensors
- Voltage readers
- PWM generators
- Industrial controllers
- Laboratory instruments
- Serial debugging tools
The device can send numeric values through the serial port:
45
48
50
55
60
and the oscilloscope can display the signal in real time using:
ADD VALUE TO oOsc ;
CHANNEL 1 ;
VALUE nValue
This makes TOscilloscopie useful for:
- Electronic laboratories
- Technical schools
- Automation projects
- Audio experiments
- Sensor monitoring
- Educational demonstrations
The class can also be used to visualize data coming from:
- WAV audio files
- CSV files
- MIDI events
- Real-time generated signals
- External scripts
- USB virtual COM devices
Example architecture:
Sensor -> COM Port -> FiveWin RS232 -> TOscilloscopie
The control can therefore simulate a small software oscilloscope entirely written in FiveWin/Harbour.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com