[Gate-users] another macro problem

Philipp Matthies philipp.matthies at gmx.de
Wed Jan 27 08:41:54 CET 2010


Hi,

I have a main macro that calls a macro where the sources are defined by the command

	/control/execute source.mac
 
The first lines of 'source.mac' are the following:

	/gate/source/addSource one
	/gate/source/one/setActivity 200000. becquerel
	/gate/source/one/gps/centre -100. 0. 0. mm

But Gate always interrupts with the following lines:

	/control/execute source.mac
	/gate/source/addSource one
	/gate/source/one/setActivity 200000. becquerel
	parameter value is not listed in the candidate List.
	> *****llegal parameter (1) </gate/source/one/setActivity 200000. becquerel

	***** Batch is interupted!! *****

When I copy and paste the lines from source.mac directly to Gate the commands work.
Any explanations?

Thanks,
Philipp




More information about the Gate-users mailing list