1. Hi I have a problem with serial port in win xp.
- Posted by nap51d Sep 14, 2008
- 960 views
Is there a way to write to the port without to much mess. Is there an example that I can see or learn from I m not that good programmer end euphoria is the only code that I know So I need something the stays in euphoria end not C or something else
2. Re: Hi I have a problem with serial port in win xp.
- Posted by bernie Sep 14, 2008
- 963 views
Is there a way to write to the port without to much mess. Is there an example that I can see or learn from I m not that good programmer end euphoria is the only code that I know So I need something the stays in euphoria end not C or something else
You need to describe the problem that you are having.
You need to explain what you are trying to accomplish.
Are you trying to use Windows or Dos.
If you are using Windows then you have to go through the XP
OS and use Windows functions or a DLL written for directly
accessing the ports.
If your using pure Dos then you can use Euphoria Assembler code
to directly access the port.
3. Re: Hi I have a problem with serial port in win xp.
- Posted by jacquesd Sep 14, 2008
- 935 views
Is there a way to write to the port without to much mess. Is there an example that I can see or learn from I m not that good programmer end euphoria is the only code that I know So I need something the stays in euphoria end not C or something else
atom fh fh = open("com1","wb")-- open serial port COM1 puts(fh,"hello world\n") -- write to serial port COM1 -- it is opened as binary so you can send binary data too. puts(fh,{1,3,3,4,3}) close(fh)
4. Re: Hi I have a problem with serial port in win xp.
- Posted by ryanj Sep 14, 2008
- 959 views
Is there a way to write to the port without to much mess. Is there an example that I can see or learn from I m not that good programmer end euphoria is the only code that I know So I need something the stays in euphoria end not C or something else
Try looking at http://rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=serial.
You might want to try http://www.rapideuphoria.com/ser_comm.zip which uses the PComm Lite dll. It's pretty easy to use. Setting baud rate and othre options is easy, too. It works in XP and Vista.
5. Re: Hi I have a problem with serial port in win xp.
- Posted by nap51d Sep 16, 2008
- 880 views
Sorry I will try to be more focus I m trying to send a txt file or string through the serial port in RS232 in xp os I tried the files in the archive but I can't make them work, I think it is because they R for dos os or an old version of euphoria, but I m not sure because I don’t know enough to be sure. this is Y I need your help. If there is something more user friendly in euphoria it will make me happy
thank you for your replay so far
6. Re: Hi I have a problem with serial port in win xp.
- Posted by bernie Sep 16, 2008
- 905 views
Sorry I will try to be more focus I m trying to send a txt file or string through the serial port in RS232 in xp os I tried the files in the archive but I can't make them work, I think it is because they R for dos os or an old version of euphoria, but I m not sure because I don’t know enough to be sure. this is Y I need your help. If there is something more user friendly in euphoria it will make me happy
thank you for your replay so far
1. Click on the RapidEuphoria button at the top of this page.
2. At the bottom of The Latest User Contributions page; Click More Files...
button.
3.Above the File Search: you will find 4 check boxes .
Uncheck all of the boxes EXCEPT the WIN checkbox.
4. Do a search on the word serial and you will get a list of
the euphoria programs that will work on windows.
7. Re: Hi I have a problem with serial port in win xp.
- Posted by nap51d Sep 17, 2008
- 918 views
it's alive ha ha ha.
thank you for your help