CMG-DCM

character, \n = newline, \r = carriage return, \a = bell, etc.) You can use \r to issue several commands to the digitizer in one session, since the carriage return will cause the digitizer to act on the previous command.

Passing the -roption causes the digitizer to reboot automatically once the command is completed. This is useful if you are using gcli to change the configuration of the digitizer, since many options require a restart for any changes to take effect.

If you need an interactive session with the digitizer, you can use the Linux terminal program minicom, which has been configured specially to cooperate with the DCM's various serial services. You can open a session with a digitizer by issuing the command

minicom -n port-number

If the port you specify is set to gcf_in, the DCM will automatically interrupt the data flow from the digitizer to allow you to enter commands.

When you have finished your session, press CTRL-athen q. minicom will ask you if you want to quit without resetting the connection. Choose yes to return the digitizer to data mode.

6.4 Monitoring

Data flow

You can check that the DCM is receiving data either by monitoring the

Summary page of the on-board Web interface (see Section 5.7, “Summary”), or from a command prompt using the command gnblocks:

Key 0x007000: Blocks

0

(Port

0, name Data out port,

device /dev/ttySA0, baud 115200)

(Port

1, name Port B, device

Key 0x007001: Blocks

0

/dev/ttySA1, baud 9600)

149

(Port

2, name Port A, device

Key 0x007002: Blocks

/dev/ttySA2, baud 38400)

 

 

 

This command shows, for each port:

the Key number (in hexadecimal) of the process on that port which deals with incoming blocks,

the number of blocks received by that process,

the internal port number of the port,

the name you have assigned to it,

88

Issue A

Page 88
Image 88
Minicom Advanced Systems CMG-DCM manual Monitoring, Data flow