开云体育

Locked Re: CVP's AD4 Programming Error


 

Oops.

Sorry, I misunderstood where the address is split between the two CVs.

In the as-shipped AD4 file, you'll find this:

<variable label="Card Address" item="Short Address" CV="1" mask="VVVVVVVV">
<splitVal highCV="9"/>
</variable>

That says that this value is to be split between CV1 and CV9, with the low bits in CV1, and that _8_ bits are to be put in CV1. That's at least part of what's wrong.

Could you try changing the mask attribute to

mask="XXVVVVVV"

to put only 0-63 values in CV1?

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.

Join [email protected] to automatically receive all group messages.