Hi there guys, I need some help with this one.
I'm not really allowed to say what kind of scaler this is, as it was hell to even get their documentation.
But I need a way to change presets on this scaler... First step would be this one I guess...
4.5.1 Loading Preset to PVW
(1) Command
Loading Preset XX to PVW:
55 aa 00 00 fe 00 00 00 00 00 01 00 00 01 51 13 01 00 XX SUM_L SUM_H
The command data is hexadecimal. The XX indicates the preset No. (range: 0x00-0x0f,
indicating presets 1–16. For details on the specific preset No. codes, see Appendix 6.) SUM_L and
SUM_H constitute the checksum of this command frame, which is the sum of the underlined data
and 0x5555. The calculation formula is as below.
SUM = 0x00 + 0x00 + 0xfe + 0x00 + 0x00 + 0x00 + 0x00 + 0x00 + 0x01 + 0x00 + 0x00 + 0x00
+ 0x51 + 0x13 + 0x01 + 0x00 + XX + 0x5555, SUM = SUM_H<<8 + SUM_L (SUM_L stands for the
lower 8 bits of SUM, while SUM_H stands for the higher 8 bits of SUM.)
(2) Response packet
If the scaler response packet is in the following data format, the preset is loaded successfully.
aa 55 00 00 00 fe 00 00 00 00 01 00 00 01 51 13 00 00 b9 56
Now, the first part of the package is done easilly with a message builder or similar...
However, the SUM_L and SUM_H part is a bit trickier appereantly. I've tried to understand how it would work, but I just cant get a response from the scaler... Anyone care to give it a go/try?