cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

How to define user Datalayer?

How to define user Datalayer?

HKoba
New Poster

Dear Community,

(For me first time regarding SDK, so please let me know if there are any care points, mistakes and misunderstanding.)

Our customer have a question regarding DataLayer. They want to use be storing and sheared image file (Data) on the Datalayer. In that case, How to make a user data field on the Datalayer? or it's better things on the other way? 

And they want to know load of file to Datalayer from PC, also Do they possible load iamge file from PC via Ethernet or memory card?

Thanks!

Koba

Below Customer question (direct translation from Japanese):

I am implementing a C++ application that reads images from DataLayer and processes them.
The following points are still unclear.

  1. Is it possible to configure the settings for saving images from the camera to the DataLayer in the CtrlX Core web UI?
  2. When testing the implemented application, if I want to saving image data for testing to DataLayer, is it possible to saving image files to DataLayer from CtrlX Core's web UI?
2 REPLIES 2

CodeShepherd
Community Moderator
Community Moderator

Please beware that the ctrlX Data Layer is a data broker and no storage. See documentation for further information. "ctrlX CORE Runtime, Application Manual  -->  Working with the ctrlX CORE  -->  Data exchange via Data Layer"

  1. There is an example in the SDK for ctrlX AUTOMATION that can be found on GitHub. There you can see how to publish many known data type to the Data Layer.
    SDK cpp example alldata providerSDK cpp example alldata provider

    So a picture could be published e.g. as type raw or a byte array.

  2. General files can be stored and read via the app data, where all apps put their configuration and working data.
    See this thread how to store data to the app data storage from c++.
    See this thread how to access app data from a PC via WebDAV. At the moment there is no function in the standard UI for uploading files only downloading is possible.

  3. An USB mass storage or an µSD card can be used as storage. See this thread for more information.

 

Dear CodeShepherd 

Thank you quick replay!

It's very kindly information for us. We need to study step by step like this things with customer.

Best regards

Koba

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist