Samples the input and exposed the value on an output port. The value can be either analog, digital, string, vector, string vector or matrix. The sampling is triggered by a digital port.