I have tried to modify Basic Serial write and read VI and did not succeed so far.
If I am replacing string control with constant and in this constant I am writing the same command as it was in a string control then my pump just ignores it. I can see this command in write box that means that pump received it and send it back but it did no react on it.
I have added VISA write in FALSE case with constant as well. It did not react on it when I am placing switch in off position but reacts on it when I am returning it back to ON position. It reacts like this: with string control in place I am turning off switch and turning it on again pump stops and almost immediately starts to pump again. When it placed in off position I can see in the read window the constant command SSTP\r\n when I turn it into On position I can see in the read window SLEW=20 without \r\n.
How to change it so that it reacts as I would like it to be.
Actually, I need for the start, control over pump that allows to change its speed(without typing command) just changing number. Something like numeric control on front panel and ability to stop it by using switch.
You can see that stopping is is almost in place but I still have no idea how to implement numeric control in sending command to the pump.
I would welcome any comments and ideas.
Thanks. Sergey.