05-26-2008 11:00 AM
05-27-2008 12:41 AM
Hi Marcos !
Check out this threads
http://forums.ni.com/ni/board/message?board.id=330&message.id=17551&query.id=74484#M17551
http://forums.ni.com/ni/board/message?board.id=330&message.id=19658&query.id=74523#M19658
Also check out the example. It is a Mini User Interface with specific Model.
Take care! I have copied the SequenceFiles from here. But they had modified NI_StepTypes !
So when you open NEVER accept savings to NI_xx.ini stuff. !!
Greetings
Juergen
05-27-2008 12:45 AM
Hi Marcos,
If I think I have understand you correctly,
You can run a Sequence in a NewSequence correctly but you can not run it with a Process Model Entry Point, such as "Single Pass".
Is this correct?
Regards
Ray Farmer
05-27-2008 02:33 AM
@ j_dodek :
thx, for the reply. I'll check your examples.
@ Ray Farmer :
Not exactly. I can run the sequence with a process model. But when i try to run a sequence, which needs parameters and i try to pass the needed parameters to the myEngine.NewExecution(..) method the WaitForEndEx() method does not return properly. When i try to run the same sequnce with the same parameter passing but without a process model. The execution runs as expected. My problem is that we need the report and sequences are only reported if a process model is used.
05-27-2008 06:17 AM
05-27-2008 06:31 AM
No, regular arguments. But i'm not sure, because at the moment i don't know where to put interactive arguments.
But as i did not intensinally use them, i suppose i used the regular. Those which are put in nan PropertyObject and its Paramters are put as Subprperties. I used the sixth parameter of the New Excution method sequenceArgsParam.
05-27-2008 07:11 AM
Hi,
Ok, so you are not using interactive, therefore if you are running a sequence in a new execution and you are using the ProcessModel, then your Sequence is "MainSequence" as this is the entry point to the client sequence file from the Process Model.
By default the MainSequence sequence does not use the Parameters, unless of course you have modified "Single Pass" or "Test UUTs" to pass parameters.
If you have not modified the Process Model, passing any arguments would be ignored but it should still run the sequence.
Regards
Ray Farmer
05-28-2008 03:36 AM
Hi there,
I agree. I've added a UiMessage Polling Thread and returned the TS Runtime Error.
TS ERROR: -17500; Operation Failed.|The selected sequence file does not contain a sequence named .|Step 'Check For Target Sequence' of sequence 'Single Pass' in 'PilzSingleSeqModel.seq'
I am not completly sure what this precondition means:
PropertyExists("RunState.ProcessModelClient") && !PropertyExists("RunState.ProcessModelClient.Data.Seq[\"" + Parameters.sequence + "\"]")
Isn't it set to true because ther are more Parameters than the sequence file?
05-28-2008 06:29 AM
Hi,
What it is saying is; RunState.ProcessModelClient must exist and also there must be a Sequence called MainSequence in the Client sequence file.
Regards
Ray
05-28-2008 09:06 AM