saruans

Omron camera unit macro code scene variable

3 posts in this topic

hello,

I wrote simple omron vision system macro script with one scene variable sc.q&. The variable value is 5, but then I am executing macro code get value 0. I attahced photo. Maybe somebody know how to solve this problem?

3fa7f498bbb9c248e3fb31bb300146bb851.jpg

9218aefb3cd3f08423840c38db13acd3513.jpg

Share this post


Link to post
Share on other sites

*MEASUREPROC

Dim IZA&

GetSceneData "Q&", IZA&

Print IZA&

Print("====================")

Return

This takes the value from the TDM editor

Edited by photovoltaic

Share this post


Link to post
Share on other sites
On 2021-05-07 at 11:36 PM, photovoltaic said:

*MEASUREPROC

Dim IZA&

GetSceneData "Q&", IZA&

Print IZA&

Print("====================")

Return

This takes the value from the TDM editor

Thank you very much

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