03-15-2012 09:05 AM
Here is the code
03-15-2012 10:19 AM
(OK, this code is just sceaming to be converted to a proper state machine. Also all these array operations are hair raising. ;))
There is too much distraction going on on your diagram. Could you simply run your VI so the current and voltage arrays contain typical data, then turn them into diagram constants (right-click the terminal...change to constant) and delete all the rest of the code? Save under a new name and attach again. Thanks!