top of page

Groups Feed

View groups and posts below.


This post is from a suggested group

EventIDE Black screen GUI mode

Hi!

I am building my first experiment in EventIDE.


Quick Experiment Overview: "The core of my experiment involves 2 renderer elements. My experiment works as follows: after some time the target element will become visible set by the proxy variable. After that the second object is supposed to recognize the target and calculate the difference of the distance between the two objects and will start moving towards the target. When it reaches the target it stops, and the color of the target is supposed to change."


This worked perfectly and smoothly until yesterday night. I tried to add some additional features like a button press to make the target appear manually, and use a text element to display information if the time has run out. After implementing this, the experiment didn't work anymore --> black screen. I removed all the new parts I had implemented, but the black screen remains…


68 Views
Ilia Korjoukov
Ilia Korjoukov
31 жовт.

Bela hi,


It sounds really weird but we had some rendering issues with laptops that have double graphic cards. Can you, for the start,send me your task, so I can run and check it here? My email is info@okazolab.com

This post is from a suggested group

EventIDE crash when selecting "Multiple Datasets" after pinning two charts

Hello,


I am building a model where I want to visualize multiple custom variables in the same chart. For example, I want to plot one custom variable against another to visualize their relationship.

My variables are manually coded proxies via snippets, not linked to built-in element signals.


I haven’t tried the Multiple Channel Analyzer for multiple datasets yet, because for single datasets I already had difficulties plotting manually coded proxies in the screen editor, although the single-channel analyzer did allow selecting these proxies.


Instead, I pinned two charts, which gave me access to the configuration of multiple datasets in a chart’s properties, but that’s when the bug occurs.

Whenever I click on the dropdown menu to select a dataset in the pinned chart, EventIDE immediately crashes and closes. This happens consistently when trying to access multiple datasets.


29 Views
Ilia Korjoukov
Ilia Korjoukov
30 жовт.

Mathilde hi,


I will check the crash in chart asap, but there is another even better solution. You can convert your numerical variables into continuous signals with the Proxy Variable Signal element in EventIDE. After that, you can plot such variables with Multiple Channel Analyzer, record them along other real signals or do some signal processing.

This post is from a suggested group

Build/compile errors with shared Header variables, Duration access, and C# feature support in EventIDE


Dear Community,


I’m building my first closed-loop go/no-go experiment in EventIDE using a cybernetic layout (Sensor → Comparator → Controller → Actuator) on the root layer, and I’m encountering a few blocking compile/runtime issues that I can’t quite explain.


Bug 1 — “inaccessible due to its protection level”


After a clean save, (without any compilation error indicated within any snippets) the global banner reports snippet compilation errors, and I get:


“DynamicSnippetAssembly.clHeaderOnlySnippetHub.W is inaccessible due to its protection level.”


However, W (a constant representing the size of a sliding window used in my model) and the sliding-window state (Queue win, winSum, mean_win_ms, err_ms) are all defined once in the header and used across events.


79 Views
Ilia Korjoukov
Ilia Korjoukov
30 жовт.

Hi Mathilde,


I will try to comment on all point below.


Bug 1 — “inaccessible due to its protection level”

When you declare variables in the Header snippet, EventIDE wraps them with additional change-tracking code. In some cases—especially for complex types—this wrapping can fail, leading to confusing compile errors that actually originate from the generated wrapper code.

If that happens, you can add the internal keyword in front of the variable declaration, for example:

internal int i = 5;

This tells EventIDE to skip wrapping for that variable, which usually resolves the compilation issue.


Bug 2 — Duration property not visible from snippets

None of the element or event properties are directly accessible by default. You need to create proxy variables (via the “+” button in the property panel) for each property you want to access from snippets.

Note that you can also create proxy arrays or proxy hub variables linked to multiple objects — just select several objects before creating the proxy variable.


C# syntax support

Good catch. EventIDE should automatically use the most recent C# compiler compatible with its .NET 4.8 core (i.e., C# 7). However, in practice, the current version still defaults to the older C# 5.0 compiler, which explains the missing support for string interpolation and newer syntax.

We’ll fix this in the next update — but if you’d like, I can send you a patch right away.

This post is from a suggested group

simon Ksimon K
simon K

Bug's in Event IDE Project

Dear Community,

I am currently in the process of building my first project in Event IDE—a cybernetic system consisting of four sublayers: a Sensor, Comparator, Controller, and an Actuator, all within the root layer (environment). At the moment, I’m facing two bugs that I cannot explain:

Bug 1:I defined a double variable called Input_Signal in the header. In the control loop of the root layer, I assign it the value NewestSamples 2 (where NewestSamples is a proxy variable of the element Single Channel Analyzer). However, the error states that the operator  cannot be applied to a type double.

Bug 2:This issue is similar to the first. I attempt to assign the value of NewestSamples (again, a proxy variable of Single Channel Analyzer) to a double variable called Output in the actuator. The error message says that a value of type double cannot be converted to type double.

Thank you very much for your feedback and any hints you…

62 Views
Ilia Korjoukov
Ilia Korjoukov
29 жовт.

Simon hi,


The “Newest Samples” property returns a double array with all samples in a selected analysis window. If you want to read the last signal sample, you should create a proxy variable for “Newest Sample” property. I agree that these names are confusingly similar. If it helps, there is a trick: if you stop the mouse over any property in EventIDE, it will show a popup description that tells what is the property’s  data type.

This post is from a suggested group

Crash with the dashboards

Hey guys !

I'm trying to add a dashboard to my project and when I want to add variables to it, the app crashes.

I can add dashboards + variables to other projects, but not this one. Any idea where this could come from ?

76 Views
Ilia Korjoukov
Ilia Korjoukov
30 жовт.

Sebastien, many thanks for sending me the task file!


It turned out to be a previously unknown bug in the Dashboard element. The issue is caused by the 2D array declared in the Header:


int[,] myCapys = new int[100, 4];


When you press Select Variables in the Dashboard editor, EventIDE fails while parsing the values of that array.

We’ll fix this in the upcoming update, but for now you can apply a simple workaround by marking the array as internal:


internal int[,] myCapys = new int[100, 4];


The  internal keyword tells EventIDE not to treat this variable as a proxy variable, so it will be ignored by the Dashboard system but will still work in all your code as before.


I hope this helps others — and thanks again for spotting and reporting the issue!

This post is from a suggested group

Hello everyone! Okazolab team is here to answer your questions about EventIDE.

58 Views

This post is from a suggested group

48 Views

This post is from a suggested group

43 Views

This post is from a suggested group

57 Views
bottom of page