Create the interface elements
Create a linear gauge, a button, and a data grid.
- Create a linear gauge:
- InProject view, right-clickMainWindow (type)and select .
- InProperties, create a dynamic link betweenValueand .For more information about dynamic links, see Create dynamic links.
- Create a data grid:
- InProject view, right-clickMainWindow (type)and select .
- InProperties, create a dynamic link betweenModeland .
- SetQuerytoSELECT * FROM "DataLogger1" ORDER BY "Timestamp" DESC.
- Configure data grid columns:
- InProperties, underColumns, double-clickDataGridColumn1and enterTimestampColumn.
- UnderDataItemTemplate, create a dynamic link between the columnTextproperty and .NOTE: EnterTimestampin theInsert the dynamic link sub-path...field.For more information about dynamic links, see Create dynamic links.
- SetTitletoTimestamp.
- Next toColumns, select and selectText column.
- InProperties, underColumns, double-clickDataGridColumn1and enterVariableValueColumn.
- UnderDataItemTemplate, create a dynamic link between the columnTextproperty and .NOTE: EnterVariable1in theInsert the dynamic link sub-path...field.For more information about dynamic links, see Create dynamic links.
- SetTitletoVariable value.
- Create a refresh button:
- InProject view, right-clickMainWindow (type)and select .
- InProperties, setTexttoRefresh Data.
- InEvents, next toMouseClick event, select and select
Provide Feedback