----boundary-LibPST-iamunique-1349677414_-_-
Content-type: text/plain
Have you tried
CommV24.Open("COM1:", 4800, {V24.stop2}, c);
or this
CommV24.Open("COM1:", 4800, {}, conn);
No idea why 1.5 doesn't work. Code above will work.
Regards,
Philipp
-----Original Message-----
From: Rex Couture [mailto:rex{([at]})nowhere.xy
Sent: Friday, 5 May 2006 11:24 a.m.
To: blackbox{([at]})nowhere.xy
Subject: [BlackBox] - CommV24 assertion failure
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.
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy----boundary-LibPST-iamunique-1349677414_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhhdmUgeW91IHRyaWVkXHBhcg0KXHBhcg0KQ29t
bVYyNC5PcGVuKCJDT00xOiIsIDQ4MDAsIFx7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