Hi, I have a problem and I would greatly appreciate it if somebody could offer me some assistance.
At a point in my VI which I know is working I have 6 1D arrays of length 3, each point in the array concisting of a floating point value, i.e.:
4.747, 3.264, 1.458
4.388, 0.402, 2.602
4.864, 4.919, 2.602
4.864, 4.919, 1.458
2.308, 1.69, 0.455
4.388, 0.402, 1.147
These values are then bundled together to form a cluster, using the bundle icon which is linked to an output cluster. This forms a subVI.
The work I am doing is the creation of a genetic algorithm. These arrays are the output of one loop (one generation) of the genetic algorithm. I then use a feedback node to return these values to the beginning of my VI. At the start of the array again, the cluster is unbundled and the arrays are passed into the system for manipulation. Just after the arrays are unbundled I added a write to spreadsheet VI to check the input arrays and the return I got was:
5, 3, 1
4,0, 3
5, 5, 3
5, 5, 1
2, 2, 0
4, 0, 1
The original values of floating point representation have been rounded to the nearest integer after the arrays have been bundled and unbundled. Can anyone tell me why this is the case?
Thanks
Alan Homer