Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>icom_open()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ICOM_OPEN()
   Opens up an interrupt-driven communications driver for plotter.

   Syntax
         ICOM_OPEN(nCOMPort,nBaud,cLineStatus,cParity,nStop,cXonxoff
                   [,nBuffCheck])

   Arguments
         nCOMPort     COM port to use for output. (1 or 2)
         nBaud        Baud rate. 300 to 9600 baud.
         cLineStatus  Type communication Line. (D)irect, (M)odem
         cParity      Parity. 0 - none, 1 - odd, 2 - even
         nStop        Stop bits. (1 or 2)
         cXonoff      Set to Xon Xoff flow control (E)nable, 'D'isable

         OPTIONAL PARAMETERS
         cBuffCheck   Returns the size of the plotter buffer by sending Esc.b
                      and waiting to send the next command until there is at
                      least 100 bytes available. (0 - no wait, 1 - wait)

   Returns
         None

   Description
         ICOM_OPEN() allows you to set up an interrupt-driven communications
         driver data line to the plotter. The overhead is very small. With
         this function you can return information from the plotter like the
         plotter type: 7475A. You can also digitize points from the plotter.

   Examples

               ICOM_OPEN(1,9600,asc('D'),asc('N'),1,asc('D'))
               ICOM_READ(chr(27)+".E")                         && Return errors
               ICOM_CLOSE()

See Also: COM_SETUP() ICOM_CLOSE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson