02-23-2013 02:23 AM
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.
02-23-2013 04:24 AM - edited 02-23-2013 04:25 AM
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!