EasyManua.ls Logo

Quantum Data 881 - Page 557

Quantum Data 881
1144 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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>

Table of Contents

Related product manuals