09-11-2023 04:37 AM
Is there a limitation to the number of Network Stream End-points that can be used in a single VI. I have a VI having 5 Reader and Writer End-points however, the 5th writer end-point in my host never communicates gets executed. Can anyone help me what could be the issue?
09-11-2023 07:18 AM
I have a LabVIEW/Real-Time Project that uses 5 Network Streams without problems. A pair of Network Streams is used to send "Messages" from Host to Target and from Target to Host (both Host and Target are running their top-level VIs as Channel Message Handlers (a QMH with Messenger Channels in place of Queues). The other three Streams send data back to the Host for streaming to disk, making displays, and handling "events" on the Target (including Error indications from the Target).
I just checked on the first LabVIEW RT Project where I used Network Streams, written about 10 years ago. It had a similar format, two Messaging Streams, but only two Target-to-Host data streams. But when I added a fifth Stream (about 4 years ago for the Project in the top paragraph), I didn't have any problems having an additional Stream. Needless to say, the LabVIEW versions were different (LabVIEW 2013, I'm guessing, vs LabVIEW 2017/2019).
Have you tried making a "Tester", a pair of routines that create the Streams you want and then start sending data back and forth to verify that the Streams all work?
Bob Schor
09-11-2023 07:22 AM
Hi Bob,
If check the attached code (Host) and try running it, the 5th writer does not execute. currently for testing purpose I am adding only one IP address i.e., localhost, rest of the end-points run with an error but the 5th endpoint does not execute.
09-11-2023 12:18 PM
I cannot open your two VIs (where is the Project file? Are there other sub-VIs or TypeDefs I need to see?) because I'm working with LabVIEW 2019 (I do have a PC with LabVIEW 2021 that I'm hoping to convince my colleagues to start using ...). Could you please "Save for Previous Version", and consider sending the entire Project?
Bob Schor
09-11-2023 12:25 PM
Hello Bob,
Thank you for responding the code written in LV2023. I had made some logical errors in synchronisation due to which it was not receiving inputs. I managed to resolve them. Thank you for your time.