Do I need a bitwise calculation?
rdrieder
Posts: 25
NEC M300X Projector lamp runtime query says to concatenate a string in Windows Calc in Hex mode, switch to decimal mode and divide by 3600 to get lamp run time. Oh yeah, it's code for an Axcent3. Am I missing something? Any help would be appreciated.
DEFINE_VARIABLE INTEGER LAMP_STRING[256] PROJ_HOURS (* IN THE FIND STRING CODE *) LAMP_STRING= "$00,$00,$46,$50" LAMP_HOURS = LAMP_STRING/$E10
0
Comments
Otherwise if it's an unknown length you will need to set up a basic iteration.
Once you've got that it sounds like the device is just spitting back the lamp time in seconds, the divide by 3600 then just converts it to hours.
Unfortunately, I'm dealing with an Axcent3. I'm pretty sure Axcess code doesn't have the shift capability.
This works:
This does not:
Nor does this:
Interesting...
Appreciate your help!