Jump to content

Recommended Posts

Posted

I want to create a data sampler that monitors a number of bits and integers, for troubleshooting purposes. As far as I can see, I can only assign integers or REAL numbers to the feed tags.

I know I could compare each bit status and store either 1 or 0 into an integer, then use those integers in the data sampler.... but I have a large number of bits that I want to monitor and was hoping there is a better way.

Any ideas?

Posted

Thanks for your replies.

The bits I need to monitor are not contigious, but I will look at the Bits to NUM instruction anyway...I haven't used that before.

As for "packing/unpacking bits into a UINT", I'm not exactly sure how to go about doing that.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.