On-line analysis by pulsed neutron irradiation is an example of an advanced technology application of nuclear techniques, concerning real problems in the cement, mineral and coal industries. The most significant of these nuclear techniques is their capability of continuous measurement without contact and without sampling, which can lead to improved control of processes and resultant large financial savings. Compared to Californium neutron sources, the use of electrical pulsed neutron generators allows to obtain a higher signal/noise ratio for a more sensitive measurement, and allows to overcome a number of safety problems concerning transportation, installation and maintenance. An experiment related to a possible new on-line raw material analyzer is described, using a pulsed neutron generator. The key factors contributing to an accurate measurement are related to a suitable generator, to a high count rate gamma ray spectroscopy electronics, and to computational tools. Calculation and results for the optimization of the neutron irradiation time diagram are reported. One of the operational characteristics of such an equipment is related to neutron flux available: it is possible to adjust it to the requested accuracy, i.e. for a high accuracy during a few hours/day and for a lower accuracy the rest of the time. This feature allows to operate the neutron tube during a longer time, and then to reduce the cost of analysis.