06-17-2011 07:09 AM
Hello guys,
I use the NI PXI-8464 board conected through CCP prococol.( ECU M&C addon)
I have some problems , when I try to read different variables ( characteristic variables) from *a2l file. Below are 2 variables from my a2l file
First variable from a2l file;
/begin CHARACTERISTIC VariantCode ""
VALUE 0x40001F3C __ULONG_S 0 VariantID 0 4294967295
ECU_ADDRESS_EXTENSION 0x0
EXTENDED_LIMITS 0 4294967295
BIT_MASK 0xFFFFFFFF
FORMAT "%.1"
/begin IF_DATA ASAP1B_CCP
DP_BLOB 0x0 0x40001F3C 4
/end IF_DATA
/begin IF_DATA CANAPE_EXT
100
LINK_MAP "VariantCode" 0x40001F3C 0x0 0 0x0 1 0x9F 0x0
DISPLAY 0 0 4294967295
/end IF_DATA
/end CHARACTERISTIC
Second variable from a2l file
/begin CHARACTERISTIC Switch ""
VALUE 0x40000C0D __UBYTE_S 0 NO_COMPU_METHOD 0 255
ECU_ADDRESS_EXTENSION 0x0
EXTENDED_LIMITS 0 255
BIT_MASK 0xFF
FORMAT "%.15"
/begin IF_DATA ASAP1B_CCP
DP_BLOB 0x0 0x40000C0D 1
/end IF_DATA
/begin IF_DATA CANAPE_EXT
100
LINK_MAP "Main__ITS_testSwitch" 0x40000C0D 0x0 0 0x0 1 0x87 0x0
DISPLAY 0 0 255
/end IF_DATA
/end CHARACTERISTIC
I obtained the error (see attached) when I tried to read the second variable (Switch).
I think there is a problem with the conversion of each variable because ,long before ( obsolete a2l), I solved the problem just replacing NO_COMPU_METHOD with NO_FORMULA, but not in this case.
I attached 2 VIS;
CCP_Open.vi ( which opens the CCP communication);
CCP_ReadCharacteristic.vi ( which reads the value ).
And a shot with the error.
Thanks,
06-22-2011 10:09 AM
Hi Samoth,
I will look into this issue for you. Just a head's up that this issue is more related to the ECU Measurement and Calibration Toolkit than LabVIEW therefore better suited on the Embedded Networks Forum.