' schrieb:Kannst du TWSLib.TWSEvents ganz am Anfang mit dem TWS (ActiveX Container) verbinden?
Nein, dann wechselt es auch zu
TWSLib.Tws.
Ah, ist das mein Container, als ich diesen
Link gelesen hatte, war meine Frage wo ich so einen Container herbekomme. Dort steht:
...any ActiveX control can be embedded inside LabVIEW and then using that control’s properties and methods,... Aber was ist mit Events und warum sind die bei mir in verscheiedenen Klassen? Hab ich beim "Import" des TWS ActiveX in LabVIEW etwas falsch gemacht?
PS: jetzt lese ich gereade zu einem
AcitveX Events Beispiel:
Setup:
To use this example you must register the .ocx file by running the following command from the run command line:
"regsvr32 ..axeventsexample.ocx"
This will give you a message that the .ocx file was registered. Now, you can open the VI and run the program.
Ich habe mein Tws.ocx nicht auf diese Weise registriert, sondern irgendwie über LV "importiert". Ich probier es mal mit "run in command line".