

This FAQ lists common and not-so-common questions which have been raised by existing users. The intention is not to replace or duplicate the User Manual, but to give information about topics which do not fit neatly into the manual for whatever reason.
References to the SUM and OM (EuroSim Software User Manual and Owner's Manual) refer to the latest issues. As well as a hardcopy, you should have installed versions accessible with a Web Browser via $EFOROOT/doc/html/index.html
The FAQs list will be updated regularly, and your suggestions and contributions are welcome! Please send the information to EuroSim Product Support.
| Q: | How is the real-time performance achieved with IRIX, a Unix OS? As Unix is not preemptable in general, what is the latency time for activation of a process after an interrupt? |
|---|
| Q: | I have a large model: is there an easy way to home in on a particular section without having to either a) "show all" which can become a bit "crowded" or b) double-click my way down the required branch which is tedious? |
|---|
| Q: | I want to schedule a procedure which has arguments, but I can't make an entrypoint from it. |
|---|
| Q: | Is it true that I can call model tasks and functions directly from MDL? |
|---|
| Q: | I can't close the plot windows opened by the PV-WAVE plot backend. |
|---|
| Q: | When I try to build my model I get an error message: 'Fatal error: Can't open temporary formatfile' What is going wrong? |
|---|
| Q: | An error is reported when using the EuroSim python interface on Debian 3.1 |
|---|
| Q: | Can I change the frequency of the data monitors? |
|---|
| Q: | Changing the frequency of a recorder leads to loss of data? |
|---|
| Q: | How can I build a simulator from the command line ? Is there a Makefile example ? simulator? |
|---|
| Q: | How can I set compiler flags? |
|---|
| Q: | What is the difference between condensed and non-condensed view in the Dict Browsers? Is there any impact of choosing one over the other? |
|---|
| Q: | Can you configure the simulation before each run eg. add or remove sub-models? |
|---|
| Q: | When I try to execute a simulation, I get a "could not connect to simulator" error message. What does this mean? |
|---|
| Q: | EuroSim consumes the full colormap of my display and doesn't allow to see proper colors in the applications launched after it. How can I change the number of colors the EuroSim applications are using? |
|---|
| Q: | efoList and others not found under Debian? |
|---|
| Q: | How do I activate an entrypoint directly from mdl? |
|---|
| Q: | How does EuroSim support interrupt handling when using hardware-in-the-loop? |
|---|
| Q: | My external simulator access isn't working correctly. Are there built-in debug facilities that I can use? |
|---|
| Q: | Can I fork a process in my model code? |
|---|
| Q: | EuroSim is now installed - is there a fast way to get something running? |
|---|
| Q: | My Action Manager task appears to cause a real-time overrun during simulation. |
|---|
| Q: | What libraries are available to support hardware-in-the-loop interfacing? |
|---|
| Q: | How can I initialise an array variable? |
|---|
| Q: | I want to know when my procedure has run, but I get a single message
to the log ("proc X has completed") followed by "last message repeated
10 times".
|
|---|
| Q: | The SUM mentions a constraint when using mixed language code (eg. F77 calling C or viceversa). Is this only applicable to the part of code that is directly visible to the Eurosim environment or it is applicable to the whole code required by a particular model? |
|---|
| Q: | I'm having problems starting a simulation (messages about permission conflicts), but the files seem to have the correct user/group privileges set. Could it have something to do with the fact that the files are in an NFS mounted directory? |
|---|
| Q: | I can't set breakpoints or traces and I can't enable/disable tasks! |
|---|
| Q: | When I try to execute a simulation, I get the message that my current host cannot be used as a server. And trying to list the available servers, I get a similar message that there appear to be no suitable servers. |
|---|
| Q: | When I run my simulator (server) and client on different hosts, there is no exchange of Tm/Tc data. When I run both on the same host, it all works as expected. |
|---|
| Q: | How can I read in a data file during initialisation, ie. directly in model code rather than via an Initial Condition File? |
|---|
| Q: | The SimulationController says that my simulation is NOT reproducible, while the ModelEditor said that it was! When I ask the SimulationController for Versioning: Check Reproducibility, the given reason is that the dict was supposedly generated from a temp model, which it wasn't! |
|---|
| Q: | When starting a simulator on a Samba share (network drive), I get an error: "Not able to connect". |
|---|
| Q: | Can I save the simulation state vector and use it to restart a simulation the next day? |
|---|
| Q: | What sort of scheduling model does EuroSim use? |
|---|
| Q: | How can I edit source code using my favourite editor? |
|---|
| Q: | I used "Change version requirement..." and set the version for one of my sources files to 1.2, whilst the latest version is 1.3. I expected the node label to be "File.c 1.2 (1.3)" but it's actually "File.c 1.2". |
|---|
| Q: | I'm trying to integrate two sub-models: Model A has global_output variable called 'float VAR_A' and Model B has global_input variable called 'double VAR_B' I wish to use Model A VAR_A output as input for Model B VAR_B. Is this possible or do the variables have to have the same type definition and the same name? |
|---|
| Q: | What happens to my simulation results when I disconnect and then reconnect to the same simulation? |
|---|
| Q: | I don't seem to be able to find (some of) my simulation results?! |
|---|
| Q: | Which variables are contained in the environment of a running simulator? |
|---|
| Q: | If I want to substitute a software sub-model by a hardware module, how do I have to change the interface? |
|---|
| Q: | I understand that that some system calls could cause non deterministic real-time behaviour, but can't I use non-blocking calls within EuroSim? |
|---|
| Q: | I seem to get a merge conflict when using typedefs with unnamed field. |
|---|
| Q: | My structures contain bitfields. Can I use them with EuroSim ? |
|---|
| Q: | I'm having problems integrating some code which has data types of 'long double' into EuroSim. Is this type not supported? |
|---|
| Q: | Can I use malloc and other such calls in my model code? |
|---|
| Q: | My pointer type has been given a PARAMETER attribute by the ApiEditor, which leads to errors if the source code tries to assign values to this variable pointer. |
|---|
| Q: | Can I start and stop data recording upon an event generated by a model or a hardware interrupt? |
|---|
| Q: | I have data from a source other than EuroSim, which I wish to reference in a stimulus action, in order to feed data values into an API variable. Do I have to convert the data first? |
|---|
| Q: | I have a FrameMaker file for my model description, but after adding a version to it, it became unreadable by Frame. Why? |
|---|
| Q: | What happened to the EI input connector in Mk2 and later? |
|---|
| Q: | Which version of EuroSim am I running? |
|---|