Error -4850 in LabVIEW Using Port Out or Port In

Updated Apr 18, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW 2012 Full

Issue Details

I'm using Port Out.vi or Port In.vi 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?
 

Solution

The Port In.vi and Port Out.vi 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.

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

WAS THIS ARTICLE HELPFUL?

Not Helpful