[Vm-dev] SerialPort
Mariano Martinez Peck
marianopeck at gmail.com
Tue Oct 4 15:26:43 UTC 2011
There were some threads about SerialPlugin quite recently:
http://forum.world.st/template/NamlServlet.jtp?macro=search_page&node=104410&query=SerialPort
good luck
2011/10/4 Vaidotas Didžbalis <vaidasd at gmail.com>
>
> Hello,
> When using latest COG VM on XP Squeak 4.2 cannot use SerialPort. Same image
> on Interpreter VM does fine. Is this is the same on other platforms?
> thank you,
>
> Vaidotas
>
>
> Error: primWritePortByName:from:startingAt:count: failed
> 4 October 2011 3:17:37.742 pm
>
> VM: Win32 - Smalltalk
> Image: Squeak4.2 [latest update: #10966]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir C:\AK\test\testprinting\content
> Trusted Dir C:\AK\test\testprinting\content\Vaidas
> Untrusted Dir C:\Documents and Settings\Vaidas\My Documents\My Squeak
>
> SerialPort(Object)>>error:
> Receiver: SerialPort(#'com11', 19200 baud, 8 bits, 1 stopbits, no parity)
> Arguments and temporary variables:
> aString: 'primWritePortByName:from:startingAt:count: failed'
> Receiver's instance variables:
> port: 'com11'
> baudRate: 19200
> stopBitsType: 1
> parityType: 0
> dataBits: 8
> outputFlowControlType: 0
> inputFlowControlType: 0
> xOnByte: 19
> xOffByte: 24
>
> SerialPort(Object)>>primitiveFailed:
> Receiver: SerialPort(#'com11', 19200 baud, 8 bits, 1 stopbits, no parity)
> Arguments and temporary variables:
> selector: #primWritePortByName:from:startingAt:count:
> Receiver's instance variables:
> port: 'com11'
> baudRate: 19200
> stopBitsType: 1
> parityType: 0
> dataBits: 8
> outputFlowControlType: 0
> inputFlowControlType: 0
> xOnByte: 19
> xOffByte: 24
>
> SerialPort(Object)>>primitiveFailed
> Receiver: SerialPort(#'com11', 19200 baud, 8 bits, 1 stopbits, no parity)
> Arguments and temporary variables:
>
> Receiver's instance variables:
> port: 'com11'
> baudRate: 19200
> stopBitsType: 1
> parityType: 0
> dataBits: 8
> outputFlowControlType: 0
> inputFlowControlType: 0
> xOnByte: 19
> xOffByte: 24
>
> SerialPort>>primWritePortByName:from:startingAt:count:
> Receiver: SerialPort(#'com11', 19200 baud, 8 bits, 1 stopbits, no parity)
> Arguments and temporary variables:
> portName: 'com11'
> byteArray: '
> '
> startIndex: 1
> count: 1
> Receiver's instance variables:
> port: 'com11'
> baudRate: 19200
> stopBitsType: 1
> parityType: 0
> dataBits: 8
> outputFlowControlType: 0
> inputFlowControlType: 0
> xOnByte: 19
> xOffByte: 24
>
> SerialPort>>nextPutAll:
> Receiver: SerialPort(#'com11', 19200 baud, 8 bits, 1 stopbits, no parity)
> Arguments and temporary variables:
> aStringOrByteArray: '
> '
> Receiver's instance variables:
> port: 'com11'
> baudRate: 19200
> stopBitsType: 1
> parityType: 0
> dataBits: 8
> outputFlowControlType: 0
> inputFlowControlType: 0
> xOnByte: 19
> xOffByte: 24
>
>
--
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20111004/aac756ab/attachment-0001.htm
More information about the Vm-dev
mailing list