12-11-2014 10:07 AM
@Dennis_Knutson wrote:
Put a Build Waveform function on the block diagram, right next to the 1D array that exits the for loop.
No. We are dealing with different channels here. 1 sample in the array for each channel. Therefore the Build Waveform should be inside of the FOR loop and then have an autoindexing output tunnel on the built waveforms. The result will be an array of waveforms that can then be written.
12-11-2014 10:16 AM
12-11-2014 12:02 PM - edited 12-11-2014 12:03 PM
I inserted a “Build Waveform” Block into the “For Loop” but now I don’t have a way of wiring an input to it, I get broken wires. I attached my VI if thats of any help to debug my situation.
Thank you,
Chad
12-11-2014 12:38 PM
12-11-2014 03:22 PM
Does this look a little better? I have not had a chance to run it on the hardware yet but will give it a shot in a bit.
Thanks again for your time,
Chad
12-11-2014 06:09 PM
12-12-2014 09:53 AM
Thank you! I think I got it with all your help! I let in run for a couple hours last night and worked great. Its writing about 16 samples per minute to my Excel file I just need to figure out how to slow it down to take about a sample ever 30min. If I could create a delay were I could adjust it from like every 30min. to every 4 hours that would be great. Better yet would be to figure out a way to tell it to take a samples as specified times of the day like 12pm , 4pm, 8pm, 12am, ect. But if that takes a ton of additional code I would be happy with just an adjustable delay. Thank you again this is exactly what I needed. So much appreciated for all your time.
12-12-2014 10:38 AM
12-12-2014 01:46 PM
That worked great. Everything seems to be working after all of this. Thanks for the leaning experience
Chad