background image

Manual USB-DIO24-CTR6 

15 

Chapter 5: Programming

 

 

The onboard firmware of the device can be controlled directly using any USB compatible 
operating system driver (such as VISA, or libusb) but we provide a convenient linux and 
Windows compatible wrapper library.  In Windows, the AIOUSB.DLL (available in both 32-bit 
and 64-bit versions) provides a wide variety of functions for your use. 
 
The following functions represent those most commonly used for this device.  For more 
details, consult the USB Software Reference Manual (.pdf), or the linux /doc/ trees, as 
appropriate. 

 

unsigned long DIO_Configure(DeviceIndex, bTristate, pOutMask, pData)

 

unsigned long DIO_WriteAll(DeviceIndex,pData)

 

unsigned long DIO_ReadAll(DeviceIndex,Buffer)

 

unsigned long CTR_8254ModeLoad(DeviceIndex, BlockIndex, CounterIndex,Mode, 
LoadValue) 
unsigned long CTR_8254Read(DeviceIndex, BlockIndex, CounterIndex, pReadValue) 

 

Summary of Contents for USB-DIO-24

Page 1: ...iego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL USB DIO24 CTR6 and MODEL USB DIO 24 24 Channel Digital I O Module with two 82C54 Counter Timer Chips USER MANUAL...

Page 2: ...ot convey any license under the patent rights of ACCES nor the rights of others Printed in USA Copyright by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 1506 All rights reserved WARN...

Page 3: ...r parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable...

Page 4: ...apter 2 Installation 11 Software CD Installation 11 Windows 11 Linux 11 Hardware Installation 11 Chapter 3 Hardware Details 12 Option Selections 12 Figure 3 1 Option Selection Map 12 Figure 3 2 UTBK 5...

Page 5: ...configurable as pull up pull down or no bias Powered via USB cable optional external power supply for sourcing higher total current Vccio at connector for general purpose use protected by polyfuse Sta...

Page 6: ...d two 4 bit ports Port CLo Port CHi Each port can be configured independently via onboard jumpers for pull up pull down or no bias Each port can also be configured independently via software command f...

Page 7: ...Manual USB DIO24 CTR6 7 Figure 1 1 Block Diagram...

Page 8: ...Contact factory with your special requirement Examples of special orders would be conformal coating latching I O headers and or single 8254 installed etc Customization and Special Functions Due to the...

Page 9: ...ard STB 50 Screw terminal board typically ships with standoffs but can also mount on SNAP TRACK or DIN SNAP STB 50U Kit Spring cage terminal board with PC 104 compatible mounting mounts on enclosure o...

Page 10: ...Manual USB DIO24 CTR6 10 Figure 1 2 USB DIO24 CTR6 Enclosure Label Figure 1 3 USB DIO 24 Enclosure Label...

Page 11: ...your CD ROM drive b The install program automatically run If the install program does not run click START RUN and type click OK or press c Follow the on screen prompts to install the software for this...

Page 12: ...ption Selections Refer to the settings program on the CD provided with the board Also refer to the Block Diagram and the Option Selection Map when reading this section of the manual Figure 3 1 Option...

Page 13: ...ap for a visual reference 50 Pin Box Header The 50 pin box header has standard 0 100 spacing between pins and is keyed to prevent improper connections It can be used with standard IDC type ribbon cabl...

Page 14: ...rently installed and each device s type This information is returned as a Vendor ID VID Product ID PID and Device Index The board s VID is 0x1605 The PID for the USB DIO24 CTR6 is 0x8006 The PID for t...

Page 15: ...es a wide variety of functions for your use The following functions represent those most commonly used for this device For more details consult the USB Software Reference Manual pdf or the linux doc t...

Page 16: ...N C 11 PC2 12 IPC1GATE 12 N C 13 PC1 14 OPC1OUT 14 N C 15 PC0 16 GROUND 16 GROUND 17 PB7 18 IPC2CLK 18 N C 19 PB6 20 IPC2GATE 20 N C 21 PB5 22 OPC2OUT 22 N C 23 PB4 24 GROUND 24 GROUND 25 PB3 26 IPC3C...

Page 17: ...s Type USB2 0 high speed 480 Mb s USB3 0 and USB1 1 compatible Power Basic unit 140 mA typical no load 5 VDC from the USB bus or external power supply depending on user configuration The USB bus is sp...

Page 18: ...turers data sheets The following conventions apply for use in describing operation of the 8254 Clock A positive pulse into the counter s clock input Trigger A rising edge input to the counter s gate i...

Page 19: ...l loaded count then reloads and decrements by two for the second part of the wave form Mode 4 Software Triggered Strobe This mode sets the output high and when the count is loaded the counter begins t...

Page 20: ...manual or just want to give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates 10623...

Reviews: