wrote: I wrote these two VIs. The first one basically already completed.
While they might work, they are full of meaningless and unnecessary code and overly complicated. There are also glaring mistakes. I'll point out some issues later.
"Control 2.ctl": very poor choice in naming. My downloads folder already had a Control 2.ctl with a completely unrelated datatype, so the browser renamed your control to "Control 2 (1).ctl". Your Vis loaded the wrong control, breaking all code. It is highly recommended to give unique and appropriate file names!
Don't maximize the diagram or front panel to the screen. This will prevent you from looking at the help windows (which you need!) and other documentation while editing.
"Write to Measurement.vi" (Also poor naming. Can be confused with the "Write to measurement file" express VI from the palettes).
- Upper half: Sequence structure has no purpose. Why is it there?
- Lower half is dysfunctional and overly complicated (See image for some comments).
"ACC_CCH_Prob.vi" Sorry, I don't have and DAQ installed, so I cannot comment about most of the code. I made no attempt to understand it, but it looks pretty bad.
Some morsels:
- "delete from array" is not the correct function to take an array subset. Try "array subset" instead, right?
- Not sure what you think this does (image below) and why you need it. It basically truncates all input arrays to the shortest. Is that what you want?
- etc....