LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In LabVIEW, if you press some buttons on your fron

t panel using event structure, but now you want to hit a Resend button that has recorded the previous buttons prssed so yo dont have to press all the same buttons over and over again, just a Resend, does anyone know how to do this ? thanks in advance Jeff.basically I need to simply have a Resend button on my front panel, that has recorded the previous button presses or data sent so that I don't have to press all the same buttons over and over again, when I just want to Resend exactly whats just been sent to my device ?
0 Kudos
Message 1 of 3
(2,625 Views)
t panel using event structure, but now you want to hit a Resend button that has recorded the previous buttons prssed so yo dont have to press all the same buttons over and over again, just a Resend, does anyone know how to do this ? thanks in advance Jeff.I am assuming that you are using the event structure and are asking how to "resend" the sequence while still using the event structure. There is currently not a (supported) way to programatically send events that the event structure will pick up. The recommendation is to use a separate named queue to perform the instrument I/O and have your event structure send messages to the queue. This will allow you to resend the sequence by sending the same messages to the queue.
Stu
Stu
Message 2 of 3
(2,625 Views)
t panel using event structure, but now you want to hit a Resend button that has recorded the previous buttons prssed so yo dont have to press all the same buttons over and over again, just a Resend, does anyone know how to do this ? thanks in advance Jeff.Basically you need a memory unit that records all of your actions. I suggest an array of strings where each element (each string) is the name of the action recorded. You can record each action by using the event structure and adding the string (that you decide) represents the action. When you want to resend, simple load all of your strings into a queue and they will fire off in the same order that they were recorded. Hope this helps, it not let me know and I will try to help more
0 Kudos
Message 3 of 3
(2,625 Views)