Error 4803 Occurred at Sound Output Configure.vi

Updated Jan 11, 2023

Reported In

Software

  • LabVIEW Base

Issue Details

When I use the Play Waveform Express VI, I get error 4803. How can I fix it?

Error 4803 occurred at Play Waveform

Possible reason(s):

LabVIEW: (Hex 0x12C3) The sound driver or card cannot accommodate the specified configuration.  Check that the parameters entered are within the supported range for the hardware and drivers.

 

Solution

The sound card usually doesn't support the sampling rate that you are using. You will need to resample your signal to better suit your sound card. In order to resample your waveform you can use the Resample Waveforms VIs. This modifies the sampling rate of your waveform and enables your sound card to play it.

For example, if your initial waveform is sampled at 2 MHz and your sound card only supports 48 kHz, you will need to modify your waveform to have a sampling interval (dt) of 2.1E-5 (1/48k). In this example, this will lead to loss of data, but it will enable you to use your sound card to play the signal.

Additional Information

This error may also be caused by choosing an incompatible "number of channels" or "bits per sample" in the sound format cluster. Match those values to compatible values from the documentation of your sound card or driver.