JKI State Machine Objects

What you need to know about the State Machine Objects framework: Intro

Take a look at our latest blog post to learn some of the basics about the framework, including a short video on how to create your first SMO class.

sm-smo-graphic (1).jpg

Message 1 of 5
(5,268 Views)
4 REPLIES 4

Re: What you need to know about the State Machine Objects framework: Intro

I am still at the beginning to understand the concept of the framework and I think I did not catch the idea behind it completely. What is the reason behind the converting from object to reference number than to ref of cluster and back  to object ?.

Message 2 of 5
(4,104 Views)

Re: What you need to know about the State Machine Objects framework: Intro

Hi jeornheit,

Thanks for the comment. This is a good questions when it comes to ByReference SMOs. Using a reference number instead of directly the DVR on the private data allows for faster edit-time performance. The only caveat is that we had to add the Ref to DVR and DVR to Ref methods wrapping the in place structure that accesses the DVR's data (as shown below).

DVR to Ref.png

I hope that helps!

Message 3 of 5
(4,104 Views)

Re: What you need to know about the State Machine Objects framework: Intro

Hi all!

There is a thing wich is or missing, or I am too bad at finding it.

You provide number of templates, which differ severly in functionality. However, I cannot find practical description of whea actually they do.

E.g. If I wouldn't read the post about dependency insertion, I would have no clue that "Instrument" template allows for such thing.

Is there any documentation, or plan for cerating one, which describes those "hidden" (i.e. not avaliable through SMO editor) features?

Message 4 of 5
(4,104 Views)
Highlighted

Re: What you need to know about the State Machine Objects framework: Intro


@_Mike_ wrote:

Hi all!

 

There is a thing wich is or missing, or I am too bad at finding it.

You provide number of templates, which differ severly in functionality. However, I cannot find practical description of whea actually they do.

 

E.g. If I wouldn't read the post about dependency insertion, I would have no clue that "Instrument" template allows for such thing.

 

Is there any documentation, or plan for cerating one, which describes those "hidden" (i.e. not avaliable through SMO editor) features?


+1.

 

It'ss been 3 years since this comment. Is there any documentation available?

 

Lack of real documentation about JKI SMO is really not helping me adopt it. I have a CLD for quite some time now, but I guest I'm not smart enough to just guess how the SMO works, how templates differ, etc.

Even the HAL webinar video skips over some of the more detailed aspects and does not explain why he chose the Instrument template for microscope, and ByRefWithEvent for XYstage and Camera.

Message 5 of 5
(465 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.