
Revision Date: 08/02/02LabProTechnical ReferenceManualCalculator-Based Laboratory, CBL, CBL 2 , and TI-GRAPH LINK are trademarks of Texas Instruments
Revision Date: 08/02/02LabPro Technical Manual10on the calculator. • Calculator user can use the DataMate program to Save, Load and Delete data sets i
Revision Date: 08/02/02LabPro Technical Manual 11now support an Auto-ID feature. By using a 1 for operation in this command, LabPro willautomatically
Revision Date: 08/02/02LabPro Technical Manual12Many of these features may not be needed and left in their default state or set to zero. Here are thec
Revision Date: 08/02/02LabPro Technical Manual 13This type of data collection works great for many programs where you just want to monitor the reading
Revision Date: 08/02/02LabPro Technical Manual14send a Command 6:6,0This will terminate data collection while keeping intact the data buffer and the c
Revision Date: 08/02/02LabPro Technical Manual 15timing data from each of the LabPro channels and calculate the desired result.The continuous pulse mo
Revision Date: 08/02/02LabPro Technical Manual16Poll channel 1 for a new event. Once an event has occurred, poll for an event change on channel 2. Onc
Revision Date: 08/02/02LabPro Technical Manual 17this would correspond to n=8 and m=10. If n and m are omitted, all events are returned.12,41,-2,n,m R
Revision Date: 08/02/02LabPro Technical Manual1812,41,-1,m,n returns data points starting with point m and ending at point n. Data is position of ther
Revision Date: 08/02/02LabPro Technical Manual 19Digital Output Buffer Example Command 1 list is {1,31,5,1,2,3,4,5} where: Command 3 list is {3,1,10
Revision Date: 08/02/02LabPro Technical Manual2Incorporated, with permission of the publisher.ContentsABOUT THIS MANUAL...
Revision Date: 08/02/02LabPro Technical Manual20period = time (in milliseconds) to complete one cycle The DC output voltage is set by the equation:
Revision Date: 08/02/02LabPro Technical Manual 21Computer ProgrammingBasic communications Commands are sent using the following format: s{command num
Revision Date: 08/02/02LabPro Technical Manual22the active channels, just as it does in the ASCII or calculator mode. For instance, with two channels
Revision Date: 08/02/02LabPro Technical Manual 23 One significant difference is that trying to read from USB will not return 0 bytes of data, like an
Revision Date: 08/02/02LabPro Technical Manual24 When using LabPro in RT mode over USB, the number of bytes transmitted back is always 16 (see abovein
Revision Date: 08/02/02LabPro Technical Manual 25where the first line stores the command number and parameters to the calculator list called listname,
Revision Date: 08/02/02LabPro Technical Manual26L1 will remain as they were prior to the “Get“ request. Since LabPro was prepared to return a 17-eleme
Revision Date: 08/02/02LabPro Technical Manual 27Calculator LimitationsCalculator memory is an important factor to consider when collecting data with
Revision Date: 08/02/02LabPro Technical Manual28LabPro Command SummaryThe table below lists the commands you can use in writing programs for LabPro.Co
Revision Date: 08/02/02LabPro Technical Manual 29201 Archive Operations Command: Allows the calculator to determinethe contents of LabPro’s FLASH memo
Revision Date: 08/02/02LabPro Technical Manual 3COMMAND 10 ADVANCED DATA REDUCTION...
Revision Date: 08/02/02LabPro Technical Manual30Command 0 Reset LabProThis command clears the data memory, error information, channel setup, and data
Revision Date: 08/02/02LabPro Technical Manual 31Command 1 Channel SetupThis command sets up a channel for data collection.Syntax: {1, channel[, opera
Revision Date: 08/02/02LabPro Technical Manual32Delta – used for internal debugging purposes and should always be set to zero (0).Post-Proc Value Desc
Revision Date: 08/02/02LabPro Technical Manual 33Syntax: {1, channel, operation, list of values}Channel Operation List of Values31 = Digital Output 13
Revision Date: 08/02/02LabPro Technical Manual34 The parameters shown in this table are used when measuring period or frequency. Trigger Type Edge
Revision Date: 08/02/02LabPro Technical Manual 35Command 3 Data Collection SetupThis command sets up the data collection parameters for an experiment.
Revision Date: 08/02/02LabPro Technical Manual36pre-store – indicates how much data (as a percentage of all measurements to be made) prior to thetrigg
Revision Date: 08/02/02LabPro Technical Manual 37 The THRESHOLD parameter specified in Command 3 can be used for two purposes: • If the operation in
Revision Date: 08/02/02LabPro Technical Manual38 LabPro will collect and store a sample every 10 seconds. The recorded time for each sample will be 10
Revision Date: 08/02/02LabPro Technical Manual 39Command 4 Conversion Equation Setup (Analog)This command sets up parameters to convert physical units
Revision Date: 08/02/02LabPro Technical Manual4Example 11: Command 8 Program...
Revision Date: 08/02/02LabPro Technical Manual40Return values: No information is returned.Example 1: Compensate motion detector for air temperature of
Revision Date: 08/02/02LabPro Technical Manual 41Command 5 Data ControlThis command selects the type of data to be retrieved, as well as the starting
Revision Date: 08/02/02LabPro Technical Manual42Computer Calculators{5,1,3,0,0}<CR> :Send({5,1,3,0,0})g<CR> :Get(L1)s{5,1,3,1,7}<CR>
Revision Date: 08/02/02LabPro Technical Manual 43In a terminal session, the host-LabPro conversation appears as follows:Host LabPros{0}s{1,1,14,0}s{3,
Revision Date: 08/02/02LabPro Technical Manual44Command 6 System SetupThis command can be used to turn sound on or off, set an ID number for LabPro, a
Revision Date: 08/02/02LabPro Technical Manual 45Command 7 Request System StatusThis command returns LabPro’s 17 status registers.Syntax: {7}Return va
Revision Date: 08/02/02LabPro Technical Manual46In a terminal session, the host-LabPro conversation appears as follows:Host LabPros{0}s{7} { +6.01120
Revision Date: 08/02/02LabPro Technical Manual 47Command 8 Request Channel StatusThis command is used during data collection to read the operation or
Revision Date: 08/02/02LabPro Technical Manual48Command 9 Request Channel DataThis command requests one data point before sampling starts. Used to ver
Revision Date: 08/02/02LabPro Technical Manual 49Command 10 Advanced Data ReductionThis command sets up LabPro to process certain time-intensive algor
Revision Date: 08/02/02LabPro Technical Manual 5About This ManualThis technical reference is intended for LabPro users who want to write their own pro
Revision Date: 08/02/02LabPro Technical Manual50Example 1: Determine the frequency of a periodic signal on analog channel 1 from a 5000 point block of
Revision Date: 08/02/02LabPro Technical Manual 51Command 12 Digital Data CaptureThis command sets up the capture of data from the digital input channe
Revision Date: 08/02/02LabPro Technical Manual525 Counts transitions on the D0 input line of the Digital input port. This mode is used when thefreque
Revision Date: 08/02/02LabPro Technical Manual 53s{12,42,1}<CR>s{3,10,2,0}<CR>s{12,41,0}<CR> { +2.00000E+00 }s{12,42,0}<CR> {
Revision Date: 08/02/02LabPro Technical Manual54This mode is designed to measure the widths of pulses in a continuous stream of pulses. The Sonic Time
Revision Date: 08/02/02LabPro Technical Manual 55To illustrate it’s use, LabPro will be programmed to count pulses for five, one-second intervals whil
Revision Date: 08/02/02LabPro Technical Manual56Command 102 Port Power Control CommandThis command controls how the LabPro powers the analog and DIG/S
Revision Date: 08/02/02LabPro Technical Manual 57Command 105 Baud Rate SelectionNew in firmware version 6.06200, this command controls the baud rate o
Revision Date: 08/02/02LabPro Technical Manual58Command 106 Motion Detector Undersample RateNew in firmware version 6.06227, this command controls the
Revision Date: 08/02/02LabPro Technical Manual 59Command 107 Oversampling BurstNew in firmware version 6.06227, this command controls the oversampling
Revision Date: 08/02/02LabPro Technical Manual6be used at a time. The GraphLink port is used almost exclusively with a TI Graphing calculator while th
Revision Date: 08/02/02LabPro Technical Manual60Command 115 Request Set-up InformationThis command is only used to request the setup information for t
Revision Date: 08/02/02LabPro Technical Manual 61Command 116 Request Long Sensor NameThis command returns the long sensor name in a format the calcula
Revision Date: 08/02/02LabPro Technical Manual62Command 117 Request Short Sensor NameThis command returns the short sensor name in a format the calcul
Revision Date: 08/02/02LabPro Technical Manual 63Command 119 Request Alternate CalibrationThis command returns the short sensor name in a format the c
Revision Date: 08/02/02LabPro Technical Manual64Command 201 Archive Operations CommandThis command allows the host to manage the contents of FLASH mem
Revision Date: 08/02/02LabPro Technical Manual 65operation Descriptionoperand 11operand 21relinfolist2(default = 1) (default = 0 {all})41Select progra
Revision Date: 08/02/02LabPro Technical Manual66• All data types are stored in LabPro directory in the same order in which they are received. LabProdo
Revision Date: 08/02/02LabPro Technical Manual 67Example 1: Saving and Restoring a Data Set to FLASH memoryIMPORTANT: Before performing any operation
Revision Date: 08/02/02LabPro Technical Manual68Command 401 Analog Output Setup This command sets up parameters to control the analog output driver in
Revision Date: 08/02/02LabPro Technical Manual 69 Syntax: {401, waveform, amplitude, offset, period}Parameter List: (note: all parameters are mandator
Revision Date: 08/02/02LabPro Technical Manual 7In order to clear all settings, send a reset, 0 command. This command clears data collection RAM, chan
Revision Date: 08/02/02LabPro Technical Manual70Command 1998 Set LED CommandThis command causes LabPro’s LEDs to turn on or off.Syntax: {1998, P1, P2}
Revision Date: 08/02/02LabPro Technical Manual 71Command 1999 Sound CommandThis command causes LabPro to vibrate its piezo speaker. The duration and f
Revision Date: 08/02/02LabPro Technical Manual72Command 2001 Direct Output to Digital-Out PortThis command outputs data to the digital output port dur
Revision Date: 08/02/02LabPro Technical Manual 73LabPro HardwareConnector PinoutsLabPro sensors use 6-pin British Telecom-style connectors. Pin-1 is a
Revision Date: 08/02/02LabPro Technical Manual74Technical Specifications for LabProGeneral SpecificationsPower Requirements 6VDC reg, 600mA or 4AA Alk
Revision Date: 08/02/02LabPro Technical Manual 75Analog Inputs (Cont.)DC ParametersIntegral Nonlinearity +/- 0.5 LSBDifferential Nonlinearity +/- 1 LS
Revision Date: 08/02/02LabPro Technical Manual76LabPro Sensor DetailsVoltage SensorThe voltage sensor is a generic sensor that you can use to read any
Revision Date: 08/02/02LabPro Technical Manual 77inside LabPro unit to convert current to voltage; this must be done in the external probe.3 Default u
Revision Date: 08/02/02LabPro Technical ManualA-1Appendix A: GlossaryThe following terms are used in LabPro documentation.Term Definitionaccuracy The
Revision Date: 08/02/02LabPro Technical Manual B-1Appendix B: Beeps, Lights and ErrorsBeep and Light SequencesLabPro makes use of three LED indicators
Revision Date: 08/02/02LabPro Technical Manual8• The communications with the host are turned off during sampling.Note: In FastMode sampling, it is ver
Revision Date: 08/02/02LabPro Technical ManualB-2• During base code download, three high-high beeps sound when any errors occur. (The unit resetsand t
Revision Date: 08/02/02LabPro Technical Manual B-3ErrorCode Error Causemode and 0, 7, 8, or 9 for real time data collection mode. This error resultsfr
Revision Date: 08/02/02LabPro Technical ManualB-4ErrorCode Error Cause55 The end-of-data selector must be 0 (for end of data) or 1 through thenumber o
Revision Date: 08/02/02LabPro Technical Manual B-5ErrorCode Error Causedata can be archived.88 This error results when an attempt is made to archive d
Revision Date: 08/02/02LabPro Technical Manual C-1Appendix C: DataMate Sensor Setup Default SettingsThe table that follows shows the default settings
Revision Date: 08/02/02LabPro Technical ManualC-2Sensor Name Short Name Y-Min Y-Max Sample Interval(in seconds)No. OfSamplesPressure (KPA) PRESS(KPA)0
Revision Date: 08/02/02LabPro Technical Manual C-3Sensor Name Short Name Y-Min Y-Max Sample Interval(in seconds)No. OfSamplesTI Light Sensor LIGHT 0 1
Revision Date: 08/02/02LabPro Technical ManualC-4Sensor Name Short Name Y-Min Y-Max Sample Interval(in seconds)No. OfSamplesBarometer (MMHG) BARO(MMHG
Revision Date: 08/02/02LabPro Technical Manual D-1Appendix D: Computer Programming ExamplesThese programs were created in Microsoft Visual Basic 6.0 t
Revision Date: 08/02/02LabPro Technical ManualD-2Private Sub Form_Load() your forms load eventLabPro.PortOpen = True opens the Comm portLabPro.Setting
Revision Date: 08/02/02LabPro Technical Manual 9TimebaseRegardless of which type of data collection is used, the user must set the data collection rat
Revision Date: 08/02/02LabPro Technical Manual D-3Private Sub Form_Load() your forms load eventLabPro.PortOpen = True opens the Comm portLabPro.Settin
Revision Date: 08/02/02LabPro Technical ManualD-4inputvalue = Mid(labpro.Input, 5, 4)Else REM the exponent is not zeroREM input value is equal to 4.
Revision Date: 08/02/02LabPro Technical Manual E-1Appendix E: Calculator Programming ExamplesAlthough you can create and edit your programs using the
Revision Date: 08/02/02LabPro Technical ManualE-2Example 4: Multiple Channels Non-Realtime Data CollectionReset LabPro. (This clears LabPro RAM.)Turn
Revision Date: 08/02/02LabPro Technical Manual E-3Take a sample every .1 second, 100 times.Retrieve temperature in Fahrenheit data to L2.Retrieve time
Revision Date: 08/02/02LabPro Technical ManualE-4ones for 0.3 seconds.Enter each note value in the list.Send each time and note to LabPro so that it c
Revision Date: 08/02/02LabPro Technical Manual E-5Divide the edges per sample by the sample time. This returns truefrequency (edges per second).Displa
Komentáře k této Příručce