Hi Patrick,
The hardware layers are much better protected under WindowsNT. Any request
for access to the system has to go though the operating system. Because of
this
difference in architecture you cannot use the standard InPort and OutPort
vi's as
supplied by National Instruments. However they do have a fix for it but for
some
reason.... Anyway if you call NI support they will say they are aware of the
problem
and will send you the WinNT VI's. But I can cut the process short and just
attach it.
(private mail)
RB.
From: Erik.Van-Hilten@ni.com
Subject: inport and outport
Classification: Restricted
|---------------------------------------------------------------------------
---|
|Title*: Port and Memory Utilities for Windows
|
|---------------------------------------------------------------------------
---|
|Description*:
|
|These files allow a user to call In Port and Out Port from Windows
98/95/NT. |
|There are also functions to read or write physical memory. The zip file
below|
|contains an installer that installs two LabVIEW libraries of 12 VIs each, a
|
|CVI DLL, the CVI run-time engine (with the low level system driver), and
the |
|source file. There are separate libraries for LabVIEW 4.x and 5.x. The
5.x |
|VIs are marked as thread-safe.
|
|In Port.vi and Out Port.vi are direct replacements for the standard LabVIEW
In|
|Port and Out Port. There are also VIs for reading and writing physical
|
|memory. However, these use an intermediate DLL, AccessHW.DLL, which in
turn |
|calls the CVI RTE. Consequently, this DLL must be in the same directory as
|
|the VIs.
|
|
|
|Also attached is a C example that uses these functions.
|
|---------------------------------------------------------------------------
---|
(See attached file: accessHW.zip)
Patrick Pol wrote in message <39328264.3818E242@vitatron.com>...
>
>Hello,
>
>Can anyone tell me if I can use the memory VI's In Port.vi and Out
>port.vi with Windows NT 4.0 (Or with Windows 2000)? I am
>using LabVIEW 5.1.1
>
>The manual says that it can be used with Win 3.11/95/98.
>
>Thanks,
>
>Patrick Pol
>The Netherlands
>