- CommV24 assertion failure

From: Douglas G. Danforth <"Douglas>
Date: Thu, 04 May 2006 21:41:03 -0400

----boundary-LibPST-iamunique-1794593155_-_-
Content-type: text/plain

Rex Couture wrote:
> What's wrong with this module? I can't get past the first step. The parameters (4800 baud, 8 bits, 1 stop bit) should be valid. Running on Win XP. Thanks.
>
> Rex Couture
>
>
> MODULE Test;
> IMPORT CommV24;
>
> PROCEDURE Init*;
> VAR c: CommV24.Connection;
> BEGIN
> CommV24.Open( 'COM1', 4800, {CommV24.stop15}, c);
> (* 8 bits is default; stop15 is actually 1 stop bit *)
> ASSERT( c # NIL); (* Fails *)
> END Init;
> END Test.
>
Rex,

(1) 'COM1' -> 'COM1:'

(2) I could only get this to work if ops={} AND (very important) I
restarted BlackBox after a failure.

As I recall from days long past, in Oberon V4, CommV24 is very finicky.

-Doug

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1794593155_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFJleCBDb3V0dXJlIHdyb3RlOlxwYXINCj4gICAg
ICAgICBXaGF0J3Mgd3Jvbmcgd2l0aCB0aGlzIG1vZHVsZT8gIEkgY2FuJ3QgZ2V0IHBhc3QgdGhl
IGZpcnN0IHN0ZXAu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ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5j
aH19AHJpdmFsVGltZTo=


----boundary-LibPST-iamunique-1794593155_-_---
Received on Fri May 05 2006 - 03:41:03 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:03 UTC