Sign in to follow this  
Followers 0
atomic_robo

unions

3 posts in this topic

I am trying to create a union of a 2d array of bits with 1d array of bytes.  when i try to address element [1,1] Sysmac says ' member has to be specified"

U.JPG

Edited by atomic_robo

Share this post


Link to post
Share on other sites

You need to choose which member of that Union you want to assign the value to.
In your case, it should be ACSOUTVariableName.OUTBits[1,1]

You cannot write ACSOutVariableName[1,1]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0