02-23-2007 05:32 AM - edited 02-23-2007 05:32 AM
Message Edited by Nishant on 02-23-2007 05:39 AM
Message Edited by Nishant on 02-23-2007 05:41 AM
02-23-2007 06:43 AM - edited 02-23-2007 06:43 AM
Message Edited by daveTW on 02-23-2007 01:45 PM
Message Edited by daveTW on 02-23-2007 01:52 PM
02-23-2007 08:22 AM
02-23-2007 08:38 AM
02-23-2007 08:50 AM - edited 02-23-2007 08:50 AM
You've made an extremely easy task much more difficult. If you create a file with the .csv extension, then you should actually use a comma as a separator instead of a tab. Excel assumes a comma when reading a .csv file. In the frame where you do the array indexing, number to string, concantanate to string - all can be replaced with TWO functions. You can wire an array of numerics into a single Number to Fractional String and then wire the output to an Array to Spreadsheet String function. Replace that mess you have with the code below and you will have an actual csv file that Excel will read correctly and each value will be put into its own cell.
You've got some other things in your program that don't make much sense either. Like the two stop buttons where one is wired to the LabVIEW Stop function and I don't understand why you are converting the process values to dbl when the data you are reading is I32. Also, since you have 7.1 and are using VISA, get rid of the old serial compatability functions (which use VISA anyway) and maybe add some error checking.
Message Edited by Dennis Knutson on 02-23-2007 07:51 AM
02-23-2007 08:51 AM
02-23-2007 09:10 AM
02-23-2007 10:50 PM
Hiii Dennis,
It works even without using the number to fractional string, thanks very much.
Thanks,
Nishant
02-24-2007 09:30 AM
02-24-2007 12:17 PM
In addition to what Dennis mentioned, there are quite a few other mistakes in your program, for example:
Good luck! 🙂