gradateur sur port paralléle - VB/VBA/VBS - Programmation
Marsh Posté le 13-04-2003 à 20:19:12
| leso a écrit : Je cherche un programme en vb ou en c/c++ me permettant de graduer le signal sortant sur le port paralléle d'un pc. est-ce que c'est possible au moins??(au pire port série ou autre)   | 
 
 
Un gradateur c un element electronique  là si j'ai bien compris tu veux un traceur de signal c ça ?
 là si j'ai bien compris tu veux un traceur de signal c ça ? 
 
Oui c possible, un pote a meme reussi a faire fonctionner sa telecommande en branchant un adaptateur sur un port parallele, il avait au prealable programmé qqchose pour verifier les E/S du port 
Marsh Posté le 13-04-2003 à 20:21:37
ben j'explique un peu plus c'est pour un tpe en électronique. le port paralléle sera relié a un boitier externe qui permettra de graduer une prise (quelque chose qui va de 0 a 100% de la tension) le boitier externe sera composé d'un circuit électronique. Mais je sais pas trop vers quoi m'orienter pour le port paralléle  
 
Marsh Posté le 14-04-2003 à 23:03:10
98 ou xp sans indifférnce  
 
Marsh Posté le 15-04-2003 à 22:43:54
Voir http://www.paraport.net/. 
Je pensais avoir autre chose (si ça va pas) mais pas (encore) retrouvé (favoris mal rangés  ).
).
Marsh Posté le 15-04-2003 à 23:18:57
merci je vais déja aller voir ca
Marsh Posté le 21-04-2003 à 17:57:51
Je bosse sur le port parallèle aussi. J'ai trouvé des sources sur www.vbfrance.com 
Ca utilise la DLL (dlportIO.dll). Les déclarations ressemblent à ça : 
 
Public Declare Function DlPortReadPortUchar Lib "dlportio.dll" (ByVal Port As Long) As Byte 
Public Declare Function DlPortReadPortUshort Lib "dlportio.dll" (ByVal Port As Long) As Integer 
Public Declare Function DlPortReadPortUlong Lib "dlportio.dll" (ByVal Port As Long) As Long 
 
Public Declare Sub DlPortReadPortBufferUchar Lib "dlportio.dll" (ByVal Port As Long, Buffer As Any, ByVal Count As Long) 
Public Declare Sub DlPortReadPortBufferUshort Lib "dlportio.dll" (ByVal Port As Long, Buffer As Any, ByVal Count As Long) 
Public Declare Sub DlPortReadPortBufferUlong Lib "dlportio.dll" (ByVal Port As Long, Buffer As Any, ByVal Count As Long) 
 
Public Declare Sub DlPortWritePortUchar Lib "dlportio.dll" (ByVal Port As Long, ByVal Value As Byte) 
Public Declare Sub DlPortWritePortUshort Lib "dlportio.dll" (ByVal Port As Long, ByVal Value As Integer) 
Public Declare Sub DlPortWritePortUlong Lib "dlportio.dll" (ByVal Port As Long, ByVal Value As Long) 
 
Public Declare Sub DlPortWritePortBufferUchar Lib "dlportio.dll" (ByVal Port As Long, Buffer As Any, ByVal Count As Long) 
Public Declare Sub DlPortWritePortBufferUshort Lib "dlportio.dll" (ByVal Port As Long, Buffer As Any, ByVal Count As Long) 
Public Declare Sub DlPortWritePortBufferUlong Lib "dlportio.dll" (ByVal Port As Long, Buffer As Any, ByVal Count As Long)
Marsh Posté le 13-04-2003 à 20:12:13
Je cherche un programme en vb ou en c/c++ me permettant de graduer le signal sortant sur le port paralléle d'un pc. est-ce que c'est possible au moins??(au pire port série ou autre)

Si vous avez des indications sur des commandes ou des liens je prends aussi
---------------
Linux ou Windows , il ne faut pas choisir!!