[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: V11.1 for JAVATC (fwd)



---------- Forwarded message ----------
Date: Thu, 30 Aug 2007 21:44:07 -0700
From: Barton B. Anderson <bartb@xxxxxxxxxxxxxxxx>
To: Tesla list <tesla@xxxxxxxxxx>
Subject: Re: V11.1 for JAVATC (fwd)

Yes, if you want to load your own "demo coil" data, you need to look 
inside the "script" folder and locate the file called JTC_inputs.js. 
Open this file in something like Notepad or script editor. Near the 
bottom portion of the file you'll see the following data I'll show 
below. Just replace the value z = value with "your" value for that input 
and save the file. Just be sure you don't change anything else.

You might want to rename the original JTC_inputs.js as a different name 
to maintain the original file if something goes wrong. Just make sure 
the file you modify is named JTC_inputs.js. If you save it using Notepad 
and Notepad adds a .txt extension to the end, remove the .txt part of 
the name.

Take care,
Bart

////////////////////////////////////////////////////////////////////////////
// Load Demo Coil values into form field inputs
////////////////////////////////////////////////////////////////////////////
function loadDemo(form) {
    demomsg = ('Click RUN JAVATC to run demo coil.');
    Clear(form);
    form.msg.value =  demomsg;
    form.units.selectedIndex=0; inches==true;
    form.ambient.selectedIndex=0; fahrenheit==true;
    GetUnits(form);
    form.s_ws.checked = false;
    form.s_awg.checked = true;
    form.p_ws.checked = true;
    form.p_awg.checked = false;
    //form.GapStyle.selectedIndex=3;
    z = 68; {eval(z); temp = z; form.temp.value = temp;}// ambient 
temperature
    z = 100; {eval(z); g_radius = z; form.g_radius.value = g_radius;} // 
gndr
    z = 100; {eval(z); w_radius = z; form.w_radius.value = w_radius;} // war
    z = 150; {eval(z); r_height = z; form.r_height.value = r_height;} // roh
    z = 2.26925; {eval(z); s_radius1 = z; form.s_radius1.value = 
s_radius1;} //sr1
    z = 2.26925; {eval(z); s_radius2 = z; form.s_radius2.value = 
s_radius2;} //sr2
    z = 23; {eval(z); s_height1 = z; form.s_height1.value = s_height1;} 
//sh1
    z = 44.8085; {eval(z); s_height2 = z; form.s_height2.value = 
s_height2;} //sh2
    z = 895; {eval(z); s_turn = z; form.s_turn.value = s_turn;} //st
    z = 24; {eval(z); s_wd = z; form.s_wd.value = s_wd;} //swd
    z = 3.75; {eval(z); p_radius1 = z; form.p_radius1.value = 
p_radius1;} // pr1
    z = 7.969; {eval(z); p_radius2 = z; form.p_radius2.value = 
p_radius2;} // pr2
    z = 23; {eval(z); p_height1 = z; form.p_height1.value = p_height1;} 
// ph1
    z = 23; {eval(z); p_height2 = z; form.p_height2.value = p_height2;} 
// ph2
    z = 8.438; {eval(z); p_turn = z; form.p_turn.value = p_turn;} //st
    z = .25; {eval(z); p_wd = z; form.p_wd.value = p_wd;} //swd
    z = .0188; {eval(z); Cp_uF = z; form.Cp_uF.value = Cp_uF;} //swd
    z = 30; {eval(z); Lead_Length = z; form.Lead_Length.value = 
Lead_Length;} // lead length
    z = .2; {eval(z); Lead_Diameter = z; form.Lead_Diameter.value = 
Lead_Diameter;} // lead length
    z = 0; {eval(z); desired_k = z; form.desired_k.value = desired_k;} 
// desired_k
   
    z = 21; {eval(z); t_outer = z; form.t_outer.value = t_outer;} // tout
    z = 6.25; {eval(z); t_inner = z; form.t_inner.value = t_inner;} // tin
    z = 48.8085; {eval(z); t_height = z; form.t_height.value = 
t_height;} // tht
    add_toroid();
    z = 8.25; {eval(z); d_outer = z; form.d_outer.value = d_outer;} // dout
    z = 0; {eval(z); d_inner = z; form.d_inner.value = d_inner;} // din
    z = 48.8085; {eval(z); d_height = z; form.d_height.value = 
d_height;} // dht
    add_disc();

    z = 120; {eval(z); x_Vin = z; form.x_Vin.value = x_Vin;}
    z = 12000; {eval(z); x_Vout = z; form.x_Vout.value = x_Vout;}
    z = 60; {eval(z); x_Iout = z; form.x_Iout.value = x_Iout;}
    z = 60; {eval(z); x_Hz = z; form.x_Hz.value = x_Hz;}
    z = 140; {eval(z); x_Vadjust = z; form.x_Vadjust.value = x_Vadjust;}
    z = 0; {eval(z); x_ballast = z; form.x_ballast.value = x_ballast;}
    z = .35; {eval(z); x_Rp = z; form.x_Rp.value = x_Rp;}
    z = 4520; {eval(z); x_Rs = z; form.x_Rs.value = x_Rs;}
   
    z = 1; {eval(z); rsg_ELS = z; form.rsg_ELS.value = rsg_ELS;}
    z = 4; {eval(z); rsg_ELR = z; form.rsg_ELR.value = rsg_ELR;}
    z = 1800; {eval(z); rsg_rpm = z; form.rsg_rpm.value = rsg_rpm;}
    z = 10.6; {eval(z); rsg_disc_D = z; form.rsg_disc_D.value = rsg_disc_D;}
    z = 0.375; {eval(z); rsg_ELR_D = z; form.rsg_ELR_D.value = rsg_ELR_D;}
    z = 0.375; {eval(z); rsg_ELS_D = z; form.rsg_ELS_D.value = rsg_ELS_D;}
   
    z = 6; {eval(z); stat_EL = z; form.stat_EL.value = stat_EL;}
    z = 1.25; {eval(z); stat_EL_D = z; form.stat_EL_D.value = stat_EL_D;}
    z = 0.25; {eval(z); stat_gap = z; form.stat_gap.value = stat_gap;}
    form.SPE.checked=true;
    form.RGE.checked=false;

Tesla list wrote:

>---------- Forwarded message ----------
>Date: Thu, 30 Aug 2007 23:58:54 -0400
>From: Slurp812 <slurp812@xxxxxxxxx>
>To: Tesla list <tesla@xxxxxxxxxx>
>Subject: Re: V11.1 for JAVATC (fwd)
>
>I was just recently using JavaTC to work out some of the last details.
>before I finish my coil. This is an excellent program! I also work ion
>the IT field, and I am familiar with what we call a dot-0 release!
>With out you and just about everyone else on this list, I wouldn't
>almost have a working coil. I need a few more things, and lots more
>time, but it will make sparks, someday. I only have one question, is
>there anyway to "load" coil data in via a data file of some sort?
>
>
>On 8/27/07, Tesla list <tesla@xxxxxxxxxx> wrote:
>  
>
>>---------- Forwarded message ----------
>>Date: Sun, 26 Aug 2007 12:33:56 -0700
>>From: Barton B. Anderson <bartb@xxxxxxxxxxxxxxxx>
>>To: Tesla list <tesla@xxxxxxxxxx>
>>Subject: V11.1 for JAVATC
>>
>>Hi All,
>>
>>I uploaded version 11.1 to replace V11.
>>
>>(D.C., I'll send another CD).
>>
>>    
>>
>
>
>
>
>
>
>  
>