Jump to content

Remove a zero array


Recommended Posts

Hello,

I am aquiring data from 8 channels (4 devices) so in order to plot them I added a build array (see attached picture) and created a 2d array. If one or more devices are switched off or disconnected this will create an array full of zeros (column H).

How can I avoid this?

post-20867-0-68213900-1336573819_thumb.j

Link to post
Share on other sites

Don't turn the device off? You should describe what your ideal outcome is. What you probably should do is conditionally disable plots on your graph.

Link to post
Share on other sites

Thank you all for your replies,

Ton's idea works but I notice a "display delay" when the waveform array data appear on the chart. When the 2d array is connected to the chart the data appear to move faster.

Darren's article is very interesting, how do I plot an array of clasturs of arrays into a chart?

Antoine's idea creates zero columns like 1 & 2 where as I would like to create columns like 3 & 4:

Link to post
Share on other sites
  • 1 month later...

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.