API 매뉴얼

Similar documents
API 매뉴얼

USB3-DIO01

USB3-FRM01 API 매뉴얼

USB3-FRM13 API 매뉴얼

USB-AIO11 API

USB-EK001 매뉴얼

DVI-CL01 매뉴얼

USB-EK001 매뉴얼

마리오와 소닉 리우 올림픽™

인디쓔피-IOM핸돜벁닄큐1014pdf, page Preflight ( IOM핸돜벁닄큐__1014 )

매뉴얼

매뉴얼

Microsoft PowerPoint - chap02-C프로그램시작하기.pptx

매뉴얼

<4D F736F F F696E74202D20B8B6C0CCC5A9B7CEC7C1B7CEBCBCBCAD202834C1D6C2F7207E2038C1D6C2F729>

Copyrights and Trademarks Autodesk SketchBook Mobile (2.0.2) 2013 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc.,

Microsoft Word _whitepaper_latency_throughput_v1.0.1_for_

PowerPoint 프레젠테이션

CANTUS Evaluation Board Ap. Note

<4D F736F F F696E74202D20B8B6C0CCC5A9B7CEC7C1B7CEBCBCBCAD202839C1D6C2F7207E203135C1D6C2F >

[ 마이크로프로세서 1] 2 주차 3 차시. 포인터와구조체 2 주차 3 차시포인터와구조체 학습목표 1. C 언어에서가장어려운포인터와구조체를설명할수있다. 2. Call By Value 와 Call By Reference 를구분할수있다. 학습내용 1 : 함수 (Functi

PCIe-FRM16_B 매뉴얼

Microsoft PowerPoint - chap06-2pointer.ppt

PCIe-FRM22 매뉴얼

DA C.4.

Chapter #01 Subject

공급 에는 3권역 내에 준공된 프라임 오피스가 없었다. 4분기에는 3개동의 프라임 오피스가 신규로 준공 될 예정이다.(사옥1개동, 임대용 오피스 2개동) 수요와 공실률 2014년 10월 한국은행이 발표한 자료에 따르면 한국의 2014년 경제성장률 예측치는 3.5%로 지

NET-AIO12 매뉴얼

Copyright 2012, Oracle and/or its affiliates. All rights reserved.,.,,,,,,,,,,,,.,...,. U.S. GOVERNMENT END USERS. Oracle programs, including any oper

105È£4fš

양파 공동체 中 이제 들여보내 다오. 나는 쪼개지고 부서지고 얇아지는 양파를 쥐고 기도했다. 도착하면 뒷문을 열어야지. 뒷문을 열면 비탈진 숲, 숲을 지나면 시냇물, 굴러 떨어진 양파는 첨벙첨벙 건너갈 것이다. 그러면 나는 사라질 수 있겠다. 나는 때때로 양파에 입을

Product A4

Index Process Specification Data Dictionary

T100MD+

Microsoft PowerPoint - T1 ERS (Elevator Reservation System)SASD2.pptx

<4D F736F F F696E74202D20BBB7BBB7C7D15F FBEDFB0A3B1B3C0B05FC1A638C0CFC2F72E BC8A3C8AF20B8F0B5E55D>

임베디드시스템설계강의자료 6 system call 2/2 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과

<B9AEC8ADBBEABEF7BFACB1B8BDC720BCBCB9CCB3AA2DBCD2BCC8B3D7C6AEBFF6C5A9BCADBAF1BDBA20C1F8C8AD20BCBCB9CCB3AA2E687770>

adfasdfasfdasfasfadf

피해자식별PDF용 0502


매뉴얼

!K_InDesginCS_NFH

PICe-FRM26_B 매뉴얼

Microsoft PowerPoint - polling.pptx

이도경, 최덕재 Dokyeong Lee, Deokjai Choi 1. 서론

KNK_C_05_Pointers_Arrays_structures_summary_v02

Mango220 Android How to compile and Transfer image to Target

170

006- 5¿ùc03ÖÁ¾T300çÃâ

매뉴얼

슬라이드 1

AD K

£01¦4Àå-2

PART

½ºÅ丮ÅÚ¸µ3_³»Áö

272*406OSAKAÃÖÁ¾-¼öÁ¤b64ٽÚ

Part Part

[8051] 강의자료.PDF

lecture4(6.범용IO).hwp

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

환 경 시 스 템 팀 김 유 승 권 영 덕 선 진 양 돈 PM 박 종 문 보 람 농 업 회 사 법 인 류 제 선 단 양 GGP 선 진 브 릿 지 랩 고 상 억 선 진 식 육 유 통 BU 이 장 근

12 강. 문자출력 Direct3D 에서는문자를출력하기위해서 LPD3DXFONT 객체를사용한다 LPD3DXFONT 객체생성과초기화 LPD3DXFONT 객체를생성하고초기화하는함수로 D3DXCreateFont() 가있다. HRESULT D3DXCreateFont

DR-M140 사용 설명서

Microsoft Word doc

금오공대 컴퓨터공학전공 강의자료

DE1-SoC Board

FMX M JPG 15MB 320x240 30fps, 160Kbps 11MB View operation,, seek seek Random Access Average Read Sequential Read 12 FMX () 2

Copyright by Korean Local-government Management Institute. ALL RIGHTS RESERVED. No part of this publication may be reproduced, stored in a retrieval s

5 167 Python Jon Franklin Python Python Python Python USB USB RS485 C Python DLL Python Python dll Python Python ctypes dll ctypes Python C Linux Wind

Microsoft Word - PEB08_USER_GUIDE.doc

라즈베리파이 프로그래밍_130912(최종).indd

< FC1A4BAB8B9FDC7D D332E687770>

2 라이선스 라이선스 돌비 래버러토리스의 허가를 얻어 제조한 제품입니다. 돌비 및 더블 D 심볼은 래버러토리스의 상표입니다. DivX 비디오에 관하여 DivX 는 Rovi Corporation 의 자회사 DivX, LLC가 개발한 디지털 비디오 포맷입니다. 본 제품은

1 1. INTRODUCTION 2 2. DOWNLOAD Windows Desktop & Server Max OS X, Linux, Windows CE 2 3. API REFERENCE CAN_OpenVcp CAN_Op

vm-웨어-앞부속

<4D F736F F F696E74202D C61645FB3EDB8AEC7D5BCBA20B9D720C5F8BBE7BFEBB9FD2E BC8A3C8AF20B8F0B5E55D>

Microsoft PowerPoint - [2009] 02.pptx

Poison null byte Excuse the ads! We need some help to keep our site up. List 1 Conditions 2 Exploit plan 2.1 chunksize(p)!= prev_size (next_chunk(p) 3

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

< E20C6DFBFFEBEEE20C0DBBCBAC0BB20C0A7C7D12043BEF0BEEE20492E707074>

PICe-OPT02 매뉴얼

BSC Discussion 1


USB-EK001 매뉴얼

토익S-채용사례리플렛0404

슬라이드 1

PowerChute Personal Edition v3.1.0 에이전트 사용 설명서

USB-EK001 매뉴얼

SRC PLUS 제어기 MANUAL

RVC Robot Vaccum Cleaner

내용물 시작 3 구성품 4 MDA200 기본 사항 5 액세서리 6 헤드셋 연결 7 탁상 전화기: 연결 및 통화 8 탁상 전화기(표준) 8 탁상 전화기+ HL10 거치대와 전원 공급 장치(별도 구매) 10 탁상 전화기+ EHS 케이블 12 컴퓨터: 연결 및 통화 13 컴

# MBK_사고수리안내매뉴얼(갱신)

10.

목차 포인터의개요 배열과포인터 포인터의구조 실무응용예제 C 2

Microsoft PowerPoint - 3ÀÏ°_º¯¼ö¿Í »ó¼ö.ppt

공급 에는 권역에 두개의 프라임 오피스가 준공 되었다. 청진구역 2,3지구에는 광화문 D타워가 준공되어 대림에서 약 50%를 사용하며 나머지 50%는 임대마케팅을 진행 중이다. 메트로타워는 GS건설의 사옥에서 매각 이후 2013년 4분기에 리모델링을 시작하여, 에 완공

PowerPoint 프레젠테이션

: Symantec Backup Exec System Recovery 8:

실험 5

Transcription:

PCI-DIO12 API Programming (Rev 1.0) Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the trademarks or service names of all other organizations mentioned in this document as their own property. Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or copyrights of DAQ system. The information in this document is subject to change without notice and no part of this document may be copied or reproduced without the prior written consent. Copyrights 2010 DAQ system, All rights reserved.

API 설명 PCI-DIO12 보드를사용하기위한 API(Application Programming Interface) 를설명한다. 현재지원하는 API 는다음과같다.

Board Level APIs Overview INT OpenDAQDevice(void) ResetBoard(int nboard) CloseDAQDevice(void) OpenDAQDevice 디바이스를 Open 한다. 프로그램에서초기에반드시한번함수를호출하여디바이스를 Open 하여야한다. INT OpenDAQDevice(void) 디바이스 Open에성공할경우현재시스템 (PC) 에장착된디바이스의개수를 return한다. 실패할경우 -1 을 return한다. ResetBoard 현재시스템 (PC) 에장착된디바이스를초기화한다. ResetBoard(int nboard) nboard : 현재시스템에장착되어있는보드번호를알려준다. 보드번호는보드의 DIP 스위치를이용하여설정한다. 함수호출에실패할경우 FALSE 성공일경우 TRUE 을리턴함. CloseDAQDevice 오픈된모든 PCI-AIO 시리즈디바이스를 Close 한다. 장치의사용이끝나게되면, 반드시장 치를 Close 하여다른프로그램에서사용할수있도록한다. CloseDAQDevice(void) 없음 함수호출에실패할경우 FALSE 성공일경우 TRUE 을리턴함.

Power Level APIs Overview PowerEnable(int npower, benable) PowerEnable 전원을선택한다. PowerEnable(int npower, benable) npower : 0 이면 5V, 1 이면 LCD 전원 (2.8V), 2 이면 I/O 전원 (1.8V) benable : ON : True, OFF : False. Voltage Function Level APIs Overview Init_Voltage(void) Set_Voltage(int nnum, float fval) Get_Voltage(int nnum, float *fval) Set_VoltageHex(int nnum, BYTE byval) Init_Voltage 현재시스템 (PC) 에장착된디바이스의전압을초기화한다. Init_Voltage(void)

Set_Voltage 현재시스템 (PC) 에장착된디바이스의전압값을지정한다. Set_Voltage(int nnum, float fval) nnum : 0 이면 LCD voltage이고, 1 이면 I/O voltage이다. fval : voltage 값. Get_Voltage 현재시스템 (PC) 에장착된디바이스의전압값을읽어온다. Get_Voltage(int nnum, float *fval) nnum : 0 이면 LCD voltage이고, 1 이면 I/O voltage이다. fval : voltage 값의포인터이다.. Set_VoltageHex 현재시스템 (PC) 에장착된디바이스를지정한다. Set_VoltageHex(int nnum, Byte byval) nnum : 0 이면 LCD voltage이고, 1 이면 I/O voltage이다. byval : 현재시스템의전압의 Hex 값

Logic Level APIs Overview Logic_Init(void) Logic_Reset(void) Logic_Start(DWORD ngenerationsize, brepeat) Logic_CheckEnd(void) Logic_GetRepeatSize(DWORD* nrepeatsize) Logic_Stop(void) Logic_SetData(DWORD* ncnt, unsigned char* buf, DWORD noffset) Logic_GetData(DWORD* ncnt, unsigned char* buf, DWORD noffset) Logic_SetPort(DWORD* nport) Logic_GetPortData(DWORD* ncnt, unsigned char* buf) Logic_SetTrigger( benable) Logic_Update(DWORD ngenerationsize) Logic_Init PCI-DIO12 보드의로직을초기화한다. Logic_Init(void) Logic_Reset 현재시스템 (PC) 의로직을재설정한다. Logic_Reset(void)

Logic_Start Data 출력을시작한다. Logic_Start(DWORD ngeneration, brepeat) ngeneration : 반복횟수 brepeat : 0 이면 false, 1 이면 true Logic_CheckEnd Logic 시작후현재시스템 (PC) 의로직을조사한다. Logic_CheckEnd(void) Logic_Get RepeatSize Data 출력을시작한다. Logic_GetRepeatSize(DWORD* nrepeatsize) brepeatsize : 반복횟수 Logic_Stop 데이터출력을정지한다. Logic_Stop(void)

Logic_SetData 프레임데이터를저장한다. Logic_SetData(DWORD* ncnt, unsigned char* buf, DWORD noffset) ncnt : 쓸메모리번지지정 buf : 버퍼사이즈 noffset : write offset 값 Logic_Get Data 프레임을읽어온다. Logic_GetData(DWORD* ncnt, unsigned char* buf, DWORD noffset) ncnt : 읽어올메모리번지지정 buf : 버퍼사이즈 noffset : read offset 값 Logic_SetPort 어떤 Port Mode 를선택할지결정한다. Logic_SetPort(DWORD* nport) nport : A, B, C Port

Logic_Get PortData Port Data 출력을가져온다. Logic_GetPortData(DWORD* ncnt, unsigned char* buf) ncnt : 8K byte 버퍼의메모리번지 buf : 8K byte 버퍼의값 Logic_SetTrigger Trigger 를 enable 시킨다. Logic_SetTrigger( benable) benable : 0 이면 false, 1 이면 true Logic_Update Logic 을업데이트시킨다. Logic_Update(DWORD ngenerationsize) ngenerationsize :

Clock Level APIs Overview Init_Clock(void) Get_Clock(Void) Set_Clock(DWORD val) Init_Clock Port A 의 clock 을초기화한다. Init_Clock(void) Get_Clock Port A 의 clock 값을읽어온다. Get_Clock(void) 없음 Set_Clock Port A 의 clock 값을지정한다. Set_Clock(DWORD val) val : clock 값. ( 초기값 20000000)

PortC Level APIs Overview PortC_Init(void) PortC_Reset(Void) PortC_Close(void) PortC_Stop(Void) PortC_CheckEnd(Void) PortC_Start(DWORD ngeneration, brepeat) PortC_SetData(DWORD* ncnt, unsigned char* buf, DWORD noffset) PortC_SetTrigger( benable) PortC_Init Port C 를초기화한다. PortC_Init(void) PortC_Reset Port C 를재설정한다. PortC_Reset(void) 없음

PortC_Close Port C 를 close 한다. PortC_Close(void) 없음 PortC_Stop Port C 를정지한다. PortC_Stop(void) 없음 PortC_Check Port C 를 check 한다. PortC_Check(void) 없음 PortC_Start Port C 를정해진수만큼실행한다. PortC_Start(DWORD ngeneration, brepeat) ngeneration : 반복횟수 brepeat : 0 이면 false, 1 이면 true

PortC_SetData Port C 를읽어온다. PortC_SetData(DWORD* ncnt, unsigned char* buf, DWORD noffset) ncnt : 읽어올메모리번지지정 buf : 버퍼사이즈 noffset : read offset 값 PortC_SetTrigger Port C 의 Trigger 를 enable 시킨다. PortC_SetTrigger( benable) benable : 0 이면 false, 1 이면 true

PortC Clock Level APIs Overview Init_Clock2(void) Get_Clock2(void) Set_Clock2(DWORD val) Init_Clock2 Port C 의 clock 을초기화한다. Init_Clock2(void) Get_Clock2 Port C 의 clock 값을읽어온다. ( 초기값 10000000) Get_Clock2(void) 없음 Set_Clock2 Port C 의 clock 값을지정한다. Set_Clock2(DWORD val) val : clock 값.