12-13-2007 05:37 AM
12-13-2007 07:03 AM
I don't understand why they need the double quotes in the first place.
Does the Front Panel use a String Control for user input? Do you actually want the " " when storing the data? If so, then you can add the quotes after the user has input the data.
Describe what you want and I can show you an example.
RayR
12-13-2007 07:17 AM - edited 12-13-2007 07:18 AM
I'll take a guess at the fact that you want to have quotes for the cvs file, but do not want the user to put quotes.
Look at the example below. If you do not put quotes in a string control, it does the same as text-based languages and treats the input as "input text". But you don't need quotes, because it is already a string.
If you want to have quotes, but only for the cvs file, then look at the two methods. It is good to use the format into string, it's a cleaner way to program (my personal taste).
You can also add features like detecting if there are quotes at the beginning & end and not place quotes if they are already there, etc.
Hope this helps. Sorry if I misunderstood the question.
RayR
12-13-2007 10:37 AM - edited 12-13-2007 10:38 AM
12-13-2007 12:44 PM - edited 12-13-2007 12:47 PM
Very nice Altenbach.
That's why your the wizzard 🙂
The only proble I see with your solution is that it would erase any double quotes within the text, not just the leading and ending quotes..
Example:
Quoted Text:
"Mary who has a little lamb said "Hello", while tending to her lamb"
What if you wanted the unquoted version:
Mary who has a little lamb said "Hello", while tending to her lamb
You'd need to preserve the quotes within the text.
Other than that I like your approach.
RayR
12-13-2007 09:25 PM
12-13-2007 09:25 PM
12-14-2007 09:45 AM
Very simple actually.. Modify Altenbach's example to add a popup message.
So as soon as you hit the double quote button, a pop-up appears. Use a single button popup.