882 Video Test Instrument User Guide (Rev. A.35)
189
timinglog.cpp
This example demonstrates the ability to output data to a file. It uses the new functions
related to file output: fopen(); fclose(); fprint().
#include <stdio.h>
#include <QDScriptContext.h>
extern int fopen();
extern int fclose();
extern int fprintf();
// set up delay between timing measurements as 5000 milliseconds
UINT32 delay = 5000;
bool Script_timinglog( QDScriptContext& sc )
{
INT32 num = 1;
// open a text file to write to
FILE* outfile = fopen("/card0/timing_log.txt","w");
fprintf( outfile, "Start of timing analyzer log\n\n" );
fprintf( outfile, "Delay between timing measurements: %d milliseconds\n", delay );
sc.Exec("DATE?");
fprintf( outfile, "Measurement start date and time: %s, ", sc.GetResponse());
sc.Exec("TIME?");
fprintf( outfile, "%s\n\n", sc.GetResponse());
fprintf( outfile,
"Number\tSCAN\tPRAT\t\t\tHRAT\tVRAT\t\tHTOT\tHRES\tHSPD\tHSPW\tHSPP\tVTOT\tV
RES\tVSPD\tVSPW\tVSPP\tHVPD\n" );
fprintf( outfile,
"====\t====\t====\t====\t====\t====\t====\t====\t====\t====\t====\t====\t====\n" );
// infinite loop until you press Stop on top right
while (true)
Содержание 881
Страница 1: ...881 882 Video Test Instrument User Guide 882E for HDMI ...
Страница 12: ...10 Contents ...
Страница 50: ...38 Chapter 1 Getting Started ...
Страница 84: ...72 Chapter 2 Testing Video Displays ...
Страница 99: ...882 Video Test Instrument User Guide Rev A 35 87 ...
Страница 102: ...90 Chapter 3 Administrative Tasks ...
Страница 107: ...882 Video Test Instrument User Guide Rev A 35 95 ...
Страница 108: ...96 Chapter 3 Administrative Tasks 13 Power cycle the generator and it will boot the upgraded firmware ...
Страница 216: ...204 Chapter 5 Working with Formats ...
Страница 248: ...236 Chapter 7 Working with Images ...
Страница 264: ...252 Chapter 8 Working with Test Sequences ...
Страница 342: ...330 Chapter 10 Testing Lipsync 9 Navigate to your PC and double click on the report A sample is shown below ...
Страница 382: ...40 Chapter 11 Testing EDID for HDMI 2 Expand the EDID Block in the navigation view ...
Страница 388: ...46 Chapter 11 Testing EDID for HDMI d Click the OK button to save the data block that you added ...
Страница 446: ...104 Chapter 12 CEC Interactive Troubleshooting Environment ITE ...
Страница 493: ...882 Video Test Instrument User Guide Rev A 35 151 ...
Страница 494: ...152 Chapter 13 Testing HDCP on HDMI The following is an example of a report for the HDCP compliance test for a repeater ...
Страница 591: ...882 Video Test Instrument User Guide Rev A 35 213 Commands by name ...
Страница 649: ...882 Video Test Instrument User Guide Rev A 35 271 Related commands DCPX OUT1 DCPX OUT2 DCPX AV DCPX VGA DCPX ...
Страница 678: ...300 Appendix A Command Reference Example 7 Turn audio off DPTG 3 DPGU Example 8 Turn audio on DPTG 7 DPGU ...
Страница 687: ...882 Video Test Instrument User Guide Rev A 35 309 Example DVIC 23 FMTU ...
Страница 989: ...882 Video Test Instrument User Guide Rev A 35 551 B Image Reference Topics in this appendix Standard image descriptions ...
Страница 990: ...552 Appendix B Image Reference Standard image descriptions 3DCRTK Description Test image for testing 3D crosstalk ...
Страница 991: ...882 Video Test Instrument User Guide Rev A 35 553 3DCUBES Description Test image for testing 3D motion ...
Страница 1018: ...580 Appendix B Image Reference The EMITest5 image is shown below ...
Страница 1042: ...604 Appendix B Image Reference Imex1 Description InFocus1 Description Special test image developed per customer specifications ...
Страница 1094: ...656 Appendix B Image Reference ...
Страница 1095: ...882 Video Test Instrument User Guide Rev A 35 657 C Error Messages Topics in this appendix Error code descriptions ...
Страница 1124: ...686 Appendix C Error Messages ...
Страница 1140: ...702 Appendix D Format Reference ...