LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy from dialog

Hello All,

 

I'm finishing up another component of our test system, and running into a little bit of a problem.  We basically have an array of bools and a corresponding list of messages to be appended to an error message, if any of the bools are false.  I then want to spit this error message string out to the user via a dialog, with a direct message such as, "Copy the sentence below into some database table:".

 

The test code works fine, but I am unable to select the sentence in the dialog to copy, Labview seems to have locked that possibility out.  Is there any way to get around this?  I'd prefer to not make it a string indicator on the frontpanel, although I suppose that's an option.  

 

Test VI attached below.

 

Thanks! 

--
Jim S
GRA/Colorado School of Mines
0 Kudos
Message 1 of 6
(3,141 Views)

You do not have to use a dialog box. You can configure a sub VI to behave like like a dialog box. An example of this is the "Three Button Dialog VI" in the dialog palette. Modify this to fit your own need.

Ps remember to use save as then saving first time. And do not save in the vil.lib dir



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 6
(3,138 Views)
That's a good recommendation.  Unfortunately, I've been goofing around with the VI for about an hour, and I cannot figure out how to trim down to a single button without it throwing fits.  Any other suggestions?
--
Jim S
GRA/Colorado School of Mines
0 Kudos
Message 3 of 6
(3,120 Views)

Jim,

 

I modified your code to work.  you had a simple error in your logic.  Read up on auto indexing it is a very fast way to get around arrays of indeterminate length as you can see from the code attached.


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 6
(3,117 Views)
Actually. You do not have to change a thing. Tie an empty string to left and right button text input. Then fill in Yes as text for the center button text. Then you are done 😉


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 5 of 6
(3,109 Views)
I painfully discovered this.  I had a poorly designed case structure.  D'Oh!Smiley Happy
--
Jim S
GRA/Colorado School of Mines
0 Kudos
Message 6 of 6
(3,089 Views)