My goal is to control an experimental setup using a PCI-6503 digital I/O board using Labview 7.1 on Mac OSX 10.4.4, I do not need a precise timing and I would like to keep the wiring as is (this means: buying a new board or an USB DIO is not a good solution). NIDAQ-Base does not support the 6503 board on OSX.
What I did up to now:
* with NI-VISA Driver Wizard I could create a VISA device PXI0::20::INSTR and using "system profiler" I can see the board on the PCI bus
* I found the document "Using the VISA Driver Development Wizard and NI-VISA to Register-Level Program a PXI/PCI Device under Windows" http://zone.ni.com/devzone/conceptd.nsf/webmain/ADF3152837E2B4A486256B5600642AC7 and I tried to program more or less the same thing changing a few parameters based on the "register level programming" information in the PCI-6503 User manual. VISA Open works, using a property node I can read some information out of the board.
I used the following procedure:
VISA Out 8 to initialize the board: Adress space "11" (BAR0), offset 0xc0 value: BAR1_base & 0x80 (like in the manual).
"VISA Map Adress" with Adress space "12" (BAR1), base 0, size 0x1000
"VISA poke 8" offset 3, data 0x80 to setup all port to output
"VISA poke 8" offset 0, data 0x0 to set all outputs down -> no result
"Visa unmap" and "VISA Close" to end nicely.
What does not work:
- I cannot change the states of the ourput lines
- when I try to read from the board ports, the system crashes.
Attached is my test VI, any suggestion is welcome.