This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Convert 4 byte to 2 byte
#1
Hi.

How do i make a script to convert a 4 byte value to a 2 byte value.

My 4 byte value is 3/4/0 
and my new 2 byte value is 3/4/7
Reply
#2
Create event script on 4 byte and paste this
Code:
value = event.getvalue()
grp.checkwrite('3/4/7', value)
------------------------------
Ctrl+F5
Reply
#3
Perfect. Thanks!
Reply


Forum Jump: