RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Create Virtual Channel
Author Message
Reply with quote
Post Create Virtual Channel 
Trying to create a virtual channel to allow use of the shiftX2 button to trigger logging and goPro.
The addChannel function is returning a nil value.

Code:
ButtonId = addChannel("Sx2Button",10,0,0,100,'')
if ButtonID == nil then println('it is nil') end

I simplified to the example in the addChannel function documentation.
Code:
ButtonId = addChannel("EGT",1)
if ButtonID == nil then println('it is nil') end

Same result.
I am using an Apex with V2.13.6 firmware.

Thanks for the help.
Dennis

View user's profile Send private message
Reply with quote
Post  
You may review your capital letters on ButtonId vs ButtonID...

View user's profile Send private message Visit poster's website
Reply with quote
Post  
MikeD wrote:
You may review your capital letters on ButtonId vs ButtonID...


Thank you, I had that correct in my actual script, so that wasn't my exact problem.
Similar though, I used "GetChannel()" instead of "getChannel()"
Duh...

Thanks for the response.
Dennis

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum