Dear Martin,

Thank you for contacting National Instruments. I would like to
apologize for the delay in responding to your support request.

>From the information you have provided, it sounds like you are running
your VI and experiences issues with the lower and upper mask
refreshing after subsequent iterations of the FOR loop.

The =93Mask and Limit Testing=94 Express VI is not intended to function
inside a loop; however, you can fortunately modify this Express VI to
perform the desired action. To do so, please follow these
instructions:

1)=09Open the Block Diagram for your =93test_limits_testing.vi=94 file
2)=09[Right Click] on the =93Mask and Limits Testing.vi=94 Express VI
a.=09Select [Open Front Panel]
b.=09When prompted to convert to a standart subVI, choose [Convert]
3)=09[Right Click] on the =93subMaskLimitTesting.vi=94 Express VI
a.=09Select [Open Front Panel]
4)=09From the toolbar, select [Window] >> [Show Block Diagram]
5)=09You should see two subVI=92s named =93MatchDT=94 (white icons with
black text)
a.=09Wire a [True] Constant to the =93Reset 2=94 input terminal for
each of the =93MatchDT=94 subVI=92s
i.=09To do this, right click each input terminal and select
[Create]>>[Constant]
ii.=09Make sure the constant value is set to [T] for =93true=94
6)=09Save and Close the subVI=92s
7)=09Re-run your =93test_limits_testing.vi=94 file, and the masking
limits should re-initialize upon each loop iteration

You have successfully customized the VI to function within a loop.

I hope this helps! Please don=92t hesitate to let me know if there=92s
anything else I can help with or clarify. Have a great day!

Kind Regards,
Joe Des Rosier
National Instruments

Reply via email to