Create the interface elements
Create a circular gauge, a button, and a data grid.
- Create a circular gauge:
- InProject view, right-clickMainWindow (type)and select .
- InProperties, create a dynamic link betweenValueand .
- Create a data grid:
- InProject view, right-clickMainWindow (type)and select .
- InProperties, create a dynamic link betweenModeland .For more information about dynamic links, see Create dynamic links.
- 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, selectAddText 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.
- Set theTitletoVariable value.
- Create a refresh button:
- InProject view, right-clickMainWindow (type)and select .
- InProperties, setTexttoRefresh Data.
- InEvents, next toMouseClick event, selectAdd
Provide Feedback