Specific Console ID

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software
Post Reply
User avatar
JohnGrimshaw
Posts: 1233
Joined: Tue Oct 16, 2007 12:51 pm
Primary Venue / Use: Other
Where I Am: International Man of Mystery
Location: Sydney, Australia
Contact:

Specific Console ID

Post by JohnGrimshaw » Fri Oct 03, 2008 9:23 pm

If I wanted to tie a piece of software to a specific console (or channel key), is there a way to "ask" via software what the USB key number is?
...and for more entertainment industry trivia and useless facts, just ask:
John Grimshaw
Managing Director
Stage Fast Pty Ltd

User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Re: Specific Console ID

Post by RobertBell » Sun Oct 05, 2008 9:44 pm

The answer currently is no. :added: FS#1051 - add HC.GetLicense()
You will have to sweet talk Alan if you need this sooner rather than later. Just refer to FS1051
Robert Bell - Product Manager - Horizon Control Inc.

User avatar
JohnGrimshaw
Posts: 1233
Joined: Tue Oct 16, 2007 12:51 pm
Primary Venue / Use: Other
Where I Am: International Man of Mystery
Location: Sydney, Australia
Contact:

Re: Specific Console ID

Post by JohnGrimshaw » Mon Oct 06, 2008 6:25 pm

Alan - you are so very talented. Such a simple and small little request should be easy! ;)

(Rob - how was that. Sweet enough?)

I am bringing a demo of my Softkeys display to LDI. Hardware is good to go. Software is in the final stages, and I want to be able to "secure" it to a specific console.
...and for more entertainment industry trivia and useless facts, just ask:
John Grimshaw
Managing Director
Stage Fast Pty Ltd

User avatar
AlanMartello
Posts: 500
Joined: Thu Oct 11, 2007 9:00 pm
Primary Venue / Use: Other
Where I Am: Pittsburgh, Pennsylvania USA
Location: Pittsburgh, Pennsylvania

Re: Specific Console ID

Post by AlanMartello » Mon Oct 06, 2008 8:25 pm

we'll see if we can get this into the next 10.5.x beta
Alan Martello, Ph.D. - System Architect - Horizon Control Inc.

GaryDouglas
Posts: 689
Joined: Thu Oct 11, 2007 9:33 pm
Location: Calgary, Canada

Re: Specific Console ID

Post by GaryDouglas » Tue Oct 14, 2008 7:44 pm

I've added the following to the GetProperty Macros:

HC.GetProperty('system', 'authinfo')

Returns a list of authorization keys, including serial numbers

HC.GetProperty('system', 'channelsauth')

Returns the # channels the desk is authorized for

HC.GetProperty('system', 'channelsused')

Returns the total number of desk channels used

This will appear in > 10.5.2
Gary Douglas - Lead Software Developer - Pathway Connectivity - A Division of Acuity Brands Lighting Canada.

GaryDouglas
Posts: 689
Joined: Thu Oct 11, 2007 9:33 pm
Location: Calgary, Canada

Re: Specific Console ID

Post by GaryDouglas » Tue Oct 14, 2008 7:51 pm

HC.GetProperty('system', 'authinfo')

Returns a tab-separated list of strings that look like this:

USB Key, SN: 420-10385, F:, 8000 Fixtures.

You can search for the "SN:" between 2 commas.

If no key is installed, it returns "Not Authorized"
Gary Douglas - Lead Software Developer - Pathway Connectivity - A Division of Acuity Brands Lighting Canada.

Post Reply