ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview program halts after 124 iterations

I have developed a VI which takes data from a hardware through serial port.I have employed stop and wait technique so in one iteration the VI transfers 2 bytes serially to the hardware and recieves 8 bytes.After around 124 iterations the program stops for 3 to 4 seconds and then starts again taking the data.I have tried alot to identify the problem but its there.I am using labview 8.5 professional version and windows Xp.

Thanks

0 Kudos
Message 1 of 4
(3,048 Views)

Hello,

could send epurated code of your vi,

 

it will be easier for us to help you

 

@+

 

Tinnitus

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 4
(3,043 Views)
Do you know for a fact that it's the program that's pausing, as opposed to some other operating system process that's causing it to stop? Like Windows, or perhaps your anti-virus, or something else that you have running?
0 Kudos
Message 3 of 4
(3,026 Views)

Hi temtatedguy,

 

Is the program always pausing at 124 iterations, or does that number change drastically? What device are you communicating to serially?

Joshua B.
National Instruments
0 Kudos
Message 4 of 4
(2,983 Views)