PDA

View Full Version : [php] Usare porta RS232 / USB


Misterius
24-09-2004, 08:27
Ciao a tutti.
Domanda da perfetto inesperto in materia.
Con Php è possibile leggere e scrivere su una porta seriale?
E con la posrta USB come mi posso muovere?
Se non ci sono istruzioni apposta in grado di fare questo, è possibile richiamare un programma esterno, magari fatto con C++ o VB, e farsi rimandare indietro il valore che ha letto sulla porta? Se si come?
Ok, dopo tutte queste domande mi fermo.
Fatemi sapere e grazie in anticipo.
Ciao.

Roby

VICIUS
24-09-2004, 12:09
Su sistemi unix puoi provare ad aprire il file /dev/ttyS0 sempre che tu abbia i permessi per farlo. Con una seriale puoi pensare di implementare il protocollo di comunicazione anche da solo in php ma quando vai su usb le cose diventano un po difficili da gestire, quasi impossibili secondo me.

ciao ;)

Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.