04-03-2012 05:17 AM
Hello, I got a problem with using an event structure. I want the values to change in the array itself when the user adjusts the units, such as Flow 4 l/min = 240 l/hr... It should pop up in the same array. I already got a code here but it's pretty confusing and not working 😞
Could you please help? Thanks
Solved! Go to Solution.
04-03-2012 05:41 AM
04-03-2012 05:46 AM
Because it's a new topic. 🙂
04-03-2012 06:03 AM
04-03-2012 06:11 AM
Could you please make a few changes in my vi to make it work? I'm blocked now. I tried to run it but it's not working. Thank you so much
04-03-2012 06:14 AM
Hi Bombbooo,
there is exactly one error in your VI. The error display will show you that error. All you have to do is selecting a local variable!
I'm sure you're able to do this - it will be more help if you learn to fix such errors on your own instead of waiting for others to do so...
04-03-2012 06:20 AM
I already ran the program but it didn't work in the way I want. I already tried to find the wrong things in my vi but I couldn't. I know I will learn a lot if I do it by myself but I'm really stuck here. When I changed the unit, the corresponding values didn't change along with the changed units
04-03-2012 07:36 AM
So what it not work ?
How did it not work ?
What would you like it to do ?
What did it do ?
We can't read your mind, you have to explain in detail.
04-03-2012 07:42 AM
Thanks for coming to help me. I want to make the value change corresponding to the changed unit in the same array?
For example, when I change the unit of "flow" from L/min to be L/hr, the value should change from 4 to 240 in the data mainstream without adjusting the value manually. It should pop up automatically. As you can see in my vi, I tried to run it but it didn't give me the correct values along with the corresponding changed units
I'm really stuck now. Thanks for helps
04-03-2012 07:49 AM - edited 04-03-2012 07:52 AM
You selected problem solved.. Does that mean it was actually solved?
Why are you using an Event Structure? You are way overcomplicating things...
What are you trying to do?
Can you describe what your code is supposed to do and we may suggest something much simpler...