Blocks that are not run


Author
Message
Théo
Théo
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 21, Visits: 72
Hey evryone, 
I have some troubles cause I some blocks of my script are not executed but the validation tool don't indicate any error.
The blocks that doesn't run are "EvalCS_V_A"  and "ContingAwar".
You will find all the material here : https://drive.google.com/drive/folders/16o7gc6rUFAsHaqE8nvMrzb9Xdu_s46Md?usp=sharing
If anyone have any solution it would be really helpfull thank you.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
Théo - 2/22/2023
Hey evryone, 
I have some troubles cause I some blocks of my script are not executed but the validation tool don't indicate any error.
The blocks that doesn't run are "EvalCS_V_A"  and "ContingAwar".
You will find all the material here : https://drive.google.com/drive/folders/16o7gc6rUFAsHaqE8nvMrzb9Xdu_s46Md?usp=sharing
If anyone have any solution it would be really helpfull thank you.

You have /skip attributes in both blocks. The blocks are not run if values.countTotal is less than 4.

<block EvalCS_V_A>
/ onblockbegin = [picture.CSPOS1.hposition=50]
/ onblockbegin = [picture.CSPOS3.hposition=50]
/ onblockbegin = [picture.CSNEG1.hposition=50]
/ onblockbegin = [picture.CSNEG3.hposition=50]
/ onblockbegin = [picture.CSPOS2.hposition=50]
/ onblockbegin = [picture.CSPOS4.hposition=50]
/ onblockbegin = [picture.CSNEG2.hposition=50]
/ onblockbegin = [picture.CSNEG4.hposition=50]
/ trials = [1-8=noreplace(CSPOS1, CSPOS3, CSNEG1, CSNEG3, CSPOS2, CSPOS4, CSNEG2, CSNEG4)]
/ skip = [values.countTotal < 4]
</block>

<block ContingAwar>
/ onblockbegin = [values.size =30]
/ onblockbegin = [picture.USNEG3.vposition="75"]
/ onblockbegin = [picture.USNEG1.vposition="75"]
/ onblockbegin = [picture.USPOS3.vposition="75"]
/ onblockbegin = [picture.USPOS1.vposition="75"]
/ onblockbegin = [picture.CSNEG1.vposition="20"]
/ onblockbegin = [picture.CSNEG3.vposition="20"]
/ onblockbegin = [picture.CSPOS1.vposition="20"]
/ onblockbegin = [picture.CSPOS3.vposition="20"]
/ onblockbegin = [picture.USNEG4.vposition="75"]
/ onblockbegin = [picture.USNEG2.vposition="75"]
/ onblockbegin = [picture.USPOS4.vposition="75"]
/ onblockbegin = [picture.USPOS2.vposition="75"]
/ onblockbegin = [picture.CSNEG2.vposition="20"]
/ onblockbegin = [picture.CSNEG4.vposition="20"]
/ onblockbegin = [picture.CSPOS2.vposition="20"]
/ onblockbegin = [picture.CSPOS4.vposition="20"]
/trials = [1-8=noreplace(ContingAwarCSPOS1,ContingAwarCSPOS3,ContingAwarCSNEG1,ContingAwarCSNEG3, ContingAwarCSPOS2,ContingAwarCSPOS4,ContingAwarCSNEG2,ContingAwarCSNEG4)]
/preinstructions = (introCA)
/ skip = [values.countTotal < 4]

</block>

You initialize values.countTotal with a value of 0

<values>
/count0=0
/count1=0
/count2=0
/count3=0
/count4=0
/count5=0
/count6=0
/count7=0
/count8=0
/count9=0
/count10=0
/selectitem = 0
/stimtarg1 = 0
/countTotal=0
/picturetype = 0
</values>

and nothing in the script ever increases or otherwise changes the value. It remains 0. Consequently, those blocks are skipped.



Théo
Théo
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 21, Visits: 72
Dave - 2/22/2023
Théo - 2/22/2023
Hey evryone, 
I have some troubles cause I some blocks of my script are not executed but the validation tool don't indicate any error.
The blocks that doesn't run are "EvalCS_V_A"  and "ContingAwar".
You will find all the material here : https://drive.google.com/drive/folders/16o7gc6rUFAsHaqE8nvMrzb9Xdu_s46Md?usp=sharing
If anyone have any solution it would be really helpfull thank you.

You have /skip attributes in both blocks. The blocks are not run if values.countTotal is less than 4.

<block EvalCS_V_A>
/ onblockbegin = [picture.CSPOS1.hposition=50]
/ onblockbegin = [picture.CSPOS3.hposition=50]
/ onblockbegin = [picture.CSNEG1.hposition=50]
/ onblockbegin = [picture.CSNEG3.hposition=50]
/ onblockbegin = [picture.CSPOS2.hposition=50]
/ onblockbegin = [picture.CSPOS4.hposition=50]
/ onblockbegin = [picture.CSNEG2.hposition=50]
/ onblockbegin = [picture.CSNEG4.hposition=50]
/ trials = [1-8=noreplace(CSPOS1, CSPOS3, CSNEG1, CSNEG3, CSPOS2, CSPOS4, CSNEG2, CSNEG4)]
/ skip = [values.countTotal < 4]
</block>

<block ContingAwar>
/ onblockbegin = [values.size =30]
/ onblockbegin = [picture.USNEG3.vposition="75"]
/ onblockbegin = [picture.USNEG1.vposition="75"]
/ onblockbegin = [picture.USPOS3.vposition="75"]
/ onblockbegin = [picture.USPOS1.vposition="75"]
/ onblockbegin = [picture.CSNEG1.vposition="20"]
/ onblockbegin = [picture.CSNEG3.vposition="20"]
/ onblockbegin = [picture.CSPOS1.vposition="20"]
/ onblockbegin = [picture.CSPOS3.vposition="20"]
/ onblockbegin = [picture.USNEG4.vposition="75"]
/ onblockbegin = [picture.USNEG2.vposition="75"]
/ onblockbegin = [picture.USPOS4.vposition="75"]
/ onblockbegin = [picture.USPOS2.vposition="75"]
/ onblockbegin = [picture.CSNEG2.vposition="20"]
/ onblockbegin = [picture.CSNEG4.vposition="20"]
/ onblockbegin = [picture.CSPOS2.vposition="20"]
/ onblockbegin = [picture.CSPOS4.vposition="20"]
/trials = [1-8=noreplace(ContingAwarCSPOS1,ContingAwarCSPOS3,ContingAwarCSNEG1,ContingAwarCSNEG3, ContingAwarCSPOS2,ContingAwarCSPOS4,ContingAwarCSNEG2,ContingAwarCSNEG4)]
/preinstructions = (introCA)
/ skip = [values.countTotal < 4]

</block>

You initialize values.countTotal with a value of 0

<values>
/count0=0
/count1=0
/count2=0
/count3=0
/count4=0
/count5=0
/count6=0
/count7=0
/count8=0
/count9=0
/count10=0
/selectitem = 0
/stimtarg1 = 0
/countTotal=0
/picturetype = 0
</values>

and nothing in the script ever increases or otherwise changes the value. It remains 0. Consequently, those blocks are skipped.



OMG... Thank you Dave
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search