08-04-2006 10:17 AM
08-10-2006 03:47 PM
08-11-2006 07:37 AM
Hello Thaison,
Thanks for your reply. I called the application engineer yesterday and I forwarded him my project. He pointed out to me that I created the FPGA target under "My Computer" instead of under the crio target. I put my FPGA under crio, I think the problem is sloved regarding the slow update of the analog input data, But I still have one more issue. I created a very simple Host vi and I am using the same FPGA vi. In the Host vi I am just monitoring digital IO and analog input. what's happening is after so many iterations my host vi is stuck, no response at all. when I click on any controller or indicator on the front panel or if I put a probe on the block diagrarm the host vi is running again. I also observed that the FPGA vi was running in the back. Could you tell me what might be causing this? If this issue is resolved I will make a good progress on my application. again I appreciate your help.
Mudda.
08-14-2006
11:27 AM
- last edited on
08-07-2025
04:37 PM
by
Content Cleaner
Mudda,
The behavior you described does not point to anything specific right away, but with a bit more information, we may be able to help you diagnose the problem. When you refer to the Host VI, are you referring to the VI running on the Real-Time cRIO target or on the host PC? How do you read the digital IO and analog input, via DMA or polling/interrupts? You may want to create an indicator in your host loop with the iteration count of the loop wired into it to make sure that the While loop is actually running. When you say it's stuck and there's no response, does Windows report that LabVIEW is not responding? If you are running the host VI on your RT cRIO controller, you can use the Real-Time System Manager to monitor the CPU usage to make sure the processor is indeed still running the VI.
Thaison V
Applications Engineer
National Instruments