SDK Enhancement suggestion: Open by serial number

Post general discussions on using our drivers to write your own software here
Post Reply
bmckenney
Active User
Active User
Posts: 11
Joined: Fri Jul 25, 2008 4:21 pm

SDK Enhancement suggestion: Open by serial number

Post by bmckenney »

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.

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

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

Kind regards
Ziko

Technical Specialist

Post Reply