This message is to Brennan (cluvius2000) I finally got around to downloading xfile today as I've got some spare time coming up but the link reported a message...
Yes, with other programming environments this works like this because in the background a non-blocking mode is used to open the port and a time-out will take...
Hi Group, Yes, I have investigated C options for opening a tty port. I chose Xbasic for its easy to understand lint of a GUI to program and I am still...
I have uploaded the file "ttyRead.x" in Files > members > cw2008can_programs. I have been playing around with the various functions that read files and found...
Hi People, Thank you cw2008can. I have tried it in a SearchRadio () function. Now the function hangs up on the XstBinRead when there is NOTHING attached to...
Brennan, Thank you. Joe Joseph S. Vislocky JS Vislocky LLC 333 S. Front Street Wormleysburg, Pennsylvania 17043 717-761-4560 Telephone 717-303-5288 Fax ...
Hi Group, I have noticed something about XstGetFileAttributes. It returns the same 0x80 (normal file) whether a file is a disk file or an I/O port. My gut...
I was forced to code a program for web in win platform. for that i need functions from "svchdocw.dll" (Webbrowser control) how can i get this on xbasiclite .. ...
I can't find much help on these two subjects. I want to use this function but I can't find the correct syntax to access the compenents for the data type it...
It asks the system for a file-status. If the system responds, then how should XB attempt to figure out if the response supposed to be right or not? I guess...
Hi Group, I have a frustration: Is there any way I could check if anything is connected to a ttyUSB I/O port before I try to read from it. -- Kerry N0WIQ My...
I am no expert on these issues.. but there is a linux system command which scans USB ports and reports on connected devices. I can not recall the command but...
It wasn't too hard to locate info.. so here goes Initially outside your program try the follwing in the console window less /proc/bus/input/devices This ought...
Hello Group, Correct me if I am incorrect, when I do a ls -la /dev/ttyUSB* I see a list of ttyUSBn and the n ranges from 0 to 4. Four of these entries are a...
Would this command help? "stty -F /dev/ttyS0 -a" If the device name is correct it gives all the current settings. If the device name is wrong it responds "No...
Hi Group, I have only used stty to set flags. I will have to look closer at the man page or info and see how to interpret the flags, my intial view didn't...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the xbasic group. File :...
xbasic@yahoogroups.com
Nov 6, 2009 12:30 am
18791
Hi Group, My lament: I haven't found and none has suggested how I should do a Non-Blocking read so I could monitor a serial port that has no data or is not...
This stuff is just not that easy.... If i couldn't manage it from within XBasic, I went looking for a library that could and used the library to perform the...
I have suggested several times to use the C open() function. Out of my own curiosity, I wrote an XB program on Linux that reads in a non-blocking fashion from...
Hi Group, I have been told about using the C open() in Xbasic to get a NO_HANG open. This leaves me cold. My primary concern is my program is still under...
... I'm not sure why he thinks you couldn't use it in the PDE, you'd just have to import your clib (instead of the individual "open", "read" and "close" ...
Steven, If you create new program in the PDE on Linux, import clib, then add the following line to the Entry() function: pid = getpid() The PDE complains that...
Hi Group, Mark, I know about "clib" but what are you talking about Xbasic has its own open(). I haven't found it in the documentation I have. ... -- Kerry...
xbasic-6.3.4-linux-i386-20091110.tat.gz is now in Files > members > XBasicBin It includes the option $$NONBLOCK when opening a file (ie) fileNumber = OPEN...
cw2008can I installed /xbasic-6.3.4-linux-i386-20091110.tar.gz with tar -xzf ./xbasic-6.3.4-linux-i386-20091110.tar.gz on my Fedora11 x86_64 machine and when I...