Error -4850 in LabVIEW Using Port Out or Port In

Updated May 4, 2023

Reported In


  • LabVIEW
  • LabVIEW 2012 Full



Issue Details

I'm using Port or Port in LabVIEW or an executable and when I try to run the VI, I get the following error:

 Error -4850 LabVIEW:  Device driver not present or not supported.
What does this error mean?


The Port and Port functions are not supported in later versions of LabVIEW. The last version that explicitly supports these functions is LabVIEW 2012. This is due to limited operating system support in Windows Vista and later for the port access that these functions use.

NI-VISA should be used as an alternative in later versions of LabVIEW.