beautypg.com

Vernier LabPro User Manual

Page 2

background image

Revision Date: 08/02/02

LabPro Technical Manual

2

Incorporated, with permission of the publisher.

Contents

ABOUT THIS MANUAL.............................................................................................................................5

INTRODUCTION.........................................................................................................................................5

PROGRAMMING LABPRO ......................................................................................................................6

PROGRAM STRUCTURE ..........................................................................................................................6

I

NITIALIZATION

............................................................................................................................................6

C

HANNEL

A

CTIVATION

.................................................................................................................................7

DATA COLLECTION MODES..................................................................................................................7

Data Collection Mode Comparison Table.............................................................................................8

T

IMEBASE

....................................................................................................................................................9

D

ATA

R

ETRIEVAL

.........................................................................................................................................9

MISCELLANEOUS REFERENCE INFORMATION .............................................................................9

L

AB

P

RO

S

OFTWARE

U

PGRADES

...................................................................................................................9

A

RCHIVING IN

L

AB

P

RO

S

FLASH M

EMORY

................................................................................................9

T

YPICAL

P

ROGRAM

I

MPLEMENTATIONS

.....................................................................................................10

Analog Data Collection ........................................................................................................................10
Analog RT Data Collection...................................................................................................................12
Motion Detector Data Collection .........................................................................................................13
Monitoring Inputs During NRT ............................................................................................................13
Monitoring Inputs without Data Collection .........................................................................................13
Interrupting Data Collection ................................................................................................................13
Keeping Power on During Analog Data Collection .............................................................................14
Digital Data Collection ........................................................................................................................14
Digital Outputs .....................................................................................................................................18

C

OMPUTER

P

ROGRAMMING

........................................................................................................................21

Basic communications ..........................................................................................................................21
Data Formats ........................................................................................................................................21
Serial Port Communication Details......................................................................................................22
USB Communication Details ................................................................................................................22

C

OMMUNICATIONS

S

PEED

L

IMITATIONS

.....................................................................................................23

C

ALCULATOR

P

ROGRAMMING

....................................................................................................................24

Basic Communication ...........................................................................................................................24
Retrieving Data.....................................................................................................................................25
Data Control .........................................................................................................................................26
Calculator Limitations..........................................................................................................................27

LABPRO COMMAND SUMMARY ........................................................................................................28

C

OMMAND

1

C

HANNEL

S

ETUP

.................................................................................................................31

C

OMMAND

3

D

ATA

C

OLLECTION

S

ETUP

..................................................................................................35

C

OMMAND

4

C

ONVERSION

E

QUATION

S

ETUP

(A

NALOG

).........................................................................39

C

OMMAND

5

D

ATA

C

ONTROL

..................................................................................................................41

C

OMMAND

6

S

YSTEM

S

ETUP

...................................................................................................................44

C

OMMAND

7

R

EQUEST

S

YSTEM

S

TATUS

..................................................................................................45

C

OMMAND

8

R

EQUEST

C

HANNEL

S

TATUS

...............................................................................................47

C

OMMAND

9

R

EQUEST

C

HANNEL

D

ATA

..................................................................................................48