Streams with libember_slim and Ember+ Viewer

193 views
Skip to first unread message

Marcus Brand

unread,
Nov 30, 2015, 4:25:23 AM11/30/15
to ember-plus-development
Hi,

I am trying to develop our ATec Trackshot Playout System to get an Ember+ provider. I am using libember_slim, orientating myself at the __sample_provider.c file. Creating nodes and parameters worked fine yet, but now I encounter a problem with streams:

When I use the Ember+ Viewer as a consumer for the compiled __sample_provider.c, the Viewer crashes when I try to open the "streams"-node. What is going wrong there? If I use the Tiny Ember+ as a provider for the Ember+ Viewer, I can see the streams "move", everything works fine.

Best regards

Marcus

Marius

unread,
Nov 30, 2015, 10:57:23 AM11/30/15
to ember-plus-development
Hi Marcus,

the Viewer usually generates a file containing some information about the crash. It is located on the windows desktop. Could you please attach this file to this topic? It might help to see whats going wrong.

Second, could you provide a sample showing how you create the parameter?

A streaming parameter is created the same way like a default parameter, with the only difference that a StreamIdentifier must be set. (The StreamDescription is only required when several parameters share the same identifier and the data is reported within an array of bytes.)

Best regards,
Marius

Marcus Brand

unread,
Nov 30, 2015, 11:36:26 AM11/30/15
to ember-plus-development
Hi Marius,

thank you for the quick response!

I attached the logfile. The parameter is just as it comes with the libember_slim sample in the __sample_provider.c file, I didn´t change it ("root / non-food / streams").

Best regards,

Marcus
EmberPlusView crashed.2015-11-30 10-15.log

Marius

unread,
Nov 30, 2015, 11:42:01 AM11/30/15
to ember-plus-development
Thanks for the log. So, the crash has probably nothing to do with your streams, but with the F# runtime which is missing. The viewer uses F# to interpret the formulas, which seem to appear in the sample tree. Installing the F# 2.0 runtime should resolve this issue. Otherwise, please try to (temporarily) remove the formulas in the provider.

The runtime can be found here:

Marcus Brand

unread,
Dec 1, 2015, 3:54:42 AM12/1/15
to ember-plus-development
Now I installed the runtime, but it still crashed. Then I commented out the invocation of "createStream1" in __sample_provider.c, and now it works, I can see the other streams working in the Viewer (stream1 is the only one with a formula). It didn´t work like that without the F# runtime.

But why does the formula make the Viewer crash?

Best regards,

Marcus

Reply all
Reply to author
Forward
0 new messages