Omega Engineering OME-A826PG manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Omega Engineering OME-A826PG. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Omega Engineering OME-A826PG o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Omega Engineering OME-A826PG se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Omega Engineering OME-A826PG, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Omega Engineering OME-A826PG debe contener:
- información acerca de las especificaciones técnicas del dispositivo Omega Engineering OME-A826PG
- nombre de fabricante y año de fabricación del dispositivo Omega Engineering OME-A826PG
- condiciones de uso, configuración y mantenimiento del dispositivo Omega Engineering OME-A826PG
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Omega Engineering OME-A826PG no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Omega Engineering OME-A826PG y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Omega Engineering en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Omega Engineering OME-A826PG, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Omega Engineering OME-A826PG, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Omega Engineering OME-A826PG. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    www .omega.com e-mail: info@omega.com U ser ’ s Guide OME-A826PG ISA-Bus Multi-Functional Board Software Manual Shop online at[...]

  • Página 2

    Servicing Nor th America: USA: One Omega Drive, P.O. Box 4047 ISO 9001 Certified Stamford CT 06907-0047 TEL: (203) 359-1660 FAX: (203) 359-7700 e-mail: info@omega.com Canada: 976 Bergar Laval (Quebec) H7L 5A1, Canada TEL: (514) 856-6928 FAX: (514) 856-6886 e-mail: info@omega.ca For immediate technical or application assistance: USA and Canada: Sale[...]

  • Página 3

    OME-A-826P G Software M anual [Win 9 5/98/NT] OME-A-826PG Software Manual [ For Windows 95/98/NT ] Date: Aug-15-2000 Ver: 2.2 Page 1[...]

  • Página 4

    OME-A-826P G Software M anual [Win 9 5/98/NT] Table of Contents 1 Introduction ................................................................................................................. .4 1.1 References ............................................................................................................. 5 1.2 Range Configuration Cod[...]

  • Página 5

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.4.4 A826_Check_Address .............................................................................. 43 3.5 AD, Interrupt functions........................................................................................ 44 3.5.1 A826_InstallIrq ........................................................[...]

  • Página 6

    OME-A-826P G Software M anual [Win 9 5/98/NT] 1 Introduction The OME-A-826PG is a multifunction, 16 bi ts resolution A/D, D/A and digital I/O card. The feature of the OME-A-826PG are given as below: 1. A/D=16 bits, 16 channels(single- ended) or 8 channels(differential ) 2. A-826PG : low gain (1/2/4/8), the anal og input signal range configuration c[...]

  • Página 7

    OME-A-826P G Software M anual [Win 9 5/98/NT] 1.1 References Please refer to the following user manuals: • SoftInst.pdf: Describes how to install th e software package under Windows 95/98/NT. • CallDll.pdf: Describes how to call the DLL functions with VC ++5, VB5, Delphi3 and B orland C++ Builder 3. • ResCheck.pdf: Describes ho w to check the[...]

  • Página 8

    OME-A-826P G Software M anual [Win 9 5/98/NT] 1.2 Range Configuration Code The AD converter of the OME-A-826PG is 16 bits under all configuration code. If the analog input range is configured to ± 5V range, the resolution of one bit is equal to 2.44 mV. If the analog input range is configured to ± 2.5V range, the resolution will be 1.22 mV. If th[...]

  • Página 9

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2 Declaration Files For the Windows 95/98 user: |--Driver | |--A826.DLL <-- Dynamic Linking Library | |--A826.Vxd <-- Device driver for A826PG | |--BCB3 | | |--A826.h <-- Header file | | |--A826.Lib <-- Import Library for BCB | | +--A826u.cpp <-- Some function for BCB | |--Delphi3[...]

  • Página 10

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.1 For C user 2.1.1 A826.H (for Win 95/98) #ifdef __cplusplus #define EXPORTS extern "C" __decls pec (dllimport) #else #define EXPORTS #endif /**************** * DEFINE A826 RELATIVE ADDRESS *****************/ #define TIMER0 0x00 #define TIMER1 0x01 #define TIMER2 0x02 #define TIMER_MODE 0x03[...]

  • Página 11

    OME-A-826P G Software M anual [Win 9 5/98/NT] #define NoError 0 #define DriverOpenError 1 #define DriverNoOpe n 2 #define GetDriverVersionError 3 #define InstallIrqError 4 #define ClearIntCountError 5 #define GetIntCountError 6 #define AdError1 100 #define AdError2 -200.0 #define InstallBufError 9 #define GetBufferError 10 #define INTStartError 11 [...]

  • Página 12

    OME-A-826P G Software M anual [Win 9 5/98/NT] //********* IRQ Functios ******* ***** EXPORTS WORD CALLBACK A826_Inst allIrq (WORD wBase, WORD wIrq, HANDLE *hEvent, DWORD dwCount); EXPORTS WORD CALLBACK A826_A D_INT_Start(WORD Ch, WORD Gain, WORD c1, WORD c2); EXPORTS WORD CALLBACK A826_A D_INT_Stop(void); EXPORTS WORD CALLBACK A826_GetInt Count(DWO[...]

  • Página 13

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.1.2 A826.H (for Win NT) #ifdef __cplusplus #define EXPORTS extern "C" __declspec (dllimport) #else #define EXPORTS #endif /***************** DEFINE A826 RELATIVE ADDRESS *****************/ #define TIMER0 0x00 #define TIMER1 0x01 #define TIMER2 0x02 #define TIMER_MODE 0x03 #define AD_LO 0x04 [...]

  • Página 14

    OME-A-826P G Software M anual [Win 9 5/98/NT] #define NoError 0 #define DriverOpenError 1 #define DriverNoOpen 2 #define GetDriverVersionE rror 3 #define InstallIrqError 4 #define ClearIntCountError 5 #define GetIntCountError 6 #define AdError1 100 #define AdError2 -200 #define InstallBufError 9 #define AllocateMemoryError 10 #define CardTypeError [...]

  • Página 15

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.1.3 A826U.Cpp (for BCB) #include <math.h> //*----------- -------- ---------- -------- ---------- ------* //* Return voltage value or -100.0 if any error occurs * //* or parameter is out of range. * //* HiLo : 1 --> High Gain , 0 --> Low Gain * //* Gain : 0-3 * //*----------- -------- -----[...]

  • Página 16

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.1.4 The VC++ Demo Result: 2.1.5 Borland C++ Builder Demo Result Date: Aug-15-2000 Ver: 2.2 Page 14[...]

  • Página 17

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.2 For The VB user 2.2.1 A826.BAS (for Win 95/98) Attribute VB_Name = "A826" '***************************** **************** *********************** ************* ' The Declare of A826.DLL for A826 DAQ Ca rd '***************************** **************** **********************[...]

  • Página 18

    OME-A-826P G Software M anual [Win 9 5/98/NT] Global Const A826_BI_2 = 1 Global Const A826_BI_4 = 2 Global Const A826_BI_8 = 3 Global Const A826_UNI_2 = 5 Global Const A826_UNI_4 = 6 Global Const A826_UNI_8 = 7 Global Const NoError = 0 Global Const DriverOpenError = 1 Global Const DriverNoOpen = 2 Global Const GetDriverVersionError = 3 Global Const[...]

  • Página 19

    OME-A-826P G Software M anual [Win 9 5/98/NT] Declare Sub A826_Uni 10_DA Lib "A826.D LL" (ByVal wBase As Integer, _ ByVal wChannel As Integer, ByVal fValue As Single) '******* Driver Functions *********** Declare Function A826_Dri verInit Lib "A826.DLL" () As Integer Declare Sub A826_Drive rCl ose Lib "A826.DLL" ([...]

  • Página 20

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.2.2 A826.BAS (for Win NT) Attribute VB_Name = "A826" '***************************** **************** *********************** ************* ' The Declare of A826.DLL for A826 DAQ Ca rd '***************************** **************** *********************** ************* Declare[...]

  • Página 21

    OME-A-826P G Software M anual [Win 9 5/98/NT] Global Const NoError = 0 Global Const DriverOpenError = 1 Global Const DriverNoOpen = 2 Global Const GetDriverVersionError = 3 Global Const InstallIrqError = 4 Global Const ClearIntCountError = 5 Global Const GetIntCountError = 6 Global Const AdError1 = 100 Global Const AdError2 = -200# Global Const Ins[...]

  • Página 22

    OME-A-826P G Software M anual [Win 9 5/98/NT] '******* Driver Functions *********** Declare Function A826_Dri verInit Lib "A826.DLL" () As Integer Declare Sub A826_Drive rCl ose Lib "A826.DLL" () Declare Function A826_DELAY Lib "A826.DL L" (ByVal wBase As Integer, _ ByVal wDownCount As Integer) As Integer Declare [...]

  • Página 23

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.2.3 A826U.BAS Attribute VB_Name = "A826u" '*---------- -------- -------- ---------- -------- ---------* '* Return voltage value or -100.0 if any error occurs * '* or parameter is out of range. * '* Gain : 0-3 '*---------- -------- -------- ---------- -------- -------[...]

  • Página 24

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.3 For The Delphi user 2.3.1 A826.PAS (for Win 95/98) unit A826; interface type PSingle=^Single; type PWord=^Word; type PInteger=^Integer; type PSmallInt=^PSmallInt; const //***************** DEFINE A826 RE LATIVE ADDRESS *****************/ TIMER0 = $00; TIMER1 = $01; TIMER2 = $02; TIMER_MODE = $03; AD[...]

  • Página 25

    OME-A-826P G Software M anual [Win 9 5/98/NT] A826_BI_50 = 10; A826_BI_500 = 11; A826_BI_2 = 1; A826_BI_4 = 2; A826_BI_8 = 3; A826_UNI_2 = 5; A826_UNI_4 = 6; A826_UNI_8 = 7; NoError = 0; DriverOpenError = 1; DriverNoOpen = 2; GetDriverVersionError = 3; InstallIrqError = 4; ClearIntCountError = 5; GetIntCountError = 6; AdError1 = 100; AdError2 = -20[...]

  • Página 26

    OME-A-826P G Software M anual [Win 9 5/98/NT] //********* Driver Functios ************ Function A826_DriverInit:WORD; StdCall; Procedure A826_DriverClo se; StdCall; Function A826_DELAY(wBase,wDownCount:WO RD):WORD; StdCall; Function A826_Check_A ddress( wBase:WORD):WORD; StdCall; Procedure A826_OutputByte(wPortAddr:W ORD; bO utputVal:Byte); StdCall[...]

  • Página 27

    OME-A-826P G Software M anual [Win 9 5/98/NT] Function A826_GetDriverVersion; exter nal 'A826.DLL' name 'A826_ GetDriverVersion'; Function A826_InstallIrq; ex ternal 'A826.DLL' name 'A826_InstallIrq'; Function A826_GetBuffer; external 'A826.DLL' name 'A826_GetBuffer'; Function A826_GetFloa[...]

  • Página 28

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.3.2 A826.PAS (for Win NT) unit A826; interface type PSingle=^Single; type PWord=^Word; type PInteger=^Integer; type PSmallInt=^PSmallInt; const //***************** DEFINE A826 RE LATIVE ADDRESS *****************/ TIMER0 = $00; TIMER1 = $01; TIMER2 = $02; TIMER_MODE = $03; AD_LO = $04; //* Analog to Di[...]

  • Página 29

    OME-A-826P G Software M anual [Win 9 5/98/NT] A826_BI_8 = 3; A826_UNI_2 = 5; A826_UNI_4 = 6; A826_UNI_8 = 7; NoError = 0; DriverOpenE rror = 1; DriverNoOpen = 2; GetDriverVersionError = 3; InstallIrqError = 4; ClearIntCountError = 5; GetIntCountError = 6; AdError1 = 100; AdError2 = -200.0; InstallBufError = 9; AllocateMemoryError = 10; CardTypeErro[...]

  • Página 30

    OME-A-826P G Software M anual [Win 9 5/98/NT] //********* IRQ Functios ************ Function A826_InstallIrq (wBase,wIrq:WO RD; var hEvent:LongIn t; dwCount:LongInt):WO RD; StdCall; Function A826_AD_INT_Start(Ch,Gain ,c1,c2:WORD):WORD; StdCall; Function A826_AD_INT_Stop:WO RD; StdCall; Function A826_GetIntCount(var dwVal:LongInt): WORD; StdCall; Fu[...]

  • Página 31

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.3.3 A826U.PAS unit A826U; interface type PSingle=^Single; type PWord=^Word; type PInteger=^Integer; type PSmallInt=^PSmallInt; Function A826_AD2F(hex, Gain :Word): Single ; StdCall; implementation uses math; //*----------- -------- ---------- -------- ---------- ------* //* Return voltage value or -10[...]

  • Página 32

    OME-A-826P G Software M anual [Win 9 5/98/NT] 2.3.4 Delphi Demo Result : Date: Aug-15-2000 Ver: 2.2 Page 30[...]

  • Página 33

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3 Function Description These functions in DLL are divided into several groups as follows: 1. The test functions 2. The DI/O functions 3. The AD/DA fixed-mode functions 4. The Driver functions 5. The AD Interrupt Mode functions 6. The AD DMA Mode functions The functions of test listing as follows: 1. SHO[...]

  • Página 34

    OME-A-826P G Software M anual [Win 9 5/98/NT] The functions of AD Interrupt listing as follows: 1. A826_InstallIrq 2. A826_GetIntCount 3. A826_GetBuffer 4. A826_AD_INT_Start 5. A826_AD_INT_Stop 6. A826_GetFloatBuffer The functions of AD DMA listing as follows: 1. A826_AD_DMA_InstallIrq 2. A826_AD_DMA_RemoveIrq 3. A826_AD_DMA_Start 4. A826_AD_DMA_St[...]

  • Página 35

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.1 TEST Function 3.1.1 SHORT_SUB_2 z Description : Compute C=nA-nB in short format, Short=16 bits sign integer. This function is provided for testing purpose. z Syntax : short SHORT_SUB_2(short nA, short nB); z Parameter : nA : [ Input ] Short nB : [ Input ] Short z Return Value : Return = nA - nB Î S[...]

  • Página 36

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.1.3 A826_Get_DLL_Version z Description : Read the software version z Syntax : WORD A826_Get_DLL_Version(void); z Parameter : Void z Return Value : return=0x100 Î Version 1.0 3.1.4 A826_GetDriverVersion z Description : This subroutine will get the version number about the virtual device driver. z Synt[...]

  • Página 37

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.2 DI/DO Function 3.2.1 A826_Di • Description : This subroutine will read the 16 bits data from the digital input port. • Syntax : WORD A826_DI(WORD wBase); • Parameter : wBase : [ Input ] I/O port base address, for example, 0x220 • Return Value : 16 bits data read from the digital input port 3[...]

  • Página 38

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.2.3 A826_OutputByte • Description : This subroutine will send the 8 bi ts data to the desired I/O port. • Syntax : void A826_OutputByte(WORD wP ortAddr, UCHAR bOutputVal); • Parameter : wPortAddr : [ Input ] I/O port address, fo r example, 0x220 bOutputVal : [ Input ] 8 bits data send to I/O por[...]

  • Página 39

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.2.5 A826_InputByte • Description : This subroutine will input the 8 bits data from the desired I/O port. • Syntax : WORD A826_InputByte(WORD wPortAddr); • Parameter : wPortAddr : [ Input ] I/O port address, fo r example, 0x220 • Return Value : 16 bits data with the leading 8 bits are all 0 3.2[...]

  • Página 40

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.3 A/D , D/A Functions 3.3.1 A826_AD • Description : This subroutine will perform a A/D conver sion by pollin g. The A/D converter is 16 bits for A82PG. This subroutine will co mpute the result according to the configuration code . • Syntax : float A826_AD(WORD wBase, WORD wChannel, WORD wConfig); [...]

  • Página 41

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.3.3 A826_ADs_Hex • Description : This subroutine will perform a number of A/D conver sions by polling. This subroutine is very similar to A826_AD except that this subroutine will perform wCount of conversions inst ead of just one conversion. The A/D conversing at the ISA bus’s max. speed. The samp[...]

  • Página 42

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.3.4 A826_ADs_Float • Description : This subroutine will perform a number of A/D conversions by polling. This subroutine is very similar to A826_AD except that this subroutine will perform wCount of conversions inst ead of just one conversion. The A/D conversing at the ISA bus’s max. speed. The sam[...]

  • Página 43

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.3.5 A826_Uni5_DA • Description : This subroutine will send the 16 bits data to D/A analog output. The output range of D/A dependent on setting by hardware jumper, JP1 ( -5v or –10v), JP10/JP11 (Bipolar or Unipolar). The software can not detect the output range of D/A converter. This subroutine c a[...]

  • Página 44

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.4 Driver Functions 3.4.1 A826_DriverInit z Description : This subroutine will open the device driver. z Syntax : WORD A826_DriverInit (void); z Parameter : Void z Return Value : NoError : successful in opening the device driver DriverOpenError : fail in opening the device driver. 3.4.2 A826_DriverClos[...]

  • Página 45

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.4.3 A826_DELAY • Description: This subroutine will delay wDownCount mS(machine independent timer). z Syntax: WORD A826_DELAY(WORD wBas e, WORD wDownCount); • Parameter: wBase : [ Input ] I/O port base address, for example, 0x220 wDownCount : [ Input ] Number of mS will be delay • Return Value: N[...]

  • Página 46

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.5 AD, Interrupt functions 3.5.1 A826_InstallIrq z Description: This subroutine will install interrupt handler for a specific IRQ level n. z Syntax: WORD A826_InstallIrq(WORD wBase, WORD wIrq, HANDLE *hEvent, DWORD dwCount ); z Parameter: wBase : [ Input ] The I/O port base address for A826 card. wIrq [...]

  • Página 47

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.5.3 A826_AD_INT_Stop z Description: This subroutine will stop the interrupt transfer and remove the installed interrupt handler. z Syntax: WORD A826_AD_INT_Stop(void ) z Parameter: void. z Return Value: NoError : successful INTStopError : fail 3.5.4 A826_GetIntCount z Description: This subroutine will[...]

  • Página 48

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.5.5 A826_GetBuffer z Description: This subroutine will copy the transfe rred interrupted data into the user’s buffer. z Syntax: WORD A826_GetBuffer(DWORD dwNum, short wBuffer[] ) z Parameter: dwNum : [ Input ] the entry no to transfer. *wBuffer : [ Output ] the address of wBuffer, z Return Value: No[...]

  • Página 49

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.5.7 Diagram of Interrupt Mode The 3.5.1 to 3.5.6 are functions to perform the A/D conversion with interrupt transfer. The flow chart to pr ogram these function is giver as follows: A826_Drive rInit CreateEvent(… ) A826_I nstallIrq( … ) ……… A826_AD_INT_Start( … ) …… WaitForSingleObject([...]

  • Página 50

    OME-A-826P G Software M anual [Win 9 5/98/NT] Yes No INT_Handler( ) Using the A826_AD_INT_Sto p() to stop the interrupt transfer and remove the interrupt ha ndler. Waiting for the signaled eve nt object by using WaitFor SingleObject( ) BufferB BufferA ADC Using A826_AD_IN T_Start to specify the A/D channel, gain and sampling rate for this interrupt[...]

  • Página 51

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.6 AD , DMA functions The DMA mechanism supports the Windows 95/98 only. 3.6.1 A826_AD_DMA_InstallIrq z Description: This subroutine will install interrupt handler for a specific IRQ Level n and programming a DMA controller (8237) to handle DMA transfe r for DMA Channel n. Usually, when a DMA transfer [...]

  • Página 52

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.6.3 A826_AD_DMA_Start z Description: This subroutine will allocate a DMA buffer in the system area, and programming the gain code and sampling rate . then starting the DMA transfer for a specific A/D channel. z Syntax: WORD A826_AD_DMA_Start(WORD Ch, WORD Gain, WORD c1, Word c2, int Count, WORD wPassO[...]

  • Página 53

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.6.4 A826_AD_DMA_Stop z Description: This subroutine will free the allocat ed DMA buffer that in system area. z Syntax: WORD A826_AD_DMA_Stop(void ) z Parameter: void. z Return Value: NoError : successful DmaStopError : fail 3.6.5 A826_AD_DMA_IsNotFinished z Description: This subroutine is to detect if[...]

  • Página 54

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.6.6 A826_AD_DMA_GetBuffer z Description: This subroutine will copy the transferr ed DMA data into the user’s buffer. z Syntax: WORD A826_AD_DMA_GetBuffe r( short wBuffer[] ) z Parameter: *wBuffer : [ Output ] the address of wBuffer, z Return Value: The returned bytes no : when successful DmaGetDataE[...]

  • Página 55

    OME-A-826P G Software M anual [Win 9 5/98/NT] 3.6.8 Diagram of AD , DMA Mode The 3.6.1 to 3.6.7 are functions to perform the A/D conversion with DMA transfer. The flow chart to program these function is giver as follows: A826_Drive rInit ……. A826_AD_DMA_InstallI rq ( … ) ……… A826_AD_DMA_Start ( … ) …… A826_AD _DMA_IsNotFi nished ([...]

  • Página 56

    OME-A-826P G Software M anual [Win 9 5/98/NT] Next Loop Using the A82 6_AD_DMA_ RemoveIrq() to remove IR Q handle r. 8237 ADC Sampling rate define by c1,c2 INT_Handler( ) BufferB BufferA system area Application area Using the A82 6_AD_DMA_ Stop() to release s y stem DMA buffer. Using A826_AD_DMA_Start to allocate a system DM A buffer an d programm [...]

  • Página 57

    OME-A-826P G Software M anual [Win 9 5/98/NT] 4 Program Architecture Access/Control the Device Access/Control the Device Close the Device-Driver Initialize the Device-Driver A826_Drive rInit() …. A826_InputByte( … ) …….. …….. A826_OutputByte(…) ….. A826_Driver Close() Device Control Hardware Devices Services Call into Kernel-Mode Fu[...]

  • Página 58

    OME-A-826P G Software M anual [Win 9 5/98/NT] Date: Aug-15-2000 Ver: 2.2 Page 56 5 Cont act Us Technical support is available at no charge as described below. The best way to report problems is send electronic mail to das@omega.com on the Internet. When reporting problems, please in clude the following information: 1) Is the problem reproducible? I[...]

  • Página 59

    W ARRANTY / DISCLAIMER OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for a period of 13 months from date of purchase. OME GA ’ s W ARRANTY adds an additional one (1) month grace period to the normal one (1) year product warranty to cover handling and shipping time. This ensures that OMEGA ’ s cust[...]

  • Página 60

    M4035/0104 Where Do I Find Ever ything I Need for Pr ocess Measurement and Control? OM EGA…Of Course! Shop online at www .omega.com TEMPERA TURE   Thermocouple, RTD & Thermistor Probes, Connectors, Panels & Assemblies   Wire: Thermocouple, RTD & Thermistor   Calibrators & Ice Point References   Recorders, C[...]