Currently, I have a User Input Promt delivering values to a Multicolumn Listbox.
I need, when a value is True (externally from the while loop), for the multicolumn listbox to spit out the top cued value as a Comma Seperated Value (CSV) string.
Example: 1. External value is true 2. Upper most row of values from listbox taken and placed into CSV string 3. String sent out of while loop (external)
Which part are you having problems with, since it's not clear:
Accessing the first row - You already have the 2D array in the loop, so not sure why you would want to pull the data from the listbox, as that's been formatted to 2 decimal places, so you'd lose accuracy.
Converting to a comma-delimited string - Use the Array to Spreadsheet String function. See attached pic for example.
Getting notified of this external value - This depends on what's generating this external value. You can use a queue, or a simple global.
Tip: You should separate the handling of the Stop button from the handling of the button to add a row. In your implementation if you click Stop you're forced to see the dialog to enter a value, even though you're trying to stop.
It is my hope to create a dynamic list (of new GPS way points that can be entered at any point in time), which will be cued within the multicolumn listbox. From there I would like the rows to be taken out one at a time (only when a signal tells it to be pulled out, and the GPS way point has been reached), and placed into a CSV (to be transmitted to a COM port) that will in turn be sent to another device which requires a CSV string.
Your VI seems to be an extension of the VI that altenbach posted as a response to your query in this thread. What you've put together is a VI, but it lack a design or architecture. Based on the description of what you're trying to accomplish It seems to me that you need to implement a state machine architecture or a simple producer-consumer architecture.