Running the test application would typically produce this kind of output:
Administrator name set to /dr/dvn
Test point counter will be used
Test block length set to 6 bytes
Successfully connected dvn_test to /dr/dvn
A) Testing command interface.
Administrator commands available:
(apropos AI AO DI DO add address analog apropos aproposPnts
aproposSyntax attachNS bufferActiveLength cardCmd cardDescribe
cardEnable cardGet cardGroup cardInit cardPoll cardProfile cardSet
cardStatus cardSwapByteOrder cardVersion cycle cycleModify datahub
debug define defineStatusPoint describeDevices describePnt
describePntAddr deviceStatus digital disable enable errorDescription
exit group heartbeat include license point port read readable remove
segmentDefine segmentDescribe schedParms taskdied taskstarted ticksize
type typeDesc version vocab vocabDesc vocabEval writable write)
B) Testing Point Interface
Listing points available:
Pnt: volumeLeft (real) = 15.384381
Pnt: volumeRight (real) = 20.731223
Pnt: meterLeft (real) = 0.000000
Pnt: meterRight (real) = 3.125706
Pnt: thumbwheel (bit) = 1
Pnt: pushon_pushoff (bit) = 0
Pnt: pushbutton (bit) = 0
Pnt: sonalertFault (bit) = 0
Pnt: counterFault (bit) = 0
Pnt: Buttons (bit) = 0
Pnt: DI-Byte (bit) = 1
Pnt: GreenLight1 (bit) = 0
Pnt: GreenLight2 (bit) = 0
Pnt: RedLight1 (bit) = 0
Pnt: RedLight2 (bit) = 0
Pnt: RedLight3 (bit) = 0
Pnt: RedLight4 (bit) = 0
Pnt: sonalert (bit) = 0
Pnt: counter (bit) = 0
Pnt: DO-Byte (0) = 25B70000
Pnt: SonCnt (bit) = 0
Error: dingroup value not available
Error: agroup value not available
Error: doutgroup value not available
Describing point counter:
Point counter: type 5, RW, addr: 0:2.8
Maps to: device 0, buffer 0, offset: 2, bit: 8
Activating counter
Deactivating counter
C) Testing Block interface.
Device 0 has 6 buffers with the following sizes:
Buffer 0: 4096 bytes.
Buffer 1: 4096 bytes.
Buffer 2: 0 bytes.
Buffer 3: 0 bytes.
Buffer 4: 0 bytes.
Buffer 5: 3 bytes.
Buffer 0 has not defined any segments.
Buffer 1 has not defined any segments.
Buffer 2 has not defined any segments.
Buffer 3 has not defined any segments.
Buffer 4 has not defined any segments.
Buffer 5 has not defined any segments.
Reading input block: device 0, buffer 1, offset 0, length 6 bytes
|0000: B113 891A 0100
Reading output block: device 0, buffer 0, offset 0, length 6 bytes
|0000: 0000 0228 0000
Writing to output block: device 0, buffer 0, offset 0, length 6 bytes
incrementing word at block offset 0x00 in steps of 100)(At this point the system prints outputs from +00100 6400 0228 0000 through +10100 7427 0228 0000.)
cycling bit through byte at block byte offset 0x04.
(At this point the system prints outputs from 0001 0000 0228 0100 through 0100 0000 0228 0000.)
D) Testing Control & Status interface.
Reading Status:
CAN status: 0x9209
CAN_ONLINE
CAN_ACTIVITY
CAN_BUSPOWER
CAN_ONLINE125
CAN_SCANACTIVE
CAN transmit counter: 56530
CAN ACK error counter: 0
CAN receive counter: 56528
CAN error counter: 0
CAN msgs lost counter: 0
CAN RcvQ overrun counter: 0
Client status: ACTIVE
Server status: IDLE
Device 2 status: SCANNED
E) Testing Direct interface: toggle test point.
Toggle bit of counter at 0:0:2:8Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.