Visual Basic .NET


Start the app in normal size for device "AIO000" and perform the app startup and termination processing.

Dim ret As Long               ' For return code

Dim c_fgen

 

c_fgen = New CWaveformGenerator.CCWaveformGeneratorClass()

 

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

' Device initialization processing

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

ret = c_fgen.OpenApplication(1, "AIO000", "")

If (ret <> 0) Then

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

End If

 

 

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

' Device termination processing

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

ret = c_fgen.CloseApplication(0)

If (ret <> 0) Then

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

End If