VXI VT1433B manual Running a demo program: semascope.c

Models: VT1433B

1 203
Download 203 pages 12.71 Kb
Page 36
Image 36
Running a demo program: semascope.c

VT1433B User's Guide

Getting Started With the VT1433B

Running a demo program: semascope.c

To run this program, type:/opt/e1432/demo/semascope. This program displays the time records for 32 channels (when hooked up to two VT1433B modules with 16 channels each). The channel that is active for changing the display is highlighted. To exit, double-click the horizontal bar symbol in the upper left corner of the window.

To see a list of parameters for semascope, type:

semascope -u

To specify a parameter, type its letter code after “semascope” on the command line.

The source code for this program is at:

/opt/e1432/demo/semascope.c

Use a text viewer or editor (such as the “more” utility in UNIX) to list the source code for semaphore.c. Examine the code to learn more about how this example program works.

2-18

Page 36
Image 36
VXI VT1433B manual Running a demo program: semascope.c