Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

W2000 crashes with NI4351 and C++Builder 5

Hello,
We are developing a software which use an acquisition board NI4351 and Measurement Studio 6 with C++Builder 5 on W2000.
This program reads values on NI4351 with the method SingleRead().
The measures via the NI4351 make themselves correctly.
The closing of the program entails a complete PC crash : Windows 2000 stops and displays a blue screen with the message "emptying of the physical memory."
Could someone help us ?
0 Kudos
Message 1 of 4
(2,723 Views)
We do not have any reports of similar behavior with this setup, but I willt ry to give some suggestion:
1) Run other applications to see if this is specific to the 435x software.
2) Run some of the 435x shipping examples to determine if the source is the NI-Driver or the specific code you are running:
C:\VXIpnp\WinNT\NI435x\examples
3) If the examples are causing the behavior also, unistall your current 435x driver and reinstall the latest version:
http://digital.ni.com/softlib.nsf/websearch/D395CD8CFCC9272E862569430075E527?opendocument

I hope these steps help in narrowing down the problem.
Best Regards,
Chris D
0 Kudos
Message 2 of 4
(2,723 Views)
Hello, thanks for your answer !
I have try your solution and nothing is better !
The problem comes from using Borland C++ Builder 5 in debugger mode and using the command SingleRead() to access to the NI4351 !

Best regards
Alain D.
0 Kudos
Message 3 of 4
(2,723 Views)
I make a lot of tests this days and I found that it happends with a specific use of SingleRead() :
- the crash appears when I read the card (with SingleRead) in a secondary thread of our application.
I means: asking the card with SingleRead() in the main thread doesn't make Windows crash.
Using the card in the secondary thread is ok,UNTIL you try to destroy (with the rigths methods) the secondary thread : the crash appears in a blue screen "Emptying physical memory".

Could you help me ?
Best Regards,
Alain D.
0 Kudos
Message 4 of 4
(2,723 Views)