Analytica GmbH AnaGate CAN duo User Manual Page 75

  • Download
  • Add to my manuals
  • Print
  • Page
    / 83
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 74
Programming examples
68 © 2007-2010 Analytica GmbH
Console.Out.Write( ",Data=" )
For I As Integer = 0 To BufferLen - 1
Console.Out.Write( Bytes(I) )
Next
End Sub
Function Main(ByVal CmdArgs() As String) As Integer
'Opens the single CAN port of a AnaGate CAN
dim RC as Int32 = CANOpenDevice(Handle, 0, 1, 400, 0, "192.168.2.1", 1000)
If RC = 0 Then
CANSetCallback( Handle, AddressOf CANCallback )
end If
If RC = 0 Then
CANCloseDevice( Handle )
end if
end Function
Page view 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 81 82 83

Comments to this Manuals

No comments