Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Serial channel, RW 2.1 RAP, M96

Installed Robware OS 2.1 RAP version, serial link and advanced options floppies aswell. Rapid successfully writes text/info into file, but doesn't see serial io channels - takes sio1: as invalid filename, while flp1: shows green light. Tried using COM1 aswell.

Any ideas what I might be doing wrong?



---
VAR iodev

inchannel
;
.


Open "flp1:"
File:= "log.txt
", inchannel;
Write inchannel, "bandymas3";
Close inchannel;

^^Success, got file in floppy
----

VAR iodev
inchannel
;
.


Open "sio1:", inchannelBin;

Write inchannel, "bandymas3";
Close inchannel;

Gives error on Write - says my filename is invalid (as ANSI doesn't allow ":" in filenames ), even though I want to open rs232 port here which is sio1 - same way i oppened flp1:. In parametters i see all 4 sio's available, and RAP - also installed and configured.

Will be thankful in advance for any help.

Bernis2012-10-23 03:07:22