LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why would highlight execution make a non working program work?

both get created and one is empty
0 Kudos
Message 11 of 14
(716 Views)
From looking at your VI I would guess its a communication problem. Does "string output" show any data after running the VI? As the channel name (IC) seems to be the only difference and you don't seem to define it at the beginning where you define channel IB are you sure you are defining it correctly later on?
0 Kudos
Message 12 of 14
(710 Views)
You write to the file until no string remains. "Error 5" output contains an error condition: "; HP 4145 Receive Message", so most likely, nothing was received in frame 4 and nothing will be written.
 
Something needs a longer timeout. Your code should also check for error condition so it can take correctove actions, e.g. repeat frame 4 after a short wait until something is received and the error no longer occurs.
0 Kudos
Message 13 of 14
(702 Views)


@falkpl wrote:
Sorry for the same answer, I am a second behind all day.


Hmm, sounds like a race condition Smiley Very Happy

Message Edited by Jim Kring on 12-14-2005 02:49 PM

Message 14 of 14
(755 Views)