untitled

Similar documents
untitled

EP-X20

EP-X10

102

1 2

untitled

INDEX

INDEX


1002goody_bk_作業用

外為オンライン FX 取引 操作説明書


議事録.PDF

RX501NC_LTE Mobile Router取説.indb

untitled

2

CD Microsoft, MS-DOS, Windows 95, Windows 98,Windows Me, Windows NT, Windows 2000, Visual Basic, Visual Basic.NET, Visual C#, Excel, ActiveX Microsoft

- 2 -

コンバートスター15シリーズ 製品パンフレット

ジェネリック医薬品販売会社(田辺製薬販売株式会社)の設立に伴う包装変更のご案内


06地図目録.pwd

橡82-93協力員原稿>授業

17. (1) 18. (1) 19. (1) 20. (1) 21. (1) (3) 22. (1) (3) 23. (1) (3) (1) (3) 25. (1) (3) 26. (1) 27. (1) (3) 28. (1) 29. (1) 2

CASSIOPEIA E-3000 ユーザーズガイド

key

5-1_a-kanaoka_JPNICSecSemi_Phish_Tech_ _3.PDF


「東京こどもネット・ケータイヘルプデスク(こたエール)」平成22年度相談実績の概要


DiMAGE Scan Multi PRO

SERVIS Multi

LMC-CA64U2K

KARACRIX

H H H H H H H H Windows IC USB WindowsXP+FZ1360 WindowsXP+FZ1350 J2SE Runtime Environment 5.0 Window

1 2

本機をお使いの方へ ~『活用ガイド ソフトウェア編』補足ガイド~

V850E2/ML4 マイクロコンピュータ Peripheral LibUSB Demo アプリケーションノート

RN14.PDF

corega UPS 250 取扱説明書

untitled

Components for RS-232c

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

LHA-FW801

VM-53PA1取扱説明書

橡J_ptvr_common.PDF

EVI-D100/D100P

quattro.PDF

1 1.1 PC PC PC PC PC workstation PC hardsoft PC PC CPU 1 Gustavb, Wikimedia Commons.

02

Windows XP Windows Me Windows 98 Second Edition Windows /... 25

型名 RF007 ラジオコミュニケーションテスタ Radio Communication Tester ソフトウェア開発キット マニュアル アールエフネットワーク株式会社 RFnetworks Corporation RF007SDK-M001 RF007SDK-M001 参考資料 1

情報量・音声画像動画のA/D変換

インテル® VTune™ パフォーマンス・アナライザー 9.1 Windows* 版

1


MAX191 EV J

ESP8266-CORE-R Copyrig

MAX7319 EV.J

AP_12_15_yonezawa.indd

API-PAC(W32)RM/AIO

Microsoft Word - sbnt40r7.doc

あっと! デジタル ver.7

Gpci4ソフト_下位DLL_説明書3版.PDF

LMC-CA144U2

MJ-E90BX-TW

ライブラリー関数リファレンス

Page 1


untitled

tutorial_lc.dvi

SMILE-BS_人事給与

mbed祭りMar2016_プルアップ.key

1 2

CM1-GTX

(F1)

R1RW0416DI シリーズ

dTVIIman.PDF

PDF用 レポート:中国保険市場の現状と展望.PDF

XMOS プログラミング入門 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 初版 1 刷発行時のものです.

2nd-1.dvi

Microsoft Word - Bluetooth doc



VBX5_Manual_update_JA

untitled


R1RP0416D シリーズ

WAGO Profibus /-833及び三菱MELSEC Q02HCPU/QJ71PB92Dのコンフィグレーション

ORiN CAO USB (3) CAO CAO USB ORiN CAO USB 1 2 (4) CAO 3 CAO USB 4 PC OS 1 CPU:Pentium IV 2. 8GHz :512MByte Windows XP SP2 Professional ORiN2 SDK USB D

カリキュラム表紙C案DIC2501.ai

joho07-1.ppt

京都造形芸術大学 大学院 芸術研究科(通信教育)芸術環境専攻 修士課程 学生募集要項2017

Quark License Administrator 4.0 User Guide


MEDIAEDGE MEDIAEDGE TEL FAX :00 12:00 13:00 17: MEDIAEDGE MEDIAEDGE 8. HDMI HDMIHigh-Definition M

API-PAC(W32)RM/DIO

00-COVER.P65

CPU VS-RC003 RobovieMaker for VS-RC003

getstart.book

Transcription:

EPX-64S Rev 1.2

1.. 3 1.1.......... 3 1.2....... 3 1.3....... 4 1.4... 4 1.5... 4 2........ 5 2.1.... 5 EPX64S_GetNumberOfDevices........ 5 EPX64S_GetSerialNumber........ 6 EPX64S_Open....... 7 EPX64S_OpenBySerialNumber 8 EPX64S_Close......... 9 2.2 I/O........ 10 EPX64S_SetDirection...... 10 EPX64S_GetDirection..... 11 EPX64S_OutputPort.... 12 EPX64S_InputPort 13 2

1 1.1 USB EPX-64S API EPX-64S I/O Windows PC EPX-64S API EPX-64S USB 1.1 1.2 EPX-64S API EPX64S.dll EPX64S.dll EPX-64S I/O I/O I/O 3

1.3 Visual C++ EPX64S.h EPX64S.lib Visual Basic 6.0 EPX64S.bas Visual Basic.NET EPX64S.vb Visual C#.NET EPX64S.cs CD-ROM library 1.4 EPX64S_OK 0 EPX64S_INVALID_HANDLE 1 EPX64S_DEVICE_NOT_FOUND 2 EPX64S_DEVICE_NOT_OPENED 3 EPX64S_OTHER_ERROR 4 EPX64S_COMMUNICATION_ERROR 5 EPX64S_ INVALID _PARAMETER 6 1.3 1.5 EPX-64S 4

2 2.1 EPX64S_GetNumberOfDevices int EPX64S_GetNumberOfDevices (int *Number) Number Number 0 int number; result = EPX64S_GetNumberOfDevices(&number); // EPX64S_GetNumberOfDevices // EPX64S_GetNumberOfDevices 5

EPX64S_GetSerialNumber int EPX64S_GetSerialNumber (int Index, int *SerialNumber) Index SerialNumber 0 EPX64S_OpenBySerialNumber int index; int serialnumber; index = 0; result = EPX64S_GetSerialNumber(index, &serialnumber); // EPX64S_GetSerialNumber // EPX64S_GetSerialNumber 6

EPX64S_Open int EPX64S_Open (EPX64S_HANDLE *) I/O result = EPX64S_Open(&handle); // EPX64S_Open // EPX64S_Open 7

EPX64S_OpenBySerialNumber int EPX64S_OpenBySerialNumber (int SerialNumber, EPX64S_HANDLE *) SerialNumber EPX64S_GetSerialNumber I/O int serialnumber; // result = EPX64S_OpenBySerialNumber(serialNumber, &handle); // EPX64S_OpenBySerialNumber // EPX64S_OpenBySerialNumber 8

EPX64S_Close int EPX64S_Close (EPX64S_HANDLE ) // result = EPX64S_Close(handle); // EPX64S_Close // EPX64S_Close 9

2.2 I/O EPX64S_SetDirection int EPX64S_SetDirection (EPX64S_HANDLE, BYTE Direction) Direction Direction 0 1 0x00 Direction = 0xD1 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Direction 1 1 0 1 0 0 0 1 PORT P7 P6 P5 P4 P3 P2 P1 P0 I/O OUT OUT IN OUT IN IN IN OUT BYTE dir; // dir = 0xD1; // P7,6,4,0 P5,3,2,1 result = EPX64S_SetDirection(handle, dir); // EPX64S_SetDirection // EPX64S_SetDirection 10

EPX64S_GetDirection int EPX64S_GetDirection (EPX64S_HANDLE, BYTE *Direction) Direction Direction 0 1 0x00 Direction = 0x5A bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Direction 0 1 0 1 1 0 1 0 PORT P7 P6 P5 P4 P3 P2 P1 P0 I/O IN OUT IN OUT OUT IN OUT IN BYTE dir; // result = EPX64S_GetDirection(handle, &dir); // EPX64S_GetDirection // EPX64S_GetDirection 11

EPX64S_OutputPort 8 int EPX64S_OutputPort (EPX64S_HANDLE, BYTE Port, BYTE Value) Port Value Port P7 P6 P5 P4 P3 P2 P1 P0 Port 0x80 0x40 0x20 0x10 0x08 0x04 0x02 0x01 Value 0 LOW 1 HIGH Port = 0x04, Value = 0xA5 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Value 1 0 1 0 0 1 0 1 PIN P27 P26 P25 P24 P23 P22 P21 P20 LEVEL H L H L L H L H BYTE port, value; // port = 0x04; // Port2 value = 0xA5; // P27,25,22,20 HIGH P26,24,23,21 LOW result = EPX64S_OutputPort(handle, port, value); // EPX64S_OutputPort // EPX64S_OutputPort 12

EPX64S_InputPort 8 int EPX64S_InputPort (EPX64S_HANDLE, BYTE Port, BYTE *Value) Port Value Port P7 P6 P5 P4 P3 P2 P1 P0 Port 0x80 0x40 0x20 0x10 0x08 0x04 0x02 0x01 Value 0 LOW 1 HIGH Port = 0x20, Value = 0x3C bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Value 0 0 1 1 1 1 0 0 PIN P57 P56 P55 P54 P53 P52 P51 P50 LEVEL L L H H H H L L BYTE port, value; // port = 0x20; // Port5 result = EPX64S_InputPort(handle, port, &value); // EPX64S_InputPort // EPX64S_InputPort 13