Table of Contents minLevel 3 outline true style none
Widget Connector
Background
Installing V4I4j
View file name UCAM_installation.pdf height 250
Hardware Setup
Hardware setup for USB Camera is as simple as plugging in the Camera to a USB port on the micro controller (Raspberry Pi or other).
...
For the purpose of this tutorial we have protocol specific parameters structured in the following composite types:
- ImageSize
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<Def Name="ImageSize"> <Number Name="Height" Default="0"/> <Number Name="Width" Default="0"/> </Def> |
...
Here we used three modifiers for this workflow. Limit = "1" means there can be at most one instance of this workflow waiting. Live = "1" means there can be at most one instance of this workflow running. Timeout ="-1" means this workflow will never be timed out. We used a modifier while = "true" with the Task to make the workflow running in a continuous loop, because it needs to run repeatedly, not just once. For more details, refer to workflow modifiers and the lifecycle of a workflow.
The task will be activated by the event handler Event called ActionArgument. "ActionArgument" is the event generated whenever the attribute(s) associated with this Action is modified (See Associate Action with a ThingFacet Attribute). ActionArgument carries all the current values of the ThingFacet attributes, which can be used in the task if needed.
...