Hi

Scott, Bruce is wright (as always), but do not forget that using a LDO with that voltage difference (24 volt to 12 volt) even a little current will generate a lot of heat at LDO metallic tab, please use a suitable heatsink.

Only wishing to help.

Best regards for both,

nomada