1. Hi I have a problem with serial port in win xp.

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

new topic     » topic index » view message » categorize

2. Re: Hi I have a problem with serial port in win xp.

nap51d said...

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Hi I have a problem with serial port in win xp.

nap51d said...

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)  
new topic     » goto parent     » topic index » view message » categorize

4. Re: Hi I have a problem with serial port in win xp.

nap51d said...

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Hi I have a problem with serial port in win xp.

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: Hi I have a problem with serial port in win xp.

nap51d said...

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.

new topic     » goto parent     » topic index » view message » categorize

7. Re: Hi I have a problem with serial port in win xp.

it's alive ha ha ha.

thank you for your help

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu