12-08-2013 12:33 PM
Hi, I have made a prog for data acquisition over ethernet and sending the same data over ethernet network to multiple IP's Now i want to add a check box to my program so that i will be able to select the adresses(IP's) to whom i want to send my data.Pease help me out. I have attached my VI
Solved! Go to Solution.
12-09-2013 01:14 AM
12-10-2013 10:19 AM
Sir, My problem is how to use that check box, if u can guide with some example it will be very help ful
12-10-2013 10:48 AM
Hi Nepla,
-Please see the image attached here.
-I've created one check box and when it is selected i am displaying the message, else nothing.
-You can replicate the same for number of similar boolean controls.
12-10-2013 10:51 AM
Your question is confusing because in your VI, you have no ip addresses and you are not doing any writes/sending at all.
12-10-2013 12:17 PM
Sir Im attaching theVI again .There are 2 Check box selection for two Tx-IP1 and Tx-IP2 (Transmitting UDP ).These 2 Transmiiting UDP should forward thd the data (to selected adress) if i select them in the corresponding "check boxes".The two chech boxes are unwired in the block diagram(I need ur help to wire them).
Thanx in advance
12-10-2013 12:27 PM
Why don't you simply place the UDP Write inside a case structure with the checkbox wired to the selector?
12-10-2013 12:37 PM
Thanx a lot ....... Its done
12-10-2013 12:38 PM
12-10-2013 01:03 PM
Yeah i have done it .It was pretty simple (of course after ur suggestion of case statement).Regarding my labview code , Im only receiving data from two UDP (2 while loop) and retransmitting those data to two Tx_IPs and in berween Im displaying some data that is of importance to me . May be my block diagram looks cluttered since i have not cleaned up the block diagram.
One more question can i use a case structure within/inside a case structure