11-14-2025 11:23 AM
Hi,
I did some research but I was unable to locate the execution rate the TEC module communicates over UDP with a computer to/from a cRIO. Can someone point me in the right direction for this?
Thanks,
-Jonathan
Solved! Go to Solution.
11-14-2025 11:35 AM
I read more and it looks like all while loops will be based on the engine timing information. So would this mean the UDP communication is running at a 5 mS rate?:
11-14-2025 06:45 PM
Yes you are correct, the tec module will run based on the timing source dt. 1MHz clock gives you 1uS dt. 5000 ticks x 1uS gives you the 5mS. If you need the engine to run at 5mS, but the tec module to run slower, there is an option to decimate the module. This will make it run every nth iteration. This will allow you to run the engine at the speed you require but only send the data at a decimated rate. Decimation is good to slow down coms or for datalogging at a slower rate.
11-17-2025 09:19 AM - edited 11-17-2025 09:19 AM
Thank you, this answers my question! The decimation information is good to know.