10-27-2009 04:15 AM
Hi everybody,I try to command the control valve opening percentage by passing port rs232. Firt I order with "servosetup".Second I set up percentage at
maximum time by pressing the shift and + lump.Third I set up percentage at minimum time by pressing the - lump .Finally I command to open valve with the
order (set follow percentage 3 points such as set050 is open 50 percentage).I want to order by typing percentage to open valve,but I don't know the method
to communicate with port.Anybody to help me ? I attach file to solution please.Thanks a lot.
10-28-2009 01:28 PM
Hello ktu,
All of these writes to your device will be through the VISA Write and if you read anything back will be done with the VISA Read. To write the commands to your device, you will want to use the VISA calls within the loop with the event structure. Alternatively you could also use the setup that you have in the first loop where you only send your writes when you toggle that boolean. Hope this helps!