07-01-2020 01:37 PM
I'm trying to subtract the output of Inlet Temperature from Outlet Temperature to get the Water Temperature Rise as it's own column on the excel spreadsheet. How would I go about this? Disregard the unconnected boolean expression.
Solved! Go to Solution.
07-01-2020 01:48 PM - edited 07-01-2020 01:48 PM
07-01-2020 03:36 PM
Something like this?
07-06-2020 09:19 AM - edited 07-06-2020 09:58 AM
What I'm trying to do is use the output from two sensors "Outlet Temperature" and "Inlet Temperature" and subtract them which works fine on the LabView program, but I want to output it to the delimited spreadsheet as a separate column. The issue is not the math or math function, it is how to output the value onto the spreadsheet.
Thanks.
07-06-2020 09:24 AM - edited 07-06-2020 09:25 AM
Hi Sam,
@sambpk wrote:
I know how to "apply simple math", what I'm trying to do is use the output from two sensors "Outlet Temperature" and "Inlet Temperature" and subtract them which works fine on the LabView program, but I want to output it to excel as a separate column. The issue is not the math or math function, it is how to output the value onto the excel sheet.
It wasn't clear from your first message what is the exact problem you are looking for…
It also doesn't help to talk about "Excel" when you are creating simple (delimited) text files!
What about the help from RTSLVU with adding the result of the subtract function as one more element to the array before saving the data to a file?
07-06-2020 09:47 AM - edited 07-06-2020 09:50 AM
Here's how it could look like:
07-06-2020 09:55 AM - edited 07-06-2020 10:15 AM
@altenbach Thank you, I appreciate you explaining all that to me. I just started using this program / language a few days and am not quite familiar with the ins and outs. Your post was helpful.
07-06-2020 09:57 AM - edited 07-06-2020 10:19 AM
Hi there @GerdW,
This is my first week using this program and I wasn't aware of the difference between excel / delimited spreadsheets. Thank you for helping / explaining this. The solution did help, but it messed up my time stamp so I'm working on fixing that issue.
07-06-2020 10:05 AM
@sambpk wrote:
The solution did help, but it messed up my time stamp so I'm working on fixing that issue.
We cannot tell what you are replying to, but my code did not touch your time formatting. RTSLVU is formatting time as DBL and also places it into the first column, in disagreement with the header strings, so don't use that. 😉
07-06-2020 10:18 AM
@altenbach I'm hitting reply, but it's not tagging who I reply too.. I'll figure it out soon, I wasn't talking to you about the time stamp. I accepted your reply as the solution because it worked. Thank you for your time.