Text: |
ԲΠ= 4final
Çàïèòàííÿ:Âàøå çàïèòàíÿ
using System;
using System.Collections.Generic;
using System.Text;
namespace EXP
{
partial class user
//class user
{
static int Do(int N, int A, int F, int D_In) { return C.Do(N, A, F, D_In); }
public static void UserStendInit()
{
//---------Students code----------------BEGIN
//C.SetStend1();
C.SetStend2();
//C.SetStend3();
//---------Students code----------------END
}
//++++++++++++++++++++++++++++++++++++++++++++++++++++++
public static void UserCrateInit()
{
// C.SetDAC(3); //example
//---------Students code----------------BEGIN
//C.SetStep(1);
C.SetADC(2);
//C.SetCAS(3);
C.SetDAC(1);
//---------Students code----------------END
}
//++++++++++++++++++++++++++++++++++++++++++++++++++++++
public static void UserConnect()
{
// Connect.Set(3, 1, 0, 3); //example
//---------Students code----------------BEGIN
Connect.Set(1, 1, 0, 5);
Connect.Set(2, 1, 0, 6);
//---------Students code----------------END
}
//++++++++++++++++++++++++++++++++++++++++++++++++++++++
public static void Experiment()
{
/*
double T1 = Time.get();
for (int n = 0; n < 10; n++)
{
Console.Beep(5000, 200);
Time.Pause(1.25);
}
double T2 = Time.get();
double dT = T2 - T1;
Console.Beep(3000, 500);
return;
*/
// int u = Do(3, 0, 0, 0);
int U = 2047;
Do(1, 0, 17, 50);
double T1 = Time.get();
for (int i = 1; i <= 100; i++)
{
Do(1, 0, 16, U);
Time.Pause(1);
int res = Do(2, 0, 0, 0);
double temp = (res * 5.0 / 2047.0) * 0.015 - 196.0;
double T2 = Time.get();
double dT = T2 - T1;
string buf = String.Format("{0:0.#######}\t{1:0.#######}", dT, temp);
C.write(buf);
}
// string buf = String.Format(" {0:0.###}\t{1:0.###}", U, I);
// C.write(buf);
//---------Students code----------------BEGIN
//---------Students code----------------END
}
//++++++++++++++++++++++++++++++++++++++++++++++++++++++
}
}
====================================
ANSWER ====================================
Pin my tail and call me a doeykn, that really helped.
END of ANSWER ====================================
ANSWER ====================================
Great hammer of Thor, that is <a href="http://tdumggsoko.com">pollrfuewy</a> helpful!
END of ANSWER ====================================
ANSWER ====================================
That's a creative answer to a diucifflt question http://ntbwsfihnzg.com [url=http://zkwuefwop.com]zkwuefwop[/url] [link=http://suqdefxr.com]suqdefxr[/link]
END of ANSWER ====================================
ANSWER ====================================
Your website has to be the <a href="http://msxcmqiyms.com">elnciroetc</a> Swiss army knife for this topic.
END of ANSWER ====================================
|