Filter löschen
Filter löschen

Access violations and weird uigetfile() behavior

3 Ansichten (letzte 30 Tage)
Sean
Sean am 10 Okt. 2017
Kommentiert: Duncan Lilley am 18 Okt. 2017
I created a GUI using GUIDE for controlling one output channel of a National Instruments PCI-6722. I'm experiencing seemingly random crashes (Access violation), with no idea how to track down the issue. One particular observation is my uigetfile() function call, which is done in a button callback listener, is sometimes returning immediately without creating a file chooser dialog. The way I am passing data between GUI components is through a single global structure, which can be accessed by both the National Instrument callbacks and the GUIDE callbacks.
Tips on things to try and/or things to look for would be greatly appreciated. I've attached both the .m and .fig files, as well as several crash dumps.
  2 Kommentare
Sean
Sean am 16 Okt. 2017
Bearbeitet: Sean am 16 Okt. 2017
Is there some additional information I can provide that would make this problem easier to diagnose? Are there common mistakes that result in access violations that I can check for?
Duncan Lilley
Duncan Lilley am 18 Okt. 2017
Hello Sean,
Many of the crash logs you provided seem to indicate that the DLL causing the crash is "nidmxfu.dll", which is a National Instruments DLL. I would recommend contacting NI with regards to this crash, as they know their products best.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by