New topic: Write serial command with multiple "
<http://forums.realsoftware.com/viewtopic.php?t=37810> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Capngene Post subject: Write serial command with multiple "Posted: Thu Feb 24, 2011 10:46 am Joined: Tue Feb 22, 2011 1:14 pm Posts: 3 I need to write to a serial port with: "CommandText" The device expects the " at the beginning and at the end, so It would be ""CommandText"", note the double " a the beginning and a the end. This of course generates nothing usable. I think I need something like Code:Dim Command as string = "CommandText" Dim WriteWord as variant WriteWord = Chr(34) +Command+ Chr(34) Serial1.write(WriteWord) This doesn't work. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
