p3trus/slave — pull request #138 by douglas-watson (2014-04-08 17:26:40+00:00)
Title: Fixed unpacking in SR830.trace method

Hi p3trus,

I fixed a small bug in the SR830 class. The ``trace`` method used to fail when unpacking the data points received from the instrument. Example:

```
Traceback (most recent call last):

File "", line 1, in
[ch for ch in lockin.trace(1, 0)]

File "C:\Python27\lib\site-packages\slave\sr830.py", line 455, in
return (float(f) for f in result.split(','))

ValueError: invalid literal for float(): 2.441425e-004,
```

The changes are minor (see below), so you should be able to pull without any hassle.

Cheers,
Douglas.