Professional Documents
Culture Documents
Labview Manual
2011 Phidgets Inc.
All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems - without the written permission of the publisher. Products that are referred to in this document may be either trademarks and/or registered trademarks of the respective owners. The publisher and the author make no claim to these trademarks. While every precaution has been taken in the preparation of this document, the publisher and the author assume no responsibility for errors or omissions, or for damages resulting from the use of information contained in this document or from the use of programs and source code that may accompany it. In no event shall the publisher and the author be liable for any loss of profit or any other commercial damage caused or alleged to have been caused directly or indirectly by this document. Printed: April 2011 in Canada
Content
Table of Contents
Part 1 Part 2 Welcome to Phidgets Introduction 11 12
Part 3
Programming Concept
15
Part 4
Phidgets Common
23
1 ErrorHandler ................................................................................................................................... 24 2 PhidgetClose ................................................................................................................................... 25 3 PhidgetDelete ................................................................................................................................... 26 4 PhidgetEventCloseOnError ................................................................................................................................... 27 5 PhidgetEventCreateOnError ................................................................................................................................... 28 6 PhidgetEventExeOnError ................................................................................................................................... 29 7 PhidgetGetDeviceClass ................................................................................................................................... 30 8 PhidgetGetDeviceID ................................................................................................................................... 31 9 PhidgetGetDeviceLabel ................................................................................................................................... 32 10 PhidgetGetDeviceName ................................................................................................................................... 33 11 PhidgetGetDeviceType ................................................................................................................................... 34 12 PhidgetGetDeviceVersion ................................................................................................................................... 35 13 PhidgetGetServerStatus ................................................................................................................................... 36 14 PhidgetLibraryVersion ................................................................................................................................... 37 15 PhidgetOpen ................................................................................................................................... 38 16 PhidgetOpenRemote ................................................................................................................................... 39 17 PhidgetOpenRemoteIP ................................................................................................................................... 40 18 PhidgetServerAddress ................................................................................................................................... 41 19 PhidgetServiceID ................................................................................................................................... 42 20 PhidgetSetDeviceLabel ................................................................................................................................... 43 21 SubVIs ................................................................................................................................... 44
_AttachCHK .......................................................................................................................................................... 45 _ChkError .......................................................................................................................................................... 46 _Close .......................................................................................................................................................... 47 _Delete .......................................................................................................................................................... 48 _Open .......................................................................................................................................................... 49 _OpenRem ote .......................................................................................................................................................... 50 2011 Phidgets Inc.
Content
_OpenRem oteIP .......................................................................................................................................................... 51 _SerialReturn.......................................................................................................................................................... 52 _WaitAttach .......................................................................................................................................................... 53 EventCloseIntDouble .......................................................................................................................................................... 54 EventCloseIntInt .......................................................................................................................................................... 55 EventExeIntDouble .......................................................................................................................................................... 56 EventExeIntInt .......................................................................................................................................................... 57
Part 5
Specific Modules
58
Content
Content
IRGetLastCode .......................................................................................................................................................... 157 IRGetLastLearnedCode .......................................................................................................................................................... 158 IRGetRaw Data .......................................................................................................................................................... 159 IROpen .......................................................................................................................................................... 160 IRTransm it .......................................................................................................................................................... 161 IRTransm itRaw .......................................................................................................................................................... 162 IRTransm itRepeat .......................................................................................................................................................... 163
Content
RFIDCreate .......................................................................................................................................................... 210 RFIDEventClose .......................................................................................................................................................... 211 RFIDEventCloseOutput .......................................................................................................................................................... 212 RFIDEventCreateOutput .......................................................................................................................................................... 213 RFIDEventCreateTag .......................................................................................................................................................... 214 RFIDEventCreateTagLost .......................................................................................................................................................... 215 RFIDEventExe .......................................................................................................................................................... 216 RFIDEventExeOutput .......................................................................................................................................................... 217 RFIDGetAntennaState .......................................................................................................................................................... 218 RFIDGetLastTag .......................................................................................................................................................... 219 RFIDGetLEDState .......................................................................................................................................................... 220 RFIDGetOutputCount .......................................................................................................................................................... 221 RFIDGetOutputState .......................................................................................................................................................... 222 RFIDGetTagState .......................................................................................................................................................... 223 RFIDOpen .......................................................................................................................................................... 224 RFIDSetAntennaState .......................................................................................................................................................... 225 RFIDSetLEDState .......................................................................................................................................................... 226 RFIDSetOutputState .......................................................................................................................................................... 227
Content
SpatialGetMagFieldMin .......................................................................................................................................................... 263 SpatialOpen .......................................................................................................................................................... 264 SpatialResetCom .......................................................................................................................................................... passCorrectionParam eters 265 SpatialSetCom .......................................................................................................................................................... passCorrectionParam eters 266 SpatialSetDataRate .......................................................................................................................................................... 267 SpatialZeroGyro .......................................................................................................................................................... 268
Content
Part 6
Phidgets Constants
358
1 ServoType ................................................................................................................................... 359 2 ThermocoupleType ................................................................................................................................... 360 3 CodeInfo ................................................................................................................................... 361 4 IREncoding ................................................................................................................................... 362 5 IRLength ................................................................................................................................... 363
Content
Index
364
Welcome to Phidgets
11
Welcome to Phidgets
LabVIEW Help
November 2010, Version 0.1-021110 This help system includes information about LabVIEW programming for each Phidget device. It contains programming concepts, step-by-step instructions, and reference information about VIs, functions and palettes. To navigate this help system, use the Contents, Index , and Search tabs to the left of this windows. Phidgets are an easy to use set of building blocks for low cost sensing and control from your PC. Using the Universal Serial Bus (USB) as the basis for all Phidgets, the complexity is managed behind this easy to use and robust Application Program Interface (API) library. This help system may link to Portable Document Format (PDF) versions of documents. You must have Adobe Reader installed to view or search the PDF versions of these manuals. Note: (Mac OS X) Phidgets recommends that you use Safari 1.3.2 or later or Firefox 1.0.2 or later to view the Help. (Linux) Phidgets recommends that you use Mozilla 1.2 or later or Firefox 1.0.2 or later to view the Help. For more information about this help, refer to the following topics: Introduction Programming Concept Phidgets Common Specific Modules Phidgets Constant
12
Introduction
Introduction
Phidgets are an easy to use set of building blocks for low cost sensing and control from your PC. Using the Universal Serial Bus (USB) as the basis for all Phidgets, the complexity is managed behind this easy to use and robust Application Program Interface (API) library. This manual documents the Phidgets software programming model in National Instruments Labview language. The Programming Concept should be the first section to be read for someone beginning to use Phidgets. After the concepts described are understood, users can read Phidgets Common and Specific Modules for function reference and device documentation in general. Note that these sections are light on function documentation - generally only containing specific reference information and basic function information. For a more detailed introduction, please refer to Understanding Phidgets and Platform Support.
Introduction
13
2.1
Understanding Phidgets
Hardware Model
All Phidgets are connected to the computer using USB. Most computers support up to 127 USB devices (or more), so it is easy to connect as many Phidgets as are required for almost any project. Phidgets can be connected either directly to a computer or through Hubs, but there are some limitations. The maximum cable length for USB is 15 feet. This is a maximum distance between device and computer, even if there are one or more Hubs in between. There are cable extenders available on the market, but these can be unreliable and are not endorsed by Phidgets Inc. Users should never try to run USB over anything other then a certified USB cable, and should never try to run it longer than the spec. Phidgets run as USB 1.1 low speed or full speed devices, and are supported by both USB 1.1 and USB 2.0 hosts.
Software Model
The Phidgets Labview library is written under the C library - phidget21, which implements the low-level protocols necessary to communicate with the Phidgets, and exports a unified interface to the software programmer. This also makes the Phidgets Labview library cross-platform. The Phidget Labview library contains only glue logic for interfacing with the C library, thus making maintenance much easier. It should be noted the library employs threading and events extensively. (See Programming Concept for more information.)
14
Introduction
2.2
Programming Concept
15
Programming Concept
This manual is designed such that both novice and expert users can quickly reference the various Phidget LabVIEW functions. The manual is subdivided into 6 sections: Getting Started, Event Handler, Multiple Devices, Phidgets Common, Specific Modules and Phidgets Constants. Each section is defined as follow: Getting Started: tells users how to communicate with phidgets and perform some basic functions. Use the Getting Started manual as a tutorial to familiarize yourself with Phidget LabVIEW functions and basic features you use to build data acquisition and instrument control applications. Event Handler: needs only be used in applications that need to receive events. Use the Event Handler manual as a tutorial to learn how to construct the event and use the handler. Multiple Devices: needs only be used in applications that involve multiple phidgets. Use the Multiple Devices manual as a tutorial to configure and control many phidgets in one VI. Phidgets Common: contains the common functions for all phidgets. Specific Modules: contains all the functions for specific phidgets. Phidgets Constants: explains all Phidgets pre-defined constants.
Note: It is important for user to upgrade the Phidgets21 library to the most recent version. Click here to check and download the latest version library.
16
Programming Concept
3.1
Getting Started
Phidgets are an easy to use set of building blocks for low cost sensing and control from your PC. Using the Universal Serial Bus (USB) as the basis for all Phidgets, the complexity is managed behind this easy to use and robust Application Program Interface (API) library. As such, the Phidgets Labview VI features a very simple and easy-to-use set of VIs. At the simplest level, all you have to do to control a Phidget is explained in this section. For illustration purposes, Phidget Accelerometer will be used.
Note: For a more specific illustration on different phidgets, users can refer to different examples accordingly.
Programming Concept
17
Open the diagram of the "Single control example.vi" under the "Accelerometer" folder.
Users can also acquire other information in this step. For more details, please refer to the example called "Remote Example.vi" under "TemperatureSensor" folder.
18
Programming Concept
If users want to open Phidgets over the network, a PhidgetOpenRemote and AcceCreate functions will be called instead of AcceOpen.
<Step2> Perform any execution related with the Phidget. This includes data acquisition, device control, event execution etc.
<Step3> Close the Phidget. This may include closing the device, releasing all the resources or freeing a Phidget handle and an error handler.
Programming Concept
19
3.2
Event Handler
This demonstrates how to call a Phidgets event and how to use them. For illustration purposes, Phidget Spatial will be used.
Note: For a more specific illustration on different phidgets, users can refer to different examples accordingly.
20
Programming Concept
Open the diagram of the "Spatial event example.vi" under the "Spatial" folder.
Programming Concept
21
Note: When execute an event, please make sure "create", "execute" and "close" the same event. For example, user wants to run an Event called A. He has to place "CreateEventA.vi", "ExeEventA.vi" and "CloseEventA.vi" on the block diagram. He cannot place "CloseEventB.vi" instead of "CloseEventA.vi". However, for some Phidgets event, they share same VIs. (For more details, please refer to specific Phidgets.)
Note: Phidgets can also support multiple events. For an example, please refer to "Event handler example.vi" under the "InterfaceKit" folder.
22
Programming Concept
3.3
Multiple Devices
Phidgets Labview can control multiple phidgets. As long as the handlers are different, different phidgets can run in parallel. For a more detailed illustration, please refer to the example of "Multiple control example (Parallel).vi" and "Multiple control example (Advanced).vi" under the "Accelerometer" folder.
Note: Another example will be "TemperatureDisplay.vi" under "TextLCD" folder. This example shows how to combined use different phidgets.
Phidgets Common
23
Phidgets Common
This section describes the VI functions used by all Phidgets. The SubVI folder contains advanced LabVIEW VIs
ErrorHandler PhidgetClose PhidgetDelete PhidgetEventCloseOnError PhidgetEventCreateOnError PhidgetEventExeOnError PhidgetGetDeviceClass PhidgetGetDeviceID PhidgetGetDeviceLabel PhidgetGetDeviceName PhidgetGetDeviceType PhidgetGetDeviceVersion PhidgetGetServerStatus PhidgetLibraryVersion PhidgetOpen PhidgetOpenRemote PhidgetOpenRemoteIP PhidgetServerAddress PhidgetServiceID PhidgetSetDeviceLabel SubVIs (Folder)
24
Phidgets Common
4.1
ErrorHandler
Description:
Create a Phidget Error handle.
Connector Pane:
Phidgets Common
25
4.2
PhidgetClose
Description:
Close a Phidget handle.
Connector Pane:
26
Phidgets Common
4.3
PhidgetDelete
Description:
Delete a Phidget handle.
Connector Pane:
Phidgets Common
27
4.4
PhidgetEventCloseOnError
Description:
Close the the error handle.
Connector Pane:
28
Phidgets Common
4.5
PhidgetEventCreateOnError
Description:
Set up an error event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Phidgets Common
29
4.6
PhidgetEventExeOnError
Description:
This is called when an asynchronous error occurs.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. Returns the event status. (Executed is T; Not executed is F) The error code to get the description of. Contain the error description string. Contains error information.
30
Phidgets Common
4.7
PhidgetGetDeviceClass
Description:
Get the class of a Phidget.
Connector Pane:
Output Same as the Device In. Returns the device class constant. Contains error information.
Phidgets Common
31
4.8
PhidgetGetDeviceID
Description:
Get the device ID of a Phidget.
Connector Pane:
Output Same as the Device In. Returns the device ID constant. Contains error information.
32
Phidgets Common
4.9
PhidgetGetDeviceLabel
Description:
Get the label of a Phidget.
Connector Pane:
Output Same as the Device In. Returns the device label. Contains error information.
Phidgets Common
33
4.10
PhidgetGetDeviceName
Description:
Get the specific name of a Phidget.
Connector Pane:
Output Same as the Device In. Returns the device name. Contains error information.
34
Phidgets Common
4.11
PhidgetGetDeviceType
Description:
Get the type (class) of a Phidget.
Connector Pane:
Output Same as the Device In. Returns the device type. Contains error information.
Phidgets Common
35
4.12
PhidgetGetDeviceVersion
Description:
Get the firmware version of a Phidget.
Connector Pane:
Output Same as the Device In. Returns the device version. Contains error information.
36
Phidgets Common
4.13
PhidgetGetServerStatus
Description:
Get the connected to server status of a remotely opened Phidget. This will fail if the Phidget was opened locally.
Connector Pane:
Output Same as the Device In. Returns the server status. Possible values are 0 for unattached, 1 for attached and others for undefined. The server status. Contains error information.
Phidgets Common
37
4.14
PhidgetLibraryVersion
Description:
Get the library version. This contains a version number and a build date.
Connector Pane:
38
Phidgets Common
4.15
PhidgetOpen
Description:
Open a Phidget locally.
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Phidgets Common
39
4.16
PhidgetOpenRemote
Description:
Open a Phidget remotely by ServerID. Note that this requires Bonjour (mDNS) to be running on both the host and the server.
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
40
Phidgets Common
4.17
PhidgetOpenRemoteIP
Description:
Open a Phidget remotely by address and port.
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Phidgets Common
41
4.18
PhidgetServerAddress
Description:
Get the address and port of a remotely opened Phidget. This will fail if the Phidget was opened locally.
Connector Pane:
Output Same as the Device In. Returns the address. Returns the port number. Contains error information.
42
Phidgets Common
4.19
PhidgetServiceID
Description:
Get the server ID of a remotely opened Phidget. This will fail if the Phidget was opened locally.
Connector Pane:
Output Same as the Device In. Returns the server ID. Contains error information.
Phidgets Common
43
4.20
PhidgetSetDeviceLabel
Description:
Set the label of a Phidget. Note that this is not supported on very old Phidgets, and not yet supported in Windows.
Connector Pane:
44
Phidgets Common
4.21
SubVIs
This contains a set of advanced LabVIEW VIs that provide a firmware access to all phidgets. This should not be direct accessed by users.
_AttachCHK _ChkError _Close _Delete _Open _OpenRemote _OpenRemoteIP _SerialReturn _WaitAttach EventCloseIntDouble EventCloseIntInt EventExeIntDouble EventExeIntInt
Phidgets Common
45
Connector Pane:
Output Same as the Device In. The attach state (Boolean type). Contains error information.
46
Phidgets Common
Connector Pane:
Phidgets Common
47
Connector Pane:
48
Phidgets Common
Connector Pane:
Phidgets Common
49
Connector Pane:
50
Phidgets Common
Connector Pane:
Phidgets Common
51
Connector Pane:
52
Phidgets Common
Connector Pane:
Output Same as the Device In. Returns the serial number. Contains error information.
Phidgets Common
53
Connector Pane:
54
Phidgets Common
Connector Pane:
Phidgets Common
55
Connector Pane:
56
Phidgets Common
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. Returns the event status. (Executed is T; Not executed is F) The integer. The double. Contains error information.
Phidgets Common
57
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. Returns the event status. (Executed is T; Not executed is F) The integer. The integer. Contains error information.
58
Specific Modules
Specific Modules
This section describes each of the VI function used by different Phidgets. All the VI functions are located in its dll folder correspondingly. Note: Refer to the Product manual for your Phidget and the C Programming Manual for more detailed, language unspecific API documentation.
Phidget Accelerometer Phidget Advanced Servo Phidget Encoder Phidget InterfaceKit Phidget IR Phidget LED Phidget Motor Control Phidget PH Sensor Phidget RFID Phidget Servo Phidget Spatial Phidget Stepper Phidget Temperature Sensor Phidget TextLCD Phidget TextLED (Discontinued) Phidget Weight Sensor (Discontinued)
Specific Modules
59
5.1
Phidget Accelerometer
This contains VI functions for Phidget Accelerometer. See the product manual for more specific API details, supported functionality, units, etc.
AcceAxisCount AcceCreate AcceEventClose AcceEventCreate AcceEventExe AcceGetData AcceGetMax AcceGetMin AcceGetTrigger AcceOpen AcceSetTrigger
60
Specific Modules
5.1.1
AcceAxisCount Description:
Get the number of acceleration axes supported by this accelerometer.
Connector Pane:
Output Same as the Device In. The axis count. Contains error information.
Specific Modules
61
5.1.2
AcceCreate Description:
Create a Phidget Accelerometer handle.
Connector Pane:
62
Specific Modules
5.1.3
AcceEventClose Description:
Close the acceleration change event handle.
Connector Pane:
Specific Modules
63
5.1.4
AcceEventCreate Description:
Set up an acceleration change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
64
Specific Modules
5.1.5
AcceEventExe Description:
This is called when the acceleration changes by more then the change trigger.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. Returns the event status. (Executed is T; Not executed is F) The acceleration index. The acceleration. Contains error information.
Specific Modules
65
5.1.6
AcceGetData Description:
Get the current acceleration data of an axis.
Connector Pane:
Output Same as the Device In. The acceleration. Contains error information.
66
Specific Modules
5.1.7
AcceGetMax Description:
Get the maximum acceleration supported by an axis.
Connector Pane:
Output Same as the Device In. The maximum acceleration. Contains error information.
Specific Modules
67
5.1.8
AcceGetMin Description:
Get the minimum acceleration supported by an axis.
Connector Pane:
Output Same as the Device In. The minimum acceleration. Contains error information.
68
Specific Modules
5.1.9
AcceGetTrigger Description:
Get the change trigger for an axis.
Connector Pane:
Output Same as the Device In. The change trigger. Contains error information.
Specific Modules
69
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
70
Specific Modules
Connector Pane:
Specific Modules
71
5.2
AdvServoCount AdvServoCreate AdvServoEventClose AdvServoEventCreateCrtChange AdvServoEventCreatePosChange AdvServoEventCreateVelChange AdvServoEventExe AdvServoGetAcce AdvServoGetAcceMax AdvServoGetAcceMin AdvServoGetCurrent AdvServoGetEngaged AdvServoGetPos AdvServoGetPosMax AdvServoGetPosMin AdvServoGetRampingState AdvServoGetServoType AdvServoGetVel AdvServoGetVellmt AdvServoGetVelmax AdvServoGetVelmin AdvServoOpen AdvServoSetAcce AdvServoSetEngaged
2011 Phidgets Inc.
72
Specific Modules
Specific Modules
73
5.2.1
AdvServoCount Description:
Gets the number of motors supported by this controller.
Connector Pane:
Output Same as the Device In. The motor count. Contains error information.
74
Specific Modules
5.2.2
AdvServoCreate Description:
Create a Phidget Advanced Servo handle.
Connector Pane:
Specific Modules
75
5.2.3
AdvServoEventClose Description:
Close the Phidget Advanced Servo event handle.
Connector Pane:
76
Specific Modules
5.2.4
AdvServoEventCreateCrtChange Description:
Set up a current change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
77
5.2.5
AdvServoEventCreatePosChange Description:
Set up a postion change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
78
Specific Modules
5.2.6
AdvServoEventCreateVelChange Description:
Set up a velocity change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
79
5.2.7
AdvServoEventExe Description:
This is called when the Phidget Advanced Servo event changes.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The motor index. The return value of related event. (E.g.: For a position change event, this value is position.) Returns the event status. (Executed is T; Not executed is F) Contains error information.
80
Specific Modules
5.2.8
AdvServoGetAcce Description:
Get the last set acceleration of a motor.
Connector Pane:
Output Same as the Device In. The acceleration. Contains error information.
Specific Modules
81
5.2.9
AdvServoGetAcceMax Description:
Get the maximum acceleration supported by a motor.
Connector Pane:
Output Same as the Device In. The maximum acceleration. Contains error information.
82
Specific Modules
Connector Pane:
Output Same as the Device In. The minimum acceleration. Contains error information.
Specific Modules
83
Connector Pane:
Output Same as the Device In. The current. Contains error information.
84
Specific Modules
Connector Pane:
Output Same as the Device In. The engaged state. Possible values are 0 for False, 1 for True and others for undefined. The engaged state. Possible values are True for Engaged and False for Not Engaged. Contains error information.
Specific Modules
85
Connector Pane:
Output Same as the Device In. The position. Contains error information.
86
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum current. Contains error information.
Specific Modules
87
Connector Pane:
Output Same as the Device In. The minimum position. Contains error information.
88
Specific Modules
Connector Pane:
Output Same as the Device In. The speed ramping state. Possible values are 0 for False, 1 for True and others for undefined. The speed ramping state (Boolean type). Contains error information.
Specific Modules
89
Connector Pane:
Output Same as the Device In. Returns the servo type. This is an enum. Please refer to Phigets Constant -> ServoType Contains error information.
90
Specific Modules
Connector Pane:
Output Same as the Device In. The current velocity. Contains error information.
Specific Modules
91
Connector Pane:
Output Same as the Device In. The velocity limit. Contains error information.
92
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum velocity. Contains error information.
Specific Modules
93
Connector Pane:
Output Same as the Device In. The minimum velocity. Contains error information.
94
Specific Modules
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Specific Modules
95
Connector Pane:
96
Specific Modules
Connector Pane:
Specific Modules
97
Connector Pane:
98
Specific Modules
Connector Pane:
Specific Modules
99
Connector Pane:
100
Specific Modules
Connector Pane:
Specific Modules
101
Connector Pane:
102
Specific Modules
Connector Pane:
Specific Modules
103
Connector Pane:
104
Specific Modules
Connector Pane:
Output Same as the Device In. The stopped state. Possible values are 0 for False, 1 for True and others for undefined. The stopped state (Boolean type). Possible values are True for Stopped and False for Not Stopped. Contains error information.
Specific Modules
105
5.3
Phidget Encoder
This contains VI functions for Phidget Encoder. See the product manual for more specific API details, supported functionality, units, etc.
EncoderCreate EncoderEventCloseInput EncoderEventClosePosition EncoderEventCreateInput EncoderEventCreatePosition EncoderEventExeInput EncoderEventExePosition EncoderGetCount EncoderGetEnabledState EncoderGetIndexPosition EncoderGetInputCount EncoderGetInputState EncoderGetPosition EncoderOpen EncoderSetEnabled EncoderSetPosition
106
Specific Modules
5.3.1
EncoderCreate Description:
Create a Phidget Encoder handle.
Connector Pane:
Specific Modules
107
5.3.2
EncoderEventCloseInput Description:
Close the input change event handle.
Connector Pane:
108
Specific Modules
5.3.3
EncoderEventClosePosition Description:
Close the encoder position change event handle.
Connector Pane:
Specific Modules
109
5.3.4
EncoderEventCreateInput Description:
Set up an input change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
110
Specific Modules
5.3.5
EncoderEventCreatePosition Description:
Set up an encoder position change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
111
5.3.6
EncoderEventExeInput Description:
This is called when the acceleration changes by more then the change trigger.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. Returns the event status. (Executed is T; Not executed is F) The input index. The input state value. Possible values are 0 for False, 1 for True and others for undefined. Contains error information.
112
Specific Modules
5.3.7
EncoderEventExePosition Description:
This is called when an encoder position changes.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. Returns the event status. (Executed is T; Not executed is F) The encoder index. The time in ms since the last position change event. The current position of the encoder. (This is a relative not absolute position.) Contains error information.
Specific Modules
113
5.3.8
EncoderGetCount Description:
Get the number of encoders supported by this board.
Connector Pane:
Output Same as the Device In. The encoder input count. Contains error information.
114
Specific Modules
5.3.9
EncoderGetEnabledState Description:
Get the enabled state of an encoder. This is whether the encoder is powered or not. Please note that 1057 doesn't support this function.
Connector Pane:
Output Same as the Device In. The enabled state. Possible values are 0 for False, 1 for True and others for undefined. The enabled state (Boolean type). Possible values are True for Enabled and False for Not Enabled (Disabled). Contains error information.
Specific Modules
115
Connector Pane:
Output Same as the Device In. The index position. Contains error information.
116
Specific Modules
Connector Pane:
Output Same as the Device In. The input count. Contains error information.
Specific Modules
117
Connector Pane:
Output Same as the Device In. The input state. Possible values are 0 for False, 1 for True and others for undefined. The input state (Boolean type). Possible values are True for Engaged and False for Not Engaged. Contains error information.
118
Specific Modules
Connector Pane:
Output Same as the Device In. The current position. Contains error information.
Specific Modules
119
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
120
Specific Modules
Connector Pane:
Specific Modules
121
Connector Pane:
122
Specific Modules
5.4
Phidget InterfaceKit
This contains VI functions for Phidget InterfaceKit. See the product manual for more specific API details, supported functionality, units, etc.
IFCreate IFEventClose IFEventCreateInput IFEventCreateOutput IFEventCreateSensor IFEventExe IFGetDataRate IFGetDataRateMax IFGetDataRateMin IFGetInputCount IFGetInputState IFGetOutputCount IFGetOutputState IFGetRatio IFGetSensorCount IFGetSensorValue IFGetSensorValueRaw IFGetTrig IFOpen IFSetDataRate IFSetOutputState IFSetRatio IFSetTrig
Specific Modules
123
5.4.1
IFCreate Description:
Create a Phidget InterfaceKit handle.
Connector Pane:
124
Specific Modules
5.4.2
IFEventClose Description:
Close the Phidget InterfaceKit event handle.
Connector Pane:
Specific Modules
125
5.4.3
IFEventCreateInput Description:
Set up a digital input change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
126
Specific Modules
5.4.4
IFEventCreateOutput Description:
Set up a digital output change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
127
5.4.5
IFEventCreateSensor Description:
Set up a sensor change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
128
Specific Modules
5.4.6
IFEventExe Description:
This is called when the Phidget Advanced Servo event changes.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The input, output or sensor index. The return value of related event. (E.g. for sensor change event, this value is sensor reading.) Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
129
5.4.7
IFGetDataRate Description:
Get the data rate for an analog input.
Connector Pane:
Output Same as the Device In. The data rate for an analog input in ms. Contains error information.
130
Specific Modules
5.4.8
IFGetDataRateMax Description:
Get the maximum supported data rate for an analog input.
Connector Pane:
Output Same as the Device In. The maximum data rate for an analog input in ms. Contains error information.
Specific Modules
131
5.4.9
IFGetDataRateMin Description:
Get the minimum supported data rate for an analog input.
Connector Pane:
Output Same as the Device In. The minimum data rate for an analog input in ms. Contains error information.
132
Specific Modules
Connector Pane:
Output Same as the Device In. The ditial input count. Contains error information.
Specific Modules
133
Connector Pane:
Output Same as the Device In. The input state. Possible values are 0 for False, 1 for True and others for undefined. The input state (Boolean type). Contains error information.
134
Specific Modules
Connector Pane:
Output Same as the Device In. The ditial output count. Contains error information.
Specific Modules
135
Connector Pane:
Output Same as the Device In. The output state. Possible values are 0 for False, 1 for True and others for undefined. The output state (Boolean type). Contains error information.
136
Specific Modules
Connector Pane:
Output Same as the Device In. The ratio metric state. Possible values are 0 for False, 1 for True and others for undefined. The ratio metric state (Boolean type). Contains error information.
Specific Modules
137
Connector Pane:
Output Same as the Device In. The sensor input count. Contains error information.
138
Specific Modules
Connector Pane:
Output Same as the Device In. The sensor value. Contains error information.
Specific Modules
139
Connector Pane:
Output Same as the Device In. The sensor value. Contains error information.
140
Specific Modules
Connector Pane:
Output Same as the Device In. The change trigger. Contains error information.
Specific Modules
141
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
142
Specific Modules
Connector Pane:
Specific Modules
143
Connector Pane:
144
Specific Modules
Connector Pane:
Specific Modules
145
Connector Pane:
146
Specific Modules
5.5
Phidget IR
This contains VI functions for Phidget IR. See the product manual for more specific API details, supported functionality, units, etc.
IRCreate IREventCloseOnCode IREventCloseOnLearn IREventCloseOnRawData IREventCreateOnCode IREventCreateOnLearn IREventCreateOnRawData IREventExeOnCode IREventExeOnLearn IREventExeOnRawData IRGetLastCode IRGetLastLearnedCode IRGetRawData IROpen IRTransmit IRTransmitRaw IRTransmitRepeat
Specific Modules
147
5.5.1
IRCreate Description:
Create a Phidget IR handle.
Connector Pane:
148
Specific Modules
5.5.2
IREventCloseOnCode Description:
Close the Phidget IR OnCode event handle.
Connector Pane:
Specific Modules
149
5.5.3
IREventCloseOnLearn Description:
Close the Phidget IR OnLearn event handle.
Connector Pane:
150
Specific Modules
5.5.4
IREventCloseOnRawData Description:
Close the Phidget IR OnRawData event handle.
Connector Pane:
Specific Modules
151
5.5.5
IREventCreateOnCode Description:
Set up a Phidget IR OnCode event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
152
Specific Modules
5.5.6
IREventCreateOnLearn Description:
Set up a Phidget IR OnLearn event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
153
5.5.7
IREventCreateOnRawData Description:
Set up a Phidget IR OnRawData event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
154
Specific Modules
5.5.8
IREventExeOnCode Description:
This is called when a code has been received that could be automatically decoded. Data is return as an array with MSB in index 0. Bit count and a repeat flag are also returned. Repeats are detected as either the same code repeated in < 100ms or as a special repeat code.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. A user array to store the code data in. The bit count of the code. Returns the repeats. Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
155
5.5.9
IREventExeOnLearn Description:
This is called when a code has been received for long enough to be learned. The returned CodeInfo structure can be used to retransmit the same code.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. A user array to store the code data in. This contains all information needed to transmit a code. Please refer to Phigets Constant -> CodeInfo Returns the event status. (Executed is T; Not executed is F) Contains error information.
156
Specific Modules
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. A user array for raw data to be written into. Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
157
Connector Pane:
Output Same as the Device In. A user array to store the code data in. Set to the bit count of the code. Length of the user array. Contains error information.
158
Specific Modules
Connector Pane:
Output Same as the Device In. A user array to store the code data in. The CodeInfo structure for the learned code. Please refer to Phigets Constant -> CodeInfo Length of the user array. Contains error information.
Specific Modules
159
Connector Pane:
Output Same as the Device In. A user array for raw data to be written into. The amount of data to read. Contains error information.
160
Specific Modules
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Specific Modules
161
Connector Pane:
162
Specific Modules
Connector Pane:
Specific Modules
163
Connector Pane:
164
Specific Modules
5.6
Phidget LED
This contains VI functions for Phidget LED. See the product manual for more specific API details, supported functionality, units, etc.
Specific Modules
165
5.6.1
LEDCount Description:
Get the number of LEDs supported by this board.
Connector Pane:
Output Same as the Device In. The LED count. Contains error information.
166
Specific Modules
5.6.2
LEDCreate Description:
Create a Phidget LED handle.
Connector Pane:
Specific Modules
167
5.6.3
LEDGetBrightness Description:
Get the brightness of an LED.
Connector Pane:
Output Same as the Device In. The LED brightness (0-100). Contains error information.
168
Specific Modules
5.6.4
LEDGetCurrentLimit Description:
Get the current limit. This is for all outputs.
Connector Pane:
Output Same as the Device In. The current limit. Contains error information.
Specific Modules
169
5.6.5
LEDGetVoltage Description:
Get the output voltage. This is for all outputs.
Connector Pane:
Output Same as the Device In. The output voltage. Contains error information.
170
Specific Modules
5.6.6
LEDOpen Description:
Open a Phidget LED.
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Specific Modules
171
5.6.7
LEDSetBrightness Description:
Set the brightness of an LED.
Connector Pane:
172
Specific Modules
5.6.8
LEDSetCurrentLimit Description:
Set the current limit. This is for all outputs.
Connector Pane:
Specific Modules
173
5.6.9
LEDSetVoltage Description:
Set the output voltage. This is for all outputs.
Connector Pane:
174
Specific Modules
5.7
MCCreate MCEventCloseInput MCEventCloseVelocityCurrent MCEventCreateCurrent MCEventCreateInput MCEventCreateVelocity MCEventExeInput MCEventExeVelocityCurrent MCGetAcceleration MCGetAccelerationMax MCGetAccelerationMin MCGetCurrent MCGetInputCount MCGetInputState MCGetMotorCount MCGetVelocity MCOpen MCSetAcceleration MCSetVelocity
Specific Modules
175
5.7.1
MCCreate Description:
Create a Phidget Motor Control handle.
Connector Pane:
176
Specific Modules
5.7.2
MCEventCloseInput Description:
Close the Phidget Motor Control input change event handle.
Connector Pane:
Specific Modules
177
5.7.3
MCEventCloseVelocityCurrent Description:
Close the Phidget Motor Control velocity/current change event handle.
Connector Pane:
178
Specific Modules
5.7.4
MCEventCreateCurrent Description:
Set up a current change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
179
5.7.5
MCEventCreateInput Description:
Set up an input change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
180
Specific Modules
5.7.6
MCEventCreateVelocity Description:
Set up a velocity change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
181
5.7.7
MCEventExeInput Description:
This is called when a digital input changes.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The input index. The return value of input state. Returns the event status. (Executed is T; Not executed is F) Contains error information.
182
Specific Modules
5.7.8
MCEventExeVelocityCurrent Description:
This is called when the velocity or current changes.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The motor index. The return value of related event. (E.g. for velocity change event, this value is velocity reading.) Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
183
5.7.9
MCGetAcceleration Description:
Get the last set acceleration of a motor.
Connector Pane:
Output Same as the Device In. The acceleration. Contains error information.
184
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum acceleration. Contains error information.
Specific Modules
185
Connector Pane:
Output Same as the Device In. The minimum acceleration. Contains error information.
186
Specific Modules
Connector Pane:
Output Same as the Device In. The current. Contains error information.
Specific Modules
187
Connector Pane:
Output Same as the Device In. The digital input count. Contains error information.
188
Specific Modules
Connector Pane:
Output Same as the Device In. The input state. Possible values are 0 for False, 1 for True and others for undefined. Contains error information.
Specific Modules
189
Connector Pane:
Output Same as the Device In. The motor count. Contains error information.
190
Specific Modules
Connector Pane:
Output Same as the Device In. The current velocity. Contains error information.
Specific Modules
191
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
192
Specific Modules
Connector Pane:
Specific Modules
193
Connector Pane:
194
Specific Modules
5.8
Phidget PH Sensor
This contains VI functions for Phidget PH Sensor. See the product manual for more specific API details, supported functionality, units, etc.
PHCreate PHEventClose PHEventCreate PHEventExe PHGetPH PHGetPHMax PHGetPHMin PHGetPHTrigger PHGetPotential PHGetPotentialMax PHGetPotentialMin PHOpen PHSetTemperature PHSetTrig
Specific Modules
195
5.8.1
PHCreate Description:
Create a Phidget PH Sensor handle.
Connector Pane:
196
Specific Modules
5.8.2
PHEventClose Description:
Close the Phidget PH Sensor change event handle.
Connector Pane:
Specific Modules
197
5.8.3
PHEventCreate Description:
Set up a PH change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
198
Specific Modules
5.8.4
PHEventExe Description:
This is called when the PH changes by more then the change trigger.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The PH. Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
199
5.8.5
PHGetPH Description:
Get the sensed PH.
Connector Pane:
Output Same as the Device In. The PH. Contains error information.
200
Specific Modules
5.8.6
PHGetPHMax Description:
Get the maximum PH that the sensor could report.
Connector Pane:
Output Same as the Device In. The maximum PH. Contains error information.
Specific Modules
201
5.8.7
PHGetPHMin Description:
Get the minimum PH that the sensor could report.
Connector Pane:
Output Same as the Device In. The minimum PH. Contains error information.
202
Specific Modules
5.8.8
PHGetPHTrigger Description:
Get the PH change trigger.
Connector Pane:
Output Same as the Device In. The change trigger. Contains error information.
Specific Modules
203
5.8.9
PHGetPotential Description:
Get the sensed potential.
Connector Pane:
Output Same as the Device In. The potential. Contains error information.
204
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum potential. Contains error information.
Specific Modules
205
Connector Pane:
Output Same as the Device In. The minimum potential. Contains error information.
206
Specific Modules
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Specific Modules
207
Connector Pane:
208
Specific Modules
Connector Pane:
Specific Modules
209
5.9
Phidget RFID
This contains VI functions for Phidget RFID. See the product manual for more specific API details, supported functionality, units, etc.
RFIDCreate RFIDEventClose RFIDEventCloseOutput RFIDEventCreateOutput RFIDEventCreateTag RFIDEventCreateTagLost RFIDEventExe RFIDEventExeOutput RFIDGetAntennaState RFIDGetLastTag RFIDGetLEDState RFIDGetOutputCount RFIDGetOutputState RFIDGetTagState RFIDOpen RFIDSetAntennaState RFIDSetLEDState RFIDSetOutputState
210
Specific Modules
5.9.1
RFIDCreate Description:
Create a Phidget RFID handle.
Connector Pane:
Specific Modules
211
5.9.2
RFIDEventClose Description:
Close the Phidget RFID Tag or TagLost event handle.
Connector Pane:
212
Specific Modules
5.9.3
RFIDEventCloseOutput Description:
Close the Phidget RFID output change event handle.
Connector Pane:
Specific Modules
213
5.9.4
RFIDEventCreateOutput Description:
Set up an output change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
214
Specific Modules
5.9.5
RFIDEventCreateTag Description:
Set up a tag change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
215
5.9.6
RFIDEventCreateTagLost Description:
Set up a tag lost change event handle.
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
216
Specific Modules
5.9.7
RFIDEventExe Description:
This is called when the Phidget RFID Tag or TagLost event changes. Tag Event is called when a tag is first detected by the reader. TagLost Event is called when a tag is no longer detected by the reader.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The tag. Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
217
5.9.8
RFIDEventExeOutput Description:
This is called when an output changes.
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The output index. The output state. Possible values are 0 for False, 1 for True and others for undefined. Returns the event status. (Executed is T; Not executed is F) Contains error information.
218
Specific Modules
5.9.9
RFIDGetAntennaState Description:
Get the state of the antenna.
Connector Pane:
Output Same as the Device In. The antenna state. Possible values are 0 for False, 1 for True and others for undefined. The antenna state. Contains error information.
Specific Modules
219
Connector Pane:
Output Same as the Device In. The tag. This must be an unsigned char array of size 5. Contains error information.
220
Specific Modules
Connector Pane:
Output Same as the Device In. The LED state. Possible values are 0 for False, 1 for True and others for undefined. The LED state. Contains error information.
Specific Modules
221
Connector Pane:
Output Same as the Device In. The output count. Contains error information.
222
Specific Modules
Connector Pane:
Output Same as the Device In. The output state. Possible values are 0 for False, 1 for True and others for undefined. The output state. Contains error information.
Specific Modules
223
Connector Pane:
Output Same as the Device In. The tag state. Possible values are 0 for False, 1 for True and others for undefined. The tag state. Contains error information.
224
Specific Modules
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Specific Modules
225
Connector Pane:
226
Specific Modules
Connector Pane:
Specific Modules
227
Connector Pane:
228
Specific Modules
5.10
Phidget Servo
This contains VI functions for Phidget Servo. See the product manual for more specific API details, supported functionality, units, etc.
ServoCount ServoCreate ServoEventClose ServoEventCreate ServoEventExe ServoGetEngaged ServoGetPos ServoGetPosMax ServoGetPosMin ServoGetServoType ServoOpen ServoSetEngaged ServoSetPos ServoSetServoParameters ServoSetServoType
Specific Modules
229
Connector Pane:
Output Same as the Device In. The motor count. Contains error information.
230
Specific Modules
Connector Pane:
Specific Modules
231
Connector Pane:
232
Specific Modules
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
233
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The motor index. The return value of the position. Returns the event status. (Executed is T; Not executed is F) Contains error information.
234
Specific Modules
Connector Pane:
Output Same as the Device In. The engaged state. Possible values are 0 for False, 1 for True and others for undefined. The engaged state (Boolean type). Possible values are True for Engaged and False for Not Engaged. Contains error information.
Specific Modules
235
Connector Pane:
Output Same as the Device In. The position. Contains error information.
236
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum current. Contains error information.
Specific Modules
237
Connector Pane:
Output Same as the Device In. The minimum position. Contains error information.
238
Specific Modules
Connector Pane:
Output Same as the Device In. Returns the servo type. This is an enum. Please refer to Phigets Constant -> ServoType Contains error information.
Specific Modules
239
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
240
Specific Modules
Connector Pane:
Specific Modules
241
Connector Pane:
242
Specific Modules
Connector Pane:
Specific Modules
243
Connector Pane:
244
Specific Modules
5.11
Phidget Spatial
This contains VI functions for Phidget Spatial. See the product manual for more specific API details, supported functionality, units, etc.
SpatialCreate SpatialEventClose SpatialEventCreate SpatialEventExe SpatialGetAcce SpatialGetAcceAxisCount SpatialGetAcceMax SpatialGetAcceMin SpatialGetAngRate SpatialGetAngRateMax SpatialGetAngRateMin SpatialGetCompassAxisCount SpatialGetDataRate SpatialGetDataRateMax SpatialGetDataRateMin SpatialGetGyroAxisCount SpatialGetMagField SpatialGetMagFieldMax SpatialGetMagFieldMin SpatialOpen SpatialResetCompassCorrectionParameters SpatialSetCompassCorrectionParameters SpatialSetDataRate SpatialZeroGyro
2011 Phidgets Inc.
Specific Modules
245
Connector Pane:
246
Specific Modules
Connector Pane:
Specific Modules
247
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
248
Specific Modules
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. Returns the event status. (Executed is T; Not executed is F) The Output Data. Acceleration X. Acceleration Y. Acceleration Z. Angular rate X. Angular rate Y. Angular rate Z. Magnetic field X. Magnetic field Y. Magnetic field Z. Timestamp in s. Timestamp in ms. Contains error information.
Specific Modules
249
Connector Pane:
Output Same as the Device In. The acceleration in gs. Contains error information.
250
Specific Modules
Connector Pane:
Output Same as the Device In. The axis count. Contains error information.
Specific Modules
251
Connector Pane:
Output Same as the Device In. The maximum acceleration. Contains error information.
252
Specific Modules
Connector Pane:
Output Same as the Device In. The minimum acceleration. Contains error information.
Specific Modules
253
Connector Pane:
Output Same as the Device In. The angular rate in degrees/second. Contains error information.
254
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum angular rate. Contains error information.
Specific Modules
255
Connector Pane:
Output Same as the Device In. The minimum angular rate. Contains error information.
256
Specific Modules
Connector Pane:
Output Same as the Device In. The number of compass axes. Contains error information.
Specific Modules
257
Connector Pane:
Output Same as the Device In. The data rate in milliseconds. Contains error information.
258
Specific Modules
Connector Pane:
Output Same as the Device In. The data rate in milliseconds. Contains error information.
Specific Modules
259
Connector Pane:
Output Same as the Device In. The data rate in milliseconds. Contains error information.
260
Specific Modules
Connector Pane:
Output Same as the Device In. The number of gyro axes. Contains error information.
Specific Modules
261
Connector Pane:
Output Same as the Device In. The magnetic field strength in Gauss. Contains error information.
262
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum magnetic field strength in Gauss. Contains error information.
Specific Modules
263
Connector Pane:
Output Same as the Device In. The minimum magnetic field strength in Gauss. Contains error information.
264
Specific Modules
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Specific Modules
265
Connector Pane:
266
Specific Modules
Connector Pane:
Specific Modules
267
Connector Pane:
268
Specific Modules
Connector Pane:
Specific Modules
269
5.12
Phidget Stepper
This contains VI functions for Phidget Stepper. Since Labview version 7.1 doesn't support 64bit integers, the Phidget Labview library contains special functions for Labview 7.1 marked by 71. See the product manual for more specific API details, supported functionality, units, etc.
StepperCreate StepperEventCloseCurrentVelocity StepperEventCloseInput StepperEventClosePosition StepperEventClosePosition71 StepperEventCreateCurrent StepperEventCreateInput StepperEventCreatePosition StepperEventCreatePosition71 StepperEventCreateVelocity StepperEventExeCurrentVelocity StepperEventExeInput StepperEventExePosition StepperEventExePosition71 StepperGetAcceleration StepperGetAccelerationMax StepperGetAccelerationMin StepperGetCurrent StepperGetCurrentLimit StepperGetCurrentMax StepperGetCurrentMin StepperGetCurrentPosition StepperGetCurrentPosition71
270
Specific Modules
StepperGetEngaged StepperGetPositionMax StepperGetPositionMax71 StepperGetPositionMin StepperGetPositionMin71 StepperGetTargetPosition StepperGetTargetPosition71 StepperGetVelocity StepperGetVelocityLimit StepperGetVelocityMax StepperGetVelocityMin StepperInputCount StepperInputState StepperMotorCount StepperOpen StepperSetAcceleration StepperSetCurrentLimit StepperSetCurrentPosition StepperSetCurrentPosition71 StepperSetEngaged StepperSetTargetPosition StepperSetTargetPosition71 StepperSetVelocityLimit StepperStoppedState
Specific Modules
271
Connector Pane:
272
Specific Modules
Connector Pane:
Specific Modules
273
Connector Pane:
274
Specific Modules
Connector Pane:
Specific Modules
275
Connector Pane:
276
Specific Modules
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
277
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
278
Specific Modules
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
279
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
280
Specific Modules
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
Specific Modules
281
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The motor index. The return value of related event. (E.g. for velocity change event, this value is velocity.) Returns the event status. (Executed is T; Not executed is F) Contains error information.
282
Specific Modules
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The motor index. The input. Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
283
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The motor index. The position. Returns the event status. (Executed is T; Not executed is F) Contains error information.
284
Specific Modules
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The motor index. The high 8 bits of the position. The low 32 bits of the position. Note that if the position is negative, the sign bit must be extended into the HighBit manually. Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
285
Connector Pane:
Output Same as the Device In. The acceleration. Contains error information.
286
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum acceleration. Contains error information.
Specific Modules
287
Connector Pane:
Output Same as the Device In. The minimum acceleration. Contains error information.
288
Specific Modules
Connector Pane:
Output Same as the Device In. The current. Contains error information.
Specific Modules
289
Connector Pane:
Output Same as the Device In. The current limit. Contains error information.
290
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum current limit. Contains error information.
Specific Modules
291
Connector Pane:
Output Same as the Device In. The minimum current limit. Contains error information.
292
Specific Modules
Connector Pane:
Output Same as the Device In. The position. Contains error information.
Specific Modules
293
Connector Pane:
Output Same as the Device In. The position.This includes hight bit and low bit. Please refer to StepperEventExePosition71. Contains error information.
294
Specific Modules
Connector Pane:
Output Same as the Device In. The engaged state. Possible values are 0 for False, 1 for True and others for undefined. The engaged state (Boolean type). Possible values are True for Engaged and False for Not Engaged. Contains error information.
Specific Modules
295
Connector Pane:
Output Same as the Device In. The maximum position. Contains error information.
296
Specific Modules
Connector Pane:
Output Same as the Device In. The position.This includes hight bit and low bit. Please refer to StepperEventExePosition71. Contains error information.
Specific Modules
297
Connector Pane:
Output Same as the Device In. The minimum position. Contains error information.
298
Specific Modules
Connector Pane:
Output Same as the Device In. The position.This includes hight bit and low bit. Please refer to StepperEventExePosition71. Contains error information.
Specific Modules
299
Connector Pane:
Output Same as the Device In. The position. Contains error information.
300
Specific Modules
Connector Pane:
Output Same as the Device In. The position.This includes hight bit and low bit. Please refer to StepperEventExePosition71. Contains error information.
Specific Modules
301
Connector Pane:
Output Same as the Device In. The velocity. Contains error information.
302
Specific Modules
Connector Pane:
Output Same as the Device In. The velocity limit. Contains error information.
Specific Modules
303
Connector Pane:
Output Same as the Device In. The maximum velocity. Contains error information.
304
Specific Modules
Connector Pane:
Output Same as the Device In. The minimum velocity. Contains error information.
Specific Modules
305
Connector Pane:
Output Same as the Device In. The digital input count. Contains error information.
306
Specific Modules
Connector Pane:
Output Same as the Device In. The input state. Possible values are 0 for False, 1 for True and others for undefined. The input state (Boolean type). Contains error information.
Specific Modules
307
Connector Pane:
Output Same as the Device In. The motor count. Contains error information.
308
Specific Modules
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
Specific Modules
309
Connector Pane:
310
Specific Modules
Connector Pane:
Specific Modules
311
Connector Pane:
312
Specific Modules
Connector Pane:
Specific Modules
313
Connector Pane:
314
Specific Modules
Connector Pane:
Specific Modules
315
Connector Pane:
316
Specific Modules
Connector Pane:
Specific Modules
317
Connector Pane:
Output Same as the Device In. The stopped state. Possible values are 0 for False, 1 for True and others for undefined. The stopped state (Boolean type). Possible values are True for Stopped and False for Not Stopped. Contains error information.
318
Specific Modules
5.13
TempCreate TempEventClose TempEventCreate TempEventExe TempGetAmbient TempGetAmbientMax TempGetAmbientMin TempGetPotential TempGetPotentialMax TempGetPotentialMin TempGetTemperature TempGetTemperatureMax TempGetTemperatureMin TempGetThermocoupleType TempGetTrigger TempInputCount TempOpen TempSetThermocoupleType TempSetTrigger
Specific Modules
319
Connector Pane:
320
Specific Modules
Connector Pane:
Specific Modules
321
Connector Pane:
Output Same as the Device In. Event # identification. Contains error information.
322
Specific Modules
Connector Pane:
Output Same as the Device In. Same as the Event Registration Refnum In. The thermocouple index. The temperature. Returns the event status. (Executed is T; Not executed is F) Contains error information.
Specific Modules
323
Connector Pane:
Output Same as the Device In. The ambient (board) temperature. Contains error information.
324
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum temperature. Contains error information.
Specific Modules
325
Connector Pane:
Output Same as the Device In. The minimum temperature. Contains error information.
326
Specific Modules
Connector Pane:
Output Same as the Device In. The potential. Contains error information.
Specific Modules
327
Connector Pane:
Output Same as the Device In. The maximum potential. Contains error information.
328
Specific Modules
Connector Pane:
Output Same as the Device In. The minimum potential. Contains error information.
Specific Modules
329
Connector Pane:
Output Same as the Device In. The temperature. Contains error information.
330
Specific Modules
Connector Pane:
Output Same as the Device In. The maximum temperature. Contains error information.
Specific Modules
331
Connector Pane:
Output Same as the Device In. The minimum temperature. Contains error information.
332
Specific Modules
Connector Pane:
Output Same as the Device In. The thermocouple type. This is an enum. Please refer to Phigets Constant -> ThermocoupleType Contains error information.
Specific Modules
333
Connector Pane:
Output Same as the Device In. The change trigger. Contains error information.
334
Specific Modules
Connector Pane:
Output Same as the Device In. The thermocouple input count. Contains error information.
Specific Modules
335
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
336
Specific Modules
Connector Pane:
Specific Modules
337
Connector Pane:
338
Specific Modules
5.14
Phidget TextLCD
This contains VI functions for Phidget TextLCD. See the product manual for more specific API details, supported functionality, units, etc.
TextCreate TextGetBacklightState TextGetBrightness TextGetColumnCount TextGetContrast TextGetCursorBlinkState TextGetCursorState TextGetRowCount TextOpen TextSetBacklightState TextSetBrightness TextSetCharacter TextSetContrast TextSetCursorBlinkState TextSetCursorState TextSetDisplayChar TextSetDisplayString
Specific Modules
339
Connector Pane:
340
Specific Modules
Connector Pane:
Output Same as the Device In. The backlight state. Possible values are 0 for False, 1 for True and others for undefined. The backlight state (Boolean type). Contains error information.
Specific Modules
341
Connector Pane:
Output Same as the Device In. The backlight brightness (0-255). Contains error information.
342
Specific Modules
Connector Pane:
Output Same as the Device In. The column count. Contains error information.
Specific Modules
343
Connector Pane:
Output Same as the Device In. The contrast (0-255). Contains error information.
344
Specific Modules
Connector Pane:
Output Same as the Device In. The cursor blink state. Possible values are 0 for False, 1 for True and others for undefined. The cursor blink state (Boolean type). Contains error information.
Specific Modules
345
Connector Pane:
Output Same as the Device In. The state of the cursor. Possible values are 0 for False, 1 for True and others for undefined. The state of the cursor (Boolean type). Contains error information.
346
Specific Modules
Connector Pane:
Output Same as the Device In. The row count. Contains error information.
Specific Modules
347
Connector Pane:
Output Same as the Device In. Returns the serial number. Returns the device status. (Attached is T; Not attached is F) Contains error information.
348
Specific Modules
Connector Pane:
Specific Modules
349
Connector Pane:
350
Specific Modules
Connector Pane:
Specific Modules
351
Connector Pane:
352
Specific Modules
Connector Pane:
Specific Modules
353
Connector Pane:
354
Specific Modules
Connector Pane:
Specific Modules
355
Connector Pane:
356
Specific Modules
5.15
Phidget TextLED
Discontinued.
Specific Modules
357
5.16
358
Phidgets Constants
Phidgets Constants
This section describes each of the Phidgets constant used by different Phidgets.
Phidgets Constants
359
6.1
ServoType
An enum value with the following definition:
Value PHIDGET_SERVO_DEFAULT = 1,
Comments Default - This is what the servo API been historically used, originally based on the Futaba FP-S148 PHIDGET_SERVO_RAW_us_MODE = 2, Raw us mode - all position, velocity, acceleration functions are specified in microseconds rather then degrees PHIDGET_SERVO_HITEC_HS322HD = 3, HiTec HS-322HD Standard Servo PHIDGET_SERVO_HITEC_HS5245MG = 4, HiTec HS-5245MG Digital Mini Servo PHIDGET_SERVO_HITEC_805BB = 5, HiTec HS-805BB Mega Quarter Scale Servo PHIDGET_SERVO_HITEC_HS422 = 6, HiTec HS-422 Standard Servo PHIDGET_SERVO_TOWERPRO_MG90 = 7, Tower Pro MG90 Micro Servo PHIDGET_SERVO_HITEC_HSR1425CR = 8, HiTec HSR-1425CR Continuous Rotation Servo PHIDGET_SERVO_HITEC_HS785HB = 9, HiTec HS-785HB Sail Winch Servo PHIDGET_SERVO_HITEC_HS485HB = 10, HiTec HS-485HB Deluxe Servo PHIDGET_SERVO_HITEC_HS645MG = 11, HiTec HS-645MG Ultra Torque Servo PHIDGET_SERVO_HITEC_815BB = 12, HiTec HS-815BB Mega Sail Servo PHIDGET_SERVO_FIRGELLI_L12_30_50_06_R Firgelli L12 Linear Actuator 30mm 50:1 = 13, PHIDGET_SERVO_FIRGELLI_L12_50_100_06_ Firgelli L12 Linear Actuator 50mm 100:1 R = 14, PHIDGET_SERVO_FIRGELLI_L12_50_210_06_ Firgelli L12 Linear Actuator 50mm 210:1 R = 15, PHIDGET_SERVO_FIRGELLI_L12_100_50_06_ Firgelli L12 Linear Actuator 100mm 50:1 R = 16, PHIDGET_SERVO_FIRGELLI_L12_100_100_06_ Firgelli L12 Linear Actuator 100mm 100:1 R = 17, PHIDGET_SERVO_USER_DEFINED = others Undefined
360
Phidgets Constants
6.2
ThermocoupleType
An enum value with the following definition:
Comments K-Type thermocouple J-Type thermocouple E-Type thermocouple T-Type thermocouple Undefined
Phidgets Constants
361
6.3
CodeInfo
The PhidgetIR CodeInfo structure contains all information needed to transmit a code, apart from the actual code data. Some values can be set to null to select defaults. See the product manual for more information.
Comments
Number of bits in the code. Encoding used to encode the data. This is an enum. Please refer to Phigets Constant -> IREncoding length Constant or Variable length encoding. This is an enum. Please refer to Phigets Constant -> IRLength gap Gap time in us. trail Trail time in us - can be 0 for none. header [2] Header pulse and space - can be 0 for none. one [2] Pulse and Space times to represent a '1' bit, in us. zero [2] Pulse and Space times to represent a '0' bit, in us. repeat [26] A series or pulse and space times to represent the repeat code. Start and end with pulses and null terminate. Set to 0 for none. min_repeat Minimum number of times to repeat a code on transmit. toggle_mask Bit toggles, which are applied to the code after each transmit. [16] carrierFrequ Carrier frequency in Hz - defaults to 38kHz. ency dutyCycle Duty Cycle in percent (10-50). Defaults to 33.
362
Phidgets Constants
6.4
IREncoding
The PhidgetIR supports these data encodings:
Comments Unknown - the default value Space encoding, or Pulse Distance Modulation Pulse encoding, or Pulse Width Modulation Bi-Phase, or Manchester encoding RC5 - a type of Bi-Phase encoding RC6 - a type of Bi-Phase encoding Undefined
Phidgets Constants
363
6.5
IRLength
The PhidgetIR supports these encoding lengths:
Comments Unknown - the default value Constant - the bitstream + gap length is constant Variable - the bitstream has a variable length with a constant gap Undefined
364
Index
Index
-__AttachCHK 44 _ChkError 44 _Close 44 _Delete 44 _Open 44 _SerialReturn 44 _WaitAttach 44
AdvServoSetEngaged 71, 96 AdvServoSetPos 71, 97 AdvServoSetPosMax 71, 98 AdvServoSetPosMin 71, 99 AdvServoSetRampingState 71, 100 AdvServoSetServoParameters 71, 101 AdvServoSetServoType 71, 102 AdvServoSetVellmt 71, 103 AdvServoStoppedState 71, 104
-AAcceAxisCount 59, 60 AcceCreate 59, 61 AcceEventClose 59, 62 AcceEventCreate 59, 63 AcceEventExe 59, 64 AcceGetData 59, 65 AcceGetMax 59, 66 AcceGetMin 59, 67 AcceGetTrigger 59, 68 AcceOpen 59, 69 AcceSetTrigger 59, 70 AdvServoCount 71, 73 AdvServoCreate 71, 74 AdvServoEventClose 71, 75 AdvServoEventCreateCrtChange 71, 76 AdvServoEventCreatePosChange 71, 77 AdvServoEventCreateVelChange 71, 78 AdvServoEventExe 71, 79 AdvServoGetAcce 71, 80 AdvServoGetAcceMax 71, 81 AdvServoGetAcceMin 71, 82 AdvServoGetCurrent 71, 83 AdvServoGetEngaged 71, 84 AdvServoGetPos 71, 85 AdvServoGetPosMax 71, 86 AdvServoGetPosMin 71, 87 AdvServoGetRampingState 71, 88 AdvServoGetServoType 71, 89 AdvServoGetVel 71, 90 AdvServoGetVellmt 71, 91 AdvServoGetVelmax 71, 92 AdvServoGetVelmin 71, 93 AdvServoOpen 71, 94 AdvServoSetAcce 71, 95
-EEncoderCreate 105, 106 EncoderEventCloseInput 105, 107 EncoderEventClosePosition 105, 108 EncoderEventCreateInput 105, 109 EncoderEventCreatePosition 105, 110 EncoderEventExeInput 105, 111 EncoderEventExePosition 105, 112 EncoderGetCount 105, 113 EncoderGetEnabledState 105, 114 EncoderGetIndexPosition 105, 115 EncoderGetInputCount 105, 116 EncoderGetInputState 105, 117 EncoderGetPosition 105, 118 EncoderOpen 105, 119 EncoderSetEnabled 105, 120 EncoderSetPosition 105, 121 ErrorHandler 23 Event Handler 11, 12 EventCloseIntDouble 23 EventCloseIntInt 23 EventCreateIntDouble 23 EventCreateIntInt 23 EventExeIntDouble 23 EventExeIntInt 23
-IIFCreate 122, 123 IFEventClose 122, 124 IFEventCreateInput 122, 125 IFEventCreateOutput 122, 126
2011 Phidgets Inc.
Index
365
IFEventCreateSensor 122, 127 IFEventExe 122, 128 IFGetDataRate 122, 129 IFGetDataRateMax 122, 130 IFGetDataRateMin 122, 131 IFGetInputCount 122, 132 IFGetInputState 122, 133 IFGetOutputCount 122, 134 IFGetOutputState 122, 135 IFGetRatio 122, 136 IFGetSensorCount 122, 137 IFGetSensorValue 122, 138 IFGetSensorValueRaw 122, 139 IFGetTrig 122, 140 IFOpen 122, 141 IFSetDataRate 122, 142 IFSetOutputState 122, 143 IFSetRatio 122, 144 IFSetTrig 122, 145 IRCreate 146 IREncoding 358, 361 IREventCloseOnCode 146 IREventCloseOnLearn 146 IREventCloseOnRawData 146 IREventCreateOnCode 146 IREventCreateOnLearn 146 IREventCreateOnRawData 146 IREventExeOnCode 146 IREventExeOnLearn 146 IREventExeOnRawData 146 IRGetLastCode 146 IRGetLastLearnedCode 146 IRGetRawData 146 IRLength 358, 361 IROpen 146 IRTransmit 146 IRTransmitRaw 146 IRTransmitRepeat 146
LEDSetVoltage
164
-MMCCreate 174 MCEventCloseInput 174 MCEventCloseVelocityCurrent 174 MCEventCreateCurrent 174 MCEventCreateInput 174 MCEventCreateVelocity 174 MCEventExeInput 174 MCEventExeVelocityCurrent 174 MCGetAcceleration 174 MCGetAccelerationMax 174 MCGetAccelerationMin 174 MCGetCurrent 174 MCGetInputCount 174 MCGetInputState 174 MCGetMotorCount 174 MCGetVelocity 174 MCOpen 174 MCSetAcceleration 174 MCSetVelocity 174 Multiple Devices 11, 12
-PPHCreate 194 PHEventClose 194 PHEventCreate 194 PHEventExe 194 PHGetPH 194 PHGetPHMax 194 PHGetPHMin 194 PHGetPHTrigger 194 PHGetPotential 194 PHGetPotentialMax 194 PHGetPotentialMin 194 Phidget Accelerometer 58, 59 Phidget Advanced Servo 58, 71 Phidget Encoder 58, 105 Phidget InterfaceKit 58, 122 Phidget IR 58, 146 Phidget LED 58, 164 Phidget Motor Control 58, 174 Phidget PH Sensor 58, 194 Phidget RFID 58, 209 Phidget Servo 58, 228 Phidget Spatial 58, 244
-LLEDCount 164 LEDCreate 164 LEDGetBrightness 164 LEDGetCurrentLimit 164 LEDGetVoltage 164 LEDOpen 164 LEDSetBrightness 164 LEDSetCurrentLimit 164
2011 Phidgets Inc.
366
Index
Phidget Stepper 58, 269 Phidget Temperature Sensor 58, 318 Phidget TextLCD 58, 338 Phidget TextLED 58, 356 Phidget Weight Sensor 58, 357 PhidgetClose 23 PhidgetDelet 23 PhidgetDelete 23 PhidgetDeviceLabel 23 PhidgetDeviceName 23 PhidgetDeviceType 23 PhidgetDeviceVersion 23 PhidgetEventCloseOnError 23 PhidgetEventCreateOnError 23 PhidgetEventExeOnError 23 PhidgetGetDeviceClass 23 PhidgetGetDeviceID 23 PhidgetGetDeviceLabel 23 PhidgetGetServerStatus 23 PhidgetLibraryVersion 23 PhidgetOpen 23 PhidgetOpenRemote 23 PhidgetOpenRemoteIP 23 Phidgets Common 11, 12, 13, 23 Phidgets Constant 11, 12, 358 PhidgetServerAddress 23 PhidgetServiceID 23 PhidgetSetDeviceLabel 23 Phigets Constant 89, 102, 238, 243, 332, 336 PHOpen 194 PHSetTemperature 194 PHSetTrig 194 Platform Support 12 Programming Concept 11, 12
RFIDGetOutputState 209 RFIDGetTagState 209 RFIDOpen 209 RFIDSetAntennaState 209 RFIDSetLEDState 209 RFIDSetOutputState 209
-SServo Create 228 ServoCount 228, 229 ServoCreate 228, 230 ServoEventClose 228 ServoEventCreate 228 ServoEventExe 228 ServoGetEngaged 228, 234 ServoGetPos 228, 235 ServoGetPosMax 228, 236 ServoGetPosMin 228, 237 ServoGetServoType 228, 238 ServoOpen 228, 239 ServoSetEngaged 228, 240 ServoSetPos 228, 241 ServoSetServoParameters 228, 242 ServoSetServoType 228, 243 ServoType 89, 102, 238, 243, 358 SpatialCreate 244, 245 SpatialEventClose 244, 246 SpatialEventCreate 244, 247 SpatialEventExe 244, 248 SpatialGetAcce 244, 249 SpatialGetAcceAxisCount 244, 250 SpatialGetAcceMax 244, 251 SpatialGetAcceMin 244, 252 SpatialGetAngRate 244, 253 SpatialGetAngRateMax 244, 254 SpatialGetAngRateMin 244, 255 SpatialGetCompassAxisCount 244, 256 SpatialGetDataRate 244, 248, 257 SpatialGetDataRateMax 244, 258 SpatialGetDataRateMin 244, 259 SpatialGetGyroAxisCount 244, 260 SpatialGetMagField 244, 261 SpatialGetMagFieldMax 244, 262 SpatialGetMagFieldMin 244, 263 SpatialOpen 244, 264 SpatialResetCompassCorrectionParameters 244, 265 SpatialSetCompassCorrectionParameters 244, 266
2011 Phidgets Inc.
-RRFIDCreate 209 RFIDEventClose 209 RFIDEventCloseOutput 209 RFIDEventCreateOutput 209 RFIDEventCreateTag 209 RFIDEventCreateTagLost 209 RFIDEventExe 209 RFIDEventExeOutput 209 RFIDGetAntennaState 209 RFIDGetLastTag 209 RFIDGetLEDState 209 RFIDGetOutputCount 209
Index
367
SpatialSetDataRate 244, 267 SpatialZeroGyro 244, 268 Specific Modules 11, 12, 13, 58 StepperCreate 269 StepperEventCloseCurrentVelocity 269 StepperEventCloseInput 269 StepperEventClosePosition 269 StepperEventClosePosition71 269 StepperEventCreateCurrent 269 StepperEventCreateInput 269 StepperEventCreatePosition 269 StepperEventCreatePosition71 269 StepperEventCreateVelocity 269 StepperEventExeCurrentVelocity 269 StepperEventExeInput 269 StepperEventExePosition 269 StepperEventExePosition71 269, 293 StepperGetAcceleration 269 StepperGetAccelerationMax 269 StepperGetAccelerationMin 269 StepperGetCurrent 269 StepperGetCurrentLimit 269 StepperGetCurrentMax 269 StepperGetCurrentMin 269 StepperGetCurrentPosition 269 StepperGetCurrentPosition71 269 StepperGetEngaged 269 StepperGetPositionMax 269 StepperGetPositionMax71 269 StepperGetPositionMin 269 StepperGetPositionMin71 269 StepperGetTargetPosition 269 StepperGetTargetPosition71 269 StepperGetVelocity 269 StepperGetVelocityLimit 269 StepperGetVelocityMax 269 StepperGetVelocityMin 269 StepperInputCount 269 StepperInputState 269 StepperMotorCount 269 StepperOpen 269 StepperSetAcceleration 269 StepperSetCurrentLimit 269 StepperSetCurrentPosition 269 StepperSetCurrentPosition71 269 StepperSetEngaged 269 StepperSetTargetPosition 269 StepperSetTargetPosition71 269
2011 Phidgets Inc.
-TTempCreate 318 TempEventClose 318 TempEventCreate 318 TempEventExe 318 TempGetAmbient 318 TempGetAmbientMax 318 TempGetAmbientMin 318 TempGetPotential 318 TempGetPotentialMax 318 TempGetPotentialMin 318 TempGetTemperature 318 TempGetTemperatureMax 318 TempGetTemperatureMin 318 TempGetThermocoupleType 318 TempGetTrigger 318 TempInputCount 318 TempOpen 318 TempSetThermocoupleType 318 TempSetTrigger 318 TextCreate 338 TextGetBacklightState 338 TextGetBrightness 338 TextGetColumnCount 338 TextGetContrast 338 TextGetCursorBlinkState 338 TextGetCursorState 338 TextGetRowCount 338 TextOpen 338 TextSetBacklightState 338 TextSetBrightness 338 TextSetCharacter 338 TextSetContrast 338 TextSetCursorBlinkState 338 TextSetCursorState 338 TextSetDisplayChar 338 TextSetDisplayString 338 ThermocoupleType 332, 336, 358
Phidgets Inc.
Unit 1, 6115 4th Street S.E. Calgary, AB Canada T2H 2H9 Telephone: 1-403-282-7335 Facsimile: 1-403-282-7332 E-mail: support@phidgets.com Web site: www.phidgets.com