TSHD - Generic User-Defined ASCII Driver

As an example to illustrate the use of the Generic Layout Editor to create a Generic User-defined ASCII output driver:
Suppose the GNSS, Gyro, and MRU systems are interfaced directly to QINSy and need to be output to the dredger's PLC.
In addition production numbers are computed in the software and sent to the PLC.  

In the real world which items to select for output depends upon the particular application and upon user preference.

Open Layout Editor

image2016-3-9 10:9:12.png In the QINSy Console click on the  Dredging_GenericDsp_LayoutEditorIcon.jpg  to open the Generic Layout Editor.

image2016-3-8 11:17:51.png In the File menu, click on New Layout and then Driver.

THSD_DbSetup_Generic_CreateNewDriver.jpg

The main window defaults to the Driver button of the Overview Tab dialog.

The main window has 7 tabs on the left side, each of which references different system and observation parameters. Each tab has multiple option buttons each of which, again, references different data parameters.
Typically you work your way from the top tab to bottom tab, and from top button to bottom button, with the exception of the Overview tab when first creating the driver. 

It is probably best to return to the Overview tab options after selecting items in the other main tabs: Setup Data, General Data, Settings, Raw Data, Result Data and DTM.

As with all tabs, each of these buttons has a slightly different dialog to the right. But in general they all have items to select along with their properties, sub-items and their properties.

Check that Layout Purpose is 'Driver', and that the correct Database is selected.

THSD_DbSetup_Generic_InitialDialog.jpg

image2016-6-29 11:24:26.png Driver specific settings determine characteristics of the data output string.

Refer to and to for an explanation of parameters on this page.

Return to top of page.

Setup Data Tab

This table shows the available items for each of the buttons listed under the Setup Data tab.
Click on any of the upper row icons to access an explanation of each item, its properties, each sub-item and its properties.

For our example it is unlikely any of these items are applicable. 

Main Item is an Object

Main Item is a Fixed Node

THSD_DbSetup_Generic_GeneralItems.jpg
THSD_DbSetup_Generic_GeodeticItems.jpg
THSD_DbSetup_Generic_ObjectsItems.jpg
THSD_DbSetup_Generic_FixedNodeItems.jpg

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.

General Data Tab

This table shows the available items for each of the buttons listed under the General Data tab.
Click on any of the upper row icons to access an explanation of each item, its properties, each sub-item and its properties.

For our example it could be necessary to output information about the sailed survey line. Other items and sub-items are unlikely to be applicable. 

Main Object is a Line

THSD_DbSetup_Generic_General_GeneralItems.jpg
THSD_DbSetup_Generic_General_MainlineItems.jpg
THSD_DbSetup_Generic_General_FixItems.jpg
THSD_DbSetup_Generic_General_StatsItems.jpg
THSD_DbSetup_Generic_General_SysInfoItems.jpg

Mainline Button

image2016-6-29 14:39:34.png Click on the Mainline button.

THSD_DbSetup_Generic_General_MainlineISetup.jpg

image2016-6-29 14:43:26.png Click on Add which places a Parent item above. In selecting the line under Properties below a list with 10 entries is given.

The first one is always the Controller's mainline. The other 9 are the additional mainlines. 
The actual mainline/additional mainline selection (POINT, LINE, ROUTE) is done in the Controller's Session Setup, Planning.

image2016-6-29 14:46:9.png Select the sub-items to be included in the output data string.

image2016-6-29 14:47:13.png Check and/or modify the properties for each sub-item.

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.

Settings Tab

This table shows the available items for each of the buttons listed under the Settings tab.
Click on any of the upper row icons to access an explanation of each item, its properties, each sub-item and its properties.

For our example it is unlikely any of these items are applicable. 

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.

Raw Data Tab

This table shows the available items for each of the buttons listed under the Raw Data tab.
Click on any of the upper row icons to access an explanation of each item, its properties, each sub-item and its properties.


For our example several raw data items and sub-items are applicable.

Main Item is a
System 

Main Item is a
SBE 

Main Item is a
MBE 

Main Item is a
Positioning System 

Main Item is a
Motion Sensor 

Main Item is a
USBL 

Main Item is a
Layback System 

THSD_DbSetup_Generic_RawData_ObsSysItems.jpg
THSD_DbSetup_Generic_RawData_SbeItems.jpg
THSD_DbSetup_Generic_RawData_MRUItems.jpg
THSD_DbSetup_Generic_RawData_PosNavItems.jpg
THSD_DbSetup_Generic_RawData_MRUItems.jpg
THSD_DbSetup_Generic_RawData_UsblItems.jpg
THSD_DbSetup_Generic_RawData_LbItems.jpg

 

Gyro System Button

image2016-6-29 14:39:34.png Click on the Observation System button.

THSD_DbSetup_Generic_RawData_GyroSetup.jpg

image2016-6-29 14:43:26.png Click Add.

image2016-6-29 14:46:9.png Select Gyro from the list of systems. Then select the associated observation.

image2016-6-29 14:47:13.png Select 'Value' as the sub-item.

If the PLC system requires an identifier in order to decode the gyro observation, you could add 'Name' as another sub-item.
Use the Translation function to modify the name if the PLC requires a specific identifier.
'Time' is another option but in this case it is preferred to use the date and time from the computed position of the vessel CoG, which is added under the Result Data tab. The software will then output a gyro value for that time.

image2016-6-29 16:40:50.png Set the properties for the gyro value. 

Note that the C-O corrected raw value is sent in the data message to the PLC.

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.

Suction Head Heading

If no angle sensors are used on the dredge heads, it may be permissible to use a 'cloned gyro' as orientation for the port and starboard heads.
These values could be needed in the data string.
In our example, the following Observation Systems are available:

  THSD_DbSetup_Generic_RawData_ObsSysList.jpg

 

Add dredge head orientations by following the same steps as detailed above for the vessel's gyro system.

Motion Sensor System Button

image2016-6-29 14:39:34.png Click on the Motion Sensors button.

THSD_DbSetup_Generic_RawData_MRUSetup_R1.jpg

image2016-6-29 14:43:26.png Click Add.

image2016-6-29 14:46:9.png Select the MRU from the list of systems.

Choose to apply C-O values to the raw values so that the C-O corrected values are sent in the data message to the PLC..

image2016-6-29 14:47:13.png Select 'Pitch' and 'Roll' as the sub-items.

If the PLC system requires an identifier in order to decode the pitch and roll observations, you could add two 'Comments' as sub-items. 
Enter the comment string under Properties below.

'Time' is another option but in this case it is preferred to use the date and time from the computed position of the vessel CoG, which is added under the Result Data tab. The software will then output a gyro value for that time.

image2016-6-29 16:40:50.png Set the properties for the pitch and roll values. 

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.


Result Data Tab

This table shows the available items for each of the buttons listed under the Result Data tab.
Click on any of the upper row icons to access an explanation of each item, its properties, each sub-item and its properties.


For our example several result data items and sub-items are applicable.

Main Item is a
Computation 

Main Item is a Node

Main Item is a Line

Main Item is a Vessel

Main Item is a Vessel

THSD_DbSetup_Generic_ResultData_CompsItems.jpg
THSD_DbSetup_Generic_ResultData_NodesItems.jpg
THSD_DbSetup_Generic_ResultData_LineOffsetsItems.jpg
THSD_DbSetup_Generic_ResultData_HtAidItems.jpg
THSD_DbSetup_Generic_ResultData_TideItems.jpg

Main Item is an
Anchor 

Main Item is a
Dredging System 

Main Item is an Anchor

Main Item is a
Bargetrack Controller 

Main Item is an
Eventing System 

THSD_DbSetup_Generic_ResultData_AnchorsItems.jpg
THSD_DbSetup_Generic_ResultData_DredgingItems.jpg
THSD_DbSetup_Generic_ResultData_CatenaryItems.jpg
THSD_DbSetup_Generic_ResultData_BargeItems.jpg
THSD_DbSetup_Generic_ResultData_EventingItems.jpg

Nodes Button

Raw position is referenced to the GNSS antenna.
What is needed is the computed position of the TSHD reference point (CoG).
Therefore this node position is taken from Result Data.

image2016-6-29 14:39:34.png Click on Result Data and then Nodes.

THSD_DbSetup_Generic_ResultData_NOdeDialogTime.jpg

image2016-6-29 14:43:26.png Click Add.

The first (default) entry is always [Steered Node]. It can be changed if the position of the steered node is not required.

image2016-6-29 14:46:9.png Select the Node from the list of nodes.

In our example the TSHD CoG is the preferred node to output to the PLC.
Choose the Computation used to compute the node coordinates and choose whether to deskew the node position:

  • No
    Node Position and Time as calculated by the PositionFilter

  • Yes
    Skewed linear to the time of output/trigger time, using the current Node Position (Horizontal), Time, SOG and COG. 
    Notice that the SOG and COG depends on the Controller's Computation Setup, Object COG/SOG - Prediction Parameters Settings. 
    Formula used:

    • Delta Easting = SOG * Delta Time * SIN(COG)

    • Delta Northing = SOG * Delta Time * COS(COG)

Notes:

  • Height value are never deskewed.

  • The selected deskew option counts also for the 'Compare to' node 

image2016-6-29 14:47:13.png Select Name, Time, Latitude, Longitude and Height as the sub-items.

If the PLC system requires an identifier in order to decode the position fields, 'Name' can be used. It can be translated to something else as appropriate. 
'Time' is selected here because it will be used as the basis to determine which gyro and motion sensor values to output with the coordinates.
Note that we have not yet selected 'Date' and must remember to do so later in the process. 

image2016-6-29 16:40:50.png Set the properties for each of the sub-items.

Note in particular to select the appropriate height reference.
Height is by default on Chart Datum (also known as Vertical Datum), but Survey Datum, WGS84, the Actual Water Level, the Mean Water Level, or the Geoid Model Level may be selected.  

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.


Line Offsets Button

image2016-6-29 14:39:34.png Click on Result Data and then Line Offsets.

THSD_DbSetup_Generic_ResultData_LineOffsetsDialog.jpg

image2016-6-29 14:43:26.png Click Add.

The first (default) entry is always [Mainline]

image2016-6-29 14:46:9.png Select the line from the list with 10 entries.

The first one is always the Controller's mainline.The other 9 are the Additional mainlines. 
The actual mainline/additional mainline selection (POINT, LINE, ROUTE) is done in the Controller's Session Setup

image2016-6-29 14:47:13.png Select KP, dAcross, and dAlong as the sub-items.

If the PLC system requires an identifier in order to decode these fields, add a Comment sub-item before each of the selected sub-items.

image2016-6-29 16:40:50.png Set the properties for each of the sub-items.  

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.

Tide Results Button

image2016-6-29 14:39:34.png Click on Result Data and then Tide Results.

THSD_DbSetup_Generic_ResultData_TideResultsDialog.jpg

image2016-6-29 14:43:26.png Click Add.

The first (default) entry is always [Reference Vessel]. This means that the first defined object will be used (with Object Id 1). 
In Db Setup you will see 'square' icon in front of the vessel name.
The rest of the list will show all available objects, existing in the current selected QINSy database . 

image2016-6-29 14:46:9.png Select the vessel from the list.

The list shows all available objects, existing in the current selected QINSy database . 

image2016-6-29 14:47:13.png Select Comment and Tide.

If the PLC system requires an identifier in order to decode these fields, the Comment sub-item can be used.

image2016-6-29 16:40:50.png Set the properties for each of the sub-items.

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.

Dredging Results Button

Selections made here depend on the setup. Sometimes the PLC computes TDS, Load, Displacement etc..
If calculated in the software some items may be sent in the output message to the PLC.

image2016-6-29 14:39:34.png Click on Result Data and then Dredging.

THSD_DbSetup_Generic_ResultData_DredgingDialog_R1.jpg

image2016-6-29 14:43:26.png Click Add.

The first (default) entry is always [Dredge Result Head 1]. 

image2016-6-29 14:46:9.png Select the Dredge System from the list and then the appropriate head.

The list shows all available systems existing in the current selected QINSy database . 

image2016-6-29 14:47:13.png Select sub-items.

General State (dredging status), Design State, TDS, Load Volume, Displacement, Current Production, Intrusion Alarm (formerly Emergency Hoist), Collision Alarm, and Collision Status.

Design state:

  • Above 
    Head footprint is above design (including tolerance)

  • On Target 
    Head is on design level (within tolerance levels)

  • Over Dredge 
    Head is below design level (including tolerance) 
    Usually bad news for contractor...

  • Not Used 
    Unknown/not used possible when grid data is not available

If the PLC system requires an identifier in order to decode these fields, the Comment sub-item can be used before each sub-item.

image2016-6-29 16:40:50.png Set the properties for each of the sub-items.

In particular the unit for Current Production.

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.


DTM Tab

Sounding Grid Button

image2016-6-29 14:39:34.png Click on DTM and then Sounding Grid.

THSD_DbSetup_Generic_DTM_SgDialog.jpg

image2016-6-29 14:43:26.png Click Add.

The first (default) entry is always Grid Result - [steered]. 

image2016-6-29 14:46:9.png Set Grid Result Properties.

By default the Source is 'Active Sounding Grid. Use the Browse option to load a different grid.
Then select the Layer, Node and Computation. 

image2016-6-29 14:47:13.png Select sub-items.

Node Name, Status and DTM Depth.
Status: A number between 0 and 7 indicating the status of the selected Sounding Grid, Layer and / or Node 
0 means all okay, a valid DTM value was extracted successfully for the current node position 
1 means no active sounding grid file has been selected in the Controller's Session Storage Setup 
2 means that no grid file was selected 
3 means that the selected grid file was not found 
4 means that no layer has been selected 
5 means that the selected layer was not found in the current sounding grid 
6 means that no node was selected, or that the selected node has no valid position 
7 means that the current node position is inside a bin with no valid DTM values 

This sub-item employs a translation table:
THSD_DbSetup_Generic_DTM_SgDialog_StatusTranslation.jpg  

DTM Depth: This is the mean (default) depth value from the bin (level 0) for the current position, but may also be the deepest and/or shallowest depth value if that attribute exist in the current layer. 
The value will be empty if the status (see above) is not zero, or if the selected attribute deepest/shallowest is not a property of the selected layer.

image2016-6-29 16:40:50.png Set the properties for each of the sub-items.

Return to top of page.

Return to Trailing Suction Hopper Dredger (THSD) - System Definitions.

Overview Tab

While this tab is located uppermost, thereby suggesting its priority, it is preferable to access its most used option button, 'Layout', after items and sub-items have been selected using the other tabs.

Layout Button

image2016-3-16 18:41:56.png Click on Overview and then Layout.

This page shows the layout of all items selected so far.

THSD_DbSetup_Generic_Overview_LayoutDialog.jpg

image2016-3-16 18:43:28.png One of the ways to reconfigure the layout is to highlight an item and use the 

Dredging_Layout_MoveUpButton.jpg  and  Dredging_Layout_MoveDownButton.jpg  buttons to rearrange the layout order and hence the format of the output string.

image2016-3-16 19:15:42.png By default all the General columns are shown in the layout overview.

Right clicking anywhere in the table pops up a menu with options, Refer to Popup Menus.

image2016-3-17 17:49:36.png The configuration page for any individual item is accessed by:

    • either double clicking on an item in the Item column.

    • or Highlighting an item and pressing  Dredging_Layout_PropertiesButton.jpg .

In each case the definition page for that item is opened.
Some properties are directly editable in the layout table.

image2016-3-17 17:57:53.png Save the layout. 

Saving the layout writes an XML file to the C:/Users/Public/Public Documents/QPS/QINSy/Drivers/Definitions/Output folder.

Properties Button

Click on the Overview tab and then the Properties button.

All parameters are fairly self explanatory. See notes in the image below.

Dredging_GenericDsp_ViewProperties.jpg

Return to top of page.

Return to: THSD - Generic Layout Editor