Components

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple TCP/IP Messaging (STM) Component

Post your questions or feedback on the Simple TCP/IP Messaging (STM) component here.
0 Kudos
Message 1 of 6
(13,051 Views)
Hello Doug,

The example "STM Multi-client Example - Server.vi" has several timed loops with different priority's. I noticed that the high priority task has a priority of "1" and the command  Parser  has a prio  of "100" the medium priority has "50".

Is this intentionally or are these prio's wrong ? ( the help on timed loops says "The higher the number you enter, the higher the priority of the timed structure over other structures")

best regards, John
0 Kudos
Message 2 of 6
(12,984 Views)
Yes, the priorities in the two Multi-client server examples were wrong.
 
They have been corrected, and the DZ post will be updated shortly.  The updated file is named stm_1_0_32.zip.
 
Thanks for catching this.
 
Doug

Message Edited by Doug S on 09-18-2007 03:15 PM

0 Kudos
Message 3 of 6
(12,972 Views)

I have run into an issue with Multiple client implimentation in LV2013.  server works well with one client which only sends data to server.  but when a second client connects (only reading )  the loop on the server seems to slows down.  watching timestamps on probe, it looks like 25 seconds per received message.  when second client is stopped the loop slowly recovers as all the messages get received. data being written on server seems to continue as normal.

 

Implimentation is as close to stock STM multi Client example as you can get.

 

I actually deployed the RT Server and get the same results as running it 'interactive or debut' 

 

another group hear ran into the same issue and solved it byt clustering everthing into one big cluster which to me is not a good solution.

 

 

 

 

 

 

 

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

Failed to be specific in what loop gets slowed down.  the server loop that receives messages is the one that slows down.

0 Kudos
Message 5 of 6
(8,035 Views)

Replied to in http://forums.ni.com/t5/Components/Simple-TCP-Messaging-STM/m-p/3185249/highlight/false#M1401

 

authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 6 of 6
(8,007 Views)