0
Not a bug

QCode bug: 'result' not in pulldown menu

Dave Minerath 4 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 4 years ago 6

When I try to use QCode and start typing


result:=


The pulldown menu only shows

<space>:=

after I type the first few chafracters.


So, if I type


re


The menu shows

:=


so I click on it, and the Qcode line ends up looking like this:


re :=(Warning Code Valve 3 GPIN>0)and (Warning Code Valve 3 GPIN<>12 and Warning Code Valve 3 GPIN<>15 )

instead of

result :=(Warning Code Valve 3 GPIN>0)and (Warning Code Valve 3 GPIN<>12 and Warning Code Valve 3 GPIN<>15 )

This worked fine in version 4.00, and seems to be new to 4.01.

Answer

Ok, I see. Some channel types don't use the

Result :=

syntax. Instead they use Qcode commands. The event counter is one of those. Look at the IQ hint for each channel type to see its Qcode syntax. This is from the IQ hint for event counter:

The event counter channel is controlled by using Qcode commands. The following commands are available:

    • QIncrease increments the value of the channel.
    • QDecrease decrements the value of the channel.
    • QReset resets the channel value to the value defined by the property Reset value.

So instead you would type something like this:

if (Warning Code > 0) and (Warning Code <> 12) and (Warning Code <> 15) then
  QIncrease
endif

You can read more about it in the user manual, chapter 4, especially page 93 which talks about Qcode commands.

0
Fixed

IQAN 4.0 bugs

ksilovich 4 years ago in IQANdesign updated by Gustav Widén (System support) 4 years ago 2

I have found a few glitches in the new IQAN Design.


1) The page Order number doesn't match in both windows. When moving a page to the bottom of the list. It will move in the main window, but the side bar it will stay in its old place.


2) When you hide a component and select one under that hidden one. It will highlight the wrong item. Seems to be off by the number of

hidden components. See below, when you hide item 39 and selecting 40, it actually highlights 41.


Hidden with wrong item highlighted


No items hidden with correct item highlighted.



In IQAN Run.

3) When adjusting an item. It is covered up and I cant see what I am typing in.


4) I was unable to set the machine ID like I normally able to. No matter what I did, I would get the following error. The system is a multi mater (2 MD3's, one at address 0 and 3)



0
Fixed

Graph time scale

Conrad Elektro 4 years ago in IQANdesign updated 4 years ago 6

Hello, We like the possibility to add graphs with IQANdesign. How can we set the time scale of the graph so that it starts again after 1 second instead of 50 seconds? We like to monitor a movement in 1 or 2 seconds. With the time scale of 50 seconds we can not see the result properly. Is it possible to change it or is there a workaround?

0

Backlight auto-adjuste

Florent Mirieu de Labarre 4 years ago in IQANdesign updated 4 years ago 3

Hi


My customer use product during the day and the night. The problem is in night the backlight is too hight. It is possible to change with the menu, or with a button to switch in night mode. it's work but is not auto-adjuste.


Three possibility to do an auto-adjust-backlight

1 - add a light sensor (light Garmin GPS)

2 - add a function who calculate the sunrise and sunset with latidude/longitude in input. I have made this fonction it is works great. But if the system loose date or the customer change place (it is possible with our product), it doesn't works. Like that there a number 3

3 - add a GPS module on your module (now a GPS module is very low cost (5$)), like that always on time, you have the real speed, and you can use the auto-adjuste-module


Regards


0
Answered

Simulink --> C-Code --> IQAN MD4 Display

Fero Freitag 4 years ago in IQANdesign updated by Gustav Widén (System support) 4 years ago 1

We have created a software model in Simulink and Stateflow. For developing the prototype we have a CAN interface used. Thus, we could create a complex algorithm. By code generator we have created from the algorithm C code. Now to the question: Is it possible to C code to be loaded on the display MD4?

0
Answered

How do master modules behave when they become optional

Kevin Arscott 5 years ago in IQANdesign updated by Gustav Widén (System support) 5 years ago 6
We are using a system with two master modules, MC3 and MD3. I have several questions regarding how the system behaves when disconnected. We are intending on having only the MC3 set as optional as all the fault logging is done within the MD3.

What happens if the can line is disconnected when the system is live? Will we get any errors within the MD3 or notification to say that its been disconnected?

Also we are having an APP out sent to the MD3 to we are able to flag the disconnection of the modules in the MD3. Will the MD3 be able to pick up the APP in has dropped to low after a disconnect? Im assuming we could have a similar setup on the MC3 logic also?

Regards,

Kevin Arscott.
0
Fixed

unable to update/download project with MD4 ethernet connection

David Dufour 4 years ago in IQANdesign updated by Leon Valentin Novac 4 years ago 26
Hi,

I'm actually try to send my project to multiple master configuration.

I have this configuration :

Enclosure 1
MC3 (0) + MD4 (1)

Enclosure 2
MD4 (2) + MD4 (3)

Enclosure 3
MD4 (4) + MD4 (5)

Enclosure 4
MD4 (6) + MD4 (7)

I set the can bus A as Diag network, can bus B as master bus.

Also, I have 4 XA2 connected on the can bus C on the MC3 unit.

I used all node tag without termination.

when I have a success (I need to power down 2 or 4 MD4 to be able to transfer the program),
I got MD4 with version number on the right bottom of the screen.


there is a limitation of the number of equipment who can be updated over the ethernet connection of a MD4 ? is the Can bus adapter will be safer and more stable ?

Also, I tried to transfer the program with all MD4 on the project and I always have the same issues.

Once time I got 2 MD4 with the normal startup page but without communication with the MC3.

Any idea ?

Regards,

David
0
Answered

remote connection message on MD4

Frank GUO 4 years ago in IQANdesign updated by Anders Båth 4 years ago 7

Is it possible to have the 'remote connection acceptance' message turned on or off? I am connecting to a MD4 remotely using network. Every time, it will ask to accept the remote connection. Would like to see if that message can be turned on or off somewhere.


0
Answered

Array channel as app-out function

Jan Gillesen 4 years ago in IQANdesign updated by Gustav Widén (System support) 4 years ago 9

Is it possible or will it be possible to feed a complete array channel through an app-out / app-in function? We cannot manage to do so right now.


Using an array channel we could combine a lot of low priority data into a single app-out.


( We've tried using a parallel J1939 can line in the software but cannot combine it with a master and diagnostics line. )

0
Completed

Measure & Adjust Groups - Appearance Customisation - MD4

Nick Pridham 4 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 2 years ago 4
I had a Human Factors change request on a project: The request relates to viewing lists of measure and adjust values on the MD4 screen.

  1. Theme choices: Example alternative lines show white text black background then black text with white background as a way of making long lists more readable.
  2. Font size and colour