Dynamic recording of files
Create a QT GUI Check Box with ID “Record” and set type to Boolean, and Default Value to False.
Create a variable with ID “file_name” and set Value to:
'data.bin' if Record==True else '/dev/null'
Create a File Sink with file “file_name”