LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port break interrupts the ethernet communication

The serial port break on my com1 port stops the TCP/IP transmission on the ethernet communication.
 
I am using a 26 ms break to have a 26 ms low on the serial port. This is needed by the serial device on the com1.
 
The ether net connection is used to communicate to a second computer. The link to the second computer is lost when the serial port break for com1 is sent.
 
0 Kudos
Message 1 of 8
(4,308 Views)

hi there

please post some code

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 8
(4,287 Views)
TestCell7: is the ethernet connection
test1 is the testing sequencer that has the subvi to the RS232.(comms)
 
these are running at the same time.
 
 
0 Kudos
Message 3 of 8
(4,265 Views)
Ok,
I did not get all the vi's in the last message.
they are all here.
Download All
0 Kudos
Message 4 of 8
(4,264 Views)

i'm sorry, i hoped to see something without hardware, but i had no success.

 

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 5 of 8
(4,253 Views)

I couln't get the VI "TestCell7" to run consistantly, plus I don't have a second computer running that would connect (TCP/IP) correctly to this VI, so I tried running a few things with some of the example VIs that may simulate what you are describing.

I tried the simple data client/server VI's allong with "Set Break.vi" that ship as example code with labview.  The simple data client/server VI's were set to run on the local host and at port 5004.  I did not see any conflict with setting the break on the serial port with the connection of the client/server.

I would suggest trying this out the examples on your connections and see if you can repeat the problem.

0 Kudos
Message 6 of 8
(4,243 Views)

this is and intermitten problem.

I have run the vis  together for an hour with no problem.

Then I will get 5 to 10 min of ethernet link loss. Always at the point where I send the Visa Clr.

When running the programs individually there are no interrupts.

The program with the serial break has been running for 6 mo. with no problem.

The Ethernet has been running for 4 weeks as a stand alone.

the problem occurs when I run them together and only once or twice an hour.

 

 

0 Kudos
Message 7 of 8
(4,224 Views)

I ran these on my desk simulating the connection with a client/ server set-up.

I did not have any interrupts.

Only when I set it to actually running with 2 computers does this fail.

The other computer is polling the TestCell7 Vi every 100 to 800 msec. I have no control on this timing.

0 Kudos
Message 8 of 8
(4,222 Views)