====Use the timecode in Blocks==== There are a few steps to do before we can make use of the incoming analog timesource in blocks. ===Enable the driver=== The driver to handle the timedata from the LTC-reader software is not enabled by default. To enable the driver you must make sure the driver files exist in the script/driver directory in the PIXILAB-Blocks-root. The TimecodeLTC driver is stored in the script/driver-archive/ directory and needs to be enabled: Change to the script directory: cd /home/blocks/PIXILAB-Blocks-root/script Move the driver files to the drive directory: mv /driver-archive/TimecodeLTC.ts /driver-archive/TimecodeLTC.ts driver/ Restart the blocks server: systemctl --user restart blocks.service The driver is now available to use on network devices. ===Setup the network device in blocks=== Under the page Manage/Network we set up a new device and assign the TimecodeLTC driver. The port is predefined in the driver to match the default configuration to the Timecode reader on the server. {{:blocks:app-note:ltc_timecode:timecodeblocksdevice.png?800|}} ===Configure the driver=== You must configure the driver for the expected timecode type. This can be done with one of the following methods: A. Set the 'type' property of this Network Device to the expected type. This can be done using a Task triggered on system start-up or the 'connected' appears on the network). {{:blocks:app-note:ltc_timecode:configtask.png?800|}} B. Set options using JSON data in the "Custom Options" field of the Network Device, like this: {"type": "29.97_drop", "offset": 0.0} Supported type values: "24","25","29.97_drop","29.97_nondrop","30". {{:blocks:app-note:ltc_timecode:driveroptions.png?800|}} ===Connect a Blocks timeline to sync with timecode=== Create a timeline block, it can be left empty for testing purposes. Set the timeline to use External synchronization in the timeline settings. Select your LTCTimecode device as sync source property. {{:blocks:app-note:ltc_timecode:timeline.png?800|}} Apply any time offset as required. This timeline is now controlled by the timecode.