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.
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).
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".