From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-18-2019 01:11 AM
What I am trying to do?
Establish a multicast UDP server and receiver.
Problems faced?
I kindly request you to help me fix this code and furnish details about the things I am missing out. Herewith, I attach the code with this. Thank you in advance.
11-18-2019 03:34 AM
Ah, what a mess!
Your message popup in the receiver run in parallel of the UDP read. Place it inside a case structure so it only executes if UDP read completes without error.
(Your port should be U16 datatype, not orange. You should not have any connection ID constants. Use a simple state machine instead of deeply stacked structures.)
11-18-2019 04:12 AM
I am learning this tool myself since a week or so. I am partially able to infer what you are trying to communicate. It will be helpful for me if you will be able to provide the solution in the form of code. Sorry for the trouble.
11-18-2019 10:26 AM - edited 11-18-2019 10:27 AM
There are many more things wrong with your VI, for example the inner receiver loop can never stop.
Here's what I had in mind:
Personally, I would not use popups. Just use an status indicator on the front panel.
11-18-2019 10:45 PM
Really so kind of you. Thank you so much. I will study what you have furnished here. Sure, It is helping to get better perspectives and code better.