Visual Basic .NET


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

Dim Ret As Integer               ' 戻り値取得用

Dim AppId As Short

 

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

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

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

 

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

' 信号出力の開始処理

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

Ret = GenStartOperation (AppId )

If Ret <> 0 Then

    System.Diagnostics.Debug.WriteLine("Gen StartOperation でエラーが発生しました " & Ret)

End If

 

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

' 信号出力の停止処理

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

Ret = GenStopOperation ( AppId )

If Ret <> 0 Then

    System.Diagnostics.Debug.WriteLine(" GenStopOperationでエラーが発生しました " & Ret)

End If

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

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

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