Using NI-488.2M Software with 32-Bit Delphi Applications

Size: px
Start display at page:

Download "Using NI-488.2M Software with 32-Bit Delphi Applications"

Transcription

1 Application Note 085 Introduction Using NI-488.2M Software with 32-Bit Delphi Applications L. Rantanen Borland Delphi (version 2.0), one of the latest visual programming languages, uses Rapid Application Development (RAD) tools. With RAD tools, one can quickly and easily create Windows applications. Delphi is based on Object Pascal and is combined with a native-code compiler. Delphi is capable of accessing dynamic link libraries (DLLs), which makes it easy to interface to NI-488.2M software. This application note explains how to access the NI-488.2M DLL from a Delphi application. Writing Your NI-488 or NI Application A 32-bit Delphi application can access the NI-488.2M dynamic link library (gpib-32.dll) by using the direct entry functions. This section discusses items you should include in your application along with examples. Exporting Pointers to Status Variables and Function Names The 32-bit GPIB DLL exports pointers to the global variables and all of the NI functions and subroutines. Pointers to the global variables (ibsta, iberr, and ibcntl) are accessible through these exported variables: int *user_ibsta int *user_iberr int *user_ibcntl Except for the functions ibbna, ibfind, ibrdf, and ibwrtf, all of the NI function and subroutine names are exported from the 32-bit GPIB DLL. What this means is that to use direct entry to access a particular function, all you need to do to get a pointer to the exported function is to call GetProcAddress, passing the name of the function as a parameter. The parameters that you use when you invoke the function are identical to those described in Reference 1. These functions all require an argument that is a name. ibbna requires a board name, ibfind requires a board or device name, and ibrdf and ibwrtf take a file name. Because Windows NT understands both normal (8-bit) and unicode (16-bit) characters, gpib-32.dll exports both normal and unicode characters. However, under Windows 95 you cannot use 16-bit wide characters. For Windows 95 applications, use the 8-bit ASCII versions named ibbnaa, ibfinda, ibrdfa, and ibwrtfa when calling GetProcAddress. For Windows NT applications, you can use the 16-bit unicode versions named ibbnaw, ibfindw, ibrdfw, and ibwrtfw when calling GetProcAddress. In addition to pointers to the status variables and a handle to the loaded gpib-32.dll, you must define the direct entry prototypes for the functions that you use in your application. The prototypes for each function exported by Product and company names are trademarks or trade names of their respective companies B-01 Copyright 1997 National Instruments Corporation. All rights reserved. November 1997

2 gpib-32.dll can be found in Reference 1. For more information on direct entry, refer to the Win32 SDK (Software Development Kit) online help. Items to Include In your Win32 Delphi application, you first need to make type declarations for the GPIB global variables. The GPIB globals are declared as functions that return an integer (or Longint for ibcntl). Also included is the calling convention directive, stdcall. Below is an example of how to make the type declaration for the GPIB global variables: Tibsta = function : integer; stdcall; Tiberr = function : integer; stdcall; Tibcntl = function : Longint; stdcall; In the var section of your application, the AddrIbxxx declarations are used to obtain the addresses of the global variables and the Pibxxx pointer declarations are assigned the AddrIbxxx addresses and from there they can then be dereferenced. Below is an example of how to set them up: AddrIbsta : Tibsta; AddrIberr : Tiberr; AddrIbcntl : Tibcntl; Pibsta : ^integer; Piberr : ^integer; Pibcntl : ^Longint; The NI-488 calls are declared as functions and NI calls are declared as procedures. The declared calls are followed by the list of parameters for that call. The last item in the call declaration is the calling convention directive, stdcall. Include the type declarations for the GPIB functions in the type section of your Pascal unit module. See Reference 1 for the format for the NI and NI-488 prototypes. To convert from the C-style parameters (shown in the manual) to Delphi-style parameters, refer to the table below: C-Style Declaration Delphi-Style Declaration Description Addr4882_t num num : Smallint Short integer variable passed by value Addr4882_t *list type AddrList = array[0..31] of Smallint var results : AddrList Array of short integers char *udname udname : packed array[0..10] of char Array of characters passed by reference (e.g., for ibbna and ibfind calls) char *bytebuf var bytebuf: byte Unsigned byte variable passed by reference (e.g., for ibrpp and ibrsp calls) int num num : integer Integer variable passed by value int *num var num : integer Integer variable passed by reference long num num : longint Long integer variable passed by value short *results type ResultsList = array[0..31] of Smallint var results : ResultsList Array of short integers short *num var num : Smallint Short integer variable passed by reference unsigned short num num : word Unsigned short integer variable passed by value void *buffer var buffer String passed by reference 2

3 Below is an example of how to make a type declaration for the ibdev function: Tibdev = function (ud:integer; pad:integer; sad:integer; tmo:integer; eot:integer; eos:integer) : integer; stdcall; Below is an example of how to make a type declaration for the SendIFC procedure: TSendIFC = procedure (boardid: integer); stdcall; Below is an example of how to declare the calls in the var section: ibdev : Tibdev; SendIFC : TSendIFC; You also need a handle to the GPIB library. Below is an example of how to declare it in the var section of your application: Gpib32Lib : THandle; In the const section of your application, you can set up mnemonics for the Status Word Conditions and Error Codes as found in the Appendixes of Reference 1. These constants can be used in your application to help check which bits are set in the GPIB global variables, ibsta and iberr. Below is an example of how to declare them: const (* GPIB Status Word Conditions. *) ERR = $8000; (* Error detected *) TIMO = $4000; (* Timeout *) EEND = $2000; (* EOI or EOS detected *) SRQI = $1000; (* SRQ detected by CIC *) RQS = $800; (* Device needs service *) SPOLL = $400; (* Board has been serially polled *) EVENT = $200; (* An event has occurred *) CMPL = $100; (* I/O completed *) LOK = $80; (* Local lockout state *) REM = $40; (* Remote state *) CIC = $20; (* Controller-in-Charge *) ATN = $10; (* Attention asserted *) TACS = $8; (* Talker active *) LACS = $4; (* Listener active *) DTAS = $2; (* Device trigger state *) DCAS = $1; (* Device clear state *) 3

4 (* Error messages returned in global variable IBERR: *) EDVR = 0; (* System error *) ECIC = 1; (* Function requires GPIB board to be CIC *) ENOL = 2; (* Write function detected no Listeners *) EADR = 3; (* Interface board not addressed correctly *) EARG = 4; (* Invalid argument to function call *) ESAC = 5; (* Function requires GPIB board to be SAC *) EABO = 6; (* I/O operation aborted *) ENEB = 7; (* Non-existent interface board *) EDMA = 8; (* Error performing DMA *) EOIP = 10; (* I/O operation started before previous *) (* operation completed *) ECAP = 11; (* No capability for intended operation *) EFSO = 12; (* File system operation error *) EBUS = 14; (* Command error during device call *) ESTB = 15; (* Serial poll status byte lost *) ESRQ = 16; (* SRQ remains asserted *) ETAB = 20; (* The return buffer is full *) ELCK = 21; (* Address or board is locked *) Loading the GPIB-32.DLL Library In your Win32 application, you need to load the GPIB library (gpib-32.dll). The following code fragment illustrates how to call the LoadLibrary function and check for an error: Gpib32Lib := LoadLibrary('GPIB-32.DLL'); If Gpib32Lib = 0 Then begin (* Report an error here. *) end; Getting the Addresses Next, your Win32 application needs to use GetProcAddress to get the addresses of the global status variables and functions you need to use. The following code fragment illustrates how to get the addresses of the pointers to the status variables and any functions your application needs to := GetProcAddress(Gpib32Lib, := GetProcAddress(Gpib32Lib, := GetProcAddress(Gpib32Lib, 'user_ibcntl'); Pibsta Piberr Pibcntl (* NI-488 calls := GetProcAddress(Gpib32Lib, := GetProcAddress(Gpib32Lib, 'ibonl'); (* NI call := GetProcAddress(Gpib32Lib, 'SendIFC'); 4

5 If GetProcAddress fails, it returns a NIL pointer. The following code fragment illustrates how to verify that none of the calls to GetProcAddress failed: If (@AddrIbsta = NIL) or (@AddrIberr = NIL) or (@AddrIbcntl = NIL) or (@ibdev = NIL) or (@ibonl = NIL) then begin (* Report an error. *) FreeLibrary(Gpib32Lib); (* Free the library. *) end; Accessing the GPIB Calls and Variables The code below illustrates how to call a function or a procedure and access the status variable from within your application: dev := ibdev(0, 1, 0, 13, 1, 0); if (Pibsta^ and ERR) <> 0 then gpiberr('ibdev Error'); SendIFC(0); if (Pibsta^ and ERR) <> 0 then gpiberr('sendifc Error'); Freeing the Library Before exiting your application, you need to free gpib-32.dll with the following command: FreeLibrary(Gpib32Lib); Sample Programs We have placed on our GPIB web site two sample projects that illustrate how to make direct entry calls to interface to a multimeter. Please refer to the Downloads section in the following location: Reference 1. NI-488.2M Function Reference Manual for Win32, National Instruments. 5

6

NI-488.2M TM Software for Windows 95 Quick Reference Card

NI-488.2M TM Software for Windows 95 Quick Reference Card NI-488.2M TM Software for Windows 95 Quick Reference Card Status Word Conditions (ibsta) Mnemonic Bit Pos. Hex Value Type Description ERR 15 8000 dev, brd GPIB error TIMO 14 4000 dev, brd Time limit exceeded

More information

Quick Reference Card. NI-488.2M TM Software for Win32. Status Word Conditions (ibsta) Error Codes (iberr) NATIONAL INSTRUMENTS

Quick Reference Card. NI-488.2M TM Software for Win32. Status Word Conditions (ibsta) Error Codes (iberr) NATIONAL INSTRUMENTS Quick Reference Card NI-488.2M TM Software for Win32 Status Word Conditions (ibsta) Mnemonic Bit Hex Type Description ERR 15 8000 dev, brd GPIB error TIMO 14 4000 dev, brd Time limit exceeded END 13 2000

More information

NI-488M. Software Reference Manual. National Instruments IEEE 488 Multitasking UNIX Device Driver. July 1994 Edition Part Number

NI-488M. Software Reference Manual. National Instruments IEEE 488 Multitasking UNIX Device Driver. July 1994 Edition Part Number NI-488M Software Reference Manual National Instruments IEEE 488 Multitasking UNIX Device Driver July 1994 Edition Part Number 320062-01 Copyright 1985, 1994 National Instruments Corporation. All Rights

More information

TABLE OF FIGURES... II A - DISCUSSION...1

TABLE OF FIGURES... II A - DISCUSSION...1 Radiant Technologies, Inc. 2835D Pan American Freeway NE Albuquerque, NM 87107 Tel: 505-842-8007 Fax: 505-842-0366 e-mail: radiant@ferrodevices.com Table of Contents TABLE OF FIGURES... II A - DISCUSSION...1

More information

ESP-488 Software Reference Manual for the GPIB-ENET

ESP-488 Software Reference Manual for the GPIB-ENET ESP-488 Software Reference Manual for the GPIB-ENET February 1995 Edition Part Number 320910A-01 Copyright 1995 National Instruments Corporation. All Rights Reserved. National Instruments Corporate Headquarters

More information

ADL-GPIB. for PC Compatibles. Function Reference Manual

ADL-GPIB. for PC Compatibles. Function Reference Manual ADL-GPIB f PC Compatibles Function Reference Manual @Copyright 1997-2005 ADLink Technology Inc. All Rights Reserved. Manual Rev 4.06: Jul. 30, 2004 The infmation in this document is subject to change

More information

ESP-488 Software Reference Manual for LynxOS and the AT-GPIB

ESP-488 Software Reference Manual for LynxOS and the AT-GPIB ESP-488 Software Reference Manual for LynxOS and the AT-GPIB National Instruments IEEE 488 Engineering Software Package for the LynxOS Operating System August 1993 Edition Part Number 320642-01 Copyright

More information

Getting Started with Your GPIB-PCII/IIA and the NI Software for MS-DOS

Getting Started with Your GPIB-PCII/IIA and the NI Software for MS-DOS Getting Started with Your GPIB-PCII/IIA and the NI-488.2 Software for MS-DOS June 1992 Edition Part Number 3232-1 Copyright 199, 1994 National Instruments Corporation. All Rights Reserved. National Instruments

More information

NI-488DDK Software Reference Manual

NI-488DDK Software Reference Manual NI-488DDK Software Reference Manual July 1997 Edition Part Number 321418A-01 Copyright 1997 National Instruments Corporation. All rights reserved. Internet Support support@natinst.com E-mail: info@natinst.com

More information

NI NI User Manual for Windows

NI NI User Manual for Windows NI-488.2 NI-488.2 User Manual for Windows NI-488.2 User Manual for Windows June 1999 Edition Part Number 321819D-01 Worldwide Technical Support and Product Information www.natinst.com National Instruments

More information

Model KPCI-488LPA GPIB Controller Interface Card and Model KUSB-488B USB to GPIB Converter

Model KPCI-488LPA GPIB Controller Interface Card and Model KUSB-488B USB to GPIB Converter www.keithley.com Model KPCI-488LPA GPIB Controller Interface Card and Model KUSB-488B USB to GPIB Converter Reference Manual KI488-901-01 Rev. A / March 2010 A G R E A T E R M E A S U R E O F C O N F I

More information

Supplement to the NI-488M Software Reference Manual for AIX

Supplement to the NI-488M Software Reference Manual for AIX Supplement to the NI-488M Software Reference Manual for AIX This supplement contains a discussion of the NI-488 function ibdev and the AIX-specific functions ibhwdiag and ibpost that are not documented

More information

NI NI User Manual. NI User Manual. March 2004 Edition Part Number B-01

NI NI User Manual. NI User Manual. March 2004 Edition Part Number B-01 TM NI-488.2 NI-488.2 User Manual NI-488.2 User Manual March 2004 Edition Part Number 370428B-01 Support Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters

More information

GPIB. NI-488DDK Software Reference Manual. January 2003 Edition Part Number B-01

GPIB. NI-488DDK Software Reference Manual. January 2003 Edition Part Number B-01 GPIB TM NI-488DDK Software Reference Manual NI-488DDK Software Reference Manual January 2003 Edition Part Number 321418B-01 Support Worldwide Technical Support and Product Information ni.com National Instruments

More information

NI-488 and NI Subroutines for NKR BASIC. August 1992 Edition Part Number

NI-488 and NI Subroutines for NKR BASIC. August 1992 Edition Part Number NI-488 and NI-488.2 Subroutines for NKR BASIC August 1992 Edition Part Number 320348-01 Copyright 1991, 1992 National Instruments Corporation. All Rights Reserved. National Instruments Corporate Headquarters

More information

GPIB Library Software User's Guide

GPIB Library Software User's Guide GPIB Library Software User's Guide Document Revision 4, June, 2005 opyright 2005, Measurement omputing orporation Your new Measurement omputing product comes with a fantastic extra Management committed

More information

NI-488 and NI Subroutines for FORTRAN. November 1993 Edition Part Number

NI-488 and NI Subroutines for FORTRAN. November 1993 Edition Part Number NI-488 and NI-488.2 Subroutines for FORTRAN November 1993 Edition Part Number 320431-01 Copyright 1991, 1994 National Instruments Corporation. All Rights Reserved. National Instruments Corporate Headquarters

More information

Programming with NI Software

Programming with NI Software Application Note 002 Programming with NI-488.2 Software Introduction D. Jernigan and T. Dehne This application note explains the philosophy and structure of the National Instruments IEEE 488.2 software

More information

Using Your NI Software with NEC Windows

Using Your NI Software with NEC Windows Using Your NI-488.2 Software with NEC Windows August 1992 Edition Part Number 370911A-01 Copyright 1992, 1994 National Instruments Corporation. All Rights Reserved. National Instruments Corporate Headquarters

More information

NI TM. Function Reference Manual for DOS/Windows. August 1996 Edition Part Number A-01

NI TM. Function Reference Manual for DOS/Windows. August 1996 Edition Part Number A-01 NI-488.2 TM Function Reference Manual for DOS/Windows August 1996 Edition Part Number 370903A-01 opyright 1993, 1996 National Instruments orporation. All Rights Reserved. National Instruments orporate

More information

Implementation of an IBM-PC/AT as a GPIB controller.

Implementation of an IBM-PC/AT as a GPIB controller. alhoun: The NPS Institutional Archive Theses and Dissertations Thesis ollection 1986 Implementation of an IBM-P/AT as a GPIB controller. Self George H. Jr. http://hdl.handle.net/10945/21915 DUDLEY KNOX

More information

5 The GP Interface Bus

5 The GP Interface Bus 5 The GP Interface Bus In this chapter... Introduction to the System Interface Buses, 5-2 The GPIB Statements, 5-3 Addressing the Bus And Bus Devices, 5-5 A Reference Description of the GPIB, 5-8 Objectives

More information

PROLOGIX GPIB-ETHERNET CONTROLLER USER MANUAL VERSION September 14, 2009 PROLOGIX.BIZ

PROLOGIX GPIB-ETHERNET CONTROLLER USER MANUAL VERSION September 14, 2009 PROLOGIX.BIZ PROLOGIX GPIB-ETHERNET CONTROLLER USER MANUAL VERSION 1.5.2.0 September 14, 2009 PROLOGIX.BIZ Table of Contents 1. Introduction...4 2. Installation...4 3. Firmware Upgrade...4 4. Host Software...4 5. Network

More information

GPIB Analyzer Help Contents Index Search

GPIB Analyzer Help Contents Index Search GPIB Analyzer Help March 2003 Edition, Part Number 370686A-01 This help file describes the GPIB analyzer software. The GPIB analyzer is an application that you can use for testing, debugging, and analysis.

More information

6Using the Install and. Licensing APIs 6CHAPTER

6Using the Install and. Licensing APIs 6CHAPTER 6CHAPTER 6Using the Install and Chapter Licensing APIs This chapter describes how to use the functions in the InterBase Install API as part of an application install. It includes the following topics:

More information

ines-ieee488.2 igpib Device Driver Software Manual 1998 ines GmbH

ines-ieee488.2 igpib Device Driver Software Manual 1998 ines GmbH ines-ieee488.2 igpib Device Driver Software Manual 1998 ines GmbH All rights reserved. No part of this document may be reproduced without permission in writing from the publisher. Hannover (Germany), October,

More information

The GPIB Interface. Last modified Week 4 - part 1. What we have here is a failure to communicate - Cool Hand Luke

The GPIB Interface. Last modified Week 4 - part 1. What we have here is a failure to communicate - Cool Hand Luke What we have here is a failure to communicate - Cool Hand Luke The GPIB Interface GPIB - General Purpose Interface Bus - is a standard interface for communications between instruments and controllers (eg.

More information

gpib-ctypes Documentation

gpib-ctypes Documentation gpib-ctypes Documentation Release 0.1.0dev Tomislav Ivek Apr 08, 2018 Contents 1 gpib-ctypes 3 1.1 Features.................................................. 3 1.2 Testing..................................................

More information

FORM 2 (Please put your name and form # on the scantron!!!!)

FORM 2 (Please put your name and form # on the scantron!!!!) CS 161 Exam 2: FORM 2 (Please put your name and form # on the scantron!!!!) True (A)/False(B) (2 pts each): 1. Recursive algorithms tend to be less efficient than iterative algorithms. 2. A recursive function

More information

GP-IB(PCI) GP-IB(PCI)L

GP-IB(PCI) GP-IB(PCI)L PC-HELPER IEEE-488.2 Interface Board for PCI GP-IB(PCI) GP-IB(PCI)L User s Guide CONTEC CO.,LTD. Check Your Package Thank you for purchasing the CONTEC product. The product consists of the items listed

More information

Investintech.com Inc. Software Development Kit: PDFtoImage Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDFtoImage Function Library User s Guide Investintech.com Inc. Software Development Kit: PDFtoImage Function Library User s Guide Novemebr 6, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is

More information

Investintech.com Inc. Software Development Kit: PDF-to-Excel Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDF-to-Excel Function Library User s Guide Investintech.com Inc. Software Development Kit: PDF-to-Excel Function Library User s Guide May 25, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is registered

More information

Investintech.com Inc. Software Development Kit: ImagetoPDF Function Library User s Guide

Investintech.com Inc. Software Development Kit: ImagetoPDF Function Library User s Guide Investintech.com Inc. Software Development Kit: ImagetoPDF Function Library User s Guide December 31, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is

More information

Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide Investintech.com Inc. Software Development Kit: PDFtoXML Function Library User s Guide January 15, 2007 http://www.investintech.com Copyright 2008 Investintech.com, Inc. All rights reserved Adobe is registered

More information

User s Manual. High Speed & Function IEEE I/F Board for PCI GP-IB(PCI)F. High Speed IEEE I/F Board for PCI GP-IB(PCI)FL

User s Manual. High Speed & Function IEEE I/F Board for PCI GP-IB(PCI)F. High Speed IEEE I/F Board for PCI GP-IB(PCI)FL PC-HELPER High Speed & Function IEEE-488.2 I/F Board for PCI GP-IB(PCI)F High Speed IEEE-488.2 I/F Board for PCI GP-IB(PCI)FL High Speed & Function IEEE-488.2 I/F Board for Low Profile PCI GP-IB(LPCI)F

More information

Using Measurement Studio GPIB to Accelerate Development with Visual Basic

Using Measurement Studio GPIB to Accelerate Development with Visual Basic Application Note 119 Using Measurement Studio GPIB to Accelerate Development with Visual Basic Introduction Jason White and Evan Cone Using GPIB in Visual Basic can be a complicated experience. One of

More information

Using Your NI-488 and NI Subroutines for Visual Basic for Windows

Using Your NI-488 and NI Subroutines for Visual Basic for Windows Using Your NI-488 and NI-488.2 Subroutines for Visual Basic for Windows February 1994 Edition Part Number 320418-01 Copyright 1991, 1994 National Instruments Corporation. All Rights Reserved. National

More information

NI-488.2TM. NI User Manual. NI User Manual. June W-01

NI-488.2TM. NI User Manual. NI User Manual. June W-01 NI-488.2TM NI-488.2 User Manual NI-488.2 User Manual June 2018 370428W-01 Support Worldwide Technical Support and Product Information ni.com Worldwide Offices Visit ni.com/niglobal to access the branch

More information

MOXA Sync Board API Programmer s Manual

MOXA Sync Board API Programmer s Manual MOXA Sync Board API Programmer s Manual First Edition, Jan 2002 Moxa Technologies Co., Ltd. Tel: +866-2-8919-1230 Fax: +886-2-8919-1231 www.moxa.com service@moxa.com.tw MOXA Sync Board API Programmer s

More information

Investintech.com Inc. Software Development Kit: PDF-to-HTML Function Library User s Guide

Investintech.com Inc. Software Development Kit: PDF-to-HTML Function Library User s Guide Investintech.com Inc. Software Development Kit: PDF-to-HTML Function Library User s Guide July 13, 2007 http://www.investintech.com Copyright 2007 Investintech.com, Inc. All rights reserved Adobe is registered

More information

DDA-RCM-E Rev D ISSUED: December 1999 $²

DDA-RCM-E Rev D ISSUED: December 1999 $² $ *3,%3URJUDP([DPSOHV ([DPSOH 8VHRIWKH,QWHUDFWLYH *3,%3URJUDP,%,&µ This example assumes the use of an IBM PC or compatible equipped with a National Instruments GPIB interface card. The GPIB driver is left

More information

Modbus Server. ARSoft International

Modbus Server. ARSoft International Modbus Server ARSoft International Description The ModBus server allows: The cyclic or acyclique interrogation of equipments connected to the serial comport COM1 to COM10. Up to 115200 Bauds. The communication

More information

HumidiProbe User Guide

HumidiProbe User Guide HumidiProbe User Guide 2005 Pico Technology Limited. All rights reserved. HumidiProbe044-1.3 I HumidiProbe User Manual Contents 1 Introduction...2...2 1 About HumidiProbe...2 2 Intended use...2 3 This

More information

SpinWarrior Dynamic Library V1.5 for Windows and Linux

SpinWarrior Dynamic Library V1.5 for Windows and Linux SpinWarrior Dynamic Library V1.5 Applicable for all SpinWarriors Overview The SpinWarrior Kit Dynamic Library provides a simple API to access all SpinWarrior products from Code Mercenaries. It is intended

More information

Remote Control Manual

Remote Control Manual Remote Control Manual LeCroy 9300 & LC Oscilloscopes Revision P LeCroy Corporation 700 Chestnut Ridge Road Chestnut Ridge, NY 10977 6499 Tel: (845) 578 6020, Fax: (845) 578 5985 Internet: www.lecroy.com

More information

C Pointers. 6th April 2017 Giulio Picierro

C Pointers. 6th April 2017 Giulio Picierro C Pointers 6th April 07 Giulio Picierro Functions Return type Function name Arguments list Function body int sum(int a, int b) { return a + b; } Return statement (return keyword

More information

Plugin API. Revision

Plugin API. Revision Plugin API Revision 2012-01-14 1. Creating Your First Plugin A simple example is much better to understand the plugin API than tens of boring pages of theory. Our first plugin will show a window with PI

More information

Windows Device Driver and API Reference Manual

Windows Device Driver and API Reference Manual Windows Device Driver and API Reference Manual 797 North Grove Rd, Suite 101 Richardson, TX 75081 Phone: (972) 671-9570 www.redrapids.com Red Rapids Red Rapids reserves the right to alter product specifications

More information

GPIB Tutorial. GPIB Tutorial. GPIB Instrument Control. National Instruments Phone: (512) Fax: (512)

GPIB Tutorial. GPIB Tutorial. GPIB Instrument Control. National Instruments Phone: (512) Fax: (512) The Beginning In 1965, Hewlett-Packard designed the Hewlett-Packard Interface Bus (HP-IB) to connect their line of programmable instruments to their computers. Because of its high transfer rates (nominally

More information

Variables Data types Variable I/O. C introduction. Variables. Variables 1 / 14

Variables Data types Variable I/O. C introduction. Variables. Variables 1 / 14 C introduction Variables Variables 1 / 14 Contents Variables Data types Variable I/O Variables 2 / 14 Usage Declaration: t y p e i d e n t i f i e r ; Assignment: i d e n t i f i e r = v a l u e ; Definition

More information

VueMetrix Firmware Uploader

VueMetrix Firmware Uploader VueMetrix Firmware Uploader Release 1.0 Date of this document: August 20. 2010 The Firmware Uploader is a set of C language programming tools that uploads a new version of firmware into any VueMetrix controller.

More information

by Pearson Education, Inc. All Rights Reserved.

by Pearson Education, Inc. All Rights Reserved. Let s improve the bubble sort program of Fig. 6.15 to use two functions bubblesort and swap. Function bubblesort sorts the array. It calls function swap (line 51) to exchange the array elements array[j]

More information

PC-HELPER. High Speed IEEE I/F Micro Converter for USB2.0 GP-IB(USB)FL. User s Manual CONTEC CO.,LTD.

PC-HELPER. High Speed IEEE I/F Micro Converter for USB2.0 GP-IB(USB)FL. User s Manual CONTEC CO.,LTD. PC-HELPER High Speed IEEE-488.2 I/F Micro Converter for USB2.0 GP-IB(USB)FL User s Manual CONTEC CO.,LTD. Check Your Package Thank you for purchasing the CONTEC product. The product consists of the items

More information

The Data may not be disclosed or distributed to third parties, in whole or in part, without the prior written consent of Motion Workshop.

The Data may not be disclosed or distributed to third parties, in whole or in part, without the prior written consent of Motion Workshop. C API Reference Motion Version 2.6 www.motionnode.com www.motionshadow.com Copyright c 2017 Motion Workshop. All rights reserved. The coded instructions, statements, computer programs, and/or related material

More information

AQ6370C/AQ6370D/AQ6373/ AQ6375 Optical Spectrum Analyzer Remote Control

AQ6370C/AQ6370D/AQ6373/ AQ6375 Optical Spectrum Analyzer Remote Control User s Manual AQ6370C/AQ6370D/AQ6373/ AQ6375 Optical Spectrum Analyzer Remote Control 4th Edition Foreword Thank you for purchasing the AQ6370C/AQ6370D/AQ6373/AQ6375 Optical Spectrum Analyzer. This remote

More information

libsegy Programmer s Reference Manual

libsegy Programmer s Reference Manual libsegy Programmer s Reference Manual Nate Gauntt Last Modified: August 11, 2008 Contents 1 Introduction 2 2 Why Use libsegy? 2 3 Building and Installation 3 3.1 Building C-Library Interface.....................

More information

Pointers. 1 Background. 1.1 Variables and Memory. 1.2 Motivating Pointers Massachusetts Institute of Technology

Pointers. 1 Background. 1.1 Variables and Memory. 1.2 Motivating Pointers Massachusetts Institute of Technology Introduction to C++ Massachusetts Institute of Technology ocw.mit.edu 6.096 Pointers 1 Background 1.1 Variables and Memory When you declare a variable, the computer associates the variable name with a

More information

EZ-Red Power I/O module for PC See for other manuals

EZ-Red Power I/O module for PC See   for other manuals EZ-Red Power I/O module for PC See http://www.xonelectronics.it for other manuals Index Introduction...2 Power supply...2 Digital inputs (24 volts)...3 Fast, opto-coupled digital inputs...3 Analog inputs...3

More information

VXI-11 and HP E2050A

VXI-11 and HP E2050A VXI-11 and HP E2050A A Programmer s Guide B. Franksen BESSY GmbH Lentzeallee 100 14195 Berlin Germany Table of Contents 1 Introduction....................................................... 1 1.1 Scope.......................................................

More information

Understanding the DLCALL Function

Understanding the DLCALL Function Understanding the DLCALL Function R:BASE Technologies, Inc. Understanding the DLCALL Function by R:BASE Technologies, Inc. Special thanks to: Mike Byerley (Fort Wayne, Indiana), an Authorized R:BASE Developer,

More information

Instructions: Submit your answers to these questions to the Curator as OQ02 by the posted due date and time. No late submissions will be accepted.

Instructions: Submit your answers to these questions to the Curator as OQ02 by the posted due date and time. No late submissions will be accepted. Instructions: Submit your answers to these questions to the Curator as OQ02 by the posted due date and time. No late submissions will be accepted. For the next five questions, consider the function to

More information

For CEC contact information, please go to on the World Wide Web

For CEC contact information, please go to   on the World Wide Web Program and documentation copyrighted 1986, 1998, 2004 by Capital Equipment Corporation (CEC). The software interpreter contained in EPROM/ROM is copyrighted and all rights are reserved by Capital Equipment

More information

Developer s Guide. AccuVote Central Count System Image Processing DLL

Developer s Guide. AccuVote Central Count System Image Processing DLL Developer s Guide AccuVote Central Count System Image Processing DLL Developer s Guide AccuVote Central Count System Image Processing DLL Peter G. Martin Copyright 2001 by Global Election Systems, Inc.

More information

Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. CMPSC11 Final (Study Guide) Fall 11 Prof Hartman Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. 1) This is a collection of statements that performs

More information

Digital Storage Oscilloscope. Programming Manual. IDS-700 & IDS-800 Series. IDS-700 & 800 Series Programming Manual

Digital Storage Oscilloscope. Programming Manual. IDS-700 & IDS-800 Series. IDS-700 & 800 Series Programming Manual Digital Storage Oscilloscope IDS-700 & IDS-800 Series Programming Manual 2003 RS Components Ltd. All rights reserved Due to continuous improvements in the IDS-700 & 800 series Digital Storage Oscilloscopes,

More information

Agilent I/O Libraries Technical Overview

Agilent I/O Libraries Technical Overview Agilent I/O Libraries Technical Overview Agilent Technologies The Agilent I/O Libraries are the software that is common to the Agilent I/O hardware products -- the original Standard Instrument Control

More information

IO-Warrior Dynamic Library V1.5 for Windows

IO-Warrior Dynamic Library V1.5 for Windows V1.5 for Windows Applicable for all IO-Warriors Overview The IO-Warrior Kit Dynamic Library provides a simple API to access all IO-Warrior products from Code Mercenaries. It is intended to be used with

More information

Homework #3 CS2255 Fall 2012

Homework #3 CS2255 Fall 2012 Homework #3 CS2255 Fall 2012 MULTIPLE CHOICE 1. The, also known as the address operator, returns the memory address of a variable. a. asterisk ( * ) b. ampersand ( & ) c. percent sign (%) d. exclamation

More information

Rocket UniVerse. GCI Guide. Version November 2013 UNV-112-GCI-1

Rocket UniVerse. GCI Guide. Version November 2013 UNV-112-GCI-1 Rocket UniVerse GCI Guide Version 11.2 November 2013 UNV-112-GCI-1 Notices Edition Publication date: November 2013 Book number: UNV-112-GCI-1 Product version: Rocket UniVerse V11.2 2 Copyright Rocket Software,

More information

FAQ. For ICPDAS DCON (I-7000/8000/87K) series modules [Version 1.0]

FAQ. For ICPDAS DCON (I-7000/8000/87K) series modules [Version 1.0] FAQ For ICPDAS DCON (I-7000/8000/87K) series modules [Version 1.0] Warranty All products manufactured by ICPDAS Inc. are warranted against defective materials for a period of one year from the date of

More information

C++ For Science and Engineering Lecture 15

C++ For Science and Engineering Lecture 15 C++ For Science and Engineering Lecture 15 John Chrispell Tulane University Wednesday September 29, 2010 Function Review Recall the basics you already know about functions. Provide a function definition.

More information

FORM 1 (Please put your name and section number (001/10am or 002/2pm) on the scantron!!!!) CS 161 Exam II: True (A)/False(B) (2 pts each):

FORM 1 (Please put your name and section number (001/10am or 002/2pm) on the scantron!!!!) CS 161 Exam II: True (A)/False(B) (2 pts each): FORM 1 (Please put your name and section number (001/10am or 002/2pm) on the scantron!!!!) CS 161 Exam II: True (A)/False(B) (2 pts each): 1. If a function has default arguments, they can be located anywhere

More information

KK_FX80E.DLL / libkk_fx80e.so. K+K Library for Windows and Linux PCs. Manual

KK_FX80E.DLL / libkk_fx80e.so. K+K Library for Windows and Linux PCs. Manual KK_FX80E.DLL / libkk_fx80e.so K+K Library for Windows and Linux PCs Manual Version 16.03, 2016-11-16 Beginning with version 15.00 there exist three variants of this Library: KK_FX80E.dll: generated under

More information

Exam 3 Chapters 7 & 9

Exam 3 Chapters 7 & 9 Exam 3 Chapters 7 & 9 CSC 2100-002/003 29 Mar 2017 Read through the entire test first BEFORE starting Put your name at the TOP of every page The test has 4 sections worth a total of 100 points o True/False

More information

SOFTMARK. USB to GPIB Interface. SOFTMARK PO Box 1609 Hornsby NSW 2077 Australia

SOFTMARK. USB to GPIB Interface. SOFTMARK PO Box 1609 Hornsby NSW 2077 Australia SOFTMARK USB to GPIB Interface SOFTMARK PO Box 1609 Hornsby NSW 2077 Australia softmark@ar.com.au www.ar.com.au/~softmark Copyright 2004 Softmark The GPIB bus (formerly called IEEE-488 bus) was developed

More information

DDG 32 Bit Dynamic Link Libraries User Manual

DDG 32 Bit Dynamic Link Libraries User Manual Becker & Hickl GmbH Nahmitzer Damm 12277 Berlin Tel. +49 30 787 56 32 Fax. +49 30 787 57 34 email: info@becker-hickl.de http://www.becker-hickl.de ddg_dll.doc DDG 32 Bit Dynamic Link Libraries User Manual

More information

Data Acquisition ATDAQ DLL. Windows 3.11/95/98/NT/2000 Software Drivers for ATAO and ATDAQ Cards FUNCTION REFERENCE MANUAL

Data Acquisition ATDAQ DLL. Windows 3.11/95/98/NT/2000 Software Drivers for ATAO and ATDAQ Cards FUNCTION REFERENCE MANUAL Manual 2 of 2 Data Acquisition Windows 3.11/95/98/NT/2000 Software Drivers for ATAO and ATDAQ Cards FUNCTION REFERENCE MANUAL VER. 5.0 MAY 2000 No part of this manual may be reproduced without permission

More information

Pointer Basics. Lecture 13 COP 3014 Spring March 28, 2018

Pointer Basics. Lecture 13 COP 3014 Spring March 28, 2018 Pointer Basics Lecture 13 COP 3014 Spring 2018 March 28, 2018 What is a Pointer? A pointer is a variable that stores a memory address. Pointers are used to store the addresses of other variables or memory

More information

Call-back API. Polyhedra Ltd

Call-back API. Polyhedra Ltd Call-back API Polyhedra Ltd Copyright notice This document is copyright 1994-2006 by Polyhedra Ltd. All Rights Reserved. This document contains information proprietary to Polyhedra Ltd. It is supplied

More information

MSA 32 Bit Dynamic Link Libraries User Manual

MSA 32 Bit Dynamic Link Libraries User Manual Becker & Hickl GmbH Nahmitzer Damm 12277 Berlin Tel. +49 30 787 56 32 Fax. +49 30 787 57 34 email: info@becker-hickl.de http://www.becker-hickl.de msadll32.doc MSA 32 Bit Dynamic Link Libraries User Manual

More information

SignalMaster Manual Version PN: M072005

SignalMaster Manual Version PN: M072005 SignalMaster Manual Version 1.02 20180822 - PN: M072005 SignalMaster Hardware Version 2.00 Intelligent Hearing Systems, Corp. 6860 S.W. 81 st Street Miami, FL 33143 - USA Introduction: SignalMaster was

More information

E2ISP DLL Using the DLL in your applications

E2ISP DLL Using the DLL in your applications E2ISP DLL Using the DLL in your applications LAST UPDATED : 13 October 2004 Copyright 2000 - Embedded Results All rights reserved Table of Contents 1 Introduction...3 1.1 Device Support...3 1.2 Driver

More information

AQ6370B/AQ6373/AQ6375 Optical Spectrum Analyzer Remote Control

AQ6370B/AQ6373/AQ6375 Optical Spectrum Analyzer Remote Control User s Manual AQ6370B/AQ6373/AQ6375 Optical Spectrum Analyzer Remote Control 2nd Edition Foreword Thank you for purchasing the AQ6370B/AQ6373/AQ6375 Optical Spectrum Analyzer. This remote control user

More information

QC External Devices (EXD)

QC External Devices (EXD) 1 2 QC External Devices (EXD) QC Version 6.1, db-lab 210 Features GPIB compliant protocols (IEEE 488 & 488.2) Communicates with any GPIB device for control, measurement and data acquisition Device status

More information

HumidiProbe. Temperature and Humidity Sensor. User's Guide. humidiprobe.en r7 Copyright Pico Technology Limited. All rights reserved.

HumidiProbe. Temperature and Humidity Sensor. User's Guide. humidiprobe.en r7 Copyright Pico Technology Limited. All rights reserved. HumidiProbe Temperature and Humidity Sensor User's Guide I Contents Contents 1 Introduction...1...1 1 About HumidiProbe...1 2 Intended use...1 3 This document 2 Legal notices...2...2 1 CE notice...2 2

More information

From A to D v. Eight acquisition channels for PC-BASED INSTRUMENTATION

From A to D v. Eight acquisition channels for PC-BASED INSTRUMENTATION HANDS-ON PC-BASED INSTRUMENTATION From A to D v Eight acquisition channels for Guido Körber Thanks to its ease of use, USB has become a widespread standard. Here we present a data acquisition module with

More information

FORM 2 (Please put your name and form # on the scantron!!!!) CS 161 Exam II:

FORM 2 (Please put your name and form # on the scantron!!!!) CS 161 Exam II: FORM 2 (Please put your name and form # on the scantron!!!!) CS 161 Exam II: True (A)/False(B) (2 pts each): 1. The declaration below declares three pointer variables of type pointer to double that is

More information

Assembler Programming. Lecture 10

Assembler Programming. Lecture 10 Assembler Programming Lecture 10 Lecture 10 Mixed language programming. C and Basic to MASM Interface. Mixed language programming Combine Basic, C, Pascal with assembler. Call MASM routines from HLL program.

More information

(13-2) Dynamic Data Structures I H&K Chapter 13. Instructor - Andrew S. O Fallon CptS 121 (November 17, 2017) Washington State University

(13-2) Dynamic Data Structures I H&K Chapter 13. Instructor - Andrew S. O Fallon CptS 121 (November 17, 2017) Washington State University (13-2) Dynamic Data Structures I H&K Chapter 13 Instructor - Andrew S. O Fallon CptS 121 (November 17, 2017) Washington State University Dynamic Data Structures (1) Structures that expand and contract

More information

C Programming. Course Outline. C Programming. Code: MBD101. Duration: 10 Hours. Prerequisites:

C Programming. Course Outline. C Programming. Code: MBD101. Duration: 10 Hours. Prerequisites: C Programming Code: MBD101 Duration: 10 Hours Prerequisites: You are a computer science Professional/ graduate student You can execute Linux/UNIX commands You know how to use a text-editing tool You should

More information

Stack -- Memory which holds register contents. Will keep the EIP of the next address after the call

Stack -- Memory which holds register contents. Will keep the EIP of the next address after the call Call without Parameter Value Transfer What are involved? ESP Stack Pointer Register Grows by 4 for EIP (return address) storage Stack -- Memory which holds register contents Will keep the EIP of the next

More information

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above P.G.TRB - COMPUTER SCIENCE Total Marks : 50 Time : 30 Minutes 1. C was primarily developed as a a)systems programming language b) general purpose language c) data processing language d) none of the above

More information

3. Simple Types, Variables, and Constants

3. Simple Types, Variables, and Constants 3. Simple Types, Variables, and Constants This section of the lectures will look at simple containers in which you can storing single values in the programming language C++. You might find it interesting

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

CS201- Introduction to Programming Current Quizzes

CS201- Introduction to Programming Current Quizzes CS201- Introduction to Programming Current Quizzes Q.1 char name [] = Hello World ; In the above statement, a memory of characters will be allocated 13 11 12 (Ans) Q.2 A function is a block of statements

More information

Today's Topics. CISC 458 Winter J.R. Cordy

Today's Topics. CISC 458 Winter J.R. Cordy Today's Topics Last Time Semantics - the meaning of program structures Stack model of expression evaluation, the Expression Stack (ES) Stack model of automatic storage, the Run Stack (RS) Today Managing

More information

TCPDAQ.DLL Help Table of Contents

TCPDAQ.DLL Help Table of Contents Table of Contents 1. Function Summary...3 1.1 Common Functions...3 1.2 Stream/Event Functions...4 1.3 Digital I/O Functions...5 1.4 Analog I/O Functions...6 1.5 MODBUS/TCP Functions...7 2. Function Description...8

More information

MSWLogo and dynamic link libraries. Matjaž Zaveršnik, Vladimir Batagelj

MSWLogo and dynamic link libraries. Matjaž Zaveršnik, Vladimir Batagelj MSWLogo and dynamic link libraries Matjaž Zaveršnik, Vladimir Batagelj University of Ljubljana, FMF, Department of Mathematics Jadranska 19, 1000 Ljubljana, Slovenia matjaz.zaversnik@fmf.uni-lj.si, vladimir.batagelj@uni-lj.si

More information

CS2255 HOMEWORK #1 Fall 2012

CS2255 HOMEWORK #1 Fall 2012 CS55 HOMEWORK #1 Fall 01 1.What is assigned to the variable a given the statement below with the following assumptions: x = 10, y = 7, and z, a, and b are all int variables. a = x >= y; a. 10 b. 7 c. The

More information

Static Analysis I PAOLO PALUMBO, F-SECURE CORPORATION

Static Analysis I PAOLO PALUMBO, F-SECURE CORPORATION Static Analysis I PAOLO PALUMBO, F-SECURE CORPORATION Representing Data Binary numbers 1 0 1 1 NIBBLE 0xB 1 0 1 1 1 1 0 1 0xBD 1 0 1 1 1 1 0 1 0 0 1 1 1 0 0 1 BYTE WORD 0xBD 0x39 Endianness c9 33 41 03

More information