Commander le port parallele

Fermé
tactical_paresse Messages postés 2 Date d'inscription vendredi 11 avril 2003 Statut Membre Dernière intervention 28 avril 2003 - 28 avril 2003 à 22:11
 1 - 4 mars 2009 à 16:32
bonjour je souhaiterais commander mon port parallele pour une de mes realistaion d'electronique mais il faut que je commande les donnees sur D0 a D7 mais aussi celle de la broche strobe, autofeed, initialize, select input. merci de m'aider.
!!! ATENTION !!! je n'ai aucune base en programmation. tout les langage son les bien venu
Merci d'avance pour votre aide
A voir également:

6 réponses

Ca depend de ton OS suivant que tu es sous DOS Win9x NT 4 ou NT 5(2k et XP) ou encore linux...
3
bouchakour lalouani Messages postés 1 Date d'inscription lundi 10 décembre 2007 Statut Membre Dernière intervention 10 janvier 2008 2
10 janv. 2008 à 10:57
bon jour
je suis etudiant domaine electronique ,je bosion une documentation et utilisation de l'inteface pc
des notion sur RS232
coment programmé en assembleur de l'inteface
merci
2
aly_ge Messages postés 3 Date d'inscription vendredi 21 mars 2008 Statut Membre Dernière intervention 24 mars 2008
23 mars 2008 à 20:41
salut

je aussi presque le mm prob que toi dé que j'arrive je te le dis.



c mon email si tu v me contacter : 3_aloulou@live.fr

a bientôt
0
QEL3074 Parallel Port Relay Driver Kit

Installation:
-------------

This kit will not work properly unless special drivers are installed onto your system. If you
haven't installed them, please see the "drivers.txt" file which is located in your installation
directory.


Main Screen
===========



Menu Items
----------

FILE -> Save

Saves a Relay Timer Control Record list.


FILE -> Open

Opens a Relay Timer Control Record list.

FILE -> Auto Active

If this item is checked when the application closes, the next time it opens, the active button will
auto execute.

FILE -> Exit

Closes the program

MODE

This sets the operating mode of the software into 1 of 3 modes.

Manual - Only allows manual relay control.
Timer - Only allows Timer control of relays.
Both - Allows both manual and timer control.

PORT -> Set

Sets the parallel port on your computer.


HELP -> Contents

Opens this screen.


STATUS INDICATORS
-----------------

These indicators show the state of the relay drivers.

RED = OFF
GREEN = ON



BUTTONS
-------

SET
---

These buttons allow you to individually control a relay.

RED indicator is OFF
GREEN indicator is ON


WRITE
-----

This button allows you to write the values on the SET indicators to the relay controls. Note that
the system must be in active mode for this to work.


CLEAR ALL
---------

This button allows you to turn all the relays OFF. Note that the system must be in active mode
for this to work.


SET ALL
-------

This button allows you to turn all the relays ON. Note that the system must be in active mode
for this to work.


ACTIVATE
--------

This button activates or deactivates the system timer/controller.


EDIT
----

This button opens the timer control edit window. This window can be open and changes can
be made while the timers are running, but the changes will not take effect until the Activate
button is cycled from Active OFF to Active ON again.



EDIT WINDOW
===========

This window allows you to set up timers for the relay drivers. You can add as many timer
records as you like, but if there are too many and your PC is slow, then all the records may not
get processed in the time available for the program.

The window is divided into two halves. The upper half is where you enter the timer details and
the bottom half is where you add new or modify old records.


ENTERING A RECORD
-----------------

Press [NEW]

The edit boxes will be cleared and the upper screen half will become active.

Select a relay number. [1 - 8]

Enter the times for both ON and OFF.

You can enter the current time and date into the boxes by pressing the [NOW] button. If any of
the ON boxes are active then the time will go into the ON section. If any of the OFF boxes are
active then the time will go into the OFF section.


TOGGLE
------

If during the active time you want the relay to toggle, set a toggle time for ON and OFF. This
time is in tenths of a second.

For example, if you want the relay to toggle ON for 1/2 second and off for 1 second, enter...

Toggle ON = 0.5
Toggle OFF = 1


DAILY
-----

If you want the timer record to operate on a daily basis, click on any of the day boxes.
<SMTWTFS> The timer will then operate on that day, or days, for the time specified.


When satisfied, click [ENTER].


EDIT
----

The edit button allows you to edit the data in an existing record. Once active, you can modify
that record.


DELETE
------

The button deletes the currently displayed record.


PREVIOUS - NEXT
---------------

These buttons allow you to view each record in the record data base.


DELETE ALL
----------

This button allows you to delete all the records in the data base.




Quasar Electronics Ltd.
PO Box 6935
Bishops Stort
CM23 4WP

See our website at:
www.quasarelectronics.co
0
salut
g des codes sources
den delphi
si tu veu
sinon si ta une soluce ecri
moi
jsui ossi interressé
sinon on peu cherché
ensembl
jessai de reunir du monde sur ce sujhet
pour y arriver

thomashoareau@voila.fr
@+
:-))
1
bonjour je veut commander mon port parrallele sous delphi pour faire une acquisition de donnée d'un signal de vibration merci
0
Heum vous connaissez google ^^
http://membres.lycos.fr/pacat/port.html
Ca devrait vous aider, il donne des exemples en c++ et assembleur...
a+
1

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
JE voudrais envoyer des données via le port parallèle mais Windows 2000 à des restrictions et ne veut pas executer mon source.
Y a t il une âme charitable pour m'aider ?...
1
Salut, sous ce systeùme dexploitation il faut utiliser une dll car
xp 2000 ne permet de commander le port parallele directement
mme en assembleur.
j arriv ke ss windaub 95 98
0
pouic > Kxpunisher
8 juin 2004 à 23:15
bon pour commander un port com ou lpt sous windows (sans commander electriquement chaque bit du port)
il faut faire un createfile("\\\\COM1.....(y d'aytres var g sais plus)
puis un petit deviceIOcontrol (voir msdn tout pareil)

si tu veut gérer toi meme les bits de tes ports t'as winlab CVI ki fait ça très bien (il faut l'adresse physique du périphe) ou sinon tu doit pouvoir faire pareil en c++ en créant un .sys et en te faisant un mappage de l'adresse physique de ton port mais bon c du mode kernel donc ça se debug pas trop facilement.
0
Laurent Resse Messages postés 3 Date d'inscription vendredi 3 mars 2006 Statut Membre Dernière intervention 3 mars 2006 9
3 mars 2006 à 15:02
Si tu es toujours demandeur j'ai trouvé une dll (payante 29€)qui me paraît très bien. Il s'agit de ElkportNT. Ecris moi si tu veux des exemples de codes ou de montages d'interface.

Cordialement
0
Bonjour,
je suis un jeune étudiant en quete de connaissance sus l'utilisation du pour parallele en reception de données.
Si vos conseils puisse me mettre sur la voie que cherche, je vous en serai grés.

Merci.........;
0