I am using Signal Studio for Pulse Building and an E4438C using the TCPIP connection. I make calls to AgtPBAPI_IAgtPBProjectDownloadAndPlayPattern (ActiveX Controller) which was created from within NI LabWindows/CVI with the COM API.
This works great, until I get the following error message from the AgtPBAPI_IAgtPBProjectDownloadAndPlayPattern function:
Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
My automated test script loop basically looks like:
Loop
AgtPBAPI_IAgtPBProjectDownloadAndPlayPattern (pattern from within a previously created .pbp)
Take a measurement.
End Loop
I realize the problem could have many sources including the test PC (running Windows 7), the corportate LAN, networking switching, etc. I was just wondering if there is a history of TCPIP connection problems with the E4438C.
This works great, until I get the following error message from the AgtPBAPI_IAgtPBProjectDownloadAndPlayPattern function:
Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
My automated test script loop basically looks like:
Loop
AgtPBAPI_IAgtPBProjectDownloadAndPlayPattern (pattern from within a previously created .pbp)
Take a measurement.
End Loop
I realize the problem could have many sources including the test PC (running Windows 7), the corportate LAN, networking switching, etc. I was just wondering if there is a history of TCPIP connection problems with the E4438C.
There is no history of TCPIP connection problems with the E4438C. You are correct this might be a challenge to find. You might try to isolate the E4438C by exercising its TCPIP connection outside of your CVI/COM API platform.
The fact that it does work most of the time indicates that either a connection is lost or not responding in time.
Regards -