05-16-2012 11:00 AM
My data is being saved with a block at the end of the data. It appears to becoming in with a star due to using Array to Spreadsheet String VI. Not sure what to do to get rid of the block. The complete VI that is giving me trouble is attached.
05-16-2012 05:23 PM
05-16-2012 05:30 PM
It may be a control character. Try reading the "block" into a string indicator with Codes Display enabled. It may be a null character (0x00).
05-16-2012 05:33 PM
Also, I forgot to mention you can use Hex Display to show the actual hex code as well.
05-17-2012 08:00 AM
When I use indicators the data is shown with a * at the end after the array to spreadsheet string sub vi. I am assuming that is what is causing the error. I tried to attach a spreadsheet with some sample data, E has the data that was entered by this VI. The end of the data has the block that I am seeking to prevent from being written.
Thanks
05-17-2012 08:13 AM - edited 05-17-2012 08:13 AM
I copied this to a string control and it clearly shows two CR. One within quotes and one after. It's the one after that is giving you the block. Check your VI, Write to spreadsheet string. There is an extra CR coming from somewhere.
05-17-2012 08:21 AM
What does CR stand for?
Thanks
05-17-2012 08:38 AM - edited 05-17-2012 08:43 AM
Carriage Return (Enter key without the line feed). Are you appending this to your data anywhere? It could also be included with any text data you are entering.
05-17-2012 09:23 AM
Not sure how but appears it must be caused by the Append labview report VI. I have attached a more simplfied vi. With notes maybe this can show you more about my problem.
Thanks