<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Regarding the refresh rate, the ECU task is driven by the HUD
device. Whenever it the HUD polls for a reading (how often depends
on the metric, if I recall) the task grabs whatever is in the
metrics table and replies using that. So the refresh is a
combination of how often the metrics table is updated by the car and
how often the HUD polls for the current value.<br>
<br>
As for the bus hang, it seems to occur if the HUD is powered up
while the ECU task is running. No clue why. I use a small script
to power cycle the HUD and re-start the ECU task whenever the car
moves to the "On" state. Turn off the ext12v power, stop and start
the ECU task, then turn on the ext12v power to the HUD. Once it's
on, I generally have had no trouble, but to be honest I don't use it
often these days. I also have an event to turn off the ext12v when
the car is turned off, to not depend on it going to sleep on its
own.<br>
<br>
Hope this helps,<br>
<br>
Greg<br>
<br>
<br>
<div class="moz-cite-prefix">Michael Geddes wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAH0p7u+JOe5nVGvRKz9=ABr2ngk=aGXOD88-pb3VhBAYD0s8sg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,<br>
<div><br>
</div>
<div>Now that I have an OVMS board that can actually sustain the
HUD display power (not sure what was wrong with the previous
one), I've certainly been making some inroads and found having
the HUD a useful tool.</div>
<div><br>
</div>
<div>I've got the internal ECU running, although I had to add a
script for RPM to get the absolute value since the HUD
doesn't like -ve numbers! I'm not sure I need RPM, but at
least I now know that I'm retrieving sane values... so that
was quite useful.</div>
<div>Interestingly at 100km/h, the RPM gets up to 7000 which the
HUD doesn't expect and with alarms on, it engages the 'shift
now' HUD alarm as well as the 'that's definitely too high an
RPM' HUD alarm!!! lol. (I worked out how to turn the HUD
alarms off).</div>
<div><br>
</div>
<div>One of the issues I'm having is that the refresh rate is 1
every 3 to 4 seconds, even after I upped the POLL time entry
for the Ioniq 5 OBDII messages that contain 'speed' and 'rpm'
to be every 1 tick. I'm not sure how long it takes to complete
receiving .. or how often '1 tick' is happening in reality,
but I'm guessing that might be some of the problem. What do
other people who have a HUD experience?</div>
<div><br>
</div>
<div>The other problem is that the ECU seems to occasionally
stop working/responding to HUD requests.. so I'm going to have
to look at that. I don't even have file logging at the moment
on the new OVMS.. but once I get that up and going again I may
have some more data. I have noticed that the OVMS itself
isn't resetting .. so it's not a system crash. Closing the
ECU down along with the power using <b>power.off</b> event
and starting them both up again on <b>power.on</b> certainly
means I'm more likely to start off with it working!</div>
<div><br>
</div>
<div>Any thoughts on diagnosis welcome.</div>
<div><br>
</div>
<div>//.ichael</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
</body>
</html>