Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I access the Registers using Delphi 4?

We are unable to find a command to access the registers of a PCMCIA (TN4882)
using Delphi 4 on a Windows 2000 platform. C++ seems to have a command
(outp(); and inp();). But we are unable to find any thing similar in
Delphi. Any Ideas.....
Thank you
tinman1@davis.uswest.net





T
0 Kudos
Message 1 of 3
(3,716 Views)
If Delphi has "in-line assembler" feature, you can use it. Otherwise, write
a DLL that accesses registers and i/o ports with C/C++ language and use
it from Delphi.
makoto

"All" wrote in message
news:3a25d046@newsgroups.ni.com...
> We are unable to find a command to access the registers of a PCMCIA
(TN4882)
> using Delphi 4 on a Windows 2000 platform. C++ seems to have a command
> (outp(); and inp();). But we are unable to find any thing similar in
> Delphi. Any Ideas.....
> Thank you
> tinman1@davis.uswest.net
>
>
>
>
>
> T
>
>
0 Kudos
Message 2 of 3
(3,716 Views)
With Win2000 direct access is not posible without special service. CVI Run
time have this services search in zone.ni.com for AccessHW - LabView llb and
dll for port access under WinNT
I test this DLL with NT 4 Terminal , NT4 WS,Serv, Win2K and all is OK.

"All" wrote in message
news:3a25d046@newsgroups.ni.com...
> We are unable to find a command to access the registers of a PCMCIA
(TN4882)
> using Delphi 4 on a Windows 2000 platform. C++ seems to have a command
> (outp(); and inp();). But we are unable to find any thing similar in
> Delphi. Any Ideas.....
> Thank you
> tinman1@davis.uswest.net
>
>
>
>
>
> T
>
>
0 Kudos
Message 3 of 3
(3,716 Views)