LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FlexRIO 6581 Timing violation need help

Solved!
Go to solution

Hi all,

 

I need some help, in the enclosure code, I have timing violation when I compile it. Does somebody can take a look, to help me to optimize or change something in order to compile the code ?

 

Thanks. Marc

0 Kudos
Message 1 of 5
(2,855 Views)
Solution
Accepted by topic author Marc-Henri

Where do you get the timing violation?

From a quick look, try replacing the x2 (multiply with a constant of 2) in Write DIO.vi with a bit shift of 1 bit.

Also, do all the values have to be U32? Always use the smallest representation possible. You can even change the representation of the tick counter.

 

0 Kudos
Message 2 of 5
(2,848 Views)

Hi,

 

I have a timing violation in the big SCTL in the middle with the state machine Idle/ReadRam/Generate. You're right about the U32, I don't realy need them.

Any other suggestion ?

 

Regards Marc.

0 Kudos
Message 3 of 5
(2,845 Views)

More important than the U32 is the multiply I mentioned.

 

0 Kudos
Message 4 of 5
(2,843 Views)

Thanks to you dan_u

0 Kudos
Message 5 of 5
(2,822 Views)