Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

ECU MC Toolkit Error - 301025: The byte ordering for this item is invalid?

I would consider myself fairly experienced with the ECU Measurement and Calibration Toolkit, but even i'm stumped on this one.

I'm trying to do some simple data acquisition using the Channel API via a polling technique and I get the following error.

Error - 301025 occured at MC Read NChan 1Samp 1D Dbl.vi: The byte ordering for this item is invalid. Most likely it has not been initialized correctly.

I'm fully aware of what this error is saying (I think), but I have no idea how to fix it.  I've tried changing the byte order using the Set Property VI, but it doesn't help.  The byte order for the device i'm attempting to communicate with uses Motorola byte ordering.

Changing the byte ordering using the Set Property VI doesn't seem to do anything.
0 Kudos
Message 1 of 4
(4,897 Views)

Hi,

To check whats going wrong, it would be nice to have a simple example and your A2L File to reproduce this behavior.

Thanks

DirkW

0 Kudos
Message 2 of 4
(4,890 Views)
Due to confidentiality, I can't give you my A2L file.  I was able to avoid the problem altogether in my application and I don't have time on my project to worry about what was causing the problem to begin with.  Thanks very much anyway.  I'll let you know if it comes up again.
0 Kudos
Message 3 of 4
(4,886 Views)
What's your uProcessor? (Motorola or Intel).  If Motorola the byte order should be MSB_FIRST and Intel MSB_LAST. Check your A2L file to see if there are correct accordance to the uProcessor.  If they are not then you need to re-produce the a2l and select an appropriate uProcessor.
0 Kudos
Message 4 of 4
(4,671 Views)