Thank you altenbach and Bob Schor for your answers and time.
It looks the way how to handle the problem is different from Matlab to LabVIEW. Matlab is more about simulation and solving equation offline without considering the magic of data flow. LabVIEW is more of real-time thing and really depends on the dataflow concept. As an example, to handle the same problem in Matlab Simulink, I had to run the two function at different sample rate by triggering them every period of time (function A works every k time and Function B works every k+5 time). This makes the two functions skip some simulated samples and work at different sample time.
However, in LabVIEW, altenbach solved that using a shift register to delay the operation of function B after 5 iterations. It is not exactly the same solution as Matlab because both functions do not skip iteration (only delay function B) but it works for me.
I even simplified altenbach’s VI to do what I needed as attached.
Thank you again.