The SRS830 method snap() and snap_xy() requires a string of indices for arguments. The string for the SCPI command has a bug when making the indices. Integers cannot be joined into a string.
The change needed (on line 593) is to make the list of indices strings rather than integers:
currently: indicies = [sources.index(arg) + 1 for arg in args]
corrected: indicies = [str(sources.index(arg) + 1) for arg in args]
I can open a pull request with this change, but I know there is a branch specifically for the stanford 830.
The SRS830 method snap() and snap_xy() requires a string of indices for arguments. The string for the SCPI command has a bug when making the indices. Integers cannot be joined into a string.
The change needed (on line 593) is to make the list of indices strings rather than integers:
currently: indicies = [sources.index(arg) + 1 for arg in args]
corrected: indicies = [str(sources.index(arg) + 1) for arg in args]
I can open a pull request with this change, but I know there is a branch specifically for the stanford 830.