LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-CAN application crashing

Hi,

 

I am a developer based in the UK with a test system in France, so debugging isn't easy.

 

We have encountered an application crash which occurs after about an hour of testing and seems to be related to CAN capture.

 

I have asked the customer to enable dump file creation and will provide this together with the source code and hardware details when we have it.

 

In the mean time; having expended a lot of effort in the last 2 weeks trying to locate the source of the crash I am wondering if the following scenario rings alarm bells with anyone?

 

 

  1. We have 3 off PCI NI-DAQ cards + 1 NI-CAN (2 port).
  2. Load NI-DAQ & NI-CAN tasks.
  3. Connect RTSI to sync capture. Trigger source is from a DAQ card.
  4. Start tasks (2nd thread)
  5. Capture data (2nd thread).
  6. Stop tasks (2nd Thread).
  7. Disconnect RTSI.
  8. Start different CAN tasks.
  9. Write a CAN message.
  10. Read CAN times-out before message (or messages) arrive.
  11. Stop CAN tasks.
  12. Reconnect RTSI.
  13. Report status
  14. Some time passes, don't know how much but probably quite short.
  15. Crash.
Is it possible that stopping the task and reconnecting the RTSI (11 & 12) while the delayed message(s) arrive may be causing the crash?
I will extend the timeout once I have a dump file.
I have also requested a NI-NAX report so that the software versions can be confirmed.

 

John C
0 Kudos
Message 1 of 2
(2,807 Views)

Should have included:

 

XP Prof SP3

John C
0 Kudos
Message 2 of 2
(2,802 Views)