12-19-2013 08:04 AM
Hi,
I have the following problem:
I want to write a function in CAPL that takes two numbers (e.g. num1 = 521404 num2 = 5) and does the following:
num1 as bit is: 0111 1111 0100 1011 1100
num2 as bit is: 0000 0101
My result shall be FF E5 F4 BC (= 1111 1111 1110 0101 1111 0100 1011 1100)
Could someone help? I managed to write it as C# code but I have no idea how I could write in down in CAPL. It is not a test node in CAPL so I also didn't manage to include my C# dll.
Maybe someone can tell me how the code would directly work in CAPL? Unfortunately I don't have any C experience...
Thanks a lot!
12-20-2013 04:24 AM
Hi,
What is your hardware and software setup? Could you outline what NI hardware or software you are using?
Regards
12-20-2013 04:29 AM
as you are using Vector Software (CANoe?) you should contact your local Vector support