(bug): Slow recorder widget refresh rate when using a DS-CAN2 device

  • Software
  • (bug): Slow recorder widget refresh rate when using a DS-CAN2 device
Dane Owens

Posted on 15.09.2021 23:35

I have been experimenting with the CAN XCP plugin recently using a DEWE-43A. I recently ordered a DS-CAN2 device and the first thing I noticed while using it is a jittery/slow refresh rate recorder display after navigating to the "Measurement" screen, despite never changing the display update rate value from 50Hz (Options --> Settings --> Performance --> Display update rate).


With a regular, "smooth"/working recorder display (e.g. when using a DEWE-43A), the best way to mimic the "feel" of the behavior is to turn the above mentioned setting to 10Hz.


A couple key details:

  • This behavior occurs when the ONLY DEVICE plugged into the computer is a DS-CAN2.
  • If I start with DEWESoft open and just a DS-CAN2 device (plots are jittery), then plug in a DEWE-43A, then go back to the measurement screen (no channels from the DEWE-43A are even being "used"), the plot is smooth/working properly.


So it appears to be some issue when only a DS-CAN2 is connected.


Attached are two GIFs in a zip file. Both are showing an output from a DS-CAN2 channel. "jittery" is when the only device plugged into the computer is a DS-CAN2. "smooth" is after I simply plug a DEWE-43A into the computer.


Please let me know if a developer can reproduce the issue. Possibly this is an issue with more devices, or say a "class" of devices - not sure...all I have available to test at the moment is a DEWE-43A and a DS-CAN2.


DewesoftX

Version: 2021.4 (RELEASE-210913) (64-bit)

Build: Release

System: Windows 10 Build 17763 (64-bit Edition)


Attached files:
Dane Owens

Posted on 16.09.2021 14:39

Also of note is that it appears the problem exists without even actively using a CAN port on the DS-CAN2. Simply have it be the only device plugged into the computer and recognized within DEWESoftX, then throw in a noise math channel as the only "used" channel to see the problem.

Matjaž Strniša
Automotive Application Engineer
Posted on 17.09.2021 11:50

Dear Dane,

Yes, if the DS-CAN2 device sync settings are set to standalone then the visualization is set to the reduced rate. But when you plugin the 43 it's automatically set to be the time source and DS-CAN2 automatically goes to softsync.
This is something that we are aware of and it can be changed for now.

To get around this problem, you should set the synchronization settings of the DS-CAN2 device to SoftSync, which will enable you to have the full update rate of the widgets back again.


Best regards.

Dane Owens

Posted on 17.09.2021 19:21

@Matjaž Strniša

Interesting, thanks for the response. I was able to change those settings and get the display back to normal. Though, I don't quite understand why a device sync setting is linked to a GUI widget refresh rate (specifically a plot widget with time-axis and an existing separate setting for adjusting the display refresh rate).


Anyway, you stated this is a "problem" and something you guys are aware of, so is it a planned future change to have "Standalone" mode honor the display refresh rate setting? From your response, I don't quite comprehend if the existing behavior is a bug or expected behavior, or a mix of both.

Matjaž Strniša
Automotive Application Engineer
Posted on 22.09.2021 08:49

Can device is "slow rate" spec so when the CAN device is set to be the master clock the refresh rate is slower than with other devices which are meant to be master clock.
This behaviour would be visible with some other devices like Krypton TH which is a slow rate device to.
It's not reasonable to use the slow rate device like a master clock so this is not on the higher priority to get this behaviour sorted.

Best regards.

Login to reply to this topic. If you don't have account yet, you can signup for free account .