Chipworkx Serial Port operation: Debug mode vs: deployed mode

I’m trying to capture a bar code scan from the Com3 serial port. The scan is event driven. The serial read works fine in Debug mode while running from VS2010. After the app is deployed and a manual reset is done on the board the event does not run when a barcode is scanned. The port is opened before subscribing to the event. Additionally, if the com port is changed to Com1 and ports Com2 and Com3 are not configured the event will run after the barcode is scanned.
The firmware and all dlls are version 4.1.
Any insight or experience with this issue would be appreciated.

Hi and welcome to the forum.

It would help to see your code.

Open the port before adding the event.


he said he does this already:

Then we need to see code like you suggested :slight_smile: