Page 1 of 1
IRTrans.NET.dll
Posted:
Sat 8. Aug 2009, 16:21
by Frank
Hallo,
ich besitze einen IRTrans LAN Controller XL.
Nun möchte ich mittels IRTrans.NET.dll die analogen Eingänge wie im IRTrans GUI Client abfragen.
Gibt es irgendwo eine ausführliche Beschreibung der IRTrans.NET.dll?
Gruß Frank
Re: IRTrans.NET.dll
Posted:
Sun 9. Aug 2009, 01:52
by IRTrans
Hmm, gute Frage. Wir müssen mal prüfen, ob das im .NET Plugin überhaupt schon drin ist.
Wenn nicht, können wir es aber kurzfristig einbauen.
Gruß, IRTrans
Re: IRTrans.NET.dll
Posted:
Wed 12. Aug 2009, 14:56
by Frank
Hallo,
das wäre super.
Wann kann ich (in etwa) mit der Fertigstellung rechnen?
Gruß Frank
Re: IRTrans.NET.dll
Posted:
Wed 12. Aug 2009, 19:03
by IRTrans
Wir müssen mal prüfen wie groß der Aufwand ist.
Durch die Urlaubszeit sind wir im Moment etwas langsamer als sonst ...
IRTrans
Re: IRTrans.NET.dll
Posted:
Sat 17. Oct 2009, 07:36
by Frank
Hallo,
wie ist der aktuelle Status wegen der IRTransNet.dll?
Gruß Frank
Re: IRTrans.NET.dll
Posted:
Sat 17. Oct 2009, 10:42
by IRTrans
Hallo,
leider sind wir da wegen zahlreicher anderer Projekte noch nicht dazu gekommen.
Ich setze das aber jetzt nochmals auf unsere Entwicklungsagenda.
Gruß, IRTrans
Re: IRTrans.NET.dll
Posted:
Sat 17. Oct 2009, 18:41
by IRTrans
So kann man sich täuschen - ist doch schon erledigt worden. Anbei eine neue DLL und ein Beispiel:
- Code: Select all
private void ReadAnalog ()
{
int i;
NETWORKSTATUS stat = null;
ANALOGSTATUS analog = null;
Object obj = irt.getAnalogInput(0, 15, 0);
if (obj.GetType().FullName.Equals("IRTrans.NET.NETWORKSTATUS")) stat = (NETWORKSTATUS)obj;
if (obj.GetType().FullName.Equals("IRTrans.NET.ANALOGSTATUS")) analog = (ANALOGSTATUS)obj;
if (stat != null) label1.Text = stat.message;
if (analog != null)
{
label1.Text = " ";
for (i = 0; i < 4; i++)
{
if (analog.mode[i] != 0)
{
label1.Text = label1.Text + analog.value[i] + " ";
}
else
{
label1.Text = label1.Text + "N/A ";
}
}
}
}
IRTrans
Re: IRTrans.NET.dll
Posted:
Mon 19. Oct 2009, 11:25
by Frank
Hallo,
ich danke euch.
Gruß Frank