07-26-2006 10:39 AM
07-26-2006 10:57 AM
07-26-2006 12:18 PM
07-26-2006 03:45 PM
07-27-2006 03:16 AM
07-27-2006 06:59 AM
Hello,
Try to run your application in other system (computer), frequently some PCs configurations are not recognized by LabVIEW serial routines. I do not know exactly the problem but is not the first time I know that kind of problem.
Sometimes the problem comes from the serial property called Termination Character that enables receive buffered data once you have a Carrier Return or a Line Feed symbol (Hex 0D/0A) character into the buffer. Try to set it true and assign a 0A Hex Value.
For sending information you need to finish all command message with an enter symbol concatenating both (Message + Hex 0D0A) using the special character in the string palette library. This action permits system to put out buffered data.
Good Look
08-01-2006 08:53 AM
08-01-2006 09:12 AM
hi there
you said "According the the documentation from the Pressure Controller: "Every character that is sent to the controller is echoed back to your computer so you can check to see everything is working. When a valid command is given, the controller will also send a carriage return (acsii 13) followed by a line feed (ascii 10) to signify the command was executed. Before sending any commands, the program should clear any characters in the input buffer that may be there from previous responses."
-> set the termination char to (0xA = '\n' = LF) at the VISA Configure Serial Port
-> then you have to read TWO characters: the command you sent AND the carriage return 0xD.
-> this should clear the input buffer for the next command without a need to close the port