¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Simpl+ Parameter Properties Question


 

I sent a mail to trueBlue and the answer is use hex value instead of
character. A reply, can you report it has a bug to the developper team and
the answer was. It's not a bug.

:)


{Paf}


2013/3/4 Crestron Noob <crestronoob@...>

**


That should be device_id = byte(device, 1); of course :)


--- In Crestron@..., "Crestron Noob" wrote:

I don't think propList works with unitCharacter. Had a similar problem a
while back, I ended up with something along the lines of

integer device_id;
string_parameter device[1];

// propList = {"A", "Dev1"}, ...;

function main() {
device_id = byte(device[1]);
}

--- In Crestron@..., "Raph Paf" wrote:

Hi all,

i'm currently working on a module where i need to use propList with
unitCharacter.


#BEGIN_PARAMETER_PROPERTIES Device
propValidUnits = unitCharacter;
propDefaultUnit = unitCharacter;
propDefaultValue = 'Z';
propList = {'A',"Dev1"},{'B',"Dev2"},{'C',"Dev3"},{'Z',"All"};
#END_PARAMETER_PROPERTIES

the problem i have it's when i'm using the PropList for Device
it shows

Dev1 ['A'd]

somebody have a clue for me to fix that because i'm suppose to see
Dev1 [A]

Thanks.

Join [email protected] to automatically receive all group messages.