User Portlet
Featured Contributor
Discussions |
---|
PMS3003 has a serial interface so I think the easiest way to integrate that into System Modeler is to use a USB/serial cable and write an ExternalObject (using C) to communicate with it. You can find an example of writing ExternalObjects here:... |
I'm sorry I din't read your description carefully enough, the bug you describe is still present in 5.1. If I'm not misstaken there is a big difference between upvotes on Stack Overflow and likes here in that upvotes actually has a clear functional... |
The error message is bit misleading, the actual error is Error: [ :41:5-41:18] Class Time not found in scope TestingTime.Time.'=='. The other one is just a weird error that follows from proceeding without knowing what class Time is. I... |
You can apply units on a reusable unitless library in different ways Modify your instances: model ApplyUnit Modelica.Blocks.Sources.Sine sine1(y(unit="m", displayUnit="ft")) annotation(Placement(visible = true, transformation(origin... |
What does the error message say in english, something like nmake not found or? The most common problem is that it's not the right kind of VS that is is installed. SystemModeler requires Visual Studio for Windows Desktop. Otto |
Neil, yes that is correct I was referring to ExternData. Otto |
Hi, I don't have any immediate ideas of what might be wrong. You say that it crashes every time you try to perform basic operations, can you give other examples that causes it to crash? When during the process of opening a file does it crash?... |
Thank you very much for verifying my suspicion. Otto |
That's odd, the only thing that I can come up with is that your `C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/Tools/VsDevCmd.bat` (the script that setup the environment for Visual Studio) for some reason changes the working... |
I have never used the build systems that comes with MSL so I don't know why their makefile doesn't build libModelicaExternalC. However, if you look at the autotools based one libModelicaExternalC consists of ModelicaFFT.c ModelicaInternal.c... |