Remote Control
MTD200 MPEG Test Decoder User Manual
5–69
This example illustrates a routine in which the connection to the MTD200 is
made, the MTD200 signal is input, and the presence of a transport stream is
checked. Then two routines are provided to read out error statistics (mode
MONITORING) and transport stream data (mode DUMP).
int main(int argc, char *argv[])
{
#define SETTLING 400 /* settling time = 10 * 40 ms = 400 ms*/
int port;
char answer[256];
/* Preparations... */
clrscr();
/* open port COM1 */
port = v24open("COM1");
/* set protocol for COM1: 9600 baud, 8 data bits, no paritiy, 1
stop bit */
v24setparams(port, 9600, 8, N, 1);
/* select handshake: RTS/CTS */
v24sethandshake(port, V24RTSCTS);
/* set default-timeout: maximum time to wait for a character
from COM1 = 1 s */
v24settimeout(port, 18);
/* reserve 10 K bytes of receive buffer for COM1*/
v24setbuffer(port, RCV, 1024 * 10);
/* clear receive buffer */
v24flush(port, RCV);
/* Adjust the DVMD... */
/* set */
v24puts(port, "disp:osd:on");
/* set */
v24puts(port, "syst:disp:cont stat");
/* close port COM1 */
v24close(port);
return(0); /* return ERRORLEVEL 0 */
} /* main */
Example 1
Summary of Contents for MTD200
Page 1: ...User Manual MTD200 MPEG Test Decoder 070 9951 00...
Page 4: ......
Page 15: ......
Page 29: ...Introduction to Digital TV Transmission Technique 1 14 MTD200 MPEG Test Decoder User Manual...
Page 30: ......
Page 51: ......
Page 62: ......
Page 97: ......
Page 167: ...Remote Control 5 70 MTD200 MPEG Test Decoder User Manual...
Page 168: ......
Page 174: ...Maintenance and Checking 6 6 MTD200 MPEG Test Decoder User Manual...
Page 175: ......
Page 194: ......
Page 204: ...Glossary Glossary 10 MTD200 MPEG Test Decoder User Manual...
Page 205: ......
Page 209: ...Index Index 4 MTD200 MPEG Test Decoder User Manual...
Page 210: ......
Page 211: ......