background image

 

Chapter 4 

Programming and Developing Applications 

After following the installation instructions in Chapter 2, your board should now be installed and ready for use. 
In general there may be no correspondence among registers for different boards. Software written at the register 
level for other models will not function correctly with your board. 

Programming languages 

Measurement Computing's Universal Library provides access to board functions from a variety of Windows 
programming languages. If you are planning to write programs, or would like to run the example programs for 
Visual Basic

 or any other language, refer to the 

Universal Library User's Guide

 (available on our web site at 

www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf

)

Packaged applications programs 

Many packaged application programs now have drivers for your board. If the package you own does not have 
drivers for your board, please fax or e-mail the package name and the revision number from the install disks. 
We will research the package for you and advise how to obtain drivers. 

Some application drivers are included with the Universal Library package, but not with the application package. 
If you have purchased an application package directly from the software vendor, you may need to purchase our 
Universal Library and drivers. Please contact us by phone, fax or e-mail: 

ƒ

 

Phone: 508-946-5100 and follow the instructions for reaching Tech Support.  

ƒ

 

Fax: 508-946-9500 to the attention of Tech Support 

ƒ

 

Email: 

[email protected]

 

Register-level programming 

You should use the Universal Library or one of the packaged application programs mentioned above to control 
your board. Only experienced programmers should try register-level programming. 

If you need to program at the register level in your application, refer to the 

Register Map for the  

CIO-DIO24, CIO-DIO24H, and CIO-DIO24/CTR3

. This document is available on our website at 

www.mccdaq.com/registermaps/RegMapCIO-DIO24-Series.pdf

 

17 

Содержание CIO-DIO24H

Страница 1: ......

Страница 2: ...CIO DIO24H Digital Input Output Board User s Guide Document Revision 1 January 2007 Copyright 2007 Measurement Computing Corporation...

Страница 3: ...r only 50 of the current list price I O boards face some tough operating conditions some more severe than the boards are designed to withstand When a board becomes damaged just return the unit with an...

Страница 4: ...om its use No license is granted by implication or otherwise under any patent or copyrights of Measurement Computing Corporation All rights reserved No part of this publication may be reproduced store...

Страница 5: ...the software 9 Configuring the CIO DIO24H 9 Base address 10 Interrupt level 11 Wait state 12 Installing the CIO DIO24H 12 Connecting the board for I O operations 13 Connectors cables main I O connect...

Страница 6: ...c text Italic text is used for the names of manuals and help topic titles and to emphasize a word or phrase For example The InstaCal installation procedure is explained in the Quick Start Guide Never...

Страница 7: ...e standard high input impedance of the 74LS series devices All I O bits are set to input mode high impedance on power up and reset If you are using the board to control items that must be OFF on reset...

Страница 8: ...pdf This booklet supplies a brief description of the software you received with your CIO DIO24H and information regarding installation of that software Please read this booklet completely before inst...

Страница 9: ...g the software Refer to the Quick Start Guide for instructions on installing the software on the Measurement Computing Data Acquisition Software CD This booklet is available in PDF at www mccdaq com P...

Страница 10: ...espond to that address bit A complete address is constructed by calculating the HEX or decimal number which corresponds to all the address bits the board has been instructed to respond to The board is...

Страница 11: ...available Check your computer for other boards which may use I O addresses Interrupt level The trigger logic on the CIO DIO24H is quite simple Pin 1 IR Input of the board s 37 pin connector is an inp...

Страница 12: ...ll be accepted The wait state generator is only active when the CIO DIO24H is being accessed Your PC will not be slowed down in general by using the wait state O N O F F WAIT STATE Figure 4 Wait state...

Страница 13: ...ruct your own cable Compatible accessory products with the C37FF x cable and C37FFS x cable CIO MINI37 CIO SPADE50 SSR RACK08 SSR RACK24 CIO ERB08 CIO ERB24 The CIO DIO24H connector is a 37 pin D type...

Страница 14: ...n this product are available on our web site at www mccdaq com cbicatalog cbiproduct asp dept_id 122 pf_id 620 SSR RACK24 24 channel solid state r elay mounting rack for digital signal conditioning De...

Страница 15: ...onality these inputs will typically float high and may have enough drive current to turn on external devices Consequently if you have output devices such as solid state relays they may be switched on...

Страница 16: ...2 n1 n0 n6 COM 2 2 K SIP installed for pull down Digital I O Port n A B or C To pull up lines orient the SIP with the common pin dot toward the HI end to pull down install the resistor with the common...

Страница 17: ...s for your board please fax or e mail the package name and the revision number from the install disks We will research the package for you and advise how to obtain drivers Some application drivers are...

Страница 18: ...r up reset state Input mode high impedance Interrupts 2 through 7 jumper selectable Interrupt enable External IR Enable logic low enabled disabled by default via internal 10k resistor to 5V Interrupt...

Страница 19: ...onnector pin out Pin Signal Name Pin Signal Name 1 IR Input 20 5V 2 IR Enable 21 GND 3 FIRSPORTB Bit 7 22 FIRSPORTC Bit 7 4 FIRSPORTB Bit 6 23 FIRSPORTC Bit 6 5 FIRSPORTB Bit 5 24 FIRSPORTC Bit 5 6 FI...

Страница 20: ...Electromagnetic Compatibility EN55022 1987 EN50082 1 Emissions Group 1 Class B EN55022 1987 Radiated and Conducted emissions Immunity EN50082 1 IEC 801 2 1987 Electrostatic Discharge immunity Criteri...

Страница 21: ...Measurement Computing Corporation 10 Commerce Way Suite 1008 Norton Massachusetts 02766 508 946 5100 Fax 508 946 9500 E mail info mccdaq com www mccdaq com...

Отзывы: