Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

DataTable logical-or output instruction for bitfield?


Ed Kern Apr 29, 2017 06:09 PM

I have a 'long' variable storing a set of flags as a bit field.

I'd like to log that in a datatable so that it captures the logical or of all the samples in the interval.

Is there a way to do that with an output instruction?

Otherwise I know I can do it manually with a cumulative variable reset by a timeintointerval call, but I'd prefer not to do that, since it would be 'brittle' i.e. someone changing the data table definitions might not correctly update the reset code.

Log in or register to post/reply in the forum.