882 Video Test Instrument User Guide (Rev. A.35)
179
sampseq.cpp
// Quantum Data ScriptSDK Demonstration Program
//~~~~~~~~~~~~~~~~~~~~~~~~~~~
#include <stdio.h>
#include <QDScriptContext.h>
//~~~~~~~~~~~~~~~~~~~~~
/*******************************************************************
* Script_sampseq
********************************************************************
This is a conversion of "Sample Sequence" from chapter 8 of the 881/882 User Guide.
This demonstrates how a sequence can be converted to an SDK script. Note that
arguments are not always the same as in the sequence XML files, as shown in the XVSG
conversions below.
In ScriptSDK, commands have the same syntax as if they were being entered at a
command prompt. For full details on command syntax, refer to the Command Reference
in Appendix A of the 881/882 User Guide available at:
http://www.quantumdata.com/downloads/index.asp
Note: Note: this script (and the sequence that it evolved from) expects you to have
previously selected a compatible interface, such as VGA or HDMI.
********************************************************************
* Usage:
Script_sampleseq( QDScriptContext& sc );
*
* Arguments:
* sc - the script context being executed on.
*******************************************************************/
bool Script_sampseq( QDScriptContext& sc )
{
//<?xml version="1.0" encoding="UTF-8" ?>
//<DATAOBJ>
//<HEADER TYPE="SEQ" VERSION="1.0" ></HEADER>
//<DATA>
//<MODE>STEP</MODE>
Summary of Contents for 881
Page 1: ...881 882 Video Test Instrument User Guide 882E for HDMI ...
Page 12: ...10 Contents ...
Page 50: ...38 Chapter 1 Getting Started ...
Page 84: ...72 Chapter 2 Testing Video Displays ...
Page 99: ...882 Video Test Instrument User Guide Rev A 35 87 ...
Page 102: ...90 Chapter 3 Administrative Tasks ...
Page 107: ...882 Video Test Instrument User Guide Rev A 35 95 ...
Page 216: ...204 Chapter 5 Working with Formats ...
Page 248: ...236 Chapter 7 Working with Images ...
Page 264: ...252 Chapter 8 Working with Test Sequences ...
Page 382: ...40 Chapter 11 Testing EDID for HDMI 2 Expand the EDID Block in the navigation view ...
Page 446: ...104 Chapter 12 CEC Interactive Troubleshooting Environment ITE ...
Page 493: ...882 Video Test Instrument User Guide Rev A 35 151 ...
Page 591: ...882 Video Test Instrument User Guide Rev A 35 213 Commands by name ...
Page 687: ...882 Video Test Instrument User Guide Rev A 35 309 Example DVIC 23 FMTU ...
Page 1018: ...580 Appendix B Image Reference The EMITest5 image is shown below ...
Page 1094: ...656 Appendix B Image Reference ...
Page 1124: ...686 Appendix C Error Messages ...
Page 1140: ...702 Appendix D Format Reference ...