DWDataReader - DWIGetScaledSamples Error

  • Software
  • DWDataReader - DWIGetScaledSamples Error
Glenn Groeschel

Posted on 03.09.2026 20:08

I'm using DWDataReader v5.0.8, in a compiled C++ dynamically loaded module.  


When I run: 

DWIGetScaledSamples(r, ch, pos, count, y, t)

and in the Setup/CAN the "Store Decoded" box is checked everything runs fine. The time vector and the signal data are returned via the pointers supplied, error value returned is 0 (DWSTAT_OK).


If I have the same data file, but the "Store Decoded" box is not checked, the results are different.  

Calling DWIGetScaledSamples(r, ch, pos, count, y, t), an error is returned (DWSTAT_ERROR_CAN_NOT_SUPPORTED = 10). However, the time and sample pointers still point to the proper data! Ineffect, everything "worked", but an error was returned anyway.


Am I missing something or is this the intended operation? Is there a reason an error is being thrown when requesting scaled data from a CAN channel?


I tried to post this is the developer forum, but after clicking submit the box went grey and nothing else happened.

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