03-12-2015 04:23 AM - edited 03-12-2015 04:24 AM
Hi!
I'm using LabVIEW for some automated power supply testing and I have implemented a shutdown module that detects whenever user specified shutdown critera that outputs boolean values. I want to convert those booleans to a string and save it to a file like so:
%date% - %time%: Shutdown occured due to parameter: %shutdown%
In an attempt to explain the problem I made a simple VI for the purpose of displaying how I imagine solving it somehow (with the indicator text added in Paint).
Maybe it's a LabVIEW question, maybe it's a general programming question, but I'm not sure how to tackle it. Everything else works in my VI. The file is saved with the date and time, but without the "shutdown parameter" attached to the string.
I have attached the VIs of my example and also my project.
Solved! Go to Solution.
03-12-2015 04:54 AM - edited 03-12-2015 04:55 AM
03-12-2015 05:13 AM
Hi GerdW
Thanks for you quick reply. I'm not too familiar with the string data type but I want to learn. It looks like a "match true/false" function, is that correct?
Can you attach the VI of the image? It would be much easier for me to identify the functions I need to use
03-12-2015 05:21 AM
03-12-2015 05:30 AM
Thanks again! I just learned what a snippet was. I didn't know you could just drag and drop it into LabVIEW.