beautypg.com

FieldServer Carrier DataLink FS-8700-82 User Manual

Page 11

background image

F

S

-8

7

0

0

-8

2

C

a

rr

ie

r

D

a

ta

L

in

k

P

a

g

e

1

1

o

f

3

1

F

ie

ld

S

e

rv

e

r

T

e

c

h

n

o

lo

g

ie

s

1

9

9

1

T

a

ro

b

C

o

u

rt

M

ilp

it

a

s

,

C

a

lif

o

rn

ia

9

5

0

3

5

U

S

A

W

e

b

:w

w

w

.f

ie

ld

s

e

rv

e

r.

c

o

m

T

e

l:

(

4

0

8

)

2

6

2

-2

2

9

9

F

a

x

:

(4

0

8

)

2

6

2

-9

0

4

2

T

o

ll

_

F

re

e

:

8

8

8

-5

0

9

-1

9

7

0

e

m

a

il

:

s

u

p

p

o

rt

@

fi

e

ld

s

e

rv

e

r.

c

o

m

4

.4

.5

.

M

a

p

D

e

s

c

ri

p

to

r

E

x

a

m

p

le

2

R

e

a

d

a

V

a

ri

a

b

le

T

h

is

e

x

a

m

p

le

i

llu

s

tr

a

te

s

h

o

w

t

o

r

e

a

d

s

in

g

le

v

a

ri

a

b

le

s

f

ro

m

a

C

a

rr

ie

r

D

e

v

ic

e

.

A

M

a

p

D

e

s

c

ri

p

to

r

n

e

e

d

s

t

o

b

e

d

e

fi

n

e

d

f

o

r

e

a

c

h

v

a

ri

a

b

le

.

R

e

a

d

in

g

v

a

ri

a

b

le

s

i

s

e

ff

e

c

ti

v

e

f

o

r

re

a

d

in

g

a

l

im

it

e

d

s

e

t

o

f

v

a

ri

a

b

le

s

f

ro

m

a

t

a

b

le

(s

).

S

c

a

lin

g

c

a

n

b

e

a

p

p

lie

d

w

h

e

n

t

h

e

d

ri

v

e

r

s

to

re

s

t

h

e

v

a

lu

e

b

y

u

s

in

g

t

h

e

a

d

d

it

io

n

a

l

p

a

ra

m

e

te

rs

:

D

a

ta

_

A

rr

a

y

_

L

o

w

_

S

c

a

le

,

D

a

ta

_

A

rr

a

y

_

H

ig

h

_

S

c

a

le

,

D

e

v

ic

e

_

L

o

w

_

S

c

a

le

,

D

e

v

ic

e

_

H

ig

h

_

S

c

a

le

M

a

p

_

D

e

s

c

ri

p

to

r_

N

a

m

e

,

D

a

ta

_

A

rr

a

y

_

N

a

m

e

,

D

a

ta

_

A

rr

a

y

_

O

ff

s

e

t,

F

u

n

c

ti

o

n

,

N

o

d

e

_

N

a

m

e

,

L

e

n

g

th

,

S

c

a

n

_

In

te

rv

a

l,

T

a

b

le

_

N

a

m

e

,

F

ie

ld

_

N

a

m

e

R

e

a

d

_

T

e

m

p

s

_

M

d

1

,

D

A

_

T

E

M

P

S

,

0

,

rd

b

c

,

F

A

N

0

1

,

1

,

5

.0

s

,

D

IS

P

L

A

Y

,

R

A

T

R

e

a

d

_

T

e

m

p

s

_

M

d

2

,

D

A

_

T

E

M

P

S

,

1

,

rd

b

c

,

F

A

N

0

1

,

1

,

5

.0

s

,

D

IS

P

L

A

Y

,

S

A

T

4

.4

.6

.

M

a

p

D

e

s

c

ri

p

to

r

E

x

a

m

p

le

3

W

ri

te

A

V

a

ri

a

b

le

T

h

is

e

x

a

m

p

le

i

llu

s

tr

a

te

s

h

o

w

t

o

f

o

rc

e

a

v

a

ri

a

b

le

.

A

lw

a

y

s

s

e

t

th

e

l

e

n

g

th

t

o

1

f

o

r

a

w

ri

te

.

I

f

th

e

v

a

ri

a

b

le

c

a

n

n

o

t

b

e

w

ri

tt

e

n

t

h

e

n

a

n

e

rr

o

r

w

ill

b

e

r

e

p

o

rt

e

d

.

I

n

t

h

is

e

x

a

m

p

le

t

h

e

v

a

ri

a

b

le

b

e

in

g

w

ri

tt

e

n

i

s

c

a

lle

d

F

A

N

’.

It

c

a

n

b

e

s

e

t

o

n

/o

ff

b

e

c

a

u

s

e

i

s

a

d

is

c

re

te

p

o

in

t.

M

a

p

_

D

e

s

c

ri

p

to

r_

N

a

m

e

,

D

a

ta

_

A

rr

a

y

_

N

a

m

e

,

D

a

ta

_

A

rr

a

y

_

O

ff

s

e

t,

F

u

n

c

ti

o

n

,

N

o

d

e

_

N

a

m

e

,

L

e

n

g

th

,

S

c

a

n

_

In

te

rv

a

l,

T

a

b

le

_

N

a

m

e

,

F

ie

ld

_

N

a

m

e

W

ri

te

_

M

d

1

,

D

A

_

D

IS

P

L

A

Y

,

0

,

w

rb

c

,

F

A

N

0

1

,

1

,

5

.0

s

,

D

IS

P

L

A

Y

,

F

A

N

A

s

w

e

a

re

u

s

in

g

t

h

e

s

a

m

e

d

a

ta

a

rr

a

y

f

o

r

b

o

th

v

a

ri

a

b

le

s

,

w

e

c

h

a

n

g

e

t

h

e

o

ff

s

e

t.

T

h

e

R

A

T

te

m

p

e

ra

tu

re

w

ill

b

e

s

to

re

d

a

t

in

d

e

x

0

(

fi

rs

t

e

le

m

e

n

t)

,

th

e

S

A

T

t

e

m

p

e

ra

tu

re

w

ill

b

e

s

to

re

d

a

t

in

d

e

x

1

(2

n

d

e

le

m

e

n

t

o

f

a

rr

a

y

).

If

t

h

e

f

ir

s

t

e

le

m

e

n

t

o

f

th

is

a

rr

a

y

i

s

s

e

t

to

1

,

th

e

f

a

n

w

ill

b

e

s

e

t

O

N

;

if

s

e

t

to

z

e

ro

t

h

e

f

a

n

w

il

l

b

e

s

e

t

O

F

F

.

T

h

e

p

n

e

u

m

o

n

ic

v

a

ri

a

b

le

n

a

m

e

.

S

p

a

c

e

T

e

m

p

e

ra

tu

re

-4

0

.0

d

F

R

A

T

S

u

p

p

ly

A

ir

T

e

m

p

e

ra

tu

re

-4

0

.0

d

F

S

A

T

T

h

e

v

a

ri

a

b

le

n

a

m

e

s

a

re

s

u

p

p

li

e

d

b

y

t

h

e

C

a

rr

ie

r

C

o

rp

o

ra

ti

o

n

.

R

e

fe

r

to

A

p

p

e

n

d

ix

A

.2

f

o

r

a

s

s

is

ta

n

c

e

i

n

d

e

te

rm

in

in

g

v

e

rs

io

n

n

a

m

e

s

.

T

a

k

e

c

a

re

t

o

s

p

e

c

if

y

v

a

ri

a

b

le

s

th

a

t

c

a

n

b

e

f

o

rc

e

d

.

T

h

is

f

u

n

c

ti

o

n

e

n

s

u

re

s

t

h

a

t

th

e

d

ri

v

e

r

w

ri

te

s

t

h

e

S

e

tp

o

in

t

to

t

h

e

d

e

v

ic

e

c

o

n

ti

n

u

o

u

s

ly

(

e

v

e

ry

5

s

e

c

o

n

d

s

i

n

t

h

is

e

x

a

m

p

le

.)

U

s

e

W

R

B

X

t

o

g

e

n

e

ra

te

a

w

ri

te

m

e

s

s

a

g

e

e

a

c

h

t

im

e

t

h

e

v

a

lu

e

i

n

th

e

a

rr

a

y

i

s

u

p

d

a

te

d

.