SachaE wrote:
> LabVIEW 7.0 cannot use the built-in In/Out Port VIs with a 32-bit
> address. Instead, you will have to use the versions of these VIs found
> in previous versions of LabVIEW.
Are you talking about physical memory access here? If so that is
something entirely different. The Intel x86 architecture uses a separate
IO address range which is entirely separate from memory space.
And at least up to the first Pentium models it was definitely never
possible to address more than 16 bits for IO address space.
This of course has gotten a little more complicated nowadays with many
PCI boards being actually mapped into memory address space instead of IO
address space. So eventhough a PCI board is more like an IO device it
often is accessed in the memory space.
> Actually, the In Port and Out Port VIs are intended for 16-bit port
> I/O and not for writing to arbitrary addresses in memory. For this
> reason, writing to 32-bit addresses never should have been allowed.
I think the VIs to access physical memory addresses were different than
the ones to access IO addresses. And yes it is definitely not a good
idea to have an application poke into physical memory as it could
completely screw the system to the point where you couldn't start it
anymore. Also IO devices mapped into memory address space are almost
always typically plug and play devices, so their address is not really
fixed and you need to do quite some more work on OS level to enumerate
your hardware and find the resources used before trying to access it.
This is something not really suited to try to do in LabVIEW and
therefore should be at least implemented as DLL but in fact anything but
a device driver is a very bad kludge.
> One possible work-around would be to use NI-VISA to perform
> register-level programming. NI-VISA gives you access to any PXI/PCI
> board, not only NI boards, and can be used to access the board's
> registers.
>
> http://zone.ni.com/devzone/conceptd.nsf/webmain/ADF3152837E2B4A486256B5600642AC7?opendocument
Thanks for this. Didn't now this existed in NI-VISA. Will check it out.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390