PDA

View Full Version : Logic device identifier ?


KevinH
18 Mar 11, 10:50 PM
Is it possible in logic to get at some identifier (inbuilt system varaiable) that is unique and persistent to the device running the logic - eg the MAC or IP address , device or SIM serial number or even better the C-Bus unit address ?

I would like to load an identical project into multiple units but for them to identify themselves with some unique identifier within a TCP message . (The originating IP is not recoverable).

I know for the Colour Touch I could create and read a local text file but that's still messy.

K

Darren
19 Mar 11, 11:41 AM
At the moment, the best way to do this is as follows:
1. Create a User System IO Variable called "Device Id" or similar
2. Add a page with a Selector component, or some Buttons using presets to allow you set the value of the Device Id to values of 1, 2, 3 etc
3. Immediately before transferring the project to a unit, use the above to set the Device Id. You could also do it immediately after the transfer on the unit itself.
4. You can then use the Device Id in logic. The value of this will be non-volatile (persistent)

KevinH
20 Mar 11, 05:13 AM
That's still a bit fiddly as I still have to customise each upload and remember them on each project change but it's workable at the moment...thanks.

Could I request an inbuilt system IO value for the future ?

K

Darren
20 Mar 11, 09:08 AM
Could I request an inbuilt system IO value for the future ?

It should be easy enough to do.