Jump to content

CPeng

Members
  • Posts

    8
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2010
  • Since
    2006

CPeng's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yes I have separated the part that receives the messages from the part that does the heavy lifting. But at some point you have to get information into the loop that is doing the heavy lifting. That is what my question is centered around. I explained the code I posted poorly. The heavy lifting is done in the loop that contains the 500ms wait. The subvi is waiting for a message. So the example code is simulating a case where the module gets a command every 1.5 seconds that takes 500ms to process. Which ends up being a 33% workload for the module. Thanks for the tick count warning! The reason I can not use the development environment to capture performance is because we have about 50 machines running in different conditions. I want to detect the workload of each module as it is running off site.
  2. I want the performance information programmatically on a deployed system not in a development environment.
  3. The design uses modules which communicate to each other by messages. The module waits for a message in a subvi and when it receives a message it executes the command in the main vi. My goal is to see how much time is spent waiting on the next message and how much time module spends executing code. If the module is always executing code there is a problem since it will be slow responding to messages. I attached a very stripped down version which includes my timing code (which works, I just hope there's a better way). I also included another VI which I was thinking would lead to a solution, but it doesn't work as I hoped. Code is LV 2011. performance statistics.zip
  4. I have a main vi with a sub vi. I want to compare the time the main vi is running to the time the sub vi is running. Is something like this possible? I coded in some timing mechanisms but it's awkward. I thought the Execution State property node would do it but it doesn't distinguish between running and waiting to run.
  5. Are there videos up anywhere?
  6. Awesome thanks for the info. All these years and I've never seen one of those things. Why would you use this over an array of integers?
  7. I've inherited some code and there's an odd control on the front panel. It's an array on the front panel but seemingly an integer on the block diagram. LV 8.2.0 What is this? what.vi
  8. So the next Google AI Challenge is ramping up. This year it's an ant simulation where you write a program to compete against others in a simulation ant colony. (Source: http://ai-contest.com/forum/viewtopic.php?f=21&t=1312) If you aren't familiar here is their website from last year which was an interplanetary war simulation: http://ai-contest.com I would like to add LabVIEW to the list of supported languages this year. I started an thread here if you want to check out the progress: https://github.com/a...issues#issue/32 Please jump in if you have anything to add..I do not have much experience with LabVIEW on Linux.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.