Interface type/name

*DISCONTINUED* SLESA - SL512EC - SL512BC - SLMEV

Moderators: simonB, dylan, florent

Interface type/name

Postby eLeMenCy » Mon Nov 12, 2007 3:34 pm

Hello,

I am tinkering with the SDK and was wondering what is the way to retreive the type/name of connected interface(s) i.e USB SLESA-U5 ?

Easy Standalone can do it (first dialog during launch time) so I guess that this is possible.
Any suggestions (or even bettersome code sample) on this would be greatly apreciated :)

Thanks in advance.
eLeMenCy
 

Postby eLeMenCy » Thu Nov 29, 2007 6:10 pm

bump
eLeMenCy
 

Postby julien » Fri Nov 30, 2007 3:30 pm

I 'am sorry, you cannot retreive the product code of the interface.
julien
 

Postby eLeMenCy » Fri Nov 30, 2007 5:05 pm

Thanks for the insight - actually my question was possibly misleading - Ooops

I meant is there a way to retreive the model (not the name) of an interface (i.e in the SLESA range) so my software would be able to determine the number (and type) of ports (universe IN/OUT) available at anyone time.

If not yet possible, is there a way around this?
if not is this something planned for the future ?

Thanks in advance
eLeMenCy
 

Postby julien » Mon Dec 03, 2007 9:01 am

What do you mean by model ?
julien
 

Postby eLeMenCy » Mon Dec 03, 2007 10:53 am

By retrieving the model, I meant a way to retrieve if it is a SLESA-U5, a SLESA IP, a SLESA-U6 or any other Sunlite interfaces compatible with the SDK. This would give a simple mechanism to let applications determine the number of ports thus the number of available (IN or/and OUT) channels.

i.e assuming that 3 SLESA-U5 and 1 SLESA-U6 are currently connected to the PC (with all ports set to their defaults), my app could automatically determine that there are 4 OUT and 3 IN ports etc...
eLeMenCy
 

Postby julien » Tue Dec 04, 2007 2:19 pm

To make an difference between SLESA-U5 and SLESA-U6 the best thing to do for now is to use the serial number (DHC_SERIAL)
julien
 

Postby eLeMenCy » Tue Dec 04, 2007 3:34 pm

Great one thank you.

Does this means that there is no way right now to identify any other models such as the SLESA-IP or other Sunlite interfaces for that matter?

If so, is this something you are planning to add in the near future?

Also, not having a SLESA-U6 myself, I would be very grateful if you could tell me the difference between the SLESA-U5 vs SLESA-U6 serial numbers.
eLeMenCy
 

Postby julien » Wed Dec 05, 2007 8:54 am

SLESA-IP don't use the same DLL.

For the serial number

first SLESA-U5 serial number -> 290000000
first SLESA-U6 serial number -> 60000000
julien
 

Postby eLeMenCy » Wed Dec 05, 2007 10:24 am

Well I think I have all I need for the time being - thank you again :)
eLeMenCy
 


Return to SIUDI 1B - SIUDI 2

Who is online

Users browsing this forum: No registered users and 1 guest

cron