Simulate and Canbus

Andy 12 months ago in IQANsimulate updated by Nick Pridham 4 months ago 1

Question for using simulate.

When testing a Project in Design we use the separate simulate program to test the design functionality. However when the deisgn uses Canbus as J1939 or CanOpen then it seems to me that I can go in and simulate a single canbus sent or received frame value to ensure that the system does what I want, but I cant simulate the live function of the canbus itself.

For example if I have a master that is sending J1939 packets to something else then is there any way I can generate that Canbus output on the Simulate PC as either a serial interface or using one of the approved USB to Canbus dongles?

So far when using one project master to talk to another master project then I dont believe I can really use simulate to test that but actually need  the 2 master IQAN modules on my desk next to design to test the implications for change and to get a feel for canbus loading etc.

Is my understanding that I cant use simulate for this correct? and is there any plan's to change simulate to cover this aspect in the future?

In my case where I use a pair of MD4-10's to talk to each other over a wireless bridge having that much hardware tied up on my desk is expensive and I don't want to pay for that if there is an alternative approach I could/should use...


Under review

Simulation Battery voltage

Joe 2 years ago in IQANsimulate updated by Gustav Widén (System support) 2 years ago 4

Is there a way to change the +BAT diagnostic channel during simulation? I am doing some demonstrations that use this value to show engine charging voltage and it is stuck at 12.40V. I have a 24V system, so a low voltage error is persistent.

Under review

Multi-Master Simulation

Lars Bolduc 3 years ago in IQANsimulate updated by Michael Carlyle 3 years ago 5


Is there any plan to improve multi-master simulation?

Data is not sent between the masters, and therefore a machine can not be fully simulated.

This will make our future designs much more difficult to maintain.



Delay off/on

Lars Bolduc 3 years ago in IQANsimulate 0


When simulating and/or troubleshooting in IQANrun delay on and delay off (for IDCs for example).

It would be great to know the current value of the delay.

Displaying a live timer of the internal value being counted down.

So if the IDC has a 240,000 msec delay on, you could tell how far along this delay was.



Simulate Input and Output Statuses

Chris Litwin 6 years ago in IQANsimulate updated by WareTech 5 months ago 8

Is there a way to set the statuses for inputs and outputs in IQAN Simulate 5? I know I can set COUT channels, but that option is greyed out on all other channels.

Under review

Simulate I/O diagnostics cases for HS or LS digital output on MC4X

Fredrik Lorenc 6 years ago in IQANsimulate updated by Gustav Widén (System support) 4 years ago 4

It is possible to simulate different I/O diagnostics cases for i.e. current outputs on the MC43 by left-clicking on them and selecting status. A list of different I/O faults appear for the given output. However, when trying to do the same for a HS, LS or HS/LS digital output, the "Status" option is grayed out. I find this strange as the manual for the MC4X states that there are diagnostics for these output types as well.


IQANsimulate 4.00 released

Gustav Widén (System support) 9 years ago in IQANsimulate updated 9 years ago 0

Highlighted features

Signal generator

It is now possible to control the value of a simulation item using a signal generator. The signal generator contains a table with time/value pairs.

Image 256

Import of measure file creates simulation items for each channel in the measure file that can be simulated (inputs). Values from the measure file are also imported so that you can play back a measured scenario.

Image 255

Interface to other simulation software

ActiveX support implemented. Makes it possible to read and set values from external software, e.g. Microsoft Excel. There is an example file for this under the examples folder.

Image 254

Remember input values and settings between simulations without having to save

Simulations can be manually saved as .isa4 files. There is also an automatically saved simulation, that stores the input values and all the settings between the simulations. When launching IQANsimulate, there is an option to select whether to use a saved simulation file or create a new one.

Image 257

Keyboard shortcut for small input changes

In the simulation group view the arrows are used to select channel. Ctrl+arrows are used to change the value of the selected track bar. Added shift+ctrl+arrows to change values in raw value steps of 1 (smallest step available).

Possible to add channels to simulation group while simulating

You can now drag a channel from the functionality viewer to a simulation group without having to stop the simulation first. There is also a default simulation group, so it is not necessary to first creating a simulation group.

"Set value" function more accessible

Added a small popup below selected channel containing controls for setting values on the channel. Same method used for physical channels and for the "set value" function for stored and adjustable channels.

Image 258

For more details, see release notes.


Ability to mirror a connected display in simulate

Matt 2 months ago in IQANsimulate 0

It appears that it is not possible to mirror an actual connected iQAN display in iQAN simulate. I'm trying to capture images of what certain portions of our program would look like given different conditions on the machine. For the majority of items I'm able to use simulate on its own, but for heavily CAN driven display pages it's much harder, if not impossible, to simulate. It'd be very easy to create the different conditions on the machine itself, but taking pictures of the MD4 for user documentation just doesn't look as professional as screenshots.


Simulating digital inputs

Tim M 2 years ago in IQANsimulate updated by Gustav Widén (System support) 2 years ago 5

If I run a simulation using IQANdesign/IQANsimulate 6.08 with all digital inputs used, DIN-A through DIN-T all show OK, while DIN-U through DIN-AR all show False: Disabled.  If I do the same thing with IQANdesignIQANsimulate 5.05, then all digital inputs show OK.  Can you explain this?

Under review

Communication error when simulating

Pierre Fagrell 2 years ago in IQANsimulate updated by Gustav Widén (System support) 2 years ago 2

I am running IQANdesign 6.08 and Simulator 6.08

I have started the simulation from within IQANdesign. Whenever I navigate to a certain disabled function group I get the following error:

Message data size wrong (was 11, but expected 2 bytes).

Image 3044

After the error, measurement is terminated but the simulation keeps running.

The function group in question is disabled, and has a number of inputs and outputs.