02-13-2025 04:12 PM
Hello,
I am very new to using Labview and am needing assistance with writing mutliple variables to a Measurement file. I am attempting to monitor 6 voltage channels, 3 temperature channels, and 5 current (voltage) channels. I am attaching my block diagram (with the errors) and the file it writes. I am trying to get all values on the same spreadsheet with a time stamp.Currently I am receiving multiple untitled spreadsheets with instantaneous snapshots of my data. Any assistance is welcome. Thanks so much!
02-13-2025 05:01 PM
If your goal is to log data from DAQ channels, FlexLogger is a great fit.
If your goal is much larger, where the DAQ is only a small portion, then there is value in you learning the workings of DAQmx and DAQ hardware to better architect your application.
02-13-2025 05:43 PM
Can you post your actual VI instead of just a screenshot? Save it back to LabVIEW 2019 if you're on something newer.
You're using a lot of Express VIs where the settings matter, plus we need full context on everything else going on. We can't see that with just a screenshot.
Also, the error you're getting (-200279) means that your hardware buffer is full, usually because you're sampling fast but pulling your data slowly enough that it fills up. It might be giving that error because your loop takes too long to run, possibly because you're running with highlight execution on, but if you get that even with it running normally then there may be other delays in your loop that make the buffer fill up. It looks like you're trying to sample groups of 200 from a system recording at 2000 Hz, for a total of 10 times per second, is that correct?
02-13-2025 06:08 PM
Use the built in DAQmx Logging feature instead of an express VI. The is a free plugin from NI to import TDMS files into Excel, so you can use that.
02-14-2025 04:39 PM
Hello, Thank you for your feedback! I am attaching the 2019 version to this comment. Yes, my sample rate is 2000hz and the sample size is 200.
02-14-2025 05:50 PM - edited 02-14-2025 06:19 PM
Here is a quick mod to your program.
EDIT: Set to Log and Read, should have been a constant not a control, like below