In case anybody has been following this discussion, there is one minor tweak required to the example.
We encountered the problem that if the slider controlling the message content was moved, occasionally the checksum was wrong.
The fix for this was to change the code as follows:
Sub ...
Search found 26 matches
- Thu 10. Nov 2016, 18:42
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Generating CRC from VBScript
- Replies: 9
- Views: 16864
- Thu 10. Nov 2016, 10:11
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Generating CRC from VBScript
- Replies: 9
- Views: 16864
Re: Generating CRC from VBScript
Just to let you know that this is now working well.
Thanks for the help.
Richard
Thanks for the help.
Richard
- Wed 9. Nov 2016, 11:10
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Generating CRC from VBScript
- Replies: 9
- Views: 16864
Re: Generating CRC from VBScript
Thanks for the response. This looks like a good solution.
We use the PCAN symbol editor to import a DBC file and create the symbol file. Is there any way to specify the raw data field in the DBC so that it is automatically included in the symbol file?
If I decide to go down the C# and add-in route ...
We use the PCAN symbol editor to import a DBC file and create the symbol file. Is there any way to specify the raw data field in the DBC so that it is automatically included in the symbol file?
If I decide to go down the C# and add-in route ...
- Tue 8. Nov 2016, 17:32
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Generating CRC from VBScript
- Replies: 9
- Views: 16864
Re: Generating CRC from VBScript
Thanks. The source code would be very useful. I will send an email to your support address.
I have previously developed a C# plug-in for PCAN Explorer so I know what I'm doing but I agree there is a bit more work to set it up.
Could you remind me if there is an event I could intercept if I chose ...
I have previously developed a C# plug-in for PCAN Explorer so I know what I'm doing but I agree there is a bit more work to set it up.
Could you remind me if there is an event I could intercept if I chose ...
- Tue 8. Nov 2016, 16:46
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Generating CRC from VBScript
- Replies: 9
- Views: 16864
Re: Generating CRC from VBScript
Thank you for your prompt response.
I guess there's no way of creating an alias to access the data as bytes?
If the answer is no, that leaves two options as I see it:
1. Calculate the bytes from the signals (ugly but relatively straightforward in VBS).
2. Change to a plug-in and work in a proper ...
I guess there's no way of creating an alias to access the data as bytes?
If the answer is no, that leaves two options as I see it:
1. Calculate the bytes from the signals (ugly but relatively straightforward in VBS).
2. Change to a plug-in and work in a proper ...
- Tue 8. Nov 2016, 15:46
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: Generating CRC from VBScript
- Replies: 9
- Views: 16864
Generating CRC from VBScript
Hello,
This is a follow on from a question I asked some time ago relating to the creation of a sequence and CRC in a dynamically changing message. The original post was here: http://www.peak-system.com/forum/viewtopic.php?f=50&t=1237
The code you suggested is shown below:
Sub SendMessage()
Dim ...
This is a follow on from a question I asked some time ago relating to the creation of a sequence and CRC in a dynamically changing message. The original post was here: http://www.peak-system.com/forum/viewtopic.php?f=50&t=1237
The code you suggested is shown below:
Sub SendMessage()
Dim ...
- Wed 4. Feb 2015, 17:46
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: PCAN Addin under Windows XP
- Replies: 4
- Views: 5452
Re: PCAN Addin under Windows XP
I have sent an email to support. I don't think the issue is a library because the add-in works fine immediately after installation. If a library / DLL was missing or incompatible with XP, surely a problem would occur straight away.
Maybe I should just ask our IT team to update the laptop to Windows ...
Maybe I should just ask our IT team to update the laptop to Windows ...
- Wed 4. Feb 2015, 17:08
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: PCAN Addin under Windows XP
- Replies: 4
- Views: 5452
Re: PCAN Addin under Windows XP
Thanks for your prompt response. I tried what you suggested but the problem persists. I will now contact support as you suggested.
Thanks,
Richard
Thanks,
Richard
- Tue 3. Feb 2015, 13:04
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: PCAN Addin under Windows XP
- Replies: 4
- Views: 5452
PCAN Addin under Windows XP
Hello,
Unfortunately we still have one PC that runs XP and a user is trying to install a PCAN Add-in that I have asked about in previous threads.
The add-in works correctly immediately after installation but if PCAN Explorer is restarted, it exits as soon as the project is loaded.
When installing ...
Unfortunately we still have one PC that runs XP and a user is trying to install a PCAN Add-in that I have asked about in previous threads.
The add-in works correctly immediately after installation but if PCAN Explorer is restarted, it exits as soon as the project is loaded.
When installing ...
- Fri 12. Dec 2014, 12:54
- Forum: PCAN-Explorer 5 & Add-ins
- Topic: How to send sequence number
- Replies: 1
- Views: 4852
How to send sequence number
Hello,
I have a PCAN panel with various controls that are linked to a transmit message. The transmit message contains a sequence number. I would like to take the values from the panel and transmit them in the message but also automatically increment the sequence number with each transmitted message ...
I have a PCAN panel with various controls that are linked to a transmit message. The transmit message contains a sequence number. I would like to take the values from the panel and transmit them in the message but also automatically increment the sequence number with each transmitted message ...