Jump to content
  • 0

Suppress Error #343 "Specified USB board not detected"


domr001

Question

I’m using an MCC USB-2637 DAQ board in a Tester.

On rare occasions, I get the error “Specified USB board not detected”

I understand the reason for it – sometimes electrical noise in my equipment interferes in the USB communication. But it is only momentary, and if the command is repeated, the connection is restored.

I’m working on a design change to make the physical connection more robust which I hope will solve the problem.

In the meantime, every time this error occurs, the program pauses so that a popup window can be clicked

SpecifiedUSBboardnotdetected.jpg.1ac17e7b272003fcb8baef726076858c.jpg

 

The problem is that this is a multi-station system, and if the monitor for the PC where this message occurs is not visible, then the operator doesn’t know that it is waiting to be clicked. It just hangs the entire system because the supervisor system waits for the tester PCs in the system to finish their tests before proceeding.

Is there a way to suppress this message, and just return an error code if the board is not detected? Then the application can wait for a short period and then try again, and the only effect is a short delay in the program.

If the connection can’t be established after 3 attempts, then the program can report an error and the operator can be notified by the application about the failing station in the system, and take appropriate action.

Thanks for your help

D

Edited by domr001
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @Fausto

Sorry for the delay in replying.

The communication break is only momentary. The next communication succeeds. 

How can my application detect this error without the message box popping up and forcing my application to pause until someone clicks the "OK" button.

If the failing function could return an error code, my app can see this and just pause for 100ms and try again. 

But the Popup message must be clicked, forcing some "human interaction". 

This is not compatible with an Automatic System!

How can I suppress the popup?

Thank you

D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...