Jump to content

Application builder makes VI's run faster?


Recommended Posts

Well, I think the title is already quite explicit.

I have three VI's running at the same time in a slow labtop. I'd like to know if I can make my system run faster by creating an .exe or not. Otherwise I guess I'll have to enhance the code... :'((

Oh another question: do graphs that show 1M points make the VI much slower?

Thanks!

Link to comment

Building an executable could make your program run faster, but it won't be considerable improvement, unless you really need a separate memory space for each VI. You would probably be much better off optimizing your VIs. The usual killers are redundant memory allocations (resizing arrays\strings in loops, using local and global variables for large pieces of data, etc.).

QUOTE(mermeladeK @ Oct 5 2007, 12:48 PM)

Oh another question: do graphs that show 1M points make the VI much slower?

Yes, definitely. Since the actual width of the graph is only X pixels wide, there's no point in placing a million points in your UI. Just decimate the data before putting it into the graph.

Link to comment

QUOTE(yen @ Oct 5 2007, 01:37 PM)

Building an executable could make your program run faster, but it won't be considerable improvement, unless you really need a separate memory space for each VI. You would probably be much better off optimizing your VIs. The usual killers are redundant memory allocations (resizing arrays\strings in loops, using local and global variables for large pieces of data, etc.).

Yes, definitely. Since the actual width of the graph is only X pixels wide, there's no point in placing a million points in your UI. Just decimate the data before putting it into the graph.

Thanks!

The weird thing is that the labtop now is running faster and I didn't do any change. Anyway I'll try to optimize the VI's.

I'll try your suggestions.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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