DL1 Serial Refresh Rates
Posted: Tue Mar 06, 2018 2:09 pm
Hi,
We have a DL1 logger hooked up to our own analysis software via the serial port at 115200 BAUD
Its taken a while to decode the serial stream but that's all up and working now, no real issues there, however we don't seem to be getting anywhere near the refresh rates that are set up in the logger.
For example the RPM input, which I've set to 25 Hz, only seems to refresh about every 2 Hz at best, more typically 1Hz. It also doesn't ever seem to report 0 RPM. If we kill the square wave at for example 50 Hz (3000 RPM) the DL1 continues to transmit the last valid tick time it had. Of course we could fix this with a simple timeout but that doesn't really feel like the best engineering solution.
All the analogue sensors are set to 5Hz but seem to update at 1Hz at best. Not a problem for a fuel or temperature input obviously but we are monitoring boost pressure, wastegate lift, VNT travel etc. and once per second is just not enough.
Pretty much all other serial outputs are turned off.
Its not a serial stream speed issue as the time stamp is updating at anything up to 50 Hz (hard to get an accurate reading but anyway its way fast enough).
We're pretty sure this isn't caused by anything in our software as we are seeing exactly the same refresh rates just hooking the DL1 direct to the RT Live Monitor.
Are we missing something?
Gareth (Turbo Synthesis Ltd)
We have a DL1 logger hooked up to our own analysis software via the serial port at 115200 BAUD
Its taken a while to decode the serial stream but that's all up and working now, no real issues there, however we don't seem to be getting anywhere near the refresh rates that are set up in the logger.
For example the RPM input, which I've set to 25 Hz, only seems to refresh about every 2 Hz at best, more typically 1Hz. It also doesn't ever seem to report 0 RPM. If we kill the square wave at for example 50 Hz (3000 RPM) the DL1 continues to transmit the last valid tick time it had. Of course we could fix this with a simple timeout but that doesn't really feel like the best engineering solution.
All the analogue sensors are set to 5Hz but seem to update at 1Hz at best. Not a problem for a fuel or temperature input obviously but we are monitoring boost pressure, wastegate lift, VNT travel etc. and once per second is just not enough.
Pretty much all other serial outputs are turned off.
Its not a serial stream speed issue as the time stamp is updating at anything up to 50 Hz (hard to get an accurate reading but anyway its way fast enough).
We're pretty sure this isn't caused by anything in our software as we are seeing exactly the same refresh rates just hooking the DL1 direct to the RT Live Monitor.
Are we missing something?
Gareth (Turbo Synthesis Ltd)