10-11-2012 11:38 AM
Hello community,
I purchased an Arduino UNO along with DC Motor perpherals (MotoMama for example) for a project, as well as installed the appropriate drivers and interface for the Arduino - I am now waiting for my order. I have come to a realization that this project is very time critical and I would like to know how "real-time" a system like this would be.
Are there tools in which I can validate how much processing each VI is handling in real-time and perhaps determine delays. It looks like that the Arduino is being used as a hardware interface and the computer running LabVIEW is doing the processing. Unlike (say CodeVision AVG) that allows the user to compile the code into the ATMEL chip - using that software, it allows you to step through each line of code and determine how much time it takes. Are there tools like this in LabVIEW?
Ultimately, I prefer a real-time processing power +50 KHz, how can I test this to insure that the system is acting accordingly.
Dan
10-12-2012
02:10 PM
- last edited on
03-14-2024
09:35 AM
by
Content Cleaner
Hi Dan,
By real-time do you mean a real-time operating system?
To answer your questions about testing your code for execution speed and processing we have a few tools. In LabVIEW itself there's the Profile Performance and Memory: https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/dialog-boxes/profile-performance-and-memor...
Further, we have execution trace:
Let me know if any of this helps, thanks!