Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Can't start OPC UA server from command line, just from OMEdit

Can't start OPC UA server from command line, just from OMEdit

I can make an interactive simulation from OMEdit using OPC UA interface. From OMEdit, the resulting run options are:

[OMEditCompilationPath]\testOPC.exe -port=50685 -logFormat=xml -override=startTime=0,stopTime=120,stepSize=0.24,tolerance=1e-06,solver=dassl,outputFormat=mat,variableFilter=.* -r=testOMI_res.mat -jacobian=coloredNumerical -clock=RT -w -lv=LOG_STATS -embeddedServer=opc-ua -rt=1

When I try to run this from command line, from that same path, it just finishes immediately, without any messages. I try the OPC connection from my client (UaExpert) but the server is not found.

I tried changing the -port argument but no deal (don't know what this arg means by the way).

Any hints?

My version is "OpenModelica v1.11.0-dev-83-g372119f"

Edited by: brunoleos - Sep-22-16 16:55:44

Re: Can't start OPC UA server from command line, just from OMEdit

In addition,

I've just accomplished it with the executable generated directly from omc.exe.

Maybe the executable from OMEdit is built in a particular way, so not meant to be run outside the environment?

There are 0 guests and 0 other users also viewing this topic
You are here: