From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-25-2017 07:03 AM - edited 07-25-2017 07:07 AM
Hi, I am using loop timer and a shift register to control the fpga while loop time as the picture above.
A strange thing happened to me where the loop time is not being controlled at all. Even if I put 1400 for PID_dT input, the output shows 20000 which is way too high for me. It worked fine before and I have not changed anything in the FPGA file. It happened to me before, and the solution was to reinstall the software all over again, and I really do not want to reinstall the software again. I wonder if there is any settings that I might have changed? Can anyone help me with this?
07-25-2017 07:29 AM
07-25-2017 07:33 AM
Hi GerdW,
Thank you for your reply.
No there is not such thing in the loop forcing the code to wait.
Is there anything else that might cause this problem?
07-25-2017 07:42 AM
07-25-2017 11:06 AM
Hi GerdW,
I just created a random vi that does not contain complicated code (just creating some sine wave) with the same while loop, shift register, and the loop timer, and it still showed the same problem.
So I guess the code is not the problem but something with the software itself. I also tried running other files which I know that definitely worked, also shows the same problem...... I tried searching in the forum to see if other people experienced it also but this has not been very successful. Very strange because this happened to me twice already.
07-25-2017 12:42 PM - edited 07-25-2017 12:44 PM
@incasekim wrote:
Hi GerdW,
I just created a random vi that does not contain complicated code (just creating some sine wave) with the same while loop, shift register, and the loop timer, and it still showed the same problem.
So I guess the code is not the problem but something with the software itself. I also tried running other files which I know that definitely worked, also shows the same problem...... I tried searching in the forum to see if other people experienced it also but this has not been very successful. Very strange because this happened to me twice already.
Sorry I misread your post. I see that you tried code that worked before also.