Search found 2 matches

by sjernna14
Mon 4. Mar 2013, 13:08
Forum: PCAN-Light (outdated)
Topic: Send CAN messages
Replies: 3
Views: 8465

Re: Send CAN messages

Thank you very much.

I am programming in VB 2008, and the part of the code that I don't understand is :

<MarshalAs(UnmanagedType.ByValArray, sizeconst:=8)> _
Public DATA As Byte() ' Data 0 .. 7

but in my preview post this line wasn't in bold style, sorry.

I'll defined --> message_send.DATA ...
by sjernna14
Mon 4. Mar 2013, 12:20
Forum: PCAN-Light (outdated)
Topic: Send CAN messages
Replies: 3
Views: 8465

Send CAN messages

Hello,

I have a PCAN-USB and a motor Maxon EPOS 24/1 and I am developing an interface on Visual Basic for the communication between them.

In addition to this I have a PCAN_USB.vb and my doubt is: How can I send a CAN message? Visual Basic creates an error because of TPCANMsg: I want send the DATA ...