Page 1 of 1

Specific Console ID

Posted: Fri Oct 03, 2008 9:23 pm
by JohnGrimshaw
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?

Re: Specific Console ID

Posted: Sun Oct 05, 2008 9:44 pm
by RobertBell
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

Re: Specific Console ID

Posted: Mon Oct 06, 2008 6:25 pm
by JohnGrimshaw
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.

Re: Specific Console ID

Posted: Mon Oct 06, 2008 8:25 pm
by AlanMartello
we'll see if we can get this into the next 10.5.x beta

Re: Specific Console ID

Posted: Tue Oct 14, 2008 7:44 pm
by GaryDouglas
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

Re: Specific Console ID

Posted: Tue Oct 14, 2008 7:51 pm
by GaryDouglas
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"