Host Engineering Forum

General Category => General Discussion => Topic started by: PLCGuy on September 09, 2017, 07:56:49 AM

Title: Casting
Post by: PLCGuy on September 09, 2017, 07:56:49 AM
I have a question on casting
I created  EndCurlA, Unassigned word, Range 0-255, Radx Dec, Set Range 0-255, User

Now when I go to enter data I found i have 88, 0-87, memory slots. I hope I am calling 0-87 properly.
How do I end up with 88? How could I figure out how many I would have when I do a cast? Could one of the columns in Casting calculate and display that for me? When I saw range I thought I would have 256 of them. I guess each one uses up so many bytes.

I found this out by going to data view and typing EndCurlA 0 then hitting ctrl-enter all the way to the end until it said I hit the memory limit.
Title: Re: Casting
Post by: franji1 on September 09, 2017, 08:10:39 AM
You hit the limit of the number of rows in a Data View, which is 99.  I'm guessing you probably started EndCurlA0 around row 10.

If you create a new Data View and start with EndCurlA100 EndCurlA101, and hit Ctrl+Enter to the view's limit, you will end up at EndCurlA199.