0

Math Channel Display issue

Leighton 3 weeks ago updated 2 weeks ago 4

I am hoping that this is not actually an issue and there is some setting I mis-clicked somewhere. However, I am having an issue with math channels not displaying correctly on a singular program.

It recently came to my attention that when I transitioned a program from IQAN 6.08 to IQAN 7.04 there has been a pair of Integer math channels that have been displaying 0 at all times. The odd part is that when I measure the program live with IQANDesign or IQANRun, both channels have numbers assigned which are correctly being passed elsewhere in the program, but the screen itself displays both as zero.

I have since attempted to assign flat numbers to the Integer math channels, or changing them into Normal Math Channels, adding math channels to different function groups, recreating the code in a different function group, and so on, however nothing I do changes the value displayed on screen to anything other than 0. I transitioned the 6 file to 7 over again, and it acts in the same odd manner, but when I compared the 6 program to the 7 the only detected changes were the expected date, Checksum, and Security changes that come with updating a program to 7.

The especially frustrating part is that when I start a blank program from scratch, all the math channels work and display as expected, and the same code displays correctly in a dozen other programs made in IQANDesign 7.04.

It sounds like the type of question that would require looking at the application. 

My recommendation is to reach out to your local Parker RAE. If you do not know who this is, ask via your Parker account manager or Parker distributor. 

+1

I've seemed to have stumbled on the cause of the issue and have been able to reproduce it in new programs. When a Label is in front of a value in a display page's layer order, and the label has its visibility controlled by a Virtual Digital IN, then it will block the value from displaying anything other than 0. Conversely, if the Value is ahead of the label, the label will not become visible when the VDIN is activated. Additionally, for every separate Label that is controlled by another VDI, another Value will be blocked in the reverse order that is shown in the Layer order of the display page. So far, the solution I am using is having my VDIN control an IDC and Connecting the IDC to the visibility of my Labels, as this seems to sidestep the issue entirely.