Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - halfshaft

Pages: [1]
1
Using a series of 90 digital panel meters to display values from a series of product tests for the current part, and the previous 9 parts as well. The code works well until the PLC (CLX) moves a value from the analog flow meter into the data register that is a very small number. There are times the meter reads -1.3E-45 or smaller instead of zero when the part is occluded. When such a value moves into the register the screen instantly crashes with a stack overflow error. I can click a button on the screen after hitting continue (no longer displays values, and shows red X's in place of some of the panels) that clears this array and relaunch, and everything works great until another part creates a similar value. Is there a way to round or truncate the data so that it doesn't try to display it? Or is there some other underlying problem driving this? Would it work better using a basic label to display?

Pages: [1]