E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDMnet (BSR E1.33) Draft Standard General Discussion

RDMnet (BSR E1.33) Draft Standard General Discussion General Discussion and questions concerning the draft E1.33 standard.

Thread Tools Search this Thread Display Modes
Old August 23rd, 2012   #1
Join Date: Aug 2011
Posts: 32
Default Generating UId on PC Platform

I have not seen this discussed anywhere else so thought I would raise it. What are peoples thoughts on generating RDM UIDs within PC software. With devices such as a moving head it is relatively easy to program a unique serial number into each fixture but for software that runs on a PC there is no unique way to generate this ID. Should there be some guidance on how to generate a UId for PC software or would it be up to individual manufacturers.

I already see problems with some software that is talking RDM in that they generate the UId from the MAC Address. The problem is that if you change to a different network adapter the UId changes and this is not helpful when trying to write a controller.

I currently just generate a random number and then save the generated ID to the registry. At the moment I hope it does not clash but if people use this method should there be a requirement to generate a new UID for the relatively unlikely case of UID clashes.
owaits is offline   Reply With Quote
Old August 23rd, 2012   #2
Task Group Member
Join Date: Aug 2008
Posts: 355

Technically, as a manufacturer it's your responsibility to make sure that all Device IDs withing your Manufacturer ID are unique. How you accomplish that is up to you.

Some things to consider:
Whenever someone installs your software you could have it contact your web server and "check out" a UID or range of UIDs. The downside is that this requires connectivity to work. Perhaps offer a phone-in and email options too.

You mentioned using the MAC address. This can help, but there is a slight risk of duplication since MAC addresses are 48 bits and RDM Device IDs are 32 bits.

Random numbers are unlikely to end up with duplicates given the size of typical RDM systems, but it can happen.

If you're storing in the registry, just make sure you account for users who use tools like Ghost and Clonezilla to clone hard drives.
ericthegeek is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RDM Master UID assignment question berntd RDM General Implementation Discussion 4 May 30th, 2012 10:14 PM
Relative frequency of UID set changes to RDM messages events nomis52 RDM General Implementation Discussion 6 July 6th, 2010 10:02 PM
DISC_UNIQUE_BRANCH dest UID (section 7.3) berntd RDM Interpretation Questions 5 October 15th, 2008 09:06 PM
Reference Platform hanslau RDM General Implementation Discussion 1 June 15th, 2006 10:20 PM

All times are GMT -6. The time now is 10:26 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.