Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are time slices and how should I use them?

slices time
0
Posted

What are time slices and how should I use them?

0

Circuit components are executed on the real-time processors on each tick of the sample clock. Time slices allow users to execute a specific component or set of components less frequently than once a sample tick. For example, if the number of time slices is set to 10 and a component, such as a SerStore, runs in time slice 1, (Time Slice = 0 means that it runs in each time slice. Time Slice = -1 means it loads at run time.) data will only be stored to the buffer every tenth tick of the sample clock. If the number was 100 then data would be stored once every 100 ticks. So, one function of a time slices is to reduce the amount data stored to a buffer. If the data rate required is 100 Hz you can use time slices to reduce the number of points to that data rate. However, you have to be careful using time slices. They should not be used with the DAC inputs, ADC outputs, or filters (you can use them with filter coefficients). In addition, component parameters that take inputs that generate a lo

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.