Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set Ack Pin as General Purpose Output Line?

hello, I see in the PCI-6533 user manual on page c-4 that:

"
Unstrobed I/O—Option to use the ACK<1..2> lines as extra,
general-purpose output lines (OUT<3..4>).
"

How do I do this in c++? I need to be able to set Ack2 (pin 😎 as an output line and then I need to set it high and then low, any help would be greatly appreciated. Thank you.

(I need to use this pin in particular as an output because of a preexisting circuit board with a premade connector that I have to interface with)

0 Kudos
Message 1 of 2
(6,171 Views)

Hello,

All you have to do is write to port 4 on the appropriate channels on the PCI-6533 in order to use those lines as an output.  They are normally reserved for handshaking, but simply write high/low values to them when not reserved in order to use them as general purpose. You may want to look on the bottom of page 2-3 and Table 2-1 on page 2-4 of the manual that explains this a bit more.

Knowledgebase: How Do I Use Port 4 on the AT-DIO-32HS Board (or PCI-DIO-32HS)?

I wrote an example in another language to digital high on port4/line3 and line 4 and it worked fine.

Hope this helps,

Alex A.
Applications Engineer
0 Kudos
Message 2 of 2
(6,160 Views)