Jump to content


Photo
- - - - -

LabVIEW Task Manager


  • Please log in to reply
68 replies to this topic

#1 lvb

lvb

    Very Active

  • Premium Member
  • 193 posts
  • Location:Michigan
  • Version:LabVIEW 2012
  • Since:2003

Posted 14 September 2011 - 07:04 PM

Are there any existing task managers specific to LabVIEW? I am looking for a task manager that is capable of:
  • Listing running VIs along with memory usage and refnum
  • Aborting a running VI
  • Showing or hiding a block diagram or front panel

I have searched on google and the NI forums with no luck.

Brian Fischer

Certified LabVIEW Architect (CLA)

Certified TestStand Architect (CTA)


#2 asbo

asbo

    I have no idea what you're talking about... so:

  • V I Engineering, Inc.
  • 1,273 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 14 September 2011 - 07:27 PM

I haven't seen any completed solutions, but I know that I posted a small utility that handles opening the block diagram of VIs.

#3 John Lokanis

John Lokanis

    The 500 club

  • Members
  • PipPipPipPipPip
  • 688 posts
  • Location:Seattle, WA
  • Version:LabVIEW 2013
  • Since:1993

Posted 14 September 2011 - 07:36 PM

You can always write your own. Most of what you want is available via VI Server.
----------------------------------
John Lokanis
CLA
Twitter: @jlokanis

#4 jcarmody

jcarmody

    The 500 club

  • Premium Member
  • 849 posts
  • Location:North Carolina, United State, Earth
  • Version:LabVIEW 2013
  • Since:2007

Posted 14 September 2011 - 08:35 PM

My Abort.vi does some of what you mention:

Are there any existing task managers specific to LabVIEW? I am looking for a task manager that is capable of:

  • Listing running VIs along with memory usage and refnum not sure how difficult this would be to add
  • Aborting a running VI
  • Showing or hiding a block diagram or front panel this feels like it might be easy
I have searched on google and the NI forums with no luck.



You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

 


#5 asbo

asbo

    I have no idea what you're talking about... so:

  • V I Engineering, Inc.
  • 1,273 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 14 September 2011 - 09:45 PM

My Abort.vi does some of what you mention:


Between your VI and my BDWin.Open.vi he's got a good bit of legwork done for him.

#6 lvb

lvb

    Very Active

  • Premium Member
  • 193 posts
  • Location:Michigan
  • Version:LabVIEW 2012
  • Since:2003

Posted 14 September 2011 - 10:30 PM

*
POPULAR

Thanks for the replies, I am aware of how to obtain this information using VI server. I just find it odd this tool does not exist.

Sounds like something I will have to develop and submit to the LAVA code repository. So this thread has now become suggestions on developing a VI Task Manager tool....

Please reply with your ideas!

Edited by brianafischer, 14 September 2011 - 10:32 PM.

Brian Fischer

Certified LabVIEW Architect (CLA)

Certified TestStand Architect (CTA)


#7 asbo

asbo

    I have no idea what you're talking about... so:

  • V I Engineering, Inc.
  • 1,273 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 14 September 2011 - 10:46 PM

Your list so far is a solid start. The only additional function think of offhand is to work across projects/application instances, but I haven't messed with VI server enough to know if that's even feasible. I'll think about it some more and see if I can come up with some other good features.

#8 Ton Plomp

Ton Plomp

    How many lines per hour? Zero!

  • Premium Member
  • 2,005 posts
  • Location:New Zealand
  • Version:LabVIEW 2012
  • Since:2000

Posted 15 September 2011 - 05:34 AM

One feature request is a drop-down VI, that sends a message to the taskmessenger, with info about the owning VI and perhaps a custom string, so we can track start-stop and runtime

Ton

#9 jgcode

jgcode

    LabVIEW Renegade

  • OpenG
  • PipPipPipPipPipPip
  • 2,406 posts
  • Location:Australia
  • Version:LabVIEW 2009
  • Since:2005

Posted 15 September 2011 - 09:41 AM

I would like to see a tool/exe like this developed.

#10 lvb

lvb

    Very Active

  • Premium Member
  • 193 posts
  • Location:Michigan
  • Version:LabVIEW 2012
  • Since:2003

Posted 15 September 2011 - 07:06 PM

One feature request is a drop-down VI, that sends a message to the taskmessenger, with info about the owning VI and perhaps a custom string, so we can track start-stop and runtime

Ton



Ton, are you asking for the LabVIEW Task Manager to provide a "pipe" for User Defined Trace events? This is already a feature of the LabVIEW Desktop Execution Trace Toolkit that is now included with LabVIEW 2011 Professional:
generate_user_defined_trace_event.png

Brian Fischer

Certified LabVIEW Architect (CLA)

Certified TestStand Architect (CTA)


#11 Ton Plomp

Ton Plomp

    How many lines per hour? Zero!

  • Premium Member
  • 2,005 posts
  • Location:New Zealand
  • Version:LabVIEW 2012
  • Since:2000

Posted 15 September 2011 - 07:39 PM

That is exactly what I'm asking. If you have a task manager, it would be nice to have a 'last event' status of the VI.

Ton

#12 asbo

asbo

    I have no idea what you're talking about... so:

  • V I Engineering, Inc.
  • 1,273 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 15 September 2011 - 08:55 PM

Ton, are you asking for the LabVIEW Task Manager to provide a "pipe" for User Defined Trace events? This is already a feature of the LabVIEW Desktop Execution Trace Toolkit that is now included with LabVIEW 2011 Professional:
generate_user_defined_trace_event.png


Does that mean in order to use the (proposed) task manager, you'd have to install the DETT?

#13 lvb

lvb

    Very Active

  • Premium Member
  • 193 posts
  • Location:Michigan
  • Version:LabVIEW 2012
  • Since:2003

Posted 16 September 2011 - 01:53 PM


Does that mean in order to use the (proposed) task manager, you'd have to install the DETT?


No, I was suggesting that functionality already exists in another product. I don't think the DETT has an API, so I am not sure how it could be a dependency.

Brian Fischer

Certified LabVIEW Architect (CLA)

Certified TestStand Architect (CTA)


#14 jgcode

jgcode

    LabVIEW Renegade

  • OpenG
  • PipPipPipPipPipPip
  • 2,406 posts
  • Location:Australia
  • Version:LabVIEW 2009
  • Since:2005

Posted 16 September 2011 - 11:55 PM


No, I was suggesting that functionality already exists in another product. I don't think the DETT has an API, so I am not sure how it could be a dependency.


Yes, it has prims you can drop onto your VIs from the palette (once you install the toolkit of course).

#15 lvb

lvb

    Very Active

  • Premium Member
  • 193 posts
  • Location:Michigan
  • Version:LabVIEW 2012
  • Since:2003

Posted 17 September 2011 - 11:52 PM


Yes, it has prims you can drop onto your VIs from the palette (once you install the toolkit of course).


I have the DETT installed on my system and only see the "Generate User-Defined Trace Event" under the palette "Desktop Execution Trace Toolkit" menu. I don't see any other VIs or an API that will allow for interaction with the DETT. Where are these other prims you are referring to located?

Edited by brianafischer, 17 September 2011 - 11:53 PM.

Brian Fischer

Certified LabVIEW Architect (CLA)

Certified TestStand Architect (CTA)


#16 jgcode

jgcode

    LabVIEW Renegade

  • OpenG
  • PipPipPipPipPipPip
  • 2,406 posts
  • Location:Australia
  • Version:LabVIEW 2009
  • Since:2005

Posted 18 September 2011 - 12:14 AM


I have the DETT installed on my system and only see the "Generate User-Defined Trace Event" under the palette "Desktop Execution Trace Toolkit" menu. I don't see any other VIs or an API that will allow for interaction with the DETT. Where are these other prims you are referring to located?


No, that is what I was referring to. Apologies.

#17 SteveChandler

SteveChandler

    Very Active

  • Premium Member
  • 161 posts
  • Version:LabVIEW 2010
  • Since:2000

Posted 18 September 2011 - 04:16 PM



Ton, are you asking for the LabVIEW Task Manager to provide a "pipe" for User Defined Trace events? This is already a feature of the LabVIEW Desktop Execution Trace Toolkit that is now included with LabVIEW 2011 Professional:
generate_user_defined_trace_event.png


Wait. Are you saying the DETT software that I just bought for LV2010 is now included with LV2011?
Steven Chandler
Certified LabVIEW Developer

#18 asbo

asbo

    I have no idea what you're talking about... so:

  • V I Engineering, Inc.
  • 1,273 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 18 September 2011 - 05:51 PM

No, I was suggesting that functionality already exists in another product. I don't think the DETT has an API, so I am not sure how it could be a dependency.


Ah, okay, I like the idea, but there should obviously be an OpenG implementation of that trace event so that everyone can use it.

#19 Ravi Beniwal

Ravi Beniwal

    Very Active

  • Premium Member
  • 93 posts
  • Location:Detroit
  • Version:LabVIEW 2011
  • Since:2001

Posted 19 September 2011 - 06:42 PM

*
POPULAR

I had created a task manager a while ago to address precisely these issues. I'm attaching the LabVIEW 2009 code for it. Please feel free to take this as the starting point and expand it further. I'd also love to work on this one more.

Currently it:
  • Lists all VIs in memory
  • Displays basic information like VI state, path, data size, code size, FP Behavior, Reentrant? Reentrance Type, etc.
  • Let's you select multiple VIs and open FP or BD
  • Let's you select multiple VIs and Abort
  • let's you select a refresh rate and updates the lsit
  • sort by any column
  • let's you filter file types like vi, vit, and ctl
What other functionality would you like to see in it?
  • select application instance?
Should this be submitted to the repository or should we keep attaching versions to this discussion?


Cheers!

Attached File  LabVIEW Task Manager.zip   146.7K   490 downloads

#20 Jordan Kuehn

Jordan Kuehn

    Extremely Active

  • Members
  • PipPipPipPip
  • 321 posts
  • Location:Oklahoma
  • Version:LabVIEW 2011
  • Since:2009

Posted 20 September 2011 - 01:25 AM

I had created a task manager a while ago to address precisely these issues. I'm attaching the LabVIEW 2009 code for it. Please feel free to take this as the starting point and expand it further. I'd also love to work on this one more. Currently it:

  • Lists all VIs in memory
  • Displays basic information like VI state, path, data size, code size, FP Behavior, Reentrant? Reentrance Type, etc.
  • Let's you select multiple VIs and open FP or BD
  • Let's you select multiple VIs and Abort
  • let's you select a refresh rate and updates the lsit
  • sort by any column
  • let's you filter file types like vi, vit, and ctl
What other functionality would you like to see in it?
  • select application instance?
Should this be submitted to the repository or should we keep attaching versions to this discussion? Cheers! Attached File  LabVIEW Task Manager.zip   146.7K   490 downloads


memory usage, and maybe cpu usage?
The Colex Group
Lead Software Engineer
Certified LabVIEW Developer