Identifiying unique roboteq controllers
12 years 5 months ago #29525541
by klick
Identifiying unique roboteq controllers was created by klick
I\'m going to have 3 controllers total, and was planning to use usb serial interface, is there a way to query a serial number or something? I know I could query the device type, but that\'s not enough. I have 1 HDC2450 and 2 HDC2450S\'s, so I could identify the HDC2450, but not between the hdc2450s\'s. I should be able to figure out which USB is connected, but i\'d like to be extra sure, and I was just hoping there was a serial number or something to query. I can\'t find anything like that in the documentation.
The usb/serial interface doesn\'t seem to have a serial number either.
Since I can identify the HDC2450 dual channel, if I just put the 2 HDC2450S\'s on different USB bus\'s that would be easy to figure out pro grammatically, but i\'d rather have a solution that wouldn\'t matter if I re-do all the USB connection order, for whatever reason, and that would query and determine which USB channel was which.
Thanks,
Ross
The usb/serial interface doesn\'t seem to have a serial number either.
Since I can identify the HDC2450 dual channel, if I just put the 2 HDC2450S\'s on different USB bus\'s that would be easy to figure out pro grammatically, but i\'d rather have a solution that wouldn\'t matter if I re-do all the USB connection order, for whatever reason, and that would query and determine which USB channel was which.
Thanks,
Ross
Please Log in or Create an account to join the conversation.
- roboteq
12 years 5 months ago #29525543
by roboteq
Replied by roboteq on topic Re:Identifiying unique roboteq controllers
Controllers dont have a unique id but you can use the \"controller address\" parameter to store any 16-bit value you want.
YOu will need to do this separately for each controller initially using the console and the following command:
^cad nn (nn is the address value)
%eesav (to permanently save the value in eeprom)
Then after you have all controller hooked up on the usb, query that number with the ~cad command.
YOu will need to do this separately for each controller initially using the console and the following command:
^cad nn (nn is the address value)
%eesav (to permanently save the value in eeprom)
Then after you have all controller hooked up on the usb, query that number with the ~cad command.
Please Log in or Create an account to join the conversation.
12 years 5 months ago #29525545
by klick
Replied by klick on topic Re:Identifiying unique roboteq controllers
Perfect, thank you.
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.064 seconds