08-05-2011 06:17 PM
Hi guys,
I have been having problems with this VI, and im currently going crazy to find what is wrong, i think its very obvious but i just dont see it so if anyone could point it out it would be perfect :).
The problem is that if you check the VI i have put some comments there, before the Insert Data function in all the functions the Data is correct, however after the addition of the new data there is always a point created there which has no sense at all with the data, and this happens on and off between executions. I checked what im saying above by probing the actual array while it was running and i saw data that made no sense to be added there.I tried, initializing the shift registers the cluster is connected to or not but still nothing...
Here is an example of what happens for the case of the Isc array the E+36 values are obviously wrong:
Wavelength(nm) | Current(A . nm) |
0.000000 | 0.000000E+0 |
300.000000 | 126.743106E-3 |
310.000000 | 1.324368E+36 |
320.000000 | 141.273435E-3 |
340.000000 | 1.591929E+36 |
350.000000 | 150.912185E-3 |
360.000000 | 1.690017E+36 |
370.000000 | 152.452444E-3 |
380.000000 | 1.947288E+36 |
390.000000 | 175.690271E-3 |
400.000000 | 2.348528E+36 |
410.000000 | 194.816700E-3 |
420.000000 | 2.676467E+36 |
430.000000 | 212.215300E-3 |
440.000000 | 3.023674E+36 |
450.000000 | 227.042710E-3 |
460.000000 | 3.374371E+36 |
470.000000 | 239.986397E-3 |
480.000000 | 3.727876E+36 |
490.000000 | 252.274772E-3 |
500.000000 | 4.049805E+36 |
510.000000 | 265.077292E-3 |
520.000000 | 4.436067E+36 |
530.000000 | 277.341963E-3 |
540.000000 | 4.819436E+36 |
600.000000 | 320.151092E-3 |
650.000000 | 7.098059E+36 |
700.000000 | 376.436227E-3 |
750.000000 | 9.456637E+36 |
800.000000 | 427.681205E-3 |
850.000000 |
12.207589E+36 |
Cheers
08-05-2011 07:58 PM
There are no comments in your VI from what I could tell. Two of your sub-vis are missing. It appears you have a 1-D string array of time stamps Are these values coming from instrumentation. How does the data in your post correlate to the time stamps?
08-05-2011 09:43 PM - edited 08-05-2011 09:48 PM
Ignore the case structure situated in the top, the table i provided its the 2 1D arrays Wavelength Test Cell and Isc Test Cell, as you can see they are formed at the case "Test Cell",and then passed to the cluster however for some reason the data after the insert array function is different than the one that is coming from the actual calculations.