int fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 4

Size: px
Start display at page:

Download "int fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 4"

Transcription

1 RP-VL-UTIL-V1 Developer s Guide [ Contents ] 1. Introduction Building Environment Operating Environment Function Explanation Common API for Transmitting and Receiving... 2 HANDLE fnvopen(void);... 2 int fnvclose(handle *h);... 2 int fnvsetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 3 int fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 4 int fnvgetavgframerate(handle h, float *avg); API for Transmitting only... 6 int fnvsendstream(handle h, HWND hwnd); API for Receiving only... 7 int fnvrecvstream(handle h, HWND hwnd, unsigned long timeout);... 7 int fnvdrawarearesize(handle h, long x, long y, long Width, long Height);... 8 int fnvgetdrawareasize(handle h, long *Width, long *Height); Structure Definition FNV_CAPTURE_CONFIG Structure FNV_SEND_CONFIG Structure FNV_RECV_CONFIG Structure Sample Programs Revision... 14

2 1. Introduction This paper explains the specification and usage of RP-VL-UTIL-V1 API library. You must read and agree to the license terms included in this product before using the product. 2. Building Environment To use the API library explained in this paper, the following files are necessary. These files are placed in CDROM ENU Dev directory. Header file: fnvfunclib.h Static link library: fnvfunclib.lib Dynamic link library fnvfunclib.dll * All the modules are built on Visual Studio 2008 Service Pack Operating Environment To operate a program in which the API library explained in this paper is used, the following conditions are necessary. Video Transfer Utility or FNVRuntime 1 is installed fnvfunclib.dll must be placed in the same folder as your program. 2 The number of screen colors is configured to 16/24/32bit 1 FNVRuntime is placed in CDROM ENU Dev. 2 The latest version of fnvfunclib.dll can be downloaded from our website. Please copy from the installation folder of the Video Transfer Utility trial version. 1

3 4. Function Explanation 4.1. Common API for Transmitting and Receiving HANDLE fnvopen(void); Function Creates a handle. parameter No If the function succeeds, the return is a handle. If the function fails, the return is NULL. When a handle was created, call fnvclose function to delete it. int fnvclose(handle *h); Function Parameter Deletes a handle. h [in] Specifies the pointer to the handle. If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid FNV_CLOSEERR Fails to delete the handle When a handle was created, call fnvclose function to delete it. 2

4 int fnvsetconfig(handle h, UINT32 id, const void *cfg, size_t sz); Function Sets parameters. Parameters * The setting is not for the parameters of transmitter and receiver. h [in] Specifies the handle. id [in] Specifies the parameter ID. Specifies one of the following s. FNV_CFGID_CAP Picture capture setting for the transmission side FNV_CFGID_SEND Network setting for the transmission side FNV_CFGID_RECV Network setting for the receive side cfg [in] Specifies the pointer to the structure that stores the parameters. Uses one of the following structures. FNV_CAPTURE_CONFIG Picture capture setting for the transmission side FNV_SEND_CONFIG Network setting for the transmission side FNV_RECV_CONFIG Network setting for the receive side sz [in] Specifies the size of the structure specified by the third parameter- cfg. If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid FNV_PARAMSIZEERR The of sz is not valid FNV_PARAMIDERR The of id is not valid CAP_FPSERR Fails to set FPS CAP_SIZEERR Fails to set the size of picture CAP_TRIMERR Fails to set trim area SEND_GROUPERR Fails to set group RECV_GROUPERR Fails to set group For the third parameter, please use the structure corresponding to the second parameter- ID. The correspondence is as follows. FNV_CFGID_CAP FNV_CAPTURE_CONFIG FNV_CFGID_SEND FNV_SEND_CONFIG FNV_CFGID_RECV FNV_RECV_CONFIG 3

5 int fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz); Function Retrieves the parameters. Parameters *It is not for retrieving the parameters of transmitter and receiver. h [in] Specifies a handle. id [in] Specifies the parameter ID. Specifies one of the following s. FNV_CFGID_CAP Picture capture setting for the transmission side FNV_CFGID_SEND Network setting for the transmission side FNV_CFGID_RECV Network setting for the receive side cfg [out] Specifies the pointer to the structure that stores the parameters. Uses one of the following structures. FNV_CAPTURE_CONFIG Picture capture setting for the transmission side FNV_SEND_CONFIG Network setting for the transmission side FNV_RECV_CONFIG Network setting for the receive side sz [in] Specifies the size of the structure specified by the third parameter- cfg. If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid FNV_PARAMSIZEERR The of sz is not valid FNV_PARAMIDERR The of id is not valid CAP_FPSERR Fails to set FPS CAP_SIZEERR Fails to set the size of picture CAP_TRIMERR Fails to set trim area SEND_GROUPERR Fails to set group RECV_GROUPERR Fails to set group For the third parameter, please use the structure corresponding to the second parameter- ID. The correspondence is as follows. FNV_CFGID_CAP FNV_CAPTURE_CONFIG FNV_CFGID_SEND FNV_SEND_CONFIG FNV_CFGID_RECV FNV_RECV_CONFIG 4

6 int fnvgetavgframerate(handle h, float *avg); Function Parameters Retrieves the current frame rate. h [in] Specifies a handle. avg [out] Specifies the pointer to a float variable used to store the width of showing. If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid The only displaying size on receiving can be retrieved. 5

7 4.2. API for Transmitting only int fnvsendstream(handle h, HWND hwnd); Function Starts sending. Parameters h [in] Specifies a handle. hwnd [in] Specifies the window handle of picture to send. If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid FNV_BUSYERR In operating SEND_SELECTWINDOWERR The window handle is not valid FNV_COREERR1 Internal error FNV_COREERR2 Internal error FNV_COREERR3 Internal error FNV_COREERR4 Internal error Starts sending using the parameters configured by fnvsetconfig. When the parameters are not configured, starts sending using the default s. 6

8 4.3. API for Receiving only int fnvrecvstream(handle h, HWND hwnd, unsigned long timeout); Function Starts receiving. Checks the receive data during the timeout set. Parameters h [in] Specifies a handle. hwnd [in] Specifies the window handle to display the received picture. timeout [in] Time out (Unit: ms) If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid RECV_NETWORKERR Network setting error RECV_TIMEOUT Time out FNV_COREERR1 Internal error FNV_COREERR2 Internal error FNV_COREERR3 Internal error FNV_COREERR4 Internal error Starts receiving using the parameters configured by fnvsetconfig. When the parameters are not configured, starts receiving using the default s. 7

9 int fnvdrawarearesize(handle h, long x, long y, long Width, long Height); Function Parameters Changes the size to display the received picture. h [in] Specifies a handle. x [in] Specifies the x coordinate of the beginning point of the display area. y [in] Specifies the y coordinate of the beginning point of the display area. Width [in] Specifies the width to display. Height [in] Specifies the height to display. If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid RECV_RESIZEERR Fails to change the size of displaying The only displaying size on receiving can be changed. 8

10 int fnvgetdrawareasize(handle h, long *Width, long *Height); Function Parameters Retrieves the current displaying size. h [in] Specifies a handle. Width[out] Specifies the pointer to a long variable used to store the width of showing. Height[out] Specifies the pointer to a long variable used to store the height of showing. If the function succeeds, the return is 0. If the function fails, the return is one of the following error codes. FNV_HANDLEERR The handle is not valid. The only displaying size on receiving can be retrieved. The default is the size of the receive data. 9

11 5. Structure Definition Predefined in fnvfunclib.h 5.1. FNV_CAPTURE_CONFIG Structure This structure is used to store the screen capture setting. It is used by fnvsetconfig, fnvgetconfig functions. Parameter ID: FNV_CFGID_CAP typedef struct fnvcaptureconfig{ INT32 BOOL RECT INT32 nframe; bcurshow; TrimXor; nsize; }FNV_CAPTURE_CONFIG; nframe Specifies the frame rate. (Unit: FPS) Default is 15FPS. bcurshow Specifies whether the cursor is to be displayed. If this parameter is TRUE, the cursor is to be displayed. If the parameter is FALSE, the cursor is not to be displayed. Default is FALSE. TrimXor Specifies the trim area. The top, bottom, left and right can be specified by RECT structure. By default, the top, bottom, left and right are all 0. nsize Specifies the output resolution. Choose one of the following output resolutions. Default is FNV_SIZE_720p. Sample Code Parameters Resolutions FNV_SIZE_VGA FNV_SIZE_SVGA FNV_SIZE_XGA FNV_SIZE_480p FNV_SIZE_720p FNV_SIZE_1080p FNV_CAPTURE_CONFIG config; fnvgetconfig(handle, FNV_CFGID_CAP, &config, sizeof(config)); 10

12 5.2. FNV_SEND_CONFIG Structure This structure is used to store the send setting. It is used by fnvsetconfig, fnvgetconfig functions. Parameter ID: FNV_CFGID_SEND typedef struct fnvsendconfig{ CHAR szipaddr[16]; USHORT usgroup; CHAR szlocalip[16]; USHORT usport; }FNV_SEND_CONFIG; szipaddr Specifies the IP address of receiver. It is used for unicast transmission. For multicast transmission, it is ignored. Default is usgroup Specifies the group ID. For multicast transmission, specifies the group ID within the range of 0x00 to 0x0F. For unicast transmission, specifies 0xFF. Default is 0x00. In the case of multicast transmission, send to the following IP addresses (100 + group ID) szlocalip Specifies IP address of the adapter which is used to send. It is used for multicast transmission. For unicast transmission, it is ignored. By default, the IP address of the first found adapter is set. usport Specifies the port number of receiver. Default is Sample Code FNV_SEND_CONFIG config; fnvgetconfig(handle, FNV_CFGID_SEND, &config, sizeof(config)); 11

13 5.3. FNV_RECV_CONFIG Structure This structure is used to store the receive setting. It is used by fnvsetconfig, fnvgetconfig functions. Parameter ID: FNV_CFGID_RECV typedef struct fnvrecvconfig{ USHORT usgroup; USHORT usport; }FNV_RECV_CONFIG; usgroup Specifies the group ID. Default is 0. usport Specifies the port number for receive. Default is Sample Code FNV_RECV_CONFIG config; fnvgetconfig(handle, FNV_CFGID_RECV, &config, sizeof(config)); 12

14 6. Sample Programs The sample programs are stored in the following directories. Sample programs for send CDROM ENU Dev fnvsendsample.zip Sample programs for receive CDROM ENU Dev fnvrecvsample.zip * The ample programs are built by using Visual Studio 2008 Service Pack 1. 13

15 Revision Date Revision 2010/10/04 First Edition 2010/11/11 64bit Support, FNVRuntime is added. 2010/12/14 16bit color and 32bit color support 2011/08/25 Add fnvfunclib.dll operating environment 14

STD_CU43USBSW_V1.0E. CUnet (MKY43) USB Unit. CU-43USB Software Manual

STD_CU43USBSW_V1.0E. CUnet (MKY43) USB Unit. CU-43USB Software Manual STD_CU43USBSW_V1.0E CUnet (MKY43) USB Unit CU-43USB Software Manual Introduction This document describes API included with CU-43USB unit. Before using the product, please check the latest information on

More information

PDF Document structure, that need for managing of PDF file. It uses in all functions from EMF2PDF SDK.

PDF Document structure, that need for managing of PDF file. It uses in all functions from EMF2PDF SDK. EMF2PDF SDK Pilot Structures struct pdf_document { PDFDocument4 *pdfdoc; }; PDF Document structure, that need for managing of PDF file. It uses in all functions from EMF2PDF SDK. typedef enum { conone

More information

PusleIR Multitouch Screen Software SDK Specification. Revision 4.0

PusleIR Multitouch Screen Software SDK Specification. Revision 4.0 PusleIR Multitouch Screen Software SDK Specification Revision 4.0 Table of Contents 1. Overview... 3 1.1. Diagram... 3 1.1. PulseIR API Hierarchy... 3 1.2. DLL File... 4 2. Data Structure... 5 2.1 Point

More information

Call DLL from Limnor Applications

Call DLL from Limnor Applications Call DLL from Limnor Applications There is a lot of computer software in the format of dynamic link libraries (DLL). DLLCaller performer allows your applications to call DLL functions directly. Here we

More information

Agenda. The main body and cout. Fundamental data types. Declarations and definitions. Control structures

Agenda. The main body and cout. Fundamental data types. Declarations and definitions. Control structures The main body and cout Agenda 1 Fundamental data types Declarations and definitions Control structures References, pass-by-value vs pass-by-references The main body and cout 2 C++ IS AN OO EXTENSION OF

More information

Remote Procedure Call Implementations

Remote Procedure Call Implementations Remote Procedure Call Implementations Sun ONC(Open Network Computing) RPC. Implements at-most-once semantics by default. At-least-once (idempotent) can also be chosen as an option for some procedures.

More information

CSCI 2212: Intermediate Programming / C Review, Chapters 10 and 11

CSCI 2212: Intermediate Programming / C Review, Chapters 10 and 11 ... 1/16 CSCI 2212: Intermediate Programming / C Review, Chapters 10 and 11 Alice E. Fischer February 3, 2016 ... 2/16 Outline Basic Types and Diagrams ... 3/16 Basic Types and Diagrams Types in C C has

More information

ArduCAM USB Camera C/C++ SDK

ArduCAM USB Camera C/C++ SDK ArduCAM USB Camera C/C++ SDK User Guide Rev 1.3, Oct 2018 Table of Contents 1 Introduction... 3 2 USB SDK Library... 3 3 Demo Code... 3 3.1 Thread.cpp... 3 3.2 USBTestDlg.cpp... 3 3.3 CommonTools.cpp...

More information

SENSORAY CO., INC. 24oo Software Development Kit Version 1.0.1

SENSORAY CO., INC. 24oo Software Development Kit Version 1.0.1 SENSORAY CO., INC. 24oo Software Development Kit Version 1.0.1 Sensoray 2003 7313 SW Tech Center Dr. Tigard, OR 97223 Phone 503.684.8005 Fax 503.684.8164 sales@sensoray.com www.sensoray.com Table of Contents

More information

Communications API. TEAM A : Communications and Integration Group. April 15, 1995

Communications API. TEAM A : Communications and Integration Group. April 15, 1995 Communications API TEAM A : Communications and Integration Group April 15, 1995 1 Introduction This document specifies the API provided by the Communications and Integration group for use in the AMC system.

More information

ACCEasy SDK Programmer's Guide. Version July 2013

ACCEasy SDK Programmer's Guide. Version July 2013 ACCEasy SDK Programmer's Guide Version 01.00.01 July 2013 Copyright Datapath Ltd. 2013 Page - 1 Contents ACCEasy SDK Programmer's Guide... 1 Contents... 2 Document Revision History... 3 Overview... 4 SDK

More information

UniFinger Engine SFR300 SDK Reference Manual

UniFinger Engine SFR300 SDK Reference Manual UniFinger Engine SFR300 SDK Reference Manual Version 2.5 2005 by Suprema Inc. Contents SF_Initialize...3 SF_Uninitialize...4 SF_SetFastMode...5 SF_GetDeviceNumber...6 SF_GetDevice...7 SF_SetDevice...8

More information

Airence C Library v1.2 for Windows

Airence C Library v1.2 for Windows Airence C Library v1.2 for Windows Let the Airence control your Radio Automation Software! Document Version 1.2-2014-09-16 D&R Electronica Weesp BV Rijnkade 15B 1382GS Weesp The Netherlands Phone: +31

More information

Intermediate Programming, Spring 2017*

Intermediate Programming, Spring 2017* 600.120 Intermediate Programming, Spring 2017* Misha Kazhdan *Much of the code in these examples is not commented because it would otherwise not fit on the slides. This is bad coding practice in general

More information

NEXCOM. MiniPCIe NISK-NVRAM Library User Manual. Manual Rev.: V0.4

NEXCOM. MiniPCIe NISK-NVRAM Library User Manual. Manual Rev.: V0.4 NEXCOM MiniPCIe NISK-NVRAM Library User Manual Manual Rev.: V0.4 Revision Date: Feb. 03rd, 2015 Revise note: Ver Description V0.1 2015/01/27: V0.2 2015/01/30: V0.3 2015/02/02: V0.4 2015/02/03: Contents

More information

[CAMERA PROGRAMMER'S MANUAL] EMERGENT VISION TECHNOLOGIES INC March 3, 2013

[CAMERA PROGRAMMER'S MANUAL] EMERGENT VISION TECHNOLOGIES INC March 3, 2013 [CAMERA PROGRAMMER'S MANUAL] EMERGENT VISION TECHNOLOGIES INC 1.0.2 March 3, 2013 SUITE #239-552A CLARKE ROAD, COQUITLAM, V3J 0A3, B.C. CANADA WWW.EMERGENTVISIONTEC.COM Table of Contents CONTACT... 4 LEGAL...

More information

SpiNNaker Application Programming Interface (API)

SpiNNaker Application Programming Interface (API) SpiNNaker Application Programming Interface (API) Version 2.0.0 10 March 2016 Application programming interface (API) Event-driven programming model The SpiNNaker API programming model is a simple, event-driven

More information

HikVision Mpeg4 linux Player SDK

HikVision Mpeg4 linux Player SDK HikVision Mpeg4 linux Player SDK Version 3.8(build1111) (2004.11.11) Email: hkvs@hikvision.com 0571-88075998-8025 Introduction HikVision Mpeg4/H264 Linux Player SDK is developed based on SDL(Simple DirectMedia

More information

AET60 BioCARDKey. Application Programming Interface. Subject to change without prior notice

AET60 BioCARDKey. Application Programming Interface.  Subject to change without prior notice AET60 BioCARDKey Application Programming Interface Subject to change without prior notice Table of Contents 1.0. Introduction... 3 2.0. Application Programming Interface... 4 2.1. Overview...4 2.2. Data

More information

Vive Input Utility Developer Guide

Vive Input Utility Developer Guide Vive Input Utility Developer Guide vivesoftware@htc.com Abstract Vive Input Utility is a tool based on the SteamVR plugin that allows developers to access Vive device status in handy way. We also introduce

More information

ArduCAM USB Camera SDK

ArduCAM USB Camera SDK ArduCAM USB Camera SDK User Guide Rev 1.0, April 2017 Table of Contents 1 Introduction... 2 2 USB SDK Library... 2 3 Demo Code... 2 3.1 Thread.cpp... 2 3.2 USBTestDlg.cpp... 2 4 ArduCAM APIs... 2 4.1 Data

More information

ECE264 Fall 2013 Exam 3, November 20, 2013

ECE264 Fall 2013 Exam 3, November 20, 2013 ECE264 Fall 2013 Exam 3, November 20, 2013 In signing this statement, I hereby certify that the work on this exam is my own and that I have not copied the work of any other student while completing it.

More information

C# SDK Wrapper Silicon Software Runtime

C# SDK Wrapper Silicon Software Runtime C# SDK Wrapper Silicon Software Runtime V 5.5.0 Documentation Imprint Silicon Software GmbH Steubenstraße 46 68163 Mannheim, Germany Tel.: +49 (0) 621 789507 0 Fax: +49 (0) 621 789507 10 2017 Silicon Software

More information

MPLAB Harmony Help - Test Harness Library

MPLAB Harmony Help - Test Harness Library MPLAB Harmony Help - Test Harness Library MPLAB Harmony Integrated Software Framework v1.11 2013-2017 Microchip Technology Inc. All rights reserved. Test Harness Library Test Harness Library This section

More information

MPLAB Harmony Test Libraries Help

MPLAB Harmony Test Libraries Help MPLAB Harmony Test Libraries Help MPLAB Harmony Integrated Software Framework 2013-2017 Microchip Technology Inc. All rights reserved. Test Libraries Help Test Libraries Help This section provides descriptions

More information

SIMATIC Industrial software Readme SIMATIC S7-PLCSIM Advanced V2.0 SP1 Readme

SIMATIC Industrial software Readme SIMATIC S7-PLCSIM Advanced V2.0 SP1 Readme SIMATIC Industrial software Readme General information Content This Readme file contains information about SIMATIC S7-PLCSIM Advanced V2.0 SP1. The information should be considered more up-to-date than

More information

SCD - Scorpion Camera Drivers Specification Documentation

SCD - Scorpion Camera Drivers Specification Documentation SCD - Scorpion Camera Drivers Specification Documentation Release XI Tordivel AS Jun 08, 2018 Contents 1 Camera configuration persistance 3 2 New in Scorpion XI port-based configuration 5 3 Camera Properties

More information

#include <stdio.h> int main() { char s[] = Hsjodi, *p; for (p = s + 5; p >= s; p--) --*p; puts(s); return 0;

#include <stdio.h> int main() { char s[] = Hsjodi, *p; for (p = s + 5; p >= s; p--) --*p; puts(s); return 0; 1. Short answer questions: (a) Compare the typical contents of a module s header file to the contents of a module s implementation file. Which of these files defines the interface between a module and

More information

C-types: basic & constructed. C basic types: int, char, float, C constructed types: pointer, array, struct

C-types: basic & constructed. C basic types: int, char, float, C constructed types: pointer, array, struct C-types: basic & constructed C basic types: int, char, float, C constructed types: pointer, array, struct Memory Management Code Global variables in file (module) Local static variables in functions Dynamic

More information

12 CREATING NEW TYPES

12 CREATING NEW TYPES Lecture 12 CREATING NEW TYPES of DATA Typedef declaration Enumeration Structure Bit fields Uninon Creating New Types Is difficult to solve complex problems by using programs written with only fundamental

More information

RM0327 Reference manual

RM0327 Reference manual Reference manual Multi-Target Trace API version 1.0 Overview Multi-Target Trace (MTT) is an application instrumentation library that provides a consistent way to embed instrumentation into a software application,

More information

Technical Report on further interoperability with C

Technical Report on further interoperability with C Technical Report on further interoperability with C John Reid, ISO Fortran Convener, JKR Associates and Rutherford Appleton Laboratory Fortran 2003 (or 2008) provides for interoperability of procedures

More information

Mellanox Scalable Hierarchical Aggregation and Reduction Protocol (SHARP) API Guide. Version 1.0

Mellanox Scalable Hierarchical Aggregation and Reduction Protocol (SHARP) API Guide. Version 1.0 Mellanox Scalable Hierarchical Aggregation and Reduction Protocol (SHARP) API Guide Version 1.0 Table of Contents Copyright... 3 Introduction... 4 Class Index... 5 File Index... 6 Class Documentation...

More information

Programming refresher and intro to C programming

Programming refresher and intro to C programming Applied mechatronics Programming refresher and intro to C programming Sven Gestegård Robertz sven.robertz@cs.lth.se Department of Computer Science, Lund University 2018 Outline 1 C programming intro 2

More information

Graphics Overview ECE2893. Lecture 19. ECE2893 Graphics Overview Spring / 15

Graphics Overview ECE2893. Lecture 19. ECE2893 Graphics Overview Spring / 15 Graphics Overview ECE2893 Lecture 19 ECE2893 Graphics Overview Spring 2011 1 / 15 Graphical Displays 1 Virtually all modern computers use a full color Graphical Display device. 2 It displays images, text,

More information

#ifndef DOUBLE_LIST /* this string SHOULD NOT previously exist */ #define DOUBLE_LIST

#ifndef DOUBLE_LIST /* this string SHOULD NOT previously exist */ #define DOUBLE_LIST /* This is a personal header file. Call it double_list.h * Its name should be reflected into the macro definition (#define). * For instance, here I should say something like: * #define DOUBLE_LIST #ifndef

More information

Variables in C. Variables in C. What Are Variables in C? CMSC 104, Fall 2012 John Y. Park

Variables in C. Variables in C. What Are Variables in C? CMSC 104, Fall 2012 John Y. Park Variables in C CMSC 104, Fall 2012 John Y. Park 1 Variables in C Topics Naming Variables Declaring Variables Using Variables The Assignment Statement 2 What Are Variables in C? Variables in C have the

More information

Structures. Basics of Structures (6.1) EECS l Now struct point is a valid type. l Defining struct variables: struct point { int x; int y; };

Structures. Basics of Structures (6.1) EECS l Now struct point is a valid type. l Defining struct variables: struct point { int x; int y; }; Structures EECS 2031 25 September 2017 1 Basics of Structures (6.1) struct point { int x; int y; keyword struct introduces a structure declaration. point: structure tag x, y: members The same member names

More information

Huawei HiAI DDK User Manual

Huawei HiAI DDK User Manual Huawei HiAI DDK User Manual Issue: V100.150.10 Date: 2018-03-09 Huawei Technologies Co., Ltd. Copyright Huawei Technologies Co., Ltd. 2018. All rights reserved. No part of this document may be reproduced

More information

Defining Unified CCX CTI Messages

Defining Unified CCX CTI Messages This chapter includes the following topics that you need to understand in order to correctly define Unified CCX CTI Messages:, page 2 Alignment of data elements, page 6 Pack and unpack a Unified CCX CTI

More information

Introduction to C# Applications

Introduction to C# Applications 1 2 3 Introduction to C# Applications OBJECTIVES To write simple C# applications To write statements that input and output data to the screen. To declare and use data of various types. To write decision-making

More information

Image Scholar OCR Recognizer Library Manual

Image Scholar OCR Recognizer Library Manual Image Scholar OCR Recognizer Library Manual Page 1 Table of Contents Introduction... 3 Preface... 3 Legal Notices... 3 Getting Started... 4 Program Flow... 4 Library Functions... 5 BOOL LoadRecognizer...

More information

ArduCAM USB Camera SDK

ArduCAM USB Camera SDK ArduCAM USB Camera SDK User Guide Rev 1.2, May 2018 Table of Contents 1 Introduction... 3 2 USB SDK Library... 3 3 Demo Code... 3 3.1 Thread.cpp... 3 3.2 USBTestDlg.cpp... 3 3.3 CommonTools.cpp... 3 4

More information

Introduction to N1031. Components of N1031. Guiding Principles. Walk through, issues, and rationale

Introduction to N1031. Components of N1031. Guiding Principles. Walk through, issues, and rationale Introduction to N1031 Walk through, issues, and rationale Components of N1031 New functions that protect against buffer overflow and always produce null terminated strings New reentrant versions of old

More information

Object Explorer. Atacama Large Millimeter Array

Object Explorer. Atacama Large Millimeter Array Atacama Large Millimeter Array KGB DOC 01/09 Revision: 1.7 2006 11 07 User s manual Mihael Kadunc Object Explorer User s manual Mihael Kadunc Josef Stefan Institute, Ljubljana Gašper Tkačik Josef Stefan

More information

DALI 2 Framework Design Document Introduction System Requirements Hardware Requirements Software Requirements...

DALI 2 Framework Design Document Introduction System Requirements Hardware Requirements Software Requirements... DALI 2 Framework Design Document Version 1.0 1. Introduction This project provides a Synergy Platform compatible Framework for the Digital Addressable Lighting Interface (DALI; International standard IEC

More information

UniFinger Engine SDK Reference Manual Version 3.0.0

UniFinger Engine SDK Reference Manual Version 3.0.0 UniFinger Engine SDK Reference Manual Version 3.0.0 Copyright (C) 2007 Suprema Inc. Table of Contents Table of Contents... 1 Chapter 1. Introduction... 8 Modules... 8 Products... 8 Licensing... 8 Supported

More information

DlisReader Library. Figure 1

DlisReader Library. Figure 1 DlisReader Library DlisReader is a library for reading information from files written in DLIS (RP66) format version 1. The library exposes extern functions by which user application gets DLIS file records.

More information

Creating a C++ Program

Creating a C++ Program Program A computer program (also software, or just a program) is a sequence of instructions written in a sequence to perform a specified task with a computer. 1 Creating a C++ Program created using an

More information

Pointers, Dynamic Data, and Reference Types

Pointers, Dynamic Data, and Reference Types Pointers, Dynamic Data, and Reference Types Review on Pointers Reference Variables Dynamic Memory Allocation The new operator The delete operator Dynamic Memory Allocation for Arrays 1 C++ Data Types simple

More information

COMS Spring Homework 3

COMS Spring Homework 3 COMS 1003-1 Spring 2011 Homework 3 The main goal of the first homework is to make you familiarize with advanced data types and pointers. There are 6 exercises in this assignment, for a total of 100 points.

More information

11 'e' 'x' 'e' 'm' 'p' 'l' 'i' 'f' 'i' 'e' 'd' bool equal(const unsigned char pstr[], const char *cstr) {

11 'e' 'x' 'e' 'm' 'p' 'l' 'i' 'f' 'i' 'e' 'd' bool equal(const unsigned char pstr[], const char *cstr) { This document contains the questions and solutions to the CS107 midterm given in Spring 2016 by instructors Julie Zelenski and Michael Chang. This was an 80-minute exam. Midterm questions Problem 1: C-strings

More information

Understand Computer Storage and Data Types

Understand Computer Storage and Data Types Understand Computer Storage and Data Types Lesson Overview Students will understand computer storage and data types. In this lesson, you will learn: How a computer stores programs and instructions in computer

More information

Program Block Editor and Compiler (PBEC)

Program Block Editor and Compiler (PBEC) Program Block Editor and Compiler (PBEC) For Hercules User Manual Version 1.7.5 2007 Dearborn Group Inc. 27007 Hills Tech Court Farmington Hills, MI 48331 Phone (248) 488-2080 Fax (248) 488-2082 http://www.dgtech.com

More information

- It computes the Standard Deviation by calculating the difference of each channel (R,G,B and A) of a pixel.

- It computes the Standard Deviation by calculating the difference of each channel (R,G,B and A) of a pixel. Standard Deviation: It is common to find comparison of two bitmaps in Image Processing Development. Comparison of two bitmaps means how each pixel of image1 is different from corresponding pixel of image2

More information

CS 261 Fall Mike Lam, Professor. Structs and I/O

CS 261 Fall Mike Lam, Professor. Structs and I/O CS 261 Fall 2018 Mike Lam, Professor Structs and I/O Typedefs A typedef is a way to create a new type name Basically a synonym for another type Useful for shortening long types or providing more meaningful

More information

a data type is Types

a data type is Types Pointers Class 2 a data type is Types Types a data type is a set of values a set of operations defined on those values in C++ (and most languages) there are two flavors of types primitive or fundamental

More information

libcbor Documentation

libcbor Documentation libcbor Documentation Release 0.4.0 Pavel Kalvoda Jan 02, 2017 Contents 1 Overview 3 2 Contents 5 2.1 Getting started.............................................. 5 2.2 Usage & preliminaries..........................................

More information

Stream Server SDK Programmer s Manual V2.0. Stream Server SDK Programmer s Manual V 2.0

Stream Server SDK Programmer s Manual V2.0. Stream Server SDK Programmer s Manual V 2.0 Stream Server SDK Programmer s Manual V 2.0 Index 1. Summary... 1 2. Stream Server System SDK... 2 2.1 Stream Media Server SDK... 2 2.2 Stream Client SDK... 4 2.2.1 DLL Interface... 4 2.2.2 Callback Function

More information

AET60 API version 1.4 February Introduction...3 Features...3 Application Programming Interface...4

AET60 API version 1.4 February Introduction...3 Features...3 Application Programming Interface...4 Version 1.4 02-2007 Unit 1008, 10th Floor, Hongkong International Trade and Exhibition Centre 1 Trademart Drive, Kowloon Bay, Hong Kong Tel: +852 2796 7873 Fax: +852 2796 1286 Email: info@acs.com.hk Website:

More information

The XMPI API and trace file format

The XMPI API and trace file format The XMPI API and trace file format Nicholas J. Nevin January 29, 1997 1 Overview This document describes the interface between the portable and system independent parts of XMPI, and the format of an XMPI

More information

Android X Y Android sample ios sample

Android X Y Android sample ios sample ... 2 1... 2 1.1... 2 1.2... 3 1.3... 3 2... 5 2.1... 5 2.2... 5 2.3... 5 3... 6 4... 7 4.1 Android... 7 4.2 ios... 7 5... 7 5.1 Android XY... 7 5.2 ios XY... 9 6... 10 6.1 m... 10 6.2 m... 19 6.3 m...

More information

A Fast Review of C Essentials Part I

A Fast Review of C Essentials Part I A Fast Review of C Essentials Part I Structural Programming by Z. Cihan TAYSI Outline Program development C Essentials Functions Variables & constants Names Formatting Comments Preprocessor Data types

More information

ENERGY 211 / CME 211. Functions

ENERGY 211 / CME 211. Functions ENERGY 211 / CME 211 Lecture 8 October 8, 2008 1 Functions So far, we have seen programs in which all code resides within a main function Complex programs consist of subprograms that perform particular

More information

Generalised User Interface for Embedded Applications using an LCD screen and keypad.

Generalised User Interface for Embedded Applications using an LCD screen and keypad. Generalised User Interface for Embedded Applications using an LCD screen and keypad. This article is concerned with firmware design and implementation for microcontroller-based devices incorporating a

More information

The Nifty Way to Call Hell from Heaven ANDREAS LÖSCHER AND KONSTANTINOS SAGONAS UPPSAL A UNIVERSIT Y

The Nifty Way to Call Hell from Heaven ANDREAS LÖSCHER AND KONSTANTINOS SAGONAS UPPSAL A UNIVERSIT Y The Nifty Way to Call Hell from Heaven ANDREAS LÖSCHER AND KONSTANTINOS SAGONAS UPPSAL A UNIVERSIT Y There is a lot of C Code out there C Erlang Source: www.langpop.com (Normalized statistic) How can we

More information

NetDrive2 SDK Reference

NetDrive2 SDK Reference NetDrive2 SDK Reference Bdrive Inc, Copyright Bdrive inc, All Rights Reserved version date e-mail 0.1 2014-4-10 jyyoon@bdrive.com 0.2 2014-5-9 jyyoon@bdrive.com 0.3 2014-6-14 jyyoon@bdrive.com 0.4 2014-7-14

More information

eprosima Dynamic Fast Buffers User Manual Version 0.2.0

eprosima Dynamic Fast Buffers User Manual Version 0.2.0 eprosima Dynamic Fast Buffers User Manual Version 0.2.0 The Middleware Experts eprosima 2013 1 eprosima Proyectos y Sistemas de Mantenimiento SL Ronda del poniente 2 1ºG 28760 Tres Cantos Madrid Tel: +

More information

Type checking of statements We change the start rule from P D ; E to P D ; S and add the following rules for statements: S id := E

Type checking of statements We change the start rule from P D ; E to P D ; S and add the following rules for statements: S id := E Type checking of statements We change the start rule from P D ; E to P D ; S and add the following rules for statements: S id := E if E then S while E do S S ; S Type checking of statements The purpose

More information

CrossWorks Tools Library

CrossWorks Tools Library Version: 3.1 2014 Rowley Associates Limited 2 Contents Contents... 9 User Manual... 11 Introduction... 11 API Reference... 12 ... 12 CTL_BYTE_SWAP_16b_LIT... 15 CTL_BYTE_SWAP_32b_LIT... 16

More information

This Document describes the API provided by the DVB-Multicast-Client library

This Document describes the API provided by the DVB-Multicast-Client library DVB-Multicast-Client API-Specification Date: 17.07.2009 Version: 2.00 Author: Deti Fliegl This Document describes the API provided by the DVB-Multicast-Client library Receiver API Module

More information

Variables in C. CMSC 104, Spring 2014 Christopher S. Marron. (thanks to John Park for slides) Tuesday, February 18, 14

Variables in C. CMSC 104, Spring 2014 Christopher S. Marron. (thanks to John Park for slides) Tuesday, February 18, 14 Variables in C CMSC 104, Spring 2014 Christopher S. Marron (thanks to John Park for slides) 1 Variables in C Topics Naming Variables Declaring Variables Using Variables The Assignment Statement 2 What

More information

WritePad SDK Recognizer API

WritePad SDK Recognizer API WritePad SDK Recognizer API Developer s Manual Copyright 1997-2013 PhatWare Corporation. All rights reserved. WritePad API PhatWare Corp. Page 2 Copyright 1997-2013 PhatWare Corporation. All rights Reserved.

More information

Chapter 1 Getting Started

Chapter 1 Getting Started Chapter 1 Getting Started The C# class Just like all object oriented programming languages, C# supports the concept of a class. A class is a little like a data structure in that it aggregates different

More information

12- User-Defined Material Model

12- User-Defined Material Model 12- User-Defined Material Model In this version 9.0 of Phase2 (RS 2 ), users can define their own constitutive model and integrate the model into the program by using a dynamic-linking library (dll). The

More information

MW100 Setting for Data Communications via Modbus Protocol. Connect to Ethernet. Enter Ethernet settings. Enter Server Settings

MW100 Setting for Data Communications via Modbus Protocol. Connect to Ethernet. Enter Ethernet settings. Enter Server Settings User s Manual Setting for Data Communications via Modbus Protocol Overview This is an explanation of the procedure for entering settings for Modbus communications with the DAQMASTER. This manual descries

More information

Basic Types, Variables, Literals, Constants

Basic Types, Variables, Literals, Constants Basic Types, Variables, Literals, Constants What is in a Word? A byte is the basic addressable unit of memory in RAM Typically it is 8 bits (octet) But some machines had 7, or 9, or... A word is the basic

More information

Revision: 09/21/ East Main Pullman, WA (509) Voice and Fax

Revision: 09/21/ East Main Pullman, WA (509) Voice and Fax Digilent Port Communications Programmers Reference Manual Revision: 09/21/04 246 East Main Pullman, WA 99163 (509) 334 6306 Voice and Fax TM Introduction The DPCUTIL Dynamic Link Library (DLL) provides

More information

Section 3: File I/O, JSON, Generics. Meghan Cowan

Section 3: File I/O, JSON, Generics. Meghan Cowan Section 3: File I/O, JSON, Generics Meghan Cowan POSIX Family of standards specified by the IEEE Maintains compatibility across variants of Unix-like OS Defines API and standards for basic I/O: file, terminal

More information

Final assignment: Hash map

Final assignment: Hash map Final assignment: Hash map 1 Introduction In this final assignment you will implement a hash map 1. A hash map is a data structure that associates a key with a value (a chunk of data). Most hash maps are

More information

OptimiData. JPEG2000 Software Development Kit for C/C++ Reference Manual. Version 1.6. from

OptimiData. JPEG2000 Software Development Kit for C/C++  Reference Manual. Version 1.6. from OptimiData for optimized data handling JPEG2000 Software Development Kit for C/C++ Reference Manual Version 1.6 from 2004-07-29 (Windows and Linux Versions) www.optimidata.com OptimiData JPEG2000 C-SDK

More information

Armide Documentation. Release Kyle Mayes

Armide Documentation. Release Kyle Mayes Armide Documentation Release 0.3.1 Kyle Mayes December 19, 2014 Contents 1 Introduction 1 1.1 Features.................................................. 1 1.2 License..................................................

More information

Introduction. Overview

Introduction. Overview Digilent Port Communications Programmers Reference Manual Revision: 06/03/05 215 E Main SuiteD Pullman, WA 99163 (509) 334 6306 Voice and Fax TM Introduction The DPCUTIL Dynamic Link Library (DLL) provides

More information

Chapter 15 Programming Paradigm

Chapter 15 Programming Paradigm Chapter 15 Programming Paradigm A Windows program, like any other interactive program, is for the most part inputdriven. However, the input of a Windows program is conveniently predigested by the operating

More information

Introduction to C++ Systems Programming

Introduction to C++ Systems Programming Introduction to C++ Systems Programming Introduction to C++ Syntax differences between C and C++ A Simple C++ Example C++ Input/Output C++ Libraries C++ Header Files Another Simple C++ Example Inline Functions

More information

Converting a Lowercase Letter Character to Uppercase (Or Vice Versa)

Converting a Lowercase Letter Character to Uppercase (Or Vice Versa) Looping Forward Through the Characters of a C String A lot of C string algorithms require looping forward through all of the characters of the string. We can use a for loop to do that. The first character

More information

bioplux C++ API v. 2

bioplux C++ API v. 2 bioplux C++ API v. 2 Programming Interface Reference Document Version 1d 1/12 Change Log Version Date Changes 1d 17 Mar 2015 Include VS2013 in Introduction. 1c 23 Nov 2012 Removed the GetFrames (no arguments)

More information

DYNAMIC ENGINEERING 150 DuBois St., Suite C Santa Cruz, CA Fax Est.

DYNAMIC ENGINEERING 150 DuBois St., Suite C Santa Cruz, CA Fax Est. DYNAMIC ENGINEERING 150 DuBois St., Suite C Santa Cruz, CA 95060 831-457-8891 Fax 831-457-4793 http://www.dyneng.com sales@dyneng.com Est. 1988 IpTest WDF Driver Documentation For the IP-Test module Developed

More information

BREW Developer Training

BREW Developer Training A Historical Viewpoint J2ME Windows BREW Qualcomm MacOS Apple PalmOS Palm - many variations - one standard implementation - more buggy - less buggy - more UI variations - more consistent UI -

More information

typedef Labeling<unsigned char,short> LabelingBS; typedef Labeling<unsigned char,short>::regioninfo RegionInfoBS;

typedef Labeling<unsigned char,short> LabelingBS; typedef Labeling<unsigned char,short>::regioninfo RegionInfoBS; 2005 7 19 1 ( ) Labeling 2 C++ STL(Standard Template Library) g++ (GCC) 3.3.2 3 3.1 Labeling SrcT DstT SrcT: unsigned char, shoft DstT: short typedef 1. unsigned char, short typedef Labeling

More information

CS300 Final Review Questions 1

CS300 Final Review Questions 1 CS300 Final Review Questions 1 This is not a complete list of questions and topics, but a good sampling of questions that will help you study for the final. I strongly advise you to work through every

More information

Recitation #11 Malloc Lab. November 7th, 2017

Recitation #11 Malloc Lab. November 7th, 2017 18-600 Recitation #11 Malloc Lab November 7th, 2017 1 2 Important Notes about Malloc Lab Malloc lab has been updated from previous years Supports a full 64 bit address space rather than 32 bit Encourages

More information

Anybus CompactCom. Host Application Implementation Guide. Doc.Id. HMSI Doc. Rev Connecting DevicesTM

Anybus CompactCom. Host Application Implementation Guide. Doc.Id. HMSI Doc. Rev Connecting DevicesTM Anybus CompactCom Doc. Rev. 1.10 Connecting DevicesTM +$/067$' &+,&$*2.$5/658+( 72.

More information

---Functions Manual---

---Functions Manual--- 2009-06-04 ARTRAY Thermograph Camera Software Developer Kit ---Functions Manual--- Dynamic Link Library for Windows2000,XP 2009.06.04 ARTRAY CO., LTD List of DLL function DLLInitializing ArtThermo_GetDllVersion

More information

COP 3223 Introduction to Programming with C - Study Union - Fall 2017

COP 3223 Introduction to Programming with C - Study Union - Fall 2017 COP 3223 Introduction to Programming with C - Study Union - Fall 2017 Chris Marsh and Matthew Villegas Contents 1 Code Tracing 2 2 Pass by Value Functions 4 3 Statically Allocated Arrays 5 3.1 One Dimensional.................................

More information

C Structures Self-referencing Card Shuffling Unions. C Structures CS Prof. Jonathan Ventura. Prof. Jonathan Ventura C Structures

C Structures Self-referencing Card Shuffling Unions. C Structures CS Prof. Jonathan Ventura. Prof. Jonathan Ventura C Structures Self-referencing Card Shuffling Unions CS 2060 Self-referencing Card Shuffling Unions : struct C enables us to aggregate diverse data types into a structure: struct Employee { char first_name[20]; char

More information

Copyright 2017 Sony IP&S Inc. XC-SDK 2018 Overview

Copyright 2017 Sony IP&S Inc. XC-SDK 2018 Overview Copyright 2017 Sony IP&S Inc. XC-SDK 2018 Overview The contents 1 THE OVERVIEW... 2 1.1 THE FUNCTIONAL-DESCRIPTION... 2 1.2 THE COMPOSITION... 2 1.3 THE SYSTEM REQUIREMENTS... 2 1.4 THE PRODUCT FORM...

More information

Anybus CompactCom. Host Application Implementation Guide HMSI ENGLISH

Anybus CompactCom. Host Application Implementation Guide HMSI ENGLISH Anybus CompactCom Host Application Implementation Guide HMSI-27-334 1.3 ENGLISH Important User Information Liability Every care has been taken in the preparation of this document. Please inform HMS Industrial

More information

Malloc Lab & Midterm Solutions. Recitation 11: Tuesday: 11/08/2016

Malloc Lab & Midterm Solutions. Recitation 11: Tuesday: 11/08/2016 Malloc Lab & Midterm Solutions Recitation 11: Tuesday: 11/08/2016 Malloc 2 Important Notes about Malloc Lab Malloc lab has been updated from previous years Supports a full 64 bit address space rather than

More information

Pointers, Pointers, Pointers!

Pointers, Pointers, Pointers! Pointers, Pointers, Pointers! Pointers, Pointers, Pointers, Pointers, Pointers, Pointers, Pointers, Pointers, Pointers, Pointers, Pointers, Pointers, Pointers! Colin Gordon csgordon@cs.washington.edu University

More information