BrianYao

Members
  • Posts

    2
  • Joined

  • Last visited

BrianYao's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I'm using DAQFactory to control an HPLC pump. I wrote a two separate I/O types (that use the polling function) to get the flow rate and pressure into channels to monitor these parameters. The I/O for one of them is below. This seems to be working. device.HPLC_Pump_A.Purge() private string A =device.HPLC_Pump_A.Poll("CC",47) private string B = remove(A,"/") private string C = parse(B,2,",") private Pump_A_FR = StrToDouble(C) local.channel.addvalue("HPLC_Pump_A",1,"GetFlowRate",2,Pump_A_FR) I'm worried that when I send the pumps a command (for instance to start the pump, change the flow rate, or ask for other information), if I'm unlucky with the timing, the command will get purged due to purge I put in the monitoring of the flow rate and pressure. Is there something I can add to the On Send or On Receive to make sure that my commands will make it through? Or should I remove the purge from the I/O type? Thanks