LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Forcer l'etat du port com

Bonjour,

J'utilise dans mon application un port com ( mode classique 9600b...)
Par contre durant l'exécution de mon application il faut que je puisse forcer la ligne TX à "1" (ou "0" ) pendant un certain temps.
lorsque je ne transmets pas d'information.
Comment est ce que je peux procéder ?
Merci

0 Kudos
Message 1 of 4
(2,652 Views)

I answer in english because my french Smiley Sad

Better: just a picture     

Use the modem line settings (drop a 'number of Bytes at port' and select the break property from modem line settings)

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 2 of 4
(2,629 Views)
Ok merci
I will anwser in Engish, but it will be a litle difficult...
Your solution works  ( it's ok ) Thank you
Now i put a oscilloscope on the COM output,
The time is not exacly the same that i set in the prorgam
If i set 10 ms waiting, the real time mesured is 8ms
It's not a very big problem, but do you think it's comming from my computer
How can i be shure the time that i set in the labview program is the exacly time ?
 
if my engish is too bad, i can write this post in French....sorry
 
Thank you for your solution
 
0 Kudos
Message 3 of 4
(2,615 Views)
Ok forget my question
The probleme was my oscilloscope
the time base is not good, i test my application with a oder one
Thank you and sorry
0 Kudos
Message 4 of 4
(2,611 Views)