Quantum Data 881 User Manual page 557

Hide thumbs Also See for 881:
Table of Contents

Advertisement

sampseq.cpp
882 Video Test Instrument User Guide (Rev. A.35)
// 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>
179

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 881 and is the answer not in the manual?

This manual is also suitable for:

882

Table of Contents