Jump to content

Plot high frequency data with low CPU load


Recommended Posts

Thank you Eugene

This is most helpful and instructive. It's a much better solution than I've been using up to now!

Can I add hree comments (hopefully helpful)

1) The Flatten to string is not required if you format the queue as a cluster.

2) The split 1D array can be moved inside the case statement

3) The Buffer Size check can be moved inside the case too

Yours Sincerely

John

Link to comment

QUOTE(jbrohan @ Sep 3 2007, 02:25 PM)

Right, I use only queues of type string in my programs, because of modules compatibility. For this example it is not requiered.

QUOTE(jbrohan @ Sep 3 2007, 02:25 PM)

2) The split 1D array can be moved inside the case statement

3) The Buffer Size check can be moved inside the case too

Yours Sincerely

John

The Buffer size control(terminal on BD) inside the case too.

One more comment from me:

Build array VI can eat some CPU, so you can better use "replace array subset". Than you have to know the max. buffer size in developing phase and probably limit the buffer size control to this max. size.

Eugen

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.