Make it possible to disable the cache mecanism temporarly and make AbstractCommand derivated classes not considered as commands if their name starts with '_'.

make convert_from prototype accepts several arguments (to build command with several arguments)

Some improvements & cleanups. Now the get/set mecanisme using descriptor works (but is not yet implemented for most commands of the HP356X devices).

Try to be a little more robust when instanciating the GPIB class (serial connector)

add de debug "manage_srq" method on HP356XDevice

An AbstractGPIBDevice and the Command should now behave quite OK ie. one can type d.MyCommand and it will return the value (either from the cache or after having asked it to the device), and use d.FRS = 10000 to send the command "FRS 10000 Hz" to the device transparently.

Major refactoring in progress. Build the toolkit around a GPIB controller which have a communication thread with the devices. Every device is an instance of a class that describes the device model and registers itself to the controller.

(0) -30 -10 -7 +7 +10 +30 tip

mercurial