How Do I Perform Handshaking with an 8255-Based Digital I/O Board (Lab/1200, DIO Boards)?Primary Software: Driver Software>>NI-DAQPrimary Software Version: 6.9.3 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Legacy DAQ Devices
Problem: How do I perform handshaking with an 8255-based Digital I/O board (Lab*, PCI-1200, PC-DIO-24, PC-DIO-96, etc.)? Solution: In LabVIEW, use the Digital Buffered Handshaking.vi. Go to Search Examples > Data Acquisition > Digital Input & Output > Digital Handshaking. To make this example work with a card that has the 8255 chip, you'll have to set Handshake Source as (2) I/O Connector. Also follow the on-line help for this example for other setup requirements. In C (DAQ API), use the example DIOneGroupHandshake.c (NI-DAQ > Examples > Visual C > DI or DO) and in VisualBasic you can use DIOneGroupHandshake.vbp (NI-DAQ > Examples > VBasic > DI or DO). It is strongly recommended that you use these example to get started. This also give you information about what type of I/O connections you need to make. Note also that these chips use the third port for handshaking, so if you want to use a 8255 for handshaking, you lose 1 port of the three. Related Links: Attachments:
Report Date: 11/24/1997 Last Updated: 06/30/2004 Document ID: 13NENPHL |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
