Search found 6 matches

by vbrehier
Thu 17. Apr 2014, 15:38
Forum: PCAN-Explorer 5 & Add-ins
Topic: [Visual Basic] modify variables value in transmitMessage
Replies: 9
Views: 11433

Re: [Visual Basic] modify variables value in transmitMessage

Ok thanks,

i'm interested by a fixed version for test.
by vbrehier
Thu 17. Apr 2014, 10:20
Forum: PCAN-Explorer 5 & Add-ins
Topic: [Visual Basic] modify variables value in transmitMessage
Replies: 9
Views: 11433

Re: [Visual Basic] modify variables value in transmitMessage

Hi,

I allow myself to re-open this discussion, because i have another problem with that code.

I use
message.VariableValue("SuspetParameterNumber") = myValue

to modify a sending J1939 DM01, when i put different value, i obtain another value in the message:

1 give me 65536
10 give 131328
20 ...
by vbrehier
Fri 19. Jul 2013, 14:19
Forum: PCAN-Explorer 5 & Add-ins
Topic: [Visual Basic] modify variables value in transmitMessage
Replies: 9
Views: 11433

Re: [Visual Basic] modify variables value in transmitMessage

i have found a solution, i change the preferred address before update the signal, and il modify the good frame in the transmit list....
by vbrehier
Fri 19. Jul 2013, 13:19
Forum: PCAN-Explorer 5 & Add-ins
Topic: [Visual Basic] modify variables value in transmitMessage
Replies: 9
Views: 11433

Re: [Visual Basic] modify variables value in transmitMessage

i have understand that it's the preferred address associated to the connection... but il's not what i want. I just want modify a signal value in an existing, and periodic frame....
by vbrehier
Fri 19. Jul 2013, 13:09
Forum: PCAN-Explorer 5 & Add-ins
Topic: [Visual Basic] modify variables value in transmitMessage
Replies: 9
Views: 11433

Re: [Visual Basic] modify variables value in transmitMessage

Ok, thanks for the reply.

it's interesting but i don't want send raw data, but i need to use the signals name...

I need also to use an existing transmitList where the operator can change manually the transmit address, and the cycle time. for that i want use an existing list.

il worked on my ...
by vbrehier
Thu 18. Jul 2013, 18:05
Forum: PCAN-Explorer 5 & Add-ins
Topic: [Visual Basic] modify variables value in transmitMessage
Replies: 9
Views: 11433

[Visual Basic] modify variables value in transmitMessage

Hi,

i attempt to write a vba application which take data in a excel sheet, to put them in the Symbol/variable corresponding in my transmitList.

My problem is when i do that, instead of update the value of my variable, the macro create a new transmitMessage in the list, with the 0xF8 sourceAddress ...