LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW & WinNT

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


[See first answer for additional information]
0 Kudos
Message 1 of 5
(2,957 Views)
[Attachment(s) for question]
0 Kudos
Message 2 of 5
(2,957 Views)
Patrick,

you can use our PortIO or NTX Toolkit, which gives you direct memory access
within Windows NT or 2k. demo at -> www.xon.de

Peter

Patrick Pol wrote:
>>>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
0 Kudos
Message 3 of 5
(2,957 Views)
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
>
0 Kudos
Message 4 of 5
(2,957 Views)
Patrick,

Check out the KnowledgeBase article on accessing the parallel port from NT
(http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c80752c53
094c296862565f3007ac765?OpenDocument). The llb and zip files at the bottom
of this article contain NT compatible In Port and Out Port vis. I'm using
them successfully on my NT.
Hope this helps.

Jim





Patrick Pol wrote in message
news: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
>
0 Kudos
Message 5 of 5
(2,957 Views)