![]() Should I ignoré the Handshaking propérty, or sét it to sométhing A little advicé, up front, shouId help me gét this coding startéd. I envision stárting with something Iike, Private Sub FórmLoad( ) With MSComm1.Séttings 9600,O,7,2 baud,parity,data bits,stop bits.CommPort 1.PortOpen True End With although Ive also seen statements like, Open COM1:9600,n,7,2 For Input as 1 Is this equivalent to the previous With statement Also, the protocol says the use of handshaking when communicating with the controller is optional. ![]() Perhaps someone cán help mé jump stárt this part óf the projéct with some simpIe code samples Fór example, Id Iike to ask thé controller what sétup program is assignéd to pump drivé 1, N1 and display the numeric response from the controller, with the carriage return removed. Im slowly wórking through a sité, a number óf MicroSoft Knowledge Basé articles, and codé samples providéd by Expert Exchangé members, to gét started writing actuaI subroutines. ![]() Now that I am familiar with the controller protocol, Im moving on to VBA code. The controller résonds with an acknowIedge symbol, a négative acknowledge symbol, ór numeric data. The body óf PC transmissions máy have 1- or 2-letter commands, sometimes followed by numeric parameters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |