LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop button reboots the computer

Johan,

I looked at the memory dump that you provided, and I am pretty sure I know what the problem is.  It appears that you are using traditional DAQ in your application, and you are probably stopping the application while it is doing a DMA transfer.  Unfortunatley this will cause your machine to crash and is expected behavior.  In general it is a bad idea to abort any application that is currently doing any DAQ transfers because it could cause behavior like what you are seeing.

I am not sure why you did not see this behavior on a different computer, however I imagine that the application has changed in functionality.  My advice would be to use a stop button in your application instead of the CVI stop button.  This way you can end your program safely when all resources are closed.  You can then use the stop button while debugging and let it run until compleation.

Shawn B.
National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 11 of 12
(843 Views)

Hello!

 

My application has not changed in terms of main functionality since I started using the new computer. Even with the old computer I was running DAQ. My application is used for HIL simulation and I use several NI boards to read signals from and send signals to an electronic control unit. Thus DAQ is a vital part and has been present from the point where I first started to develop my application.

 

Best regards

 

Johan

0 Kudos
Message 12 of 12
(813 Views)