LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

index array

i tried it, but it didnt work. i dont think my string is in array.




Message Edited by krispiekream on 04-22-2008 03:30 PM
Best regards,
Krispiekream
0 Kudos
Message 11 of 16
(847 Views)
Best regards,
Krispiekream
0 Kudos
Message 12 of 16
(846 Views)
is it possible for me to make TempStart as an array within my program?

what can i do to make ArgValue to be 37, 42, 35
Parse.vi



Message Edited by krispiekream on 04-22-2008 05:17 PM

Message Edited by krispiekream on 04-22-2008 05:17 PM
Best regards,
Krispiekream
0 Kudos
Message 13 of 16
(816 Views)
thank you altenbach and everyone for helping me on this.
i got it to work after carefully reading altenbach msg,

"You need to make "tempstart" an array instead of a scalar.
 
You string array element already has the values as a comma seperated list, so all you need to do is get the array element, use "spreadsheet string to array" with "," as delimiter, "%f" as format and a 1D DBL array as type. Try it! "

thank you so much..
Best regards,
Krispiekream
0 Kudos
Message 14 of 16
(797 Views)


krispiekream wrote:
i tried it, but it didnt work. i dont think my string is in array.

You did not follow my instructions. Let me highlight the important part:


altenbach wrote:
You need to make "tempstart" an array instead of a scalar.
 
You string array element already has the values as a comma seperated list, so all you need to do is get the array element, use "spreadsheet string to array" with "," as delimiter, "%f" as format and a 1D DBL array as type. Try it! 

If you don't wire the array type (lower left connector of "spreadsheet string to array"), it assume a 2D array. Did you really read the entire error message? It says it right there!
 
Solution: Create a constant on the type connector and resize the index to 1D.
Message 15 of 16
(791 Views)
yeah, i figured that out after i re-read your instructions
Best regards,
Krispiekream
0 Kudos
Message 16 of 16
(781 Views)