
65 PCI-1680U/1682U User Manual
Chapter 4 Software Requirements
End If
TextBox1.Text = "Baud rate= " + CStr(Status.baud)
TextBox2.Text = "Accept code = " + Hex(Status.acceptance-
code)
TextBox3.Text = "Mask code = " + Hex(Status.acceptance-
mask)
TextBox4.Text = "Self recevie = " + CStr(Status.selfrecep-
tion)
TextBox5.Text = "Read TimeOut = " + CStr(Status.ReadTime-
Out)
TextBox6.Text = "Write TimeOut: = " + CStr(Sta-
tus.WriteTimeOut)
result = CloseHandle(hDevice) 'Close the CAN port
If Not result Then
MsgBox ("Failed to close the CAN port!")
End If
End Sub
4.7.2.4 Test application
Run the application, the following result will be displayed.
Comentarios a estos manuales