10-25-2005 11:52 AM
10-25-2005 11:55 AM
10-29-2005 09:44 AM
Hi Tim,
Try enabling '\' Codes display in the control where you are entering the command.
Toggle the control display between Normal display and Codes display and notice how your command appears. That should confirm if you are entering it correctly and that the correct termination character appears.
For eg if you want to send Control T command sequence with a Carraige return termination character with codes display turned on you must see "\12\r", 12 is the hex code for Control T and \r is the CR termination)
Also make sure that you do not duplicate the termination character by entering it in the control when the port control termination is turned on.
10-31-2005 09:01 AM
Hello,
I have also had problems with the termination character. My solution was simply to set "enable termination character" to "false", and instead use "concatenate string" to add a carriage return to the commandstrings you issue, just like with the good old serial communiacation vi's from older LV versions. I do this for the PHD2000 pump, works fine.
cheers,
m,-
10-31-2005 10:01 AM
11-01-2005 11:22 AM
btw Tim,
you might want to include some time delays between the "write"'s and the read's in your .vi, in that way giving the pump time to receive a command, understand it, and send a reply. Specifically, the reply is "slow", because of the baud rate of 9600, while the computer executes the code much faster than that. In effect, you might not get everything that the pump is saying to you, (because your code has already passed the read sequence when the data arrive at the serial buffer) and, likewise, the pump might misunderstand some commands. A few hundred milliseconds between the write's and the read's should do it.
cheers,
m,-
05-21-2010 11:53 AM
05-21-2010 11:54 AM
05-21-2010 12:53 PM
Have you read the manual for your PUMP?
-AK2DM
05-21-2010 01:15 PM