Quantum Data 881 User Manual page 529

Video test instrument
Hide thumbs Also See for 881:
Table of Contents

Advertisement

sampseq.cpp
882 Video Test Instrument User Guide (Rev. A.35)
This example delays and does nothing except waits to be cancelled, then reports to a
serial terminal whether it was cancelled.
#include <stdio.h>
#include <QDScriptContext.h>
bool Script_tcan( QDScriptContext& sc )
{
sc.Exec("CIOY");
printf("Pause for 10 seconds\n");
sc.Pause( 10000 );
if (sc.Canceled())
{
printf("Script was canceled\n");
}
else
{
printf("Script completed\n");
}
return true;
}
// enable printf to serial terminal
// pause for 10 seconds
501

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

882

Table of Contents