Jump to content

Struct Block change request


Recommended Posts

  • MVP 2023

This came up AGAIN with a customer using the Struct block to build a data block for use with a UniCAN Send block.

Here's what he wanted to send:

MI 550 for length 3

MI 500 for length 3

MB 500 for length 8

Struct Block reports Total bytes: 13

So what length goes in the block size in the UniCAN send block?

Of course I know the answer is 7. But he doesn't have the background to know that there a are two bytes in a word and that you have to round up. Since the Struct block is designed to work with CANbus, here is my humble request to the Creators:

Add a field to the Struct Block dialog: UniCAN Send/Receive Block Size: 7 MI's. And while you're at it, force the Description of the Block Length field of the UniCAN send block to say "Block Length". It currently gets replaced with the value of the block length, so it's not obvious what it is.

Joe T.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.