Search found 145 matches

by United States of Americawtam
Sat 8 Aug 2026 22:26
Forum: TraceWin
Topic: How to change model variables
Replies: 3
Views: 366

Re: How to change model variables

Dear Didier,

You are correct. I can as well work with a txt file for the batch mode arguments that need to pass on using command line.

Could you please add "field_map_path" as a command line argument?

Best regards,
Wai-Ming
by United States of Americawtam
Sat 1 Aug 2026 19:04
Forum: TraceWin
Topic: How to change model variables
Replies: 3
Views: 366

Re: How to change model variables

Dear Didier, I am looking for a way to change, for example, beam current, through a .dat or .txt file that would be read by TraceWin when it runs. Exactly as the way to change the voltage of a cavity. Does it exist? If not, do you see values for that and would you consider such an upgrade? Best rega...
by United States of Americawtam
Sat 1 Aug 2026 18:53
Forum: TraceWin
Topic: How to change model variables
Replies: 3
Views: 366

How to change model variables

Dear Didier, Could you please provide instructions to change or configure all the variables in a TraceWin project outside of the native GUI? The structure of a project is explained on p.6 in the user's manual. Users can easily change anything in the Edit tab through the .dat file, which is great. Ho...
by United States of Americawtam
Wed 18 Mar 2026 20:46
Forum: TraceWin
Topic: Ellipse plotting [SOLVED]
Replies: 2
Views: 4375

Re: Ellipse plotting [SOLVED]

Thank you, Didier.

Wai-Ming
by United States of Americawtam
Thu 12 Mar 2026 20:11
Forum: TraceWin
Topic: Ellipse plotting [SOLVED]
Replies: 2
Views: 4375

Ellipse plotting [SOLVED]

Dear Didier,

What could cause the following error?
K_F Conversion not available: Ellipse plotting

This error did not appear back a few updates ago. The user manual doesn't seem to mention K_F Conversion.

Best regards,
Wai-Ming
by United States of Americawtam
Mon 9 Mar 2026 19:38
Forum: TraceWin
Topic: Superpose map [SOLVED]
Replies: 2
Views: 4226

Re: Superpose map [SOLVED]

Dear Didier,

Thank you for confirming.
I found the bug in my code.

Best regards,
Wai-Ming
by United States of Americawtam
Fri 6 Mar 2026 22:25
Forum: TraceWin
Topic: Superpose map [SOLVED]
Replies: 2
Views: 4226

Superpose map [SOLVED]

Dear Didier,

It seems that superpose_map gives unexpected result with two RF E-field maps at different frequencies. For example

superpose_map 0
freq 100
field_map 100 x x x
superpose_map 20
freq 200
field_map 100 x x x

Could you please confirm?

Best regards,
Wai-Mingb
by United States of Americawtam
Fri 17 Oct 2025 16:48
Forum: TraceWin
Topic: Modify variables in batch mode
Replies: 8
Views: 8887

Re: Modify variables in batch mode

Dear Didier,

I confirm that VARIABLE as arguments in batch mode works fine.
Concerning problem about ele[n][m]=xxx in FIELD_MAP element, specifically for RF E-field 100, the 6th parameter seems to have issue.

Best regards,
Wai-Ming
by United States of Americawtam
Mon 13 Oct 2025 22:55
Forum: TraceWin
Topic: Modify variables in batch mode
Replies: 8
Views: 8887

Re: Modify variables in batch mode

Also, ele[n][m] does not seem to work with field map for RF E-field, i.e. flag = 100.
by United States of Americawtam
Mon 13 Oct 2025 22:05
Forum: TraceWin
Topic: Modify variables in batch mode
Replies: 8
Views: 8887

Re: Modify variables in batch mode

Dear Didier,

The following is my request.

Here is the lattice code:
variable aaa 100
drift aaa 10

Here is the batch mode code:
TraceWin_noGUI.exe project.ini aaa=50

The above do not seem to work.

Best regards,
Wai-Ming