beautypg.com

FieldServer Data Aire (DAP) FS-8704-49 User Manual

Page 11

background image

F

S

-8

7

0

0

-4

9

_

D

a

ta

_

A

ir

e

_

D

A

P

P

a

g

e

1

1

o

f

4

8

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

-2

2

6

9

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

@

F

ie

ld

S

e

rv

e

r.

c

o

m

4

.4

.4

.

M

a

p

D

e

s

c

ri

p

to

r

E

x

a

m

p

le

1

-

E

v

e

ry

th

in

g

T

h

e

F

ie

ld

S

e

rv

e

r

lis

te

n

s

p

a

s

s

iv

e

ly

f

o

r

a

ll

p

o

s

s

ib

le

d

a

ta

f

ro

m

t

h

e

d

e

v

ic

e

c

a

lle

d

u

n

it

1

a

n

d

s

to

re

s

t

h

e

d

a

ta

i

n

a

n

a

rr

a

y

c

a

lle

d

D

A

_

0

1

’.

T

h

e

d

a

ta

t

h

a

t

is

o

b

ta

in

e

d

f

ro

m

u

n

it

1

is

d

e

p

e

n

d

e

n

t

o

n

t

h

e

t

y

p

e

o

f

d

e

v

ic

e

.

I

rr

e

s

p

e

c

ti

v

e

o

f

th

e

d

e

v

ic

e

t

y

p

e

t

h

e

a

rr

a

n

g

e

m

e

n

t

o

f

d

a

ta

,

s

to

re

d

i

n

D

A

_

0

1

,

is

f

ix

e

d

.

I

f

a

d

a

ta

f

ie

ld

c

a

n

n

o

t

b

e

o

b

ta

in

e

d

f

ro

m

u

n

it

1

th

e

n

t

h

e

a

rr

a

y

i

s

l

e

ft

w

it

h

a

z

e

ro

v

a

lu

e

f

o

r

th

a

t

d

a

ta

f

ie

ld

.

//

C

lie

n

t

S

id

e

M

a

p

D

e

s

c

ri

p

to

rs

M

a

p

D

e

s

c

ri

p

to

rs

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

,

A

d

d

re

s

s

,

L

e

n

g

th

,

D

A

_

F

u

n

c

,

S

c

a

n

_

In

te

rv

a

l

R

e

a

d

_

N

o

d

e

_

0

1

,

D

A

_

0

1

,

0

,

R

D

B

C

,

U

n

it

1

,

0

,

1

3

0

0

,

E

v

e

ry

th

in

g

,

2

.5

s

4

.4

.5

.

M

a

p

D

e

s

c

ri

p

to

r:

E

x

a

m

p

le

2

W

ri

ti

n

g

a

S

e

t-

P

o

in

t.

//

C

lie

n

t

S

id

e

M

a

p

D

e

s

c

ri

p

to

rs

M

a

p

D

e

s

c

ri

p

to

rs

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

,

A

d

d

re

s

s

L

e

n

g

th

,

D

A

_

F

ie

ld

,

S

c

a

n

_

In

te

rv

a

l

W

ri

te

_

S

P

_

0

1

,

D

A

_

S

E

T

P

O

IN

T

S

,

0

,

W

R

B

C

,

U

n

it

1

,

0

,

1

,

n

o

m

_

h

_

s

e

tp

t,

1

2

0

s

It

i

s

r

e

c

o

m

m

e

n

d

e

d

th

a

t

th

e

f

o

rm

a

t

o

f

th

e

D

a

ta

A

rr

a

y

b

e

F

L

O

A

T

a

s

t

h

e

d

a

ta

re

a

d

f

ro

m

t

h

e

u

n

it

c

o

n

s

is

ts

o

f

b

it

s

,

b

y

te

s

a

n

d

r

e

a

l

n

u

m

b

e

rs

.

T

h

e

n

o

d

e

n

a

m

e

c

o

n

n

e

c

ts

t

h

e

M

a

p

D

e

s

c

ri

p

to

r

to

a

n

o

d

e

d

e

fi

n

it

io

n

w

h

ic

h

i

n

tu

rn

i

s

c

o

n

n

e

c

te

d

t

o

a

p

o

rt

.

A

lw

a

y

s

s

e

t

th

e

A

d

d

re

s

s

to

z

e

ro

a

n

d

t

h

e

l

e

n

g

th

t

o

1

3

0

0

a

s

t

h

is

i

s

t

h

e

m

a

x

n

u

m

b

e

r

o

f

d

a

ta

p

o

in

ts

th

a

t

c

a

n

b

e

r

e

a

d

T

e

lls

t

h

e

d

ri

v

e

r

th

a

t

th

is

M

a

p

D

e

s

c

ri

p

to

r

is

u

s

e

d

t

o

(

p

o

ll

&

)

s

to

re

a

c

o

m

p

le

te

d

a

ta

s

e

t

fr

o

m

th

e

u

n

it

.

T

h

e

s

c

a

n

i

n

te

rv

a

l

is

u

s

e

d

t

o

c

o

n

tr

o

l

th

e

m

in

im

u

m

t

im

e

b

e

tw

e

e

n

p

o

ll

m

e

s

s

a

g

e

s

.

It

m

a

y

t

a

k

e

s

e

v

e

ra

l

p

o

lls

/

m

e

s

s

a

g

e

s

t

o

o

b

ta

in

a

c

o

m

p

le

te

d

a

ta

s

e

t

(t

h

e

n

u

m

b

e

r

is

d

e

p

e

n

d

e

n

t

o

n

t

h

e

u

n

it

t

y

p

e

.)

T

h

e

s

e

tp

o

in

t

is

o

b

ta

in

e

d

f

ro

m

th

is

D

a

ta

A

rr

a

y

.

A

lw

a

y

s

l

e

a

v

e

t

h

e

a

d

d

re

s

s

s

e

t

to

z

e

ro

a

n

d

t

h

e

l

e

n

g

th

a

s

o

n

e

.

S

e

le

c

t

th

e

d

a

ta

f

ie

ld

f

ro

m

A

p

p

e

n

d

ix

B

.3

.

E

n

s

u

re

t

h

a

t

th

e

k

e

y

w

o

rd

c

a

n

b

e

w

ri

tt

e

n

t

o

t

h

e

u

n

it

t

y

p

e

i

d

e

n

ti

fi

e

d

a

s

u

n

it

1

.

E

x

a

m

p

le

.

If

u

n

it

1

i

s

a

C

h

ill

e

r

th

e

n

t

h

e

a

b

o

v

e

M

a

p

D

e

s

c

ri

p

to

r

w

ill

n

o

t

fu

n

c

ti

o

n

c

o

rr

e

c

tl

y

a

s

i

t

c

a

n

o

n

ly

b

e

u

s

e

d

t

o

w

ri

te

t

o

u

n

it

t

y

p

e

s

7

,9

,1

4

,1

5

.

T

h

is

i

s

h

o

w

o

ft

e

n

t

h

e

d

a

ta

w

ill

b

e

w

ri

tt

e

n

t

o

th

e

d

e

v

ic

e

.

R

e

d

u

c

e

t

h

e

s

c

a

n

i

n

te

rv

a

l

w

h

e

n

u

s

in

g

a

d

a

rt

.

T

h

e

d

a

rt

w

ill

o

n

ly

t

a

k

e

c

o

n

tr

o

l

o

f

th

e

d

e

v

ic

e

s

w

h

e

n

t

h

e

n

e

tw

o

rk

h

a

s

b

e

e

n

id

le

f

o

r

a

t

le

a

s

t

5

0

s

e

c

o

n

d

s

.

I

f

p

o

lls

a

re

g

e

n

e

ra

te

d

t

o

o

o

ft

e

n

,

th

e

d

a

rt

w

ill

n

e

v

e

r

e

x

e

rc

is

e

c

o

n

tr

o

l.