10-05-2006 09:40 AM
10-06-2006 11:06 AM
10-10-2006 02:34 PM
10-11-2006 10:56 AM - edited 10-11-2006 10:56 AM
Message Edited by TerryS on 10-11-2006 10:57 AM
10-12-2006 12:30 PM
It also fails when calling other functions from that dll -see attached jpg for another example.
Your test code did run successfully - no errors....
10-12-2006 03:58 PM
One other thing to consider, and I don't know if this has any bearing on this, but having admin rights may be an issue?
On laptop 1, I have admin rights and installed our software on it. Another engineer that does not have admin rights on that laptop can successfully run the test software.
On laptop 2, I also have admin rights and installed our software on it, same versions, same procedure. A different engineer that does not have admin rights on that PC can't get the test software to run.
On laptop 3, a different engineer has admin rights, and installed the same software when she was logged in (I walked her through it, so same procedure) and she can't get the test software to run on that PC.
I don't know if this has any bearing on the problem we are seeing, but thought it was worth mentioning...
-Bill
10-13-2006 05:50 PM
10-19-2006 02:42 PM
Yes, all of them should be identical. We got them all at the same time a few months ago, and nothing should have been done to change any of them.
I'm still trying to get permission to send the DLL out, but something else that may add some insight - I created a labview VI that could control our external hardware from the serial port, works with no problems on my laptop. When I put it on one of the machines that gets that TestStand problem, I get the attached error message. I also attached the vi.
I'd assume that labview accesses the com port in a different manner than our DLL does (the DLL was written in VB, so it shouldn't have anything in common with the labview code.) The VB code that the DLL uses to initialize the COM port is:
Public Sub InitializeCommPort()
Set SerialComm = CreateObject("MSCOMMLIB.MSCOMM")
If SerialComm.PortOpen = True Then
SerialComm.PortOpen = False
End If
SerialComm.CommPort = SigGenCommPortNumber
SerialComm.Settings = "19200,n,8,1"
SerialComm.InputLen = 1
SerialComm.RThreshold = 1
SerialComm.PortOpen = True
End Sub
It has to be something with the COM port setup in some of our laptops, but I don't have a clue what it could be. I compared all the settings for COM1 in the device manager on a working and non-working laptop, and everything is the same... any ideas of what else I could look at?
10-20-2006 04:42 PM - edited 10-20-2006 04:42 PM
Message Edited by DWeiland on 10-20-2006 04:45 PM
10-23-2006 07:55 AM