Hello, I'm developing a driver for the DSA1030A. I created a state machine to handle the functions I need of the spectrum analyzer. The problem is that when for example I send this command %.;FREQ: STAR %g to the SA it works properly only the first time, infact at the second execution of the while cicle I got the error shown in figure: