manualshive.com logo in svg
background image

Manual Number: 00650-134-4

Page 16

AOB8/12 & AOB16/12 Manual

InPort

Function:

Reads an integer from a hardware port. This function returns the 16-bit value

obtained from reading the low byte from 

address

 and the high byte from 

1

.

Declaration:

  function InPort(byval 

address as integer) as integer

OutPortb

Function:

Writes the lower eight bits of 

value

 to the hardware port at 

address

. This function

returns the value output.

Declaration:

function OutPortb(byval 

address as integer, byval value as

integer) as integer

OutPort

Function:

Writes all 16 bits of 

value

 to the hardware port at 

address

. This function returns the

value output.

Declaration:

function OutPort(byval 

address as integer, byval value as

integer) as integer

Peek

Function:

Reads a byte from main memory (DRAM).

Declaration:

function Peek(byval segment as integer, byval offset as

integer) as integer

Poke

Function:

Writes the lower eight bits of 

value

 to 

segment

:

offset.

Declaration:

function Poke(byval segment as integer, byval offset as

integer, byval value as integer) as integer

Note that in all of the above functions, an inherent limitation of BASIC in general, and VisualBASIC
in particular, makes the values sent less intuitive. All integers in BASIC are signed numbers, wherein
data are stored in two’s complement form. All bit patterns must be converted to-and-from this two’s
complement form if meaningful display is required. Otherwise, values returned from the InPortb
function will be -128 to 127, rather than 0 to 255. An alternative is to perform all assignments in
hexadecimal, rather then decimal form.

Before the program will execute, the .GBL file must be modified to include the path to the
VBACCES.DLL as appropriate for your system. Merely replace the statement “VBACCES.DLL”
with “

drive:path

\VBACCES.DLL”.

As an alternative to changing the source code, you can copy the VBACCES.DLL file into your
Windows directory. This will allow multiple programs to find the same .DLL without having to know
where it is located. Just leave off all references to a path in the .GBL file as shown in the sample.

Содержание AOB16/12

Страница 1: ...Model AOB8 12 AOB16 12 Product Manual MANUAL NUMBER 00650 134 4C...

Страница 2: ...ual in our online Support Library Thank you The information in this document is provided for reference only ICS Advent does not assume any liability arising from the application or use of the informat...

Страница 3: ...Page iv This page intentionally left blank...

Страница 4: ...ts which are not in an as new and re saleable condition are not eligible for credit return and will be returned to the customer Limited Warranty Effective April 1 1998 all products carry a 2 year limi...

Страница 5: ...made by various manufacturers in performing warranty repairs and building replacement products If ICS Advent repairs or replaces a product its warranty term is not extended ICSAdvent will normally re...

Страница 6: ...Cautions and Warnings are accented with triangular symbols The exclamation symbol is used in all cautions and warnings to help alert you to the important instructions The lightning flash symbol is us...

Страница 7: ...Page viii This page intentionally left blank...

Страница 8: ...Outputs Update 6 Chapter 4 Address Selection 7 Chapter 5 Programming 9 Chapter 6 Data Format 13 Chapter 7 Software 15 Chapter 8 Calibration 17 Chapter 9 Connector Pin Assignments 19 Chapter 10 Specif...

Страница 9: ...Page x This page intentionally left blank...

Страница 10: ...disk To do this perform the following 1 Place the master diskette into a floppy drive 2 Change the active drive to the drive that has the master diskette installed For example if the diskette is the A...

Страница 11: ...bles tighten screws 9 Replace the computer cover and apply power How to remain CE Compliant This device complies with CE Directives 72 23 EEC and EMC 89 336 EEC CE compliance is based on the interacti...

Страница 12: ...p the AOBx 12 contain automatic circuits that set D A outputs to less than 15 of span at system power on Upon power up the DAC reference voltage is set to a low voltage and the card is set in the Simu...

Страница 13: ...INTERFACE ADDRESS SELECT SWITCH OUTER DATA REGISTER INNER DATA REGISTER INNER DATA REGISTER 12 BIT DAC 15 12 BIT DAC 0 RANGE SELECT DISABLE OUTPUT SWITCH VREF 12VDC VREF VREF to all DACs GND RESET CO...

Страница 14: ...e Range S1 S2 S3 0 to 2 5V OFF OFF ON 0 to 5V OFF OFF OFF 0 to 10V OFF ON OFF 2 5V to 2 5V ON OFF ON 5V to 5V ON OFF OFF 10V to 10V ON ON OFF Analog Outputs Update Analog outputs are updated under pro...

Страница 15: ...Manual Number 00650 134 4 Page 6 AOB8 12 AOB16 12 Manual Figure 3 1 Option Selection Map...

Страница 16: ...rogram FINDBASE provided on dis kette will assist you in selecting a base address that will avoid this conflict Hex Range Usage 000 0FF Internal System Not Usable 1F0 1FF AT Hard Disk 200 207 Game Con...

Страница 17: ...binary form Then for each 1 of binary address set the corresponding DIP switch to OFF and for each 0 of binary address set the corresponding switch to ON Here s an example showing how to program the...

Страница 18: ...sing a Clear Restrict Output Voltage command Simultaneous Update Mode is the power up or default mode of operation for the DAC card When a value is written to a DAC address the output does not change...

Страница 19: ...Simultaneous Mode Base 11 DAC 5 High Byte Base 12 DAC 6 Low Byte Base 13 DAC 6 High Byte Base 14 DAC 7 Low Byte Restrict Output Voltage Limits outputs to 15 of full scale range Base 15 DAC 7 High Byte...

Страница 20: ...Manual Number 00650 134 4 Page 11 BIT D7 D6 D5 D4 D3 D2 D1 D0 Low Byte B7 B6 B5 B4 B3 B2 B1 B0 High Byte x x x x B11 B10 B9 B8...

Страница 21: ...Manual Number 00650 134 4 Page 12 AOB8 12 AOB16 12 Manual This page intentionally left blank...

Страница 22: ...true binary form 0000 0000 0000 0000 ZERO 1000 0000 0000 0000 1 2 SCALE 1111 1111 1111 1111 FULL SCALE l MSB or B11 B0 or LSB For BIPOLAR ranges For Bipolar ranges data are in offset binary form 0000...

Страница 23: ...Manual Number 00650 134 4 Page 14 AOB8 12 AOB16 12 Manual This page intentionally left blank...

Страница 24: ...routine are found on the sample disk along with examples in other languages VisualBASIC Utility Driver Extensions to the VisualBASIC language are now provided on the diskette provided with your card...

Страница 25: ...Declaration function Poke byval segment as integer byval offset as integer byval value as integer as integer Note that in all of the above functions an inherent limitation of BASIC in general and Visu...

Страница 26: ...nnel c Check the 5V Reference Voltage d Adjust Unipolar zero on each channel e Adjust Unipolar range of each channel f Adjust Bipolar negative full scale of each channel g Check Bipolar zero of each c...

Страница 27: ...Manual Number 00650 134 4 Page 18 AOB8 12 AOB16 12 Manual This page intentionally left blank...

Страница 28: ...n r u t e R 1 2 D N G n r u t e R d n u o r G g o l a n A n r u t e R 2 2 D N G n r u t e R d n u o r G g o l a n A n r u t e R 3 2 D N G n r u t e R d n u o r G g o l a n A n r u t e R 4 2 D N G n r...

Страница 29: ...Manual Number 00650 134 4 Page 20 AOB8 12 AOB16 12 Manual Note The figure below shows how pins are numbered on D type connectors...

Страница 30: ...ting temperature range SettlingTime 8 usec to one LSB for full scale step input Linearity LSB integral non linearity over rated temperature range GainStability 15 ppm C OutputDriveCapability 5mAmaximu...

Страница 31: ...ternal Win32IRQ dll index 1 function DetectIRQ Boolean stdcall external Win32IRQ dll index 2 function SendEOI Boolean stdcall external Win32IRQ dll index 3 In C the library file Win32IRQ lib must firs...

Страница 32: ...ogram needs to continue running while waithing for DetectIRQ a separate thread should be spawned from which to call DetectIRQ The return result is TRUE if an IRQ was successfully detected on the given...

Страница 33: ...4 3 1995RadiatedRFFieldImmunity EN61000 4 4 1995EFTImmunityforACandI OLines EN 60950 1992 Safety of InformationTechnology Equipment Thetechnicaldocumentationrequiredtodemonstratethisproductmeetsthereq...

Отзывы: