It worked quite well. Here is the latest version.

function qcl_valve_plot(Dr::AbstractString,mindate::DateTime,maxdate::
DateTime,dt::Dates.Period,col::Symbol,valveLogic::Function)

...

# Valve Zones
f4 = []
f4 = find(valveLogic(statuses) .== true)

One of the valveLogic examples, "(V3 & !(V1 & V2)) == true", would now be x 
-> x.Valve3 & !(x.Valve1 & x.Valve2).

Thanks for the tip.

Reply via email to