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-DIO48, CIO-DIO48H, CIO-DIO96, and CIO-DIO192

. This document is available on our website at 

http://www.mccdaq.com/registermaps/RegMapCIO-DIO-Series.pdf

 

16 

Summary of Contents for CIO-DIO48H

Page 1: ......

Page 2: ...CIO DIO48H Digital Input Output Board User s Guide Document Revision 1 December 2006 Copyright 2006 Measurement Computing Corporation...

Page 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...

Page 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...

Page 5: ...software 9 Configuring the base address switch 9 Base address switch 9 Installing the CIO DIO48H 10 Connecting the board for I O operations 11 Connectors cables main I O connector 11 Pinout main I O c...

Page 6: ...alic 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 Nev...

Page 7: ...n sink 64 mA and source 15 mA The input buffers are 74LS373 chips and have standard high input impedance of the 74LS series devices On power up and reset all I O bits are set to input mode If you are...

Page 8: ...tart pdf This booklet supplies a brief description of the software you received with your CIO DIO48H and information regarding installation of that software Please read this booklet completely before...

Page 9: ...ight data lines The CIO DIO48H has one bank of base address select switches Verify their settings before installing the board in your computer Base address switch The easiest way to set the base addre...

Page 10: ...the base address switch to any address in the range of 000 3F8 If you are not using IBM prototyping cards or another board which occupies these addresses 300 31Fh are also free to use Addresses not sp...

Page 11: ...NDPORTB Bit 6 10 SECONDPORTA Bit 0 8 SECONDPORTA Bit 2 6 SECONDPORTA Bit 4 4 SECONDPORTA Bit 6 2 49 5V 47 FIRSTPORTC Bit 1 45 FIRSTPORTC Bit 3 43 FIRSTPORTC Bit 5 41 FIRSTPORTC Bit 7 39 FIRSTPORTB Bit...

Page 12: ..._id 258 SSR RACK24 24 channel solid state relay mounting rack for digital signal conditioning Details on this product are available on our web site at www mccdaq com cbicatalog cbiproduct asp dept_id...

Page 13: ...puter is powered on or reset To prevent unwanted switching and to drive all outputs to a known state after power on or reset pull all pins either high or low through a 2 2 K resistor Signal level cont...

Page 14: ...cted inputs typically float high but not reliably If you are using a CIO DIO48H for input and have unconnected inputs ignore the data from those lines You do not have to terminate input lines Unconnec...

Page 15: ...CIO ERB24 or SSR RACK24 daisy chain The 24 digital I O bits on pins 25 to 48 base address 0 through 2 control the first relay board The 24 digital I O bits on pins 1 to 24 control the second relay SS...

Page 16: ...r 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 inc...

Page 17: ...ts max 0 5 volts absolute min Power up reset state Input mode high impedance Miscellaneous Locations provided for installation of pull up or pull down resistors Power consumption Table 2 Power consump...

Page 18: ...TA Bit 0 31 FIRSTPORTA Bit 1 30 FIRSTPORTA Bit 2 29 FIRSTPORTA Bit 3 28 FIRSTPORTA Bit 4 27 FIRSTPORTA Bit 5 26 FIRSTPORTA Bit 6 25 FIRSTPORTA Bit 7 24 SECONDPORTC Bit 0 23 SECONDPORTC Bit 1 22 SECOND...

Page 19: ...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...

Page 20: ...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...

Reviews: