LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory/Port IO in LabView 8

LV 7.1 only offered 8bit Port I/O VI's.  In order to do 32bit memory read/writes I had to download an AccessHW utility.
 
In LV 8 it looks like this has been fixed...as the Port I/O routines are polymorphic, allowing to switch between 8, 16, or 32 bit use.

However, my application doesn't seem to be responding to this change. 
 
Are the LV 8 routines really the fix, or should I be looking for another AccessHW utility?
 
 
0 Kudos
Message 1 of 4
(3,240 Views)
Hello,
 
The In Port and Out Port VIs should be polymorphic in LabVIEW 7.1 as well (see the attached screenshot).  The VIs should take 16 bit addresses, and read/write 8, 16, or 32 bit signed integers.  Could it be that our application, or the test you ran, only depends on the 8-bits you have previously been reading?
 
If you can give more details, I'll try to help you further!
 
Thank you,
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 4
(3,222 Views)

My apologies...let me be a bit more specific.

I had downloaded AccessHW library that allowed me to write 32-bit data to 32-bit addresses.

The normal Port IO routines allow 32-bit data, but only 16-bit addressing.

So....Is there a AccessHW library for LV8?

OR...

Do I just need to break it up 16 bits at a time?

 

0 Kudos
Message 3 of 4
(3,218 Views)
Hello,
 
The documentation for the In Port and Out Port functions in LabVIEW 8.0 specifically indicates that they only accept 16-bit addresses.  If you have a library of VIs that you were using in a previous version of LabVIEW 7.1 to achieve this, you can try making a copy of that library into a new directory, and then mass-compiling the new directory in LabVIEW 8.0.  Also, I'm not sure what hardware interface you are accessing, but you can use NI-VISA to do register level programming - the following may be a useful tutorial if that's an option for you:
 
Using the VISA Driver Development Wizard and NI-VISA to Register-Level Program a PXI/PCI Device under Windows
 
If this is an option for you, the related links at the bottom of the document linked above may also be useful!
 
Thank you,
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 4 of 4
(3,203 Views)