C.3 Debugging and Profiling Your Code.............................................................374
C.3.1 Monitoring Opcode/Data Activity: -exposeIO..................................374
C.3.2 Showing Live Acquired Pulse Information: -showAQ......................... 375
C.3.3 Showing Coherent Processing Intervals: -showCPIs........................376
C.3.4 Showing RealTime Callback Timers: -showRTCtrl.......................... 377
C.3.5 Using ddd on Main and Proc Code..................................................... 379
C.3.6 Finding Memory Leaks with valgrind...............................................380
C.3.7
Profiling with gprof................................................................................ 381
C.4 Creating New Major Modes from Old Ones.................................................382
C.4.1 Function Pointers for Customization.....................................................383
C.5 Real-Time Control of RVP..............................................................................384
C.5.1 Using Programmable Callback Timers.................................................. 384
C.5.2 Standard Trigger and Antenna Event Example....................................385
C.6 Using the Intel IPP Library.............................................................................386
Appendix D: Time Series Recording...............................................................389
D.1 Time Series Overview.................................................................................... 389
D.2 TS Record and Playback Software Architecture.........................................389
D.3 Using RVP TimeSeries API..............................................................................391
D.3.1 Reader and Writer Clients........................................................................391
D.3.2 Attach and Detach Details...................................................................... 392
D.3.3 Extracting Pulses with Sequence Numbers..........................................392
D.3.4 Using Memory Bandwidth
Eectively...................................................392
D.4 Installing and Configuring TS Recording.....................................................393
D.4.1 Required Software for TS Recording.....................................................393
D.4.2 Configuring UDP Ports for TS Recording..............................................393
D.4.3 Configuring Automatic Startup of tsimport and tsexport..................394
D.4.4 Configuring Network Buering for tsimport........................................394
D.4.5 Running tsimport and tsexport from the Command Line...................395
D.5 TS Switch Utility..............................................................................................395
D.6 TS Archive Utility............................................................................................ 396
D.7 Software Application Examples.................................................................. 400
D.7.1 RVP900 in Normal Real-Time Operation...............................................401
D.7.2 TS Recording on a Local RVP900......................................................... 402
D.7.3 TS Recording on Separate Archive Host...............................................402
D.7.4 TS Playback on a Local RVP900........................................................... 404
D.7.5 TS Playback from a Separate Archive Host to an RVP900................ 405
D.7.6 TS Archive Recording Quick Guide....................................................... 406
D.7.7 TS Archive Playback Quick Guide......................................................... 406
D.8 Ascope Playback Features............................................................................406
D.8.1 Archive on Local RVP900...................................................................... 408
D.8.2 Archive on Separate Archive Host.........................................................408
D.9 TS Playback Using IRIS..................................................................................408
D.10 TS View Utility................................................................................................ 409
D.10.1 Starting tsview.......................................................................................... 410
D.10.2 Starting tsview Sample Session..............................................................410
D.10.3 Tsview Command Line Options................................................................411
D.11 TS Record Data Format.................................................................................. 413
Appendix E:
Serial Status Formats.................................................................. 417
Appendix F: Softplane.conf............................................................................... 423
F.1 Configuring the softplane.conf File.................................................... 423
F.2 Softplane.conf Organization and Syntax............................................423
F.3 Testing, Backup, and Calibration.................................................................. 427
RVP900 User Guide M211322EN-J
6