Error Codes

Some functions may return error codes:
0 = No Error
1 = Unspecified Error
2 = Spectrum is busy
3 = Spectrum is not visible
4 =
5 = Spectrum has not been started
6 = File not found
7 = A Spectrum Item is not open
8 = A Spectrum Item is open