0
Answered

JPOUT rounding versus MAC rounding

Rick 7 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 1

How does a JPOUT block exactly round its value? And did something change there recently (since IQAN 5.0 or 5.01)?


We didn't see this problem before on other (slightly older) machines, but recently we ran into CRC Checksum computation problems. And my guess is that the QCode that does the computation (can't use the IQAN CRC blocks unfortunately) produces a slight different number in a few rare cases.


(see pic) So, both the JPOUT & MAC block that will compute the checksum, are connected to another MAC "LeverPosition [%]" block, which is a Float. So the position could be 49,49999. Multiply that by 500, you get 24749,95. I assume JPOUT will round this UP to 24750, like the QCode does.


Yet, sometimes (every few minutes, but that is relative rare for a joystick position that is sent rapidly and changing constantly!) the receiving transmission unit complains about a bad checksum. The strange part is that this didn't happen before on multiple (IQAN 4.7 / 5.0) machines.



Eventually we "fixed" it by simply rounding the LeverPosition at forehand. The error was gone, yet I wonder why this happens...


Image 1068


0
Answered

Real Datatype integer accuracy

M Donaldson 7 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 3

How many bits are part of the mantissa for the real datatype? We are bring in a rather large value(32-bit) that we use to generate PIN codes. Unfortunately we are bringing this in with a JPIN which is a real datatype. I've noticed in simulation when I enter a certain value it seems to get rounded to another. See below


Typed Value End Value
20031540 20031540
20031541 20031540
20031542 20031542
20031543 20031544
20031544 20031544
20031545 20031544
20031546 20031546
20031547 20031548
20031548 20031548
20031549 20031548




 I'm just wondering what the top end is for Integer accuracy using a real datatype.


Thanks,

0
Answered

Error division by zero in system log

Laura 7 years ago in IQANdesign updated 7 years ago 3

What is the easiest way to program the software to prevent the error division by zero in the system log?


0

Sending Text with a Generic CAN

C. Drouaud 7 years ago in IQANdesign updated by Gustav Widén (System support) 7 years ago 9

Hello,


I need to send a channel Text with a generic CAN-BUS to an external display. It seems that Generic parameter doesn't accept Text channel.


How can I do it ?


Thanks in advance. 

0

Problem with the image library. (Iso)

Masia Jean-Baptiste 8 years ago in IQANdesign updated by Anders Båth 8 years ago 1


On the Iqan 4.07 + md4-7
I would like to put on my Md4 two identical iso symbol, but size is different colors.
When I go through User Interface / Image and I import my image, there is no problem.
When
I go through User Interface / MD4-7 display pages that I go to my page,
that I go through the addition of the live library, it is impossible to
integrate two identical iso symbols, but with a size or a color different, it's impossible. As soon as you change pages, the logos change automatically and become identical!

0
Answered

SMS in

Salih 8 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 3

I have a question about "sms in channel".
I'm doing application like the following with the G3 modem and MC2.

Image 1061


I can't read this message from the software when I send a message to the gsm card that I plugged to G3 modem in externally. 

What could be the problem?
(But I can send a message from the g3 modem when I make a sms out application similar to this application.)

0
Answered

Ethercat

Richard Staite 8 years ago in IQANdesign updated by David Dahlgren 2 years ago 2

Hi Does anyone have any knowledge of Ethercat and whether its possible to interface using this protocol with Iqan?

There seems to be a version of CANopen over ethercat and I was hoping it may be possible to use this? 

0
Fixed

external controls wont respond after hiding slider

RobinArvidsson 8 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 3

i've got a display page with 9 sliders on top of each other. 

Depending of which "tab" im in i show the sliders needed in that tab. 


This works great! exactly as i would like. 


But if i adjust a slider with my external control and then change "tab" (hiding the newly adjusted slide) my focus locks and wont move until i touch the newly present slider.


This is not true in the simulator, only on the physical MD4-10 display.

Youtube video



Robin

0

Engine Serial Number

Caola, Robert 8 years ago in IQANdesign updated by Gustav Widén (System support) 7 years ago 1

Has anyone been able to map the engine serial number for PGN 65259? I cannot make any sense of the mapping. pictures would help

0
Answered

​DOUT under current detection

Stefan Hedlund 8 years ago in IQANdesign updated 8 years ago 5

DOUT under current detection.

I IQAN Design 4.** finns det möjlighet att välja bort under current detection för en DOUT channel, på t.ex en MC43 modul.

I IQAN Design 5.0** verkar inte den möjligheten finnas.

Det finns tillfällen jag matar t.ex. en Radiostyrning med en DOUT, och då får jag ett larm för open load, och kan följaktligen inte aktivera utgången.

Jag kan då lägga ett parallellt motstånd för att undvika detta, men det vore enklare om vi kunde välja bort larmfunktionen i programvaran. Finns det något bra sätt ?