Procedure
-
Click the Code tab at the bottom of the
design workspace to check the generated code.
As shown above, the messages from
Read_Output
go through throttling atcThrottler_1
, with only(1)
message allowed to leave the throttler within eachtimePeriodMillis(8000)
. Meanwhile, the filename and the content of the throttled message are printed out via the two processors. -
Press F6 to execute the Route.
As shown below, File_A.txt was delivered within the first time period while in the second period, File_B.txt was delivered as well.