Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read ASCII ID from A2L file using MC XCP Get ID vi

Solved!
Go to solution

Hi,

I am using ECU M&C toolkit 15 with NI USB 8473s. I am trying to read ASCII ID (to read software version from A2L file)using MC XCP GET ID VI (choosing type 0). With following code I have problem as sometimes it gives correct ID string while sometimes error -1074388957.

Capture.JPG

Could you please help to solve this problem.

Thank you.

 

 

Cheers,

SD

0 Kudos
Message 1 of 3
(3,990 Views)
Solution
Accepted by topic author ImHappy@RBG2017-04

You should add the MC ECU Close.vi to the end of your program before the Error Out.  Constantly opening a file without closing it can cause odd behavior at times.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 2 of 3
(3,953 Views)

Thank you it solves problem.

0 Kudos
Message 3 of 3
(3,924 Views)