Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming the AT-DIO-32HS board

I am working on a program that currently uses the AT-DIO-32F board. We would like to directly replace this board with the AT-DIO-32HS. According to the article at this link, http://digital.ni.com/public.nsf/allkb/862567530005F09C8625659C0063D24D
<http://digital.ni.com/public.nsf/allkb/862567530005F09C8625659C0063D24D , it should be a direct replacement. However, the software that I am using uses the IN and OUT lines of the AT-DIO-32F board, which are not supported on the newer AT-DIO-32HS board. Where can I find a register map for the new AT-DIO-32HS board, and a summary of how to stop using the IN1, IN2, OUT1 and OUT2 lines on the older board and the new lines/registers I should use on the AT-DIO-32HS board ? I also could not find a register map for the AT-DIO-32HS  board.
 
Any help would be appreciated. I am a very experienced Visual C++ developer, but not at this board-level so any help would be appreciated.
 
Thank You !
0 Kudos
Message 1 of 5
(3,922 Views)
Hi Raminta,

The AT-DIO-32HS can be a direct replacement for your board.  I looked through the manuals for both boards and I can see that while the 32-HS board does not have the IN and OUT pins specifically they are actually port 4 of the 32-HS board.  The HS board has the added functionality of letting those lines be extra data lines if necessary.  I found this information on page 23 of the AT-DIO-32HS board.  The pinout of the AT-DIO-32HS board is located in Appendix C page 2 of the manual.  Please let me know if you have any further questions about replacing the 32F with the 32 HS.

Have a great day,

Michael
0 Kudos
Message 2 of 5
(3,902 Views)

Hi,

Thanks so much for your response. Well I DO have some more comments and questions ! So here it goes...

1. It seems that the IN1 and OUT1 and IN2 and OUT2 lines on both the cards are the same (same pin #'s) so we should not have to 're-wire' anything.

2. In the current program that I am maintaining, which uses the AT-DIO-32F card (-32F), it uses the registers on the board to read and write to certain -32F lines. This board has CFG1, CFG2, STAT, PORTA, PORTB, etc... registers.  My software uses a special library to write and read directly to and from these registers. For example, suppose the Base address of the board itself is 0x240. The CFG2 register is at base address offset = 0x02. Thus, my software will call a routine such as:  

OUTW(base_address+CFG2_offset,  x0001) 

to set bit 0 of the CFG2 register to 1.  The manual for the -32F has an appendix that describes completely all of its' registers. When I look at the NI-653X User Manual, I do not see a description of the registers. Is this information in another manual ? Or should I assume the registers and register offsets in the -32HS are the same as for this in the -32F ?  I believe this is my issue and burning question now.

THANK YOU SO MUCH! Your reply and help are greatly appreciated !!

 

0 Kudos
Message 3 of 5
(3,860 Views)

Hey Raminta,

The device registers can be found at the following location. 

http://sine.ni.com/nips/cds/view/p/lang/en/nid/11737 

From there you will select to download the NI Measurement Hardware DDK.  You will be prompted to answer a few questions and then select to go to the NI Measurement Hardware DDK files.  On that page you can download the Register map for the 6533.  Please let me know if you have any trouble accessing this document.

Have a great week,

Michael
Applications Engineering
National Instruments

 
0 Kudos
Message 4 of 5
(3,838 Views)
It seems the information I was referred to in the last post (register map info) was for the PCI card. We wanted to get register map info for the AT-DIO-32HS card. Would the register maps be the same ? Is this info even available ?
 
thank you !!
0 Kudos
Message 5 of 5
(3,808 Views)