codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Write text strings to Serial Port  jasonlaronde at 14:42 on Thursday, November 08, 2007
 

I need a plain webpage with 5 buttons that when pressed will send a text string to the serial port to control a projector. I am told it can be done in PHP or JAVA... I code in neither...

Here are the 5 button names and the strings that go with them.

Please help!

Here are the commands and specs to be sent over COM1...

Power On:
02h 00h 00h 00h 00h 02h

Power Off:
02h 01h 00h 00h 00h 03h

Input RGB:
02h 03h 00h 00h 02h 01h 01h 09h

Input Video:
02h 03h 00h 00h 02h 01h 06h 0eh

Input S-Video:
02h 03h 00h 00h 02h 01h 0bh 13h

19200 bps
8-bits
Non-parity
Stop Bit = 1
X On/Off: None
COM: Full Duplex

  Re: Write text strings to Serial Port  kanad at 12:01 on Tuesday, November 20, 2007
 

using webpage application for comm ?
javaComm 3 doesn't have support for windows
http://www.sun.com/download/products.xml?id=43208d3d
You can download it from here.
http://wind.lcs.mit.edu/download/java/javacomm20-win32.zip
A simple example is here
http://dn.codegear.com/article/31915

using ActiveX (Very simple)
http://www.activexperts.com/activcomport/

  Re: Write text strings to Serial Port  jasonlaronde at 16:39 on Tuesday, November 20, 2007
 

I'm not a programmer... I can do stuff in flash and whatnot but not Java...

I could build a fullscreen page with buttons and have each button call a javascript.

I just needsome to write the Javascript for me....

Cheers,
Jay

  Re: Write text strings to Serial Port  kanad at 04:01 on Wednesday, November 21, 2007
 

certain tools are there for flash. dunno about flash how to access port.
http://www.swfkit.com/swfkit/download.html#tools
http://www.topcmm.com/forum/thread_1_696.html








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
• ** Site Hacked ** javascript inserted...
• Losing background/text color when converting HTML to PDF
• hidden div block when displayed, displays at an offset of 200px only in IE 6..
• help - sketch
• Re: Perl Script - File Handling.
• Open a file from website
• Re: to open 5 terminals from one and also execute different commands on each terminal
• read a selected multiple line, those should match some of the values read in the files..
• Help me please


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008