You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The manual on disc sent with the model I just acquired says 12 bits and 2048 samples/wave, and the existing code uploads, but makes corrupt waveforms.
I played around with the update format and figured out that, simply enough, there are still 16 slices but each gets twice as many points. Also, the range is now larger than 0..255. Here is the rudimentary hack to setwave5200.awk to achieve this:
#printf("%d",$i); # Used to be this
printf("%d,%d",$i*15,$i*15); # print twice because
# my unit is 12 bits per sample and 2048 samples per wave
# The constant is 15 because mul by 16 doesn't work...
There is no version number that I could find on the manual or unit. The correct fix would probably be somehow query the unit to figure out the version, but I don't know how to do that and can't test it.
I guess that this it only works for early versions could anyway be mentioned in README.md.
The text was updated successfully, but these errors were encountered:
The manual on disc sent with the model I just acquired says 12 bits and 2048 samples/wave, and the existing code uploads, but makes corrupt waveforms.
I played around with the update format and figured out that, simply enough, there are still 16 slices but each gets twice as many points. Also, the range is now larger than 0..255. Here is the rudimentary hack to setwave5200.awk to achieve this:
There is no version number that I could find on the manual or unit. The correct fix would probably be somehow query the unit to figure out the version, but I don't know how to do that and can't test it.
I guess that this it only works for early versions could anyway be mentioned in README.md.
The text was updated successfully, but these errors were encountered: