340 has a hard time starting when hot?

a couple things come to mind , you may have a heat soak problem where the gas is boiling the carb dry or maybe even a faulty coil . a few more details may help pinpoint it .