ph_multix PowerHome formula function
Description
Gets values from a previous incoming X10 buffer.
Syntax
ph_multix ( s, start, length )
Argument Description
s A string identifying the buffer you wish to access. Use “” for the global buffer. Use "EXT" for the extended buffer. Use “A” for housecode A, etc.
start An integer identifying the start of the command you wish returned. A value of 1 will return commands starting with the most recent command. A value of 20 will return starting with the oldest command.
length An integer identifying the number of commands to return.
Return value
String. The returned commands in the format of housecode, unitcode, and command. If the last command was housecode K, unitcode 5, command on, the returned value would be “K0502”. If the length is greater than 1, then the commands are returned one after the other as a single string. For the extended buffer, the returned data is in the form of unit and data. For example, if the unit is 145 and the data is 32, the returned value would be "145032".