How do I set a variable identifier in an xPC CAN send block for the softing CAN-AC2-PCI
Show older comments
I am trying to pass a CAN message into a CAN send block for the xPC softing CAN block canac2pcisend (for the CAN-AC2-PCI hardware). I would like to be able to use a variable name for my identifier so I can put this in part of my masked subsystem and pass the value in. If I try to set the name to a variable, my input port on the block disappears. Does anyone know how to do this? Rather than having [1163] in the Identifiers field on my block, I am putting [TBCANID] and have TBCANID defined as a parameter in the mask for the subsystem this block is in. If I change what is in the brackets to anything other than a number in the allowable range, the input port just disappears.
Accepted Answer
More Answers (0)
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!