Test and Measurement Forum

SDK Enhancement suggestion: Open by serial number

Post general discussions on using our drivers to write your own software here

SDK Enhancement suggestion: Open by serial number

Postby bmckenney » Fri Jun 12, 2009 8:15 pm

It would be very convenient to have an SDK call to open a particular unit
given its serial number.

Our system employs 4x PS2205 units. Each unit is wired to a specific
sensor, i.e. it is important for the software to be able to know which
physical unit is which.

The only method I've come up with is to open all the units attached to
the PC and match each unit's serial number against a list in the program.

The problems are:

1) Each ps2000_open_unit[_async] call takes 5-10 seconds, so finding a
particular unit takes (average) 4x this, which is multiplied again by
finding 4 units total.
2) This method requires keeping unwanted units open during the scan, so
multiple (simultaneous) instances of the program end up "fighting"
over the units.

Being ignorant myself, it seems that it wouldn't be too difficult to cache
the serial number for each unit during the USB scan, and use that for a
(fast) lookup.

Just a suggestion.
bmckenney
Active User
Active User
 
Posts: 11
Joined: Fri Jul 25, 2008 4:21 pm

Postby ziko » Mon Jun 22, 2009 8:38 am

Hi I have put your suggestion through to the relevant people.

Kind regards
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 1 guest