Start the app in normal size for device "AIO000" and perform the app startup and termination processing.
int ret; // For return code
ICWaveformGenerator c_fgen;
c_fgen = new CCWaveformGeneratorClass();
//----------------------------------------
// Device initialization processing
//----------------------------------------
ret = c_fgen.OpenApplication(1, "AIO000", "");
if (ret != 0)
{
MessageBox.Show("OpenApplication function call error.");
}
//----------------------------------------
// Device termination processing
//----------------------------------------
ret = c_fgen.CloseApplication(0);
if (ret != 0)
{
MessageBox.Show("CloseApplication function call error.");
}