キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Serial port - interrupt

解決済み
解決策を見る

Good afternoon,

I have a question, on a project that I'm doing ..

 

How can i stop sending the serial port without disconnecting the serial port?

 

thanks

0 件の賞賛
メッセージ1/13
3,090件の閲覧回数

What exactly do you mean by "stop sending the serial port"?

 

If you are continually writing data to the serial port to send out data, then you just stop writing data to it.

0 件の賞賛
メッセージ2/13
3,068件の閲覧回数

 

I want to send 4 bits, and stop.

and only when you ask to send again, the serial port send and stop ..

0 件の賞賛
メッセージ3/13
3,065件の閲覧回数

... and labview must remain active.

0 件の賞賛
メッセージ4/13
3,063件の閲覧回数

Your question makes little sense. Can you show us a simplified version of your code?

0 件の賞賛
メッセージ5/13
3,048件の閲覧回数

Screenshot_20210116_195313.jpg

Screenshot_20210116_195259.jpg

I send 2 cases, true or false..

0 件の賞賛
メッセージ6/13
3,035件の閲覧回数

If you want i send a program (.vi)..

0 件の賞賛
メッセージ7/13
3,034件の閲覧回数

Yes.  Attach the VI.  Partial screenshots show us nothing.  We can't even tell if and where a loop is in your program.

 

Note.  Serial ports don't send bits.  They send bytes.

 

So did you mean to say that you program sends 4 bytes?

0 件の賞賛
メッセージ8/13
3,022件の閲覧回数
thank you for the answer.
I wanted to say bytes ...
 
 
 
 
 
0 件の賞賛
メッセージ9/13
3,013件の閲覧回数
0 件の賞賛
メッセージ10/13
3,012件の閲覧回数