04-08-2009 09:13 AM
Solved! Go to Solution.
04-08-2009 09:30 AM
I'm confused by your state machine. You start off in the "Write to file" state, which isn't actually writing anything - it's reading. The "Read from File" state doesn't read anything from file. It performs some calculations, and then goes to either the "Calculation of PV" state or it goes right back to itself ... performing the exact same calculations. Infinite loop here. The "Calculation of PV" state is where you are actually writing something to file.
I think you need to redesign your state machine. You should clearly delineate the function of each state, and have the state do what the state name says. Someone else looking at this code (like me) will have a hard time trying to understand the logic of it.
04-08-2009 09:34 AM
Yeah, I realize the mistakes there. I will upload the new one.
Thanks.
04-08-2009 09:45 AM
Hi Smercurio,
I already editted the VI for better understanding.
Please refer to attachment.
04-08-2009 09:49 AM
Strange, in French forum same VIs not same person ? or same ?(EleveISAT) not same question, seems to be exercices from school ? same strange state, to say exactly same.
04-08-2009 09:50 AM
04-08-2009 09:59 AM - edited 04-08-2009 10:02 AM
Hi Gregory,
I'm working in a team. But my friend is french.
Please find attachment.
Thanks
04-08-2009 10:00 AM
04-08-2009 10:29 AM
04-08-2009 11:07 AM - edited 04-08-2009 11:12 AM
The above is indeed true. There are also a number of other issues with the code:
That's it for now.
EDIT: Forgot one: