09-06-2005 08:47 AM
09-06-2005 08:49 AM
09-06-2005 08:54 AM
@tst wrote:
Did you try my last solution (using Spreadsheet String to Array with a space as the delimiter)?
@JoeLabView wrote:
Why not simply use space delimited entries. This way you avoid having to place a comma.
But the better approach is what tst is recommending. If you have an Operator (User) Interface, simply have them enter numbers in one manner and format the string within your vi. This eliminates (reduces?) bad entries. You can also do entry checking before appending the new value to the string. Did tst suggest using an array instead of using a string? (Yes, tst did) You should consider putting the values into an array9 or arrays?), then you can manipulate the data more efficiently in the future.
JLV
Message Edited by JoeLabView on 09-06-2005 08:13 AM
Why the single star? If people recommend using Spreadsheet String to Array with a space as the delimiter, isn't that what I suggested?
If you absolutely want to use a comma, then you can scan for the white space to see if there is a comma preceding it. If there is no comma, then you can append it. 😛
09-06-2005 09:04 AM
Yes, Shane, that´s exactly what I needed. Thanks a lot for your time.
Thanks also to the others, but as I said the program is allready done. I chek it and all functions are working with that, it would take me hours to update it. But now i´m conscient for future implementations (I also think that an array will be the best option).
See u, guys.
09-06-2005 09:39 AM
LabVIEW, C'est LabVIEW
09-08-2005 03:21 AM
09-08-2005 03:27 AM
09-08-2005 06:35 AM
09-08-2005 08:53 AM
09-08-2005 11:19 AM