Homec4science

1. Added try catch block to open instruments to find if the instrument is…

Authored by engelsen on Oct 11 2017, 12:52.

Description

  1. Added try catch block to open instruments to find if the instrument is already open in another Device object 2. Added property to MyInstrument.m showing whether gui is enabled. Used this to make sure set functions only set graphics handles if gui is enabled 3. Separated readSingle from the figure callback function, such that it can still be called even if gui is disabled in MyRsa.m 4. Same as above for reinit callback in MyRsa.m 5. Added valid_points property for MyRsa.m until I find a better solution for checking if the number of points is a valid option.