09-26-2008 10:24 AM
Solved! Go to Solution.
09-26-2008 10:31 AM
Hmm...
If you add a new text box to your GUI it will have no functionality?! What schold happen with this text box?
09-26-2008 01:01 PM
msharma wrote:
Is there a way LabView can do this?
AutoIt has an ActiveX interface, so you can control AutoIt in the same way as the text-based scripts. Do a search on this forum and you'll find a couple of examples that I've posted. If you don't know how to use ActiveX with LabVIEW, you should read over this document: ActiveX and LabVIEW.
09-26-2008 01:31 PM
hey so a little change of plans. Some of the details were really iffy. What they meant was to manipulate one of Agilent's test softwares in order to run tests for 2-3 days, without any human interaction. Ideally, we're looking at simulating mouse clicks, opening dialog boxes, selecting certain criteria, etc. From what I've heard, LabView has the ability to do this.
Would these methods be available using the ActiveX library of LabView? I'm assuming that since Auto-it was able to automate the Agilent System, LabView shouldn't have any problems either....
09-27-2008 11:47 AM
LabVIEW has no direct means of automating another piece of software, just like C/C++ has no direct means of automating another piece of software. If this piece of software has an ActiveX interface (or .NET) then you can control it using ActiveX (or .NET). The VSA software from Agilent, for example, has an ActiveX interface so you can automate it that way. I know, because we do that in our lab here. Do you know if this software has an ActiveX or .NET interface?
If the software does not have an ActiveX/.NET interface, then you must use the Windows API to simulate mouse clicks or keyboard. This requires using the Windows API.
09-29-2008 03:40 AM
09-30-2008 01:33 PM
09-30-2008 01:40 PM
10-06-2008 04:29 PM
I'm running into some problems. I'm trying to access certain methods of the Agilent WTM software by way of invoke node from the .NET interface. However, the errors I'm receiving says that the object reference ID is NULL. So by looking at the .NET and LabView page, I decided to create .NET objects by way of the constructor node. The output reference of the constructor node, after I've selected my library and object, is connected to an invoke node, and then the output of that is to the close reference block. When I run this simple design, LabView crashes on me. What can I be doing wrong?
What I should mention is that when I do select my class of .NET objects for the constructor node, there are two .NET references that require an input in the constructor node. I'm not sure as to what I'm supposed to input at that point. I've simply only been inputting a constant of the System.Object and System.UintPtr as the .NET references into those two inputs. Your help will be greatly appreciated here.
Thanks!
10-07-2008 09:14 AM
Unfortunately, I don't have the WTM software so I have no idea what method you're referring to, and without the documentation I can't comment on what datatypes it's asking for.
As to your question "What I should mention is that when I do select my class of .NET objects for the constructor node, there are two .NET references that require an input in the constructor node." These are the parameters for the contructor. A constructor is basically a special method. This is part of object-oriented programming. If you do not know how to use .NET it would be beneficial for you to go through some .NET tutorials.