Tutorial 2 - KDXplore¶
The Trial Manager Module within KDXplore is a versatile and useful tool for providing users the ability to manage Trials by editing Traits and Tags and enabling visualisation options for data. It also provides a platform for users to load and curate their collected data.
This tutorial provides instruction on how to begin using KDXplore’s Trial Manager. Upon completion you should be able to:
- Open and navigate Trials using Trial Manager;
- Load Trials into KDXplore;
- Add Traits and Tags to a Trial;
- Create Trait Instances in a Trial;
- Make a Scoring Set for efficient scoring;
- Edit basic Trial Information;
- Connect KDXplore and KDSmart; and
- Transfer Trials to KDSmart.
These activities form a part of managing and configuring Trials. This is an important step toward being able to load Trials onto KDSmart devices for data collection in the field.
- Tutorial 2 - KDXplore
- Step 1 - Loading Trials
- Step 2 - Adding Traits
- Step 3 - Adding Tags
- Step 4 - Attaching Traits to a Trial to make Trait Instances
- Step 5 - Making a Scoring Set
- Step 6 - Selecting a Planting Date
- Step 7 - Transferring a Scoring Set to KDSmart
Step 1 - Loading Trials¶
The first step to start working with Trial Manager is to load a Trial using one of the several available methods. Loading Trials using Google Drive, from CSV files and from a KDDart database will be covered.
If the connection to the KDDart database is successful, then a variety of Trials are available for practice. See Training Sample Data for sample files and database login information.
Further example CSV files are available at the KDSmart/KDXplore Example Resources page. Please visit this page and download the ‘Column and Row Trial’(KDSXsample1_Normal_Trial_X_Y.csv) to use for the following tutorials if you do not already have a Trial to use.
Loading Trials from a CSV File¶
KDXplore can import CSV and Excel XLS or XLSX files easily using drag+drop. For information on file import formats please see the CSV Import File Formats help page.
This annotated illustration accompanies the following instructions to import a Trial from a CSV file:
Trials can be imported from various sources and in different formats. One of the easiest ways is to import a CSV file which is outlined below in the steps and video below:
|1.||Select the Add Trials Button at and select the Load From CSV option. This will display the Import Trials Window at .|
|2.||Either drag+drop a CSV file into the window or select the Browse Button located at .|
|3.||Select the Add Device Button at to link any connected devices to import data (this is optional).|
|4.||Change the Trial Name and Operator if necessary. The Traits that are contained in this file will also be listed in the window. Selecting a Trait by right-clicking it will allow the user to choose import options for that Trait i.e. Don’t Import.|
|5.||Select the Import Button at to save the preferences and import the Trial.|
Once a Trial has been imported it will appear in the list in the Trial Details Panel. Trials can also be imported from KDDart by selecting Load From Database and from connected KDSmart devices through the Load From Tablet Data option when selecting the Add Trials Button.
Whilst this covered the import of a CSV file, the same process applies for a XLS or XLSX file except the user must choose the Load From XLS option after choosing to add Trial.
Loading Trials from KDDart Database¶
To import trials from the KDDart Database, you must first log in to KDDart. See login instructions below, followed by Database Trial import instructions.
|1.||Select File at the , then choose the connect option.|
|2.||The KDDart Login Window will then appear as at . Enter your username and password and then select the Login button to log into the KDDart Database.|
Logging into KDDart allows the user to easily import Trials with the relevant Traits and Tags attached. The following instructions demonstrate how to import a Trial from the Database:
¶ Step Action 1. Select the icon at and choose the Load from Database option to open the Database Import Window as seen in the image above. 2. Choose an attribute to search for (such as the one at ). This example is a location attribute that will only display the Trials that take place at Roseworthy. 3. Select the Find Trials Button to search for the Trials. If no attributes were selected, then all Trials in the Database are presented. 4. The search results will be displayed (such as in the following image). Choose a Trial (or multiple Trials) such as the one in and then select the Download Trials Button at to complete the import.
Loading Trials from Google Drive¶
The integration with KDSmart and Google drive means that it’s likely that any Scored Trials (Trials with scored data) will be located on Google Drive. This means that the Trial will need to be downloaded to the computer that KDXplore is installed on. This method is the same as the Loading Trials from a CSV File method except that you will need to download the file (which will likely be a KDX file) from Google Drive. The image and instructions below will outline how to download a Trial from Google Drive and load it into KDXplore.
|1.||Ensure that Google Drive is opened. If it’s not, then there is a Google Drive button in KDXplore which will open it in a browser. This button is located at in the above image.|
|2.||Choose any file such as the one located at . Right-click this file and then choose the Download option. This downloads the file to the default location for your browser (e.g. The Downloads folder).|
Click+drag the downloaded file (such as the one in the below image) to the Trials Panel in KDXplore. This displays the Load Trial Data Window at . The button can also be selected to display the Load Trial Data Window.
|4.||As with the Loading Trials from a CSV File method, select/highlight the file you want to import, select a Source device, and enter the Name of the Device User.|
Step 2 - Adding Traits¶
It’s likely that any Trial that is added will already have the required Traits necessary for the experiment. However, Traits can also be added to a Trial within the Trial Manager Module by creating a new Trait, editing an existing Trait, or importing a Trait. This tutorial will contain a quick demonstration on adding a new Trait.
Users can add new Traits which can then be added to Trials. These new Traits provide users the flexibility the add Traits after a Trial has been created, e.g. adapting a previously used Trial for a new experiment.
The following image and instructions demonstrate how to add new Traits:
New Traits can be added by:
|1.||Navigate to the Traits Panel by selecting the Traits Button at .|
|2.||Select the Add Traits Button at to create a new Trait. This will display the Edit Trait Properties Window at .|
|3.||Within the Edit Trait Properties Window are the key Trait fields. Enter the details of the Trait. More information on Traits can be found below.|
|4.||Select the Save Button to save the new Trait and then the Trait is displayed in the Traits window.|
To add a new Trait, all the following details must be entered:
|Trait Name||The name for the new Trait. Must be unique and short because it’s displayed in the Scoring Screen and there may be limited screen space on smaller devices.|
|Alias||An alternative name for the Trait. This can be something shorter than the Trait name and is optional.|
|Level||This will define the Trait as one that is relevant on the Plot or Sub-Plot level.|
|Description||This is an optional longer explanation of the Trait to assist in data entry.|
|Unit||The unit of measurement in which the Trait can be scored by e.g. centimeters so that a plant leaf can be measured|
|Validation Rule||The Validation rule optionally restricts the values being entered. The nature of the rule is dependent upon the selection of Data Type and can include a minimum and maximum value.|
|Add Traits to Bundle||Checkboxes that allow the user to add the new Trait to existing Trait Bundles.|
You can also try importing Traits by downloading a Traits file from the KDSmart/KDXplore Example Resources page and importing them with the same method that is used for importing Trials. For more information on adding Traits to a Trial, please see the Adding Traits section of the full help guides.
Step 4 - Attaching Traits to a Trial to make Trait Instances¶
When a Trait is scored for a specific plot/sub-plot it will contain the value entered. Some Traits however, may need to be scored several times, such as recording plant height at several time intervals, or the changing soil PH.
The least desirable workaround would be to have multiple traits with slightly different names (i.e. Plant_height_wk1, Plant_height_wk2, etc.). This creates more work for Trait creation, management, analysis and data curation.
A much simpler and more effective solution is to create Trait Instances. This can be done in the Trial Manager which will allow the Trait to be used, or scored, multiple times within the same Trial.
Using the Plant_height example, if three instances are specified for the Trait, then three measurements can be recorded for each plot/sub-plot and is available for comparison e.g. Plant_height#1, Plant_height#2, etc.
The following image and steps will outline how to create multiple instances of Plant_height:
|1.||Select a Trial and Navigate to the Uses Traits Panel within Trial Manager at . It will list all the Traits that a Trial is using. Select the Add Trait Instance Button at to open the Add Trait Instances Window at .|
|2.||Select a Trait such as Plant_height at .|
|3.||Choose the number of Trait Instances desired (such as 3 in this example) at .|
|4.||Select the Conform Button at to add the Trait Instances to the Trial.|
|5.||Changing the scoring order by selecting the Trait Order icon at can also be useful as it helps the user choose the most efficient scoring order to score data. Try changing the scoring order to something more convenient.|
Step 5 - Making a Scoring Set¶
One of the best strategies for scoring data efficiently and quickly is to create a Scoring Set. A Scoring Set allows the users to pick specific Traits that can be scored at one time for a Trial. An example of this would be if there is a Trial which requires the measurement of plant height at 3 different intervals in the experiment.
The Trial might contain a variety of Traits but the user can create a separate Scoring Set so that the plant height can be measured separately.
The following image and example will demonstrate how to do this:
¶ Step Action 1. Start by selecting a Trial to create a scoring set for. This example uses the ‘maize-with-data’ data from the previous step with multiple instances of the Trait Plant_height. 2. Select the icon at to open the Add Scoring Set Window at . 3. Choose Traits to add to the Scoring Set such as the Plant_height instances shown in the area at . 4. Choose a name for the Scoring Set at . This one is named ‘Plant Height’. 5. Select the Create Button at to ensure that the Scoring Set is created. The Scoring Set will now appear in the Measurements Panel.
Export the Scoring Set to KDSmart to use it.
Step 7 will demonstrate how to set up a connection between KDXplore and KDSmart.
Step 6 - Selecting a Planting Date¶
Basic Trial information such as the Planting Date can easily be changed in Trial Manager. The following instructions detail how to change the planting data of a Trial:
¶ Step Action 1. On the main Trial Manager Window, select a Trial such as the ‘maize-with-data’ example at . 2. Basic information about the Trial is listed in the Trial Details Panel at . 3. Select and open the Planting Date at by double-clicking which will open the Date Selection Window which is outlined in . 4. Select a date, and then the Save option.
Many other Trial Details can also be changed with this method. Try it on other details such as Name for Plot and Trial Layout to see what happens.
Step 7 - Transferring a Scoring Set to KDSmart¶
Once a Scoring Set for a Trial has been created, it needs to be transferred to a KDSmart device for use in the field. The following steps demonstrate how to transfer Scoring Sets (or other data) from KDXplore to Google Drive so that they can be used in KDSmart.
To prepare for transfer, you will need to have a device with KDXplore installed, a Google account (for Google Drive) and access to the internet.
|1.||Ensure that Google Drive is opened in an internet browser and have KDXplore open to prepare for the transfer.|
|2.||Choose a Scoring Set such as the one at and then select the button at .|
|3.||The Export Window will display (as at ) which provides export options. Selecting the Browse button allows you to choose a location on the computer to save the Scoring Set to. Ensure that the radio button for KDX file is selected so that it’s ready to be used in KDSmart.|
|4.||Select either the Export or the Export & Close options within the Export Window to export the KDX file to your chosen location. A dialogue will open and ask whether you want to open the containing directory - do this if you want to transfer the file to Google Drive immediately.|
Click+Drag the file into the web browser with Google Drive opened and drop it to complete the upload. The file should now appear in Google Drive and there will be a message which confirms that the upload has been completed.
Trials that have been exported to Google Drive will now be available to be imported into KDSmart. Go to the next tutorial for more information on how to complete an import.
An exported Scoring Set will appear as a Trial in KDSmart so no need to worry if you don’t see the Scoring Set listed.
KDXplore and KDSmart integration with Google Drive was included with KDSmart version 3.0.22. Before this, KDXchange was used to connect devices over Wi-Fi and transfer data. Google Drive is the recommended method of data transfer however if you need to use KDXchange, instructions can be found at the KDXchange page.
By completing the tutorial, you should now be familiar with the preparation tasks for setting up a Trial for KDSmart using KDXplore and should also be able to:
- Open and navigate to Trials in the Trial Manager;
- Load Trials;
- Add Traits and Tags to a Trial;
- Create Trait Instances in a Trial;
- Make a Scoring Set;
- Edit basic Trial Information;
- Connect to KDSmart; and
- Transfer Scoring Sets (Trials) to KDSmart using KDXchange.
These exercises can be repeated using different example files that are located on the KDSmart/KDXplore Example Resources page.
Once comfortable with the activities of this tutorial, move to the next one by follow this link Tutorial 3 - KDSmart, using the next button or the main menu at left.