01-25-2019 02:38 AM
Why Single Pass entry point in SequentialModel.seq includes PreUUTLoop Callback and PostUUTLoop Callback? This entry point does not have a loop for sockets, so what is the point?
Solved! Go to Solution.
01-25-2019 08:33 AM
I haven't been at NI long enough to know the exact historical reason, but my guess is just for parity with the Test UUTs entry point. Here's an example of where that might be useful:
Overriding both callbacks in a client file lets you get the same LED behavior with both entry points, without having to the modify the client file. My example probably isn't the best - i suppose ProcessSetup and Cleanup would work just as well for the big LED, but there are some other reasons those callbacks exist...
Hope that helps!
Trent
01-25-2019 08:46 AM
You might be right. I was analyzing a single pass entry point without thinking that it is a part of the process model that has two possible entry points. But now it makes sense.
Thanks.