LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application hangs when VI is in run state.

I am using DSC 7.0
When the VI is running in idle state along with the DSC Engine running in the background, the CPU usage goes upto 98% and the application i.e PC hangs.
I have to do Ctrl+Alt+del to come out. I am not changing any of the control values in the VI. the VI has to be in just in run state. Here PC hangs.
Why is this happening..pLz help, thanks
0 Kudos
Message 1 of 5
(2,956 Views)

Hi,

What does this VI in question do? Is this a DSC VI, or one your wrote? Are there loops in there without any waits? Or any DLL calls? Is it possible to attach a stripped-down version of this VI which still exhibits this behavior?

Regards,

Khalid

0 Kudos
Message 2 of 5
(2,956 Views)
Hello Khalid,

The VI has many datasocket connection (using publish and subscribe) to write and read data between Siemens
drive and another PLC.
This is not a DSC VI, I have written the VI. I have
given wait in all the loops. I cannot attach the VI
since itz a big one with many subVIs in it. There are no dll calls. Do u know the possible reasons for any
DSC applications to slow up.
thank u
hema.
0 Kudos
Message 3 of 5
(2,956 Views)
Hello Khalid,

The VI has many datasocket connection (using publish and subscribe) to write and read data between Siemens
drive and another PLC.
This is not a DSC VI, I have written the VI. I have
given wait in all the loops. I cannot attach the VI
since itz a big one with many subVIs in it. There are no dll calls. Do u know the possible reasons for any
DSC applications to slow up.
thank u
hema.
0 Kudos
Message 4 of 5
(2,956 Views)
Hello Hema,

Can you try simplifying down your system to isolate the problem? Does the problem occur if you run only the DataSocket connections while the DSC Engine is running? If so, what protocol are you using to connect with DataSocket (i.e. - http, opc)?

Regards,

Kristi H
National Instruments
0 Kudos
Message 5 of 5
(2,956 Views)