Hi Roger, take a string constant, right mouse click on it, select "hex view" (or something like that) and now you can enter the hex value of ctrl+Z (1A), or you select "code view" and enter \1A.
Niko rogchan wrote: > I am trying to control my modem connected to the serial port by > sending AT command with LabView. So that the modem will send text > message to the other modem in designated events. > > Inputting the following statement in "HyperTerminal" of Windows 2000, > I can send message to the other modem. > > AT+CMGS="8040001"<CR><LF>Hello!<ctrl-Z> > > In the statement above, "8040001" is the phone number of the modem to > be connected to. <CR> is carriage return, <LF> is the line feed, > "Hello!" is the message content, <Ctrl-Z> is the keystroke to send the > statement. > > To input the AT command above with Labview, i need to construct a > string of the command above and input it into the "Serial Write" vi > (Pls correct me, if I am wrong). But what is the equivalent of > <Ctrl-Z>, the keystroke in hyperterminal to send the last command, in > LabView. I.e. how do I make my LabView to "Press" <Ctrl-Z> > programmatically. > > Pls help > > Roger
