Hi Alex,
First a couple of points:
The attribute values you mentioned do indeed cover 09-0F in terms of VME Address modifiers, but it also covers many other address modifier codes as well because the VISA attributes in question only refer to access type, and not the address space. Under VISA, the address space is specified by the "space" parameter, for example in the function viOut16().
So, I have a few more questions for you:
1. What type of VXI slot 0 controller do you have?
2. Can you clarify why you are trying to use address modifier codes 29 or 2D and them attempting to access A32 space? Those VME codes are for short addresses (A16), so I would expect that an error would be returned if you set those attributes and then
attempted to do a write to A32 space.
3. Can you generate an NI-Spy file of a simple example using VISA that does not work?
4. Can you generate an NI-Spy file of a simple example using VISA that does not attempt to modify the attributes in question, but does attempt to write to the device? (also fails, I assume?)
5. Are you able to use the NI-VXI API to access this device successfully, and if so, can you describe how?
6. Have you considered upgrading your driver versions? The versions you are using are about 4-5 years old and have undergone many revisions and bug fixes. I would suggest upgrading to NI-VISA 2.0 at least and NI-VXI 2.1.1, depending on your hardware used.
(FYI, NI-VXI is now at v3.2 and NI-VISA at v2.6, but these are major revisions that may impact your code. You would see less effect yet still much benefit from upgrading partially to NI-VXI 2.1.1 and NI-VISA 2.0 or higher.)
Regards,
Joshua Hernstrom
PXI/VXI Product Support Engineer
National Instr
uments