Forums › SM Series Discussions › what is needed to switch modes SM200C? › Reply To: what is needed to switch modes SM200C?
jmatusiak
Thank you for the info Andrew, those are definitely the sort of tips I was looking for. It does smell like the process isn’t getting closed properly, but I don’t see any leftover processes tied to this app running (I am in Ubuntu), and the light is a solid green on the unit when I exit.
That is interesting that two different processes can interface at the same time. I assumed that if I could get a handle, it meant that no one else was currently using that device. I’ll have to keep that in mind while debugging.
I am not getting any errors while I am getting my data, so I think that the SH at least thinks that it is operating as it should.
I just keep coming back to the fact that it works until I switch modes; always when going from iq stream to freq sweep, so it must be the way I am cleaning up when done with IQ stream (though I am not sure why a hard reboot of the unit would fix that).
I’ve tried playing with the smPreset option, but I have never gotten it to work without having to do a power cycle on the unit. I always get smDeviceNotFoundErr (-2) after the blocking is done (which is about 15s).
