You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an analogue waveform and a digital waveform is generated with the PSLab device at the same time, the analogue waveform is not generated as selected.
Expected Behaviour
If an analogue waveform and a digital waveform is generated with the PSLab device at the same time, both waveforms are generated as selected.
Or if this is a limitation of the PSLab hardware, it should not be possible to generate analogue and digital waveforms at the same time.
Steps to reproduce it
Connect Sine Wave 1 with CH1
Connect Square Wave 1 with CH3
Open app
Go to Wave Generator
Set frequency for analogue waveform
Set frequency for digital waveform
Start waveforms
Go to oscilloscope
Screenshots of the issue
Would you like to work on the issue?
Maybe.
The text was updated successfully, but these errors were encountered:
@bessman, do you know if this is a limitation of the PSLab hardware?
marcnause
changed the title
Sine wave not generated correctly if digital waveform is used at the same time
Analogue waveform not generated correctly if digital waveform is used at the same time
Jun 5, 2024
This is partly a limitation in the hardware, partly in the firmware.
Channels SI1/SQ4 are both controlled by MCU pin 56, same for pins SI2/SQ3 which are controlled by MCU pin 57. This means that the hardware cannot generate a square wave on SQ4/SQ3 and simultaneously generate an analog wave on SI1/SI2.
However, the hardware should be able to generate a square wave on SQ3 (or SQ1, SQ2, just not SQ4) and simultaneously generate an analog wave on SI1. This does not currently work due to a firmware limitation; the firmware function responsible for generating square waves on SQ3 and SQ4 use certain registers which are also used by the analog waveform generator.
The hardware limitation should be communicated to the user in some way. I should be able to remove the firmware limitation, but until then it should also be communicated to the user.
I don't know what would be the best way to communicate the limitation to the user in an elegant way. Maybe change the UI to somehow indicate an analogue mode and a digital mode!?
Actual Behaviour
If an analogue waveform and a digital waveform is generated with the PSLab device at the same time, the analogue waveform is not generated as selected.
Expected Behaviour
If an analogue waveform and a digital waveform is generated with the PSLab device at the same time, both waveforms are generated as selected.
Or if this is a limitation of the PSLab hardware, it should not be possible to generate analogue and digital waveforms at the same time.
Steps to reproduce it
Screenshots of the issue
Would you like to work on the issue?
Maybe.
The text was updated successfully, but these errors were encountered: