指定したデバイスに対し、出力の開始・停止を行います。
long Ret; //戻り値
ICWaveformGeneratorPtr c_fgen;
//----------------------------------------
// 初期化処理を参照ください
//----------------------------------------
//----------------------------------------
// 信号出力の開始処理
//----------------------------------------
Ret = c_fgen->StartOperation(0);
if(Ret != 0)
{
AfxMessageBox(_T("StartOperation function call error.") );
}
//----------------------------------------
// 信号出力の停止処理
//----------------------------------------
Ret = c_fgen->StopOperation(0);
if(Ret != 0)
{
AfxMessageBox(_T("StopOperation function call error.") );
}
//----------------------------------------
// 終了処理を参照ください
//----------------------------------------