LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error on running a windows xp based .VI in windows 7

Hello; I  am a new user of labview. I want to use a .VI that properly works in windows xp. But when I run

this .VI in windows 7, this error at port 32 is displayed.

Error: -4850 Occured at In port 32.Vi

This .VI is a driver for a hardware that controls some laboratory instruments. Also my labview version is 10.0 32bit (2010) and my os is windows 7 ultimate copy right 2009 service pack1 ).
Error: -4850 Occured at In port 32.Vi
Thanks a lot.

0 Kudos
Message 1 of 2
(2,529 Views)

Hi mehrmoh,

 

Port-commands aren't supported for "newer" OS. So you have two options:

- use a more up-to-date device driver

- stick with an old and obsolete OS to support your device

 

So either stick with WinXP and LV2010, when your device runs with that setting!

 

That's not a fault of LabVIEW, it's originated in the security system of the OS. No software (except OS kernel) is allowed to directly access hardware (as is done with Port commands). You have to live with the requirements/enforcements of the OS!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,520 Views)