LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview crashes computer

I have an odd problem. when i shut down labview, it sometimes restarts my computer. we have a fairly complex program that interfaces with a daqboard, but it never seems to crash or suspend the computer. it's only when i shut the labview program. any insights, besides "don't shut down labview"? thanks.
0 Kudos
Message 1 of 4
(3,062 Views)
Are you using any CIN's?

Are you stoping the data acquisition?

Poorly written CIN's can crash the machine on exit.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(3,062 Views)
In theory the DAQ board should be "off" when the program stops, but maybe from time to time it isn't being released. The weird thing is that it does it somewhat inconsistently...it won't do it for a while and then it does. What do you mean by CIN?
0 Kudos
Message 3 of 4
(3,062 Views)
A CIN is a Code Interface Node. It is National Instruments
proprietary way of linking to compiled object C code. In the last few
version of LV you can also link in the industry standard Microsoft DLL
way. Finally LV now supports ActiveX (OLE) automation linking to OLB
or TLB libraries.

What the previous replier was saying is that the C code in one of
these CIN's crashed.

I would also comment that you could have a badly written DAQ board
driver that is crashing when you do some specific action possibly
associated with cleanup and shut down. This is more likely to crash
the machine than a CIN or DLL since the real low level drivers are
part of the operating system. This doesn't mean that you can't crash
the system with a DLL or CIN code
call though if there is a bug in it.
(Been there done that 🙂

Doug De Clue
LabVIEW developer
ddeclue@bellsouth.net

uc_greg wrote in message news:<5065000000050000007B830000-1023576873000@exchange.ni.com>...
> In theory the DAQ board should be "off" when the program stops, but
> maybe from time to time it isn't being released. The weird thing is
> that it does it somewhat inconsistently...it won't do it for a while
> and then it does. What do you mean by CIN?
0 Kudos
Message 4 of 4
(3,062 Views)