Visual Basic .NET


指定したデバイスに対し、出力の開始・停止を行います。

Dim ret As Long               ' 戻り値取得用

Dim c_fgen

 

'----------------------------------------

' 初期化処理を参照ください

'----------------------------------------

 

'----------------------------------------

' 信号出力の開始処理

'----------------------------------------

ret = c_fgen.StartOperation(0);

 

If (ret <> 0) Then

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

End If

 

 

'----------------------------------------

' 信号出力の停止処理

'----------------------------------------

ret = c_fgen.StopOperation(0)

If (ret <> 0) Then

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

End If

 

 

'----------------------------------------

' 終了処理を参照ください

'----------------------------------------