05-17-2023 03:03 AM
Hi inst,
@inst_soleil wrote:
It is not counting or saving to the file. Am I connecting the wrong wire? Or do I need to use Shift register?
It should save to the file in the same position as the previous implementation!
Did you notice the coercion dot in your implementation? There's a reason for - and it influences the way the values appear in your file!
As you only attach images showing parts of your code we cannot comment on how those values look like in the file. We also cannot see/test/edit/run code to test the ElapsedTime behaviour…
05-17-2023 09:43 AM
Hi GredW,
I jut realised the coercion dot in your implementation after your message.Thanks for warning.
I can share the part of the program. There are two sub.vi that convert he integer into string, then both go to the array, then the file and save. Maybe I shouldn't convert the data into string?
Best
M
05-17-2023 01:35 PM
Hi inst,
@inst_soleil wrote:
I can share the part of the program. There are two sub.vi that convert he integer into string, then both go to the array, then the file and save. Maybe I shouldn't convert the data into string?
Well, you still don't provide any code, just images of parts of your code.
We cannot edit/debug/run images with LabVIEW!
That subVI is non-sense: you can remove the FOR loop and it will work the same as before. Then you are left with a single function: replace the subVI calls by that single function…
It doesn't matter that you convert your data into strings: the resulting file will be the same (more or less, depending on string formatting).
You shoud also replace the InsertIntoArray node by a simple BuildArray (set to concatenation mode): much more clear code!
When you want more help then you should attach real code and example CSV files…
05-18-2023 03:07 AM
You are right GerdW,
I attach the *vi to this message for you to be able to edit. Let me check how can I configure with your suggestions.
Best,