06-20-2013 03:15 PM
I've got an extra column in my data that's putting commas in front of everything. The header says it's an unknown X value...any ideas on how to get rid of this phantom column of commas?
06-20-2013 06:37 PM
The file writing seems to be in a subVI called Untitled1 that you did not include.
Beyond that, there is a lot of cleanup that needs to be done. All controls should have a name with the label visible on the block diagram. There are way too many unnamed terminals on the block diagram that you can't figure out what they are for.
The master while loopo with the True wired to the Continue if True means you have an infinite while loop that forces you to abort the code. So the VI's after that while loop can never run.
There is quite a tangle of waveforms, arrays, and feedback nodes going on. It is hard to follow them. The problem could be somewhere in that wiring.
06-21-2013 08:10 AM
The problem started when I added my cycle count to the data file. I'm getting a cycle count but it seems like it's in the form of x,y. The data looks like this. ,1,1.2,1.2,1.2,1.2
,1,1.2,1.2,1.2,1.2
This represents the first cycle. The numbers looks good, other than that leading "comma", like there's a phantom value there.
06-21-2013 09:09 AM
Where is that screenshot located in your VI? How does it relate to your question? It doesn't show any conversion of data to either a string or writing to the text file.
I think you ought to be able to figure this one out your self with the appropriate use of the debugging tools like probes and highlight execution. Go to where this string is generated, put a probe there. Then work backwards putting probes on all the wires leading up to that point.