LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stamping of a continuous signal

I have a VI where I sample at 100Hz for a certain number of seconds, for a certain number of times, and appending it to a file.  I have a system where I convert parameters for each iteration into a string and add them to the comments section of the file, which lets me get info for each iteration.
 
My problem is that I have a temperature sensor running continuously in the background (the outermost while loop), and when I add it to comments section the VI fails to run correctly; all it does is read temperature and doesn't execute.  I imagine this is because I need to sample the signal at certain points, then record that value as a string and add it to the comments, because the program gets confused when it is making a continuous signal into a string.  Does anyone know how to do this, or if I'm completely wrong about this?
 
Thanks in advance,
 
Mike Bottom
0 Kudos
Message 1 of 3
(2,319 Views)
Anyone?
0 Kudos
Message 2 of 3
(2,306 Views)

Hi Mike,

I'm having some trouble understanding exactly what behavior you are seeing.  What do you mean when you say "all it does is read temperature and doesn't execute"?  I'm guessing that you might need a shift register to combine data from different loop iterations into a single string but I'm not sure.  Perhaps if you posted some simple example code or a screenshot of your VI we'd be able to help further.

Thanks,
Megan B.
National Instruments

0 Kudos
Message 3 of 3
(2,295 Views)