Error 4800 at Sound Input Configure.vi

Updated Jun 12, 2018

Reported In

Software

  • LabVIEW

Issue Details

I am using the Sound Input Configure.vi to setup sound measurement in LabVIEW I am getting the following error. How can I resolve this error?

Error 4800 occurred at Sound Input Configure.vi
LabVIEW:  (Hex 0x12C0) Selected Device is Invalid

 
 

Solution

This occurs because the Device ID selected is not recognized as a valid sound input device.

Try the following steps to cause LabVIEW to recognize your sound input device:
  1. Save your VI and exit out of LabVIEW completely
  2. Double check that your sound input device is recognized in the Windows Sound panel
  3. With the devices still attached, reload LabVIEW 
  4. Run your VI

Additional Information

This error generally occurs when a sound input device is connected to a PC after the LabVIEW environment has been loaded. LabVIEW only populates the sound device list upon startup when lvsound.llb or lvsound2.llb is loaded into memory.

As a workaround you can create a subVI and call it dynamically. This should allow the library to re-populate when the subVI is called. 

WAS THIS ARTICLE HELPFUL?

Not Helpful