11-23-2010 08:17 AM
Hello All,
I am having a problem with a phantom task hijacking one of my analog out channels (channel 0 to be exact on a cDAQ-4 channel analog output module). Is there a way to monitor a channel and determine when and where the phantom task is beign created taking control of the channel?
Thanks?
Andy_W
ps. I have changed my code so that only one task should be created in one spot, and I still have this issue.
11-23-2010 10:35 AM
Hi Andy,
On the menu bar, select (I'm doing this from memory so bear with me) Tools >> Profile >> Performance and memory... (something like that) and it will bring up a dialog that will allow you to monitor processes and memory. You'll have to play with it some but select one of the boxes at the top while you cRio code is running and it will give you information on the process ussage and memory usage.
Also, for more advance diagnostics, select Tools >> Real-time Module >> Execution trace toolkit. This one you'll have to read the help on how to use it. But it will show all the Vi's, when they're running and how long they're taking (I've only used this once with an ni-guy looking over my shoulder but it was very helpful) It will give you a lot of detail but you can zoom into the trace to see more detail.
I hope this helps
Joe V
Team 704 - Go Warriors!
11-23-2010 01:18 PM
Thanks for the tip.
Andy