From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-26-2017 06:14 AM
Hi, I have a problem with the „Close Diagnostic.vi“ (Automotive Diagnostic Command Set) after requesting an empty event memory with "UDS ReportDTCByStatusMask.vi“. This leads to the error -8000 -> NI Automotive Diagnostics Command Set: The handle passed to the function is not valid.
After closing the VI LabVIEW freezes. Maybe the XNET background is hanging up?
Solved! Go to Solution.
09-29-2017 08:52 AM
Hi,
it seems that you lose the reference somewhere in your application.
Could you provide your code to have a closer look?
Best wishes
10-04-2017 07:15 AM - edited 10-04-2017 07:21 AM
If there is no DTC, the "False" case isn't executed, but unfortunately Labview hangs up during closing.
10-04-2017 07:31 AM
That close should probably be outside of the case structure. What if there is no DTCs? Then you never close your reference? Opening a reference and never closing it could lead to memory leaks. I think regardless of how many DTCs you have, you should close that reference before leaving that subVI. For every open call, you should execute a close.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-04-2017 07:42 AM
Damn, this seems to be the solution! Thanks Hoovahh!