0

math error

MScottM 5 months ago in IQANdesign updated 5 months ago 1

Hello,  

I have an MD4-7 that I'm working with.  On one of my screens I display GPS coordinates in decimal degrees and D.M.S.  Sensor is external NMEA2000 device. While working on this screen I noticed that my Minutes display of Longitude did not correlate with the decimal display.

I've verified the GPS position I'm using as a sample against two other GPS receivers so I know what the correct position should be to within a few meters.

The incoming decoded decimal portion of the longitude position is x.56, and when multiplied by 60 should give me Minutes of 33 and change.  The MD4 is displaying Minutes at 26

I've tried a couple different variants of the basic formula:

Result := (Longitude - floor(longitude)) * 60 

Variant uses integer value from int math channel to subtract the integer part of the number.

The Latitude calculation is giving what seem to be correct results at first glance (the number displayed is "more" correct in terms of actual position), however, 0.42 * 60 = 25.2.

Am I doing something wrong with the number types?  Is there some truncation/resolution issue in the background?

CALC - LON = raw decoded float value (NOT SHOWN)

CALC - LON-DEGREE-FLOAT (alternate math channel - troubleshooting)

CALC - LON-DEGREE (INT math channel - troubleshooting)

CALC - LON-MINUTES (longitude decimal minutes)

CALC - LON-SECONDS (longitude decimal seconds)

Image 4809

Image 4810

0

Suppress PWM Input Low Error

scottk 5 months ago in IQANdesign updated by Gustav Widén (System support) 5 months ago 4

We have a situation where a PWM input occasionally drops to 0%, which is intentional and not indicative of a fault condition.
However, this triggers a low error message that we would prefer to suppress unless the condition persists for a defined duration, such as 10 seconds.


As discussed in other forum topics, one approach is to place the PWM input channel into a function group and enable or disable the function group to control the error message display. 

While this method can suppress the error message, it also disables the evaluation of the input channel, which is not suitable for our application.

Ideally we would like to:

  • Suppress the low error message for transient drops below 2.5%.

  • Display the error message only if the low condition persists for a specified duration (e.g., 10 seconds).

  • Maintain continuous evaluation of the PWM input channel to ensure accurate monitoring.

Any help would be most appreciated

0

Firmware Discrepancy

Lars Bolduc 6 months ago in IQANdesign updated by Gustav Widén (System support) 6 months ago 1

Hello,

I program machine with 7.04.8.10088.

But machine reports back 7.04.7.9978. (Via SIC Software version)

Simulator reports back 7.04.3.7033.

Which is the correct firmware?

With multi-master it is important we know the exact one to send to customers in the field.

Regards,

0

IQANdesign performance issues

toby 6 months ago in IQANdesign updated 6 months ago 4

IQAN design takes a painfilly long time (5-30s) to load blocks (int, real, digital, arrays) that contain Qcode, seems to take longer, the longer the project is opened. Also the compile times vary a lot and can take insanely long to compile (20s-3min). The computer is modern and powerful (Intel(R) Core(TM) Ultra 9 288V, 32Gb DDR5 Ram, SSD etc., so it shouldn't be the issue. Is there anything I can do to improve this performance issue?

Image 4802

0
Answered

Get project - module not found

MSM 6 months ago in IQANdesign updated by Gustav Widén (System support) 6 months ago 3

Hello - I'm trying to 'Get Project' from an older MD4-7 via Ethernet connection from PC to the display C3.  IQAN Design can see the display (listed in the subwindow), but when I try to proceed I get the error box: "Incomplete System" "Operation was aborted. The following modules were not found: MD4-7[1] (Optional)"

0
Fixed

IQAN design 6.08 -saveas from command line crashes the application

Raazi Rizvi 6 months ago in IQANdesign updated by Gustav Widén (System support) 6 months ago 1

Hi


There is a bug which causes the IQANdesign.exe application to crash when using the -saveas & -diff functionality from command line. I have verified this on two machines, the application crash happens (citing access voilation/reading null pointer) both when called from command line, however I am however able to run both commands from inside the gui application. For my purposes I am not able to upgrade to the latest version of IQAN as our entire codebase is running on v6.


IQANdesign version = 6.08.


Best Regards,


Raazi


 IQANsaveaserror.PNG

0

Using a Analog/Analog Compare channel with analog CAN inputs

Mark Bevington 6 months ago in IQANdesign updated 6 months ago 4

Hi,

I have two modules that are external to IQAN.  Each supplies a weight value via two independent J1939 CAN parameters.  One module is at SA=0xEB and the second is at SA=0xEC.

I need to compare these and enunciate a fault if there is a difference in force that is > 25 LbF.  I tried using the AAC channel to do a DiffCheck  and it does not work.  The AAC is always TRUE even when both channels are with 10 LbF of each other.  I thought that maybe it's due to the startup delay of these modules so put a 1000mS delay on the AAC DiffCheck ENABLE input and it still comes up TRUE.  I then set the Primary Input to be the same as the Secondary input and it still comes up TRUE, even through the two inputs to be compared ARE THE SAME.   Note, this is in IQANdesign v6.08.   Is it possible to use the AAC for this?  If so how?

0
Under review

Problem with Variant Option Selector scope seen when exporting active variant

Eero Palonen 6 months ago in IQANdesign updated by Gustav Widén (System support) 6 months ago 1

Hi,

Found a problem with variant option selector while testing how it actually works.

If you use function group output as input value for variant option selector and then set the selectors scope as public you can run into a problem. If you reference that now public selector in another function group you have a situation where exported project cannot reference back to the function group output. This happens most likely because the variant option selector is removed during export and there is no way that function group output can be referenced outside its "parent" function group.

As a workaround I have created "dummy" variable right after the selector that reads the selectors value and then set that "dummy" as the public variable which I can reference elsewhere.


In the future it would be nice if this type of "dummy" variable wouldn't be needed, maybe during export IQANdesign could check if variant option selector's input is from function group output and the selector is set as public and if those criterias are met it would automatically create public variable in its place.

Used version 7.04.8

0

Property inspector: Property and value rows don't line up.

Matt 6 months ago in IQANdesign updated 6 months ago 5

In design 7.04.8.10088, if you click on an item under the property column in the property inspector window, the corresponding item in the value column is shifted down.

Image 4756

Image 4757

0
Fixed

Startup Screen Bug

Kevin 7 months ago in IQANdesign updated by Thomas Moberg (System support) 2 months ago 8

I'm having trouble using the start-up screen. I noticed the customers logo was not displaying correctly so tried a different image. Appears to be the same result if I use the graphic as a JPG or BMP. Seems to delete the colour and make the whole image slanted, with lines appearing horizontally throughout the graphic and diagonal line.

MD5-8 IQANdesign 7.04.8.

Image in Paint:

Image 4742

Image shown on MD5 Startup:

Image 4743