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

How to get started with SDK?

Open
Long-established Member

How to get started with SDK?

Hello, 

I am new to Ctrl X, how do i get started with SDK. I am trying to follow this blog https://developer.community.boschrexroth.com/t5/Store-and-How-to/Using-the-libusb-library-within-a-s....

Below are the things i have done.

-Installing a virtual machine in window

-setting up ubuntu in virtual machine

-installing virtual studio code in ubuntu

How do i get my Ctrl x to run the python scripts?

Tags (1)
3 REPLIES 3
Open
Long-established Member

Re: How to get started with SDK?

Hello, are there any resolution for {} error in Ctrl X? I am trying to install sdk-py-mouse-data snap file. 

Open_0-1650421304485.jpeg

 

nickH
Occasional Contributor

Re: How to get started with SDK?

Hello, 

First some information regarding your first question: How to get started with SDK?

The SDK itself and a documentation on the SDK can be found on GitHub. 

As an App Build Environment you nee a Ubuntu 20.04 Linux operating system with a special set of software packages and certain settings. There are several alternatives for such an environment. I would recommend to use the App Build Environment which is integrated in ctrlX WORKS (since V 1.14). See this documentation on how to setup this development environment. After the fist boot you can run some install scripts which are part of the virtual environment to download an unzip the SDK or to download some additional packages for a specific programming language (see screenshot). After that you can connect from Visual Studio Code (locally installed on window host) to your to your App Build Environment with ssh and the use of the "Remot SSH" extension and the connection string (eg: ssh -p 10022 boschrexroth@127.0.0.1). 
image.png

 

Then I would recommend you to take a look at the existing samples in the SDK for the programming language you want to use. Some information about the python samples can be found here

Then you can follow the How to blog you mentioned. 

Best regards, 

Nick

nickH
Occasional Contributor

Re: How to get started with SDK?

Which System version are you using? Please go to Settings->Apps and click on "Show system apps".  Here you can check the versions of your system apps and therefor the version of your System. 

The sample sdk-py-mouse-data only works with the version 1.12 (RM21.11) out of the box. 

 

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