LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI crashing when PICKit3 is connected to computer

I have a VI that controls a USB-6008 and reads RS232 messages from a COM port. The VI is communicating with an embedded device that can send and receive RS232 messages, in addition to changing behavior based on the states of the USB-6008 output. There are no issues if the embedded device is programmed. However, if the PICkit3 is connected to the computer and the device, the VI crashes, and won't start again until the PICkit3 is disconnected. I've never experienced this before, and no other VI's I've used behave this way.

 

Does anyone have any idea as to why this might happen?

 

Thank you in advance,

James

0 Kudos
Message 1 of 2
(2,122 Views)

What do you mean by crash? Does the LabVIEW process crash entirely and the process exits? Does the VI stop responding to front panel activity (and Windows hints that it is not responding)? The latter could indicate a logic error in your application (where the UI does not get updated due to a blocking call in your code); the actual code or a faulty example would help.

0 Kudos
Message 2 of 2
(2,094 Views)