Omega Engineering OME-A826PG инструкция обслуживания

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

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Omega Engineering OME-A826PG. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Omega Engineering OME-A826PG или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Omega Engineering OME-A826PG можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций Omega Engineering OME-A826PG, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции Omega Engineering OME-A826PG должна находится:
- информация относительно технических данных устройства Omega Engineering OME-A826PG
- название производителя и год производства оборудования Omega Engineering OME-A826PG
- правила обслуживания, настройки и ухода за оборудованием Omega Engineering OME-A826PG
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Omega Engineering OME-A826PG это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Omega Engineering OME-A826PG и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Omega Engineering, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Omega Engineering OME-A826PG, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Omega Engineering OME-A826PG, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Omega Engineering OME-A826PG. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 ........................................................[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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 [...]

  • Страница 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 * //*----------- -------- -----[...]

  • Страница 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[...]

  • Страница 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 '***************************** **************** **********************[...]

  • Страница 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[...]

  • Страница 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" ([...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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 '*---------- -------- -------- ---------- -------- -------[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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); [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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([...]

  • Страница 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[...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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 ([...]

  • Страница 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 [...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]

  • Страница 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[...]