Page 1 of 1
New class : TOscilloscopie
Posted: Sat May 16, 2026 5:45 pm
by Silvio.Falconi

TOscilloscopie is a custom FiveWin/Harbour control designed to simulate a digital oscilloscope.
It can display real-time waveforms such as sine, square, triangle, ECG, FFT, noise and glitch effects using double buffering for smooth rendering.
The class supports:
- customizable colors for background, grid and waves
- horizontal scrolling and real-time updates
- multiple visualization modes
- animated signal generation with timers
- GDI drawing directly on memory DCs for better performance
It is useful for audio visualization, MIDI monitoring, signal analysis and modern UI applications written in Harbour + FiveWin.
Easy syntax
Code: Select all | Expand
@ 10,10 OSCILLOSCOPE oOsc ;
SIZE 930,300 ;
OF oDlg
ADD CHANNEL TO oOsc ;
COLOR CLR_YELLOW ;
PEN 2 ;
TYPE OSC_TYPE_SINUSO
ADD VALUE TO oOsc ;
CHANNEL 1 ;
VALUE nSin
Re: New class : TOscilloscopie
Posted: Sun May 17, 2026 9:31 am
by Silvio.Falconi
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.
Re: New class : TOscilloscopie
Posted: Mon May 18, 2026 1:34 am
by Willi Quintana
Re: New class : TOscilloscopie
Posted: Mon May 18, 2026 5:22 pm
by Silvio.Falconi
Simulation on a window with result data

Re: New class : TOscilloscopie
Posted: Tue May 19, 2026 11:23 pm
by RAMESHBABU
Dear Silivio,
Congratulations to You The Experienced FiveWinner. Great Class. 
-Ramesh Babu