ron
New Member
Posts: 1
|
Post by ron on Dec 16, 2014 17:34:17 GMT
Hello,
I'm not too familiar with Actor classes methodology just yet. In my current programs, if a test failures, the rest of the sequences are skipped, the error is logged, the part is failed, and the operator gets an alert.
To see handle your PTP_Sequencer_TE_Demo would handle errors that occur during tests, I wired an error to the error output cluster in "Measure Supplly Voltage.VI". It resulted in a pop-up window:
"Error 1144 occurred at Invoke Node in run_test.vi->run_sequence.lvclass:Execute.vi->Main.vi
Possible reason(s):
LabVIEW: Cannot insert VI in a subpanel control because VI is already open.
Method Name: Insert VI"
Is there a preferred method for handle errors in PTP Sequencer when a test VI finds an error?
Thank you, Ron
|
|
|
Post by Thoric on Jan 7, 2015 0:47:02 GMT
Hi Ron,
That error likely occurred because you had the test vi open when you ran the TE demo. LabVIEW reserves open Vis for execution which will prevent the subpanel from being able to dock it.
Regarding error handling, an error within a test can be programmatically read from its error out indicator by the owning framework (in this case TE demo) and handled as you see fit. The same goes for any test vi common input or output, including parameters and results.
The demo does not include these features for simplicity, but they can easily be added.
Sent from my C6903 using proboards
|
|