Hello,
I am in the process of creating a custom step type. This step type will consist of a Pre-Step and the main adaptor (test VI). The Pre-Step will perform some pre-test functions, such as setting up test equipment (i.e GPIB DC power supply voltage levels, etc.). The main adaptor will perform the actual test.
One of the situations that might occur in this test step is if the Pre-Step should fail (i.e. a GPIB DC power supply goes dead, etc.), and thus, I would not want to run the main adaptor (test VI) since the test results would be invalidated by the bad DC power supply. Thus my question is in regards to the best way to track and pass the custom step type's pass/fail status from the Pre-Step to the main adaptor, and ultimately to the test step's test report?
I have been trying to pass an error cluster from the Pre-Step VI (an output from this VI) as an input into the main adaptor (test VI), all within the same custom step type, but this does not appear to work. I have also looked at using the Sequence Context and the TSUtil TestStand VIs to access the step properties in the Pre-Step and main adaptor VIs, however this seems to be a little cumbersome. I was hoping for a simpler solution such as passing an error cluster among the VIs.
I was hoping to get some input from those of you that might have come across a similar situation and how you resolved it, or what might be the best way to pass this status among VIs in a custom step type.
Thank you in advance for your time and assistance.
Thank you,
Jim