RSView SE Expression Help

I need help understanding what this expression is doing. specifically the (&8192) portion. This is in a visibility animation on a label in RSView SE.



I understand it up until ({#4\ConfigWord} & 8192) but I don't use bitwise operators enough to understand what its doing.



Can anyone help me understand this?



ParmType is a Integer (0-INT, 1-BOOL, 2-REAL, 3-STRING, 4-LIST)

ConfigWord is a Integer


ParmTyp is currently 2 and ConfigWord is 21634 and the label is NOT Visible



if ({#4\ParmType}==2) AND ({#4\ConfigWord} & 8192) then
1
else
0
 
The value 8192 in binary is equivalent to having only bit 14 set. So in your visibility expression ({#\ParmType}==2 AND ({#4\ConfigWord} & 8192) If the config word has bit 14 set AND ParmType==2 the expression will be true "1"
 

Similar Topics

Hello, I have migrating from Panelview 1200 to Panelview 1400e and have this project import to RSView Studio ME. This project is using for Remote...
4
Replies
4,219
Views
I am trying to do an expression in RSView studio to change the color of an object which will have 3 states. I have done this before using 2 tags...
7
Replies
5,935
Views
Hello, I primarily work with FTView ME and I have v14 for ME/SE on my primary workstation. I'm looking through some old files that came on my...
2
Replies
263
Views
Hello, and calling out to the world for help! I've recently come up against a PanelView Plus 1000 that I've pulled a .MER file from it and it was...
5
Replies
434
Views
When I double-click on this "RSView ME Station" file, (5,242 kb), it brings up "View Machine Edition" (version 12), then it asks me: 1.) Do you...
11
Replies
4,478
Views
Top