Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [basyx-dev] Interact with multiple submodels

Dear Nicolas,

> Can you tell me what is the fastest way to get all registered data elements of all submodels? (HTTP-REST calls? VAB crud calls? Using the ConnectedAdministrationShell calls?) I need, for a dashboard 
> application, to request all data elements from every submodels, but it is really slow.

The VAB crud calls/the Connected* classes have little overhead in comparison to http-REST calls, so any option should be fine. What exactly is slow? Retrieving the AAS, retrieving their submodels or retrieving the data elements? There are explicit API calls for data element retrieval (https://wiki.eclipse.org/BaSyx_/_Documentation_/_API_/_Submodel). Are you using these?


> I am trying to build a manager application for a complete factory, which can start or stop all machines connected in the factory (the operations must be quickly applied).

What exactly are you aiming at with this start/stop of machines and why does it need to be applied quickly? If there's any real-time requirement involved here, maybe a dashboard is not the best solution. 


> Is there a built-in way in BaSyx to get all submodels of a specific type? (e.g. get all control component submodels).

Currently, there's no built-in way to do this. What we are planning to do is to implement a tagged directory where it will be possible to retrieve all AAS or submodels with a certain tag (e.g. "ControlComponentContaining", "Device"). 


> How do we differentiate and describe submodel types and instances for this purpose?

The meta-model of the AAS and submodels defines the "HasKind" qualifier. This qualifier allows to define if the current entity is a type or an instance. 

Best regards,
Frank

----------------------------------------------------------------------------------
M.Sc. Frank Schnicke
Abteilung ESW
Fraunhofer IESE 
Fraunhofer-Platz 1 | 67663 Kaiserslautern 
Tel: +49 631 / 6800-2259 | Fax: +49 631 / 6800-9-2259
www.iese.fraunhofer.de 
Mail: frank.schnicke@xxxxxxxxxxxxxxxxxx

-----Ursprüngliche Nachricht-----
Von: basyx-dev-bounces@xxxxxxxxxxx <basyx-dev-bounces@xxxxxxxxxxx> Im Auftrag von Nicolas DUMINY
Gesendet: Mittwoch, 11. Dezember 2019 19:22
An: basyx-dev <basyx-dev@xxxxxxxxxxx>
Betreff: [basyx-dev] Interact with multiple submodels

Dear BaSyx development team,

Can you tell me what is the fastest way to get all registered data elements of all submodels? (HTTP-REST calls? VAB crud calls? Using the ConnectedAdministrationShell calls?) I need, for a dashboard application, to request all data elements from every submodels, but it is really slow.

I am trying to build a manager application for a complete factory, which can start or stop all machines connected in the factory (the operations must be quickly applied).
Is there a built-in way in BaSyx to get all submodels of a specific type? (e.g. get all control component submodels) How do we differentiate and describe submodel types and instances for this purpose?

Best regards,


Nicolas Duminy
_______________________________________________
basyx-dev mailing list
basyx-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/basyx-dev


Back to the top