LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview not responding

 

 

I don't know how to solve this problem, because I need to run the state machine for 30 minutes, but it only runs for several seconds and then stops. Is it caused by the communication between computer and the equipment, or the computer is not fast enough, or there's some deadlock in the program?

0 Kudos
Message 1 of 7
(4,207 Views)

aaa.png

0 Kudos
Message 2 of 7
(4,206 Views)

Hi cantata,

 

which "equipment" are you talking about? Why don't you ask the vendor of "the equipment"? There should be specifications, what kind of computer is needed to drive "the equipment"…

 

Are your parameters in calling that DLL function correct?

How often do you call that "equipment" DLL?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 7
(4,170 Views)
PS: where's the state machine? All I see is a loop and a DLL call...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 7
(4,166 Views)

cantata2014 wrote:

I don't know how to solve this problem, because I need to run the state machine for 30 minutes, but it only runs for several seconds and then stops. Is it caused by the communication between computer and the equipment, or the computer is not fast enough, or there's some deadlock in the program?


Impossible to say without some real code to look at.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 7
(4,142 Views)

Hi GerdW,

the equipment is a Wave Analyzer. I didn't ask the vendor because I tested this subVI in another simple program and it didn't get stuck.

 

I have attached my program here. Thanks~

 

 

[Edited 04/07/2015: Removed attachment that included private information] 

0 Kudos
Message 6 of 7
(4,111 Views)

Hi crossrulz,

this is my program

 

 

[Edited 04/07/2015: Removed attachment that included private information] 

0 Kudos
Message 7 of 7
(4,110 Views)