Visual C#


Starts and stops output to the specified device.

int ret;               // For return code

ICWaveformGenerator c_fgen;

 

//----------------------------------------

// Please refer to Device initialization processing

//----------------------------------------

 

//----------------------------------------

// Signal output start processing

//----------------------------------------

ret = c_fgen.StartOperation(0);

if (ret != 0)

{

    MessageBox.Show("StartOperation function call error.");

}

 

//----------------------------------------

// Signal output stop processing

//----------------------------------------

ret = c_fgen.StopOperation(0);

if (ret != 0)

{

    MessageBox.Show("StopOperation function call error.");

}

 

//----------------------------------------

// Please refer to Device termination processing

//----------------------------------------