10-01-2013 12:32 PM
I have a project that I'm working on that I could use some help on.
Some background on it is I'm taking data from a balance via RS-232 (can be a selectable list of balances), and then communicating with them on their own separate COM port. I need these to then run in parallel to then take masses in regular increments and then output them to a graph and/or TDMS file.
What I'm trying to have is that a subVI prompts the user to how many simultaneous runs will be going.
Then I will want multiple pop prompts (one for each simultaneous run) which will have initial data input (data cluster) and then associate these with the COM port and the specified balance.
I initially thought of utilizing a For Loop this way but I can't get these windows to pop up multiple times while storing their own values in say a cluster array. Can anyone give me any ideas to get me a little further?
10-01-2013 01:00 PM
You can use a combo box to select more than one item from a list. What have you done so far?
Cameron
10-01-2013 03:22 PM
Cameron,
I've created a prompt for the user to select the number or runs to be run simultaneously.
This then should trigger the amount of prompts the user needs to input - ie VISA resource, and headers to label the "samples".
I want this to be done in multiples (somewhere around 1-10 simultaneous runs - bounded by the program) so that data points from multiple sources can be taken and graphed/saved to file. I just am having issues with the loop situation to be able to keep prompting the user X times and also output the data to the front panel. Originally i thought I could somehow manipulate a tab control container but I'm getting roadblocked.
Does that help you understand what I'm trying to do?
I've attached an image of what I want the user to input for each sampling.
10-01-2013 10:17 PM
Actually, when I said "What have you done so far?" I meant, "Attach your code to show how you are attacking the problem." Sorry for the misunderstanding.
So, what have you done so far? (code, not pictures, please)
Cameron
10-02-2013 09:15 AM
eckhofmt,
Have you thought of using reentrant clone VI's? I'm not 100% sure what you are trying to do because I can't see your code, but you could launch a certain number of simultaneously running clone VI's based on the user's input and then send the data back to a main VI using a queue. Posting your code would be useful as well!