Closed ArturMalyszewicz closed 9 years ago
It looks like there is a bug in the IDP Test Framework that breaks device.setPower(). Here is a quick work-around for now… In TestFramework.lua, change line 39 from: cfg.PORTMAP = {1, 2, 3, 4} To the following: cfg.PORTMAP = { }
Provided workaround does not work fully, in eg. using set.Power(9, 24000) sets externalPowerVoltage property in SIN 17 but it does not affect powerValue in SIN25
This problem applies also to the newest version of TestFramework (included in IDPToolkit_v2.0.6).
Fixed in version of TestFramework.
In TestFramework function device.setPower(id, value) -- setting external power voltage (id = 9 according to comments in code) does not work. There is an error returned when trying to apply setting: " Invalid I/O port: 9"
Steps to reproduce:
This also applies for ALL other settings but ID = 3 (battery voltage setting works fine)