v1.2.0 - Large update with fixes and new features #18
Replies: 2 comments 4 replies
-
Hi Max, been away from my project for a while but I am back. I read through your updates and updated my dev code. All is well. Nice to see you can do now getVariable for strings so I can remove my calc workaround in my wrapper. That of course leads to the question... Setting strings with setVariable. That is just not possible with WASimCommander at all right now correct? |
Beta Was this translation helpful? Give feedback.
-
Hi Paul, good to hear from you. That's right, currently I've been avoiding adding client-specific functionality to the client (stuff that's not directly related to the "WASim API"), but I think Hans has convinced me to add custom named Key Event handling in the client anyway... so that kinda opens the door to other abstractions as well. :) Cheers, |
Beta Was this translation helpful? Give feedback.
-
Changes since v1.1.2
WASimModule
int8
-int32
types) -- the result data would be encoded as a float type instead. (8c7724e6)GetCreate
command to use if the variable needs to be created. (61a52674)GetCreate
andSetCreate
commands for non-L types now silently fall back toGet
andSet
respectively. (61a52674)GetCreate
was always sent as if responding to aGet
command. (61a52674)requestId
to error logging and response output for data requests and add more info forGet
command errors. (17791eef)Once
type update period are now queued if data updates are paused when the request is submitted. These requests will be sent when/if updates are resumed again by the client. Fixes that data would be sent anyway when the request is initially submitted, even if updates are paused. (fe99bbb2)WASimClient and WASimClient_CLI (managed .NET)
list()
requests (eg.thousands of L vars). (a05a28c3)setLocalVariable()
andsetOrCreateLocalVariable()
.getOrCreateLocalVariable()
.VariableRequest::createLVar
property.create
flag and unit name toVariableRequest()
c'tor overloads.saveDataRequest()
which doesn't wait for server response (saveDataRequestAsync()
for the C# version). (82ea4252, 0a30646d)getVariable()
to make use of new WASimModule feature. (8e75eb8c, 0e54794b)setDataRequestsPaused()
) is now saved locally even if not connected to server and will be sent to server upon connection and before sending any queued data requests.This allows connecting and sending queued requests but suspending any actual value checks until needed. (bea8bccb)
setVariable()
method now verifies that the specified variable type is settable before sending the command to the server. (576914a2)WASimClient_CLI (managed .NET)
WASimUI
Get
commands.+
,-
, or0
to reset.Full log: v1.1.2.0...1.2.0.0
The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static, dynamic, and managed (.NET) libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.This discussion was created from the release v1.2.0 - Large update with fixes and new features.
Beta Was this translation helpful? Give feedback.
All reactions