07-19-2005 12:50 PM
07-20-2005 01:44 PM
07-20-2005 02:50 PM
Hello Travis.
Thank you for the response. The source is 1-D array of double [64-bit real(~15 digits precission)] not as you assuming is an array of strings representing numbers, so the solution you gave me not work I am still struggle and looking for help, hopefully you can give me another one. Thank you Travis
David Nguyen
07-20-2005 03:00 PM
07-20-2005 03:07 PM
07-21-2005 04:10 PM
Hello DQN,
So just to clarify, you have an array of doubles that you would like to convert
to a single double? If this is the case, what is the algorithm that you
would like to use to convert between these two? Is each entry in the
array one significant digit in the desired double, or is it something more
mathematical, like you would like to average all the points in the array and
return a single double? I ask, because there is no predefined way to
convert between an array of doubles to only one double. Any conversion
between the two requires some sort of relation between the doubles in the array
and the desired output.
If you provide me with a little more information about how to convert these I
would be happy to help you out further.
Travis
07-21-2005 05:07 PM
07-21-2005 05:11 PM
07-22-2005 11:20 AM
Hello DQN,
I'm still a little unclear about what it means to convert an array of numbers
to a single number, however it appears to me as though you are acquiring an
array of doubles from the instrument which you would like to write to a
file. The "Build String" VI appears to take a double number
(not an array) and covert to a string to write to the file. I think this
may be what you are referring to -- converting your array of doubles to a
single number to write to the file. If this is the case you will need to
change the "Build String" VI you created to take in an array and
convert it to a string. I modified your Build String (but have not tested it) to do this with the
"Numeric" input, but I am still a little unsure that this is exactly
what you are looking to do here.
Please let me know if I can help out further.
Travis