01-02-2007 02:10 PM
01-02-2007 03:23 PM
01-02-2007 04:30 PM
Unfortunately modifying the DLL isn't an option for us, and we use it for I/O operations thorugh the serial port.
I was trying to figure out how to use the object created by the DLL, but am not sure how to do it. From what you said I can't use the VISA call to send commands via the serial port? How would I send a serial command from labview/teststand without using VISA?
01-02-2007 04:49 PM
How are you using the dll in TestStand? Are you using the dll, ActiveX, .NET adapter? Are you able to save a reference to the object to a TestStand variable? Or is not being used at all by TestStand right now?
You've only posted a small fraction of the dll and no real details on how it's being used now and the type of VB code it is. For example, if it's an ActiveX object, and if you can save a reference to it, you would pass the reference to a LabVIEW VI and then use the ActiveX Invoke Node or Property Node functions in the LabVIEW program. If it's an c type dll, then you would use the Call Library Function Node in the LabVIEW program.
01-19-2007 10:41 AM
We are using an ActiveX/Com adapter. I've attached a few files that might clarify things:
KeyOff.seq - small sample TestStand sequence that uses the DLL. The first step reads an initialization file that sets up the I/O mapping for our test hardware, which can be seen in the attached ConfigureHardware.txt file. The code for the Initialize COM port step is in InitializeCommPort.txt.
We are not able to change the DLL code ourselves although we can request changes to it...
01-19-2007 10:42 AM