07-11-2014 01:29 AM
I am measuring the Helium concentration inside a protective Mask relative to the concentration of the measuring cell (round 4%). To correctly calculate the fit factor of a mask the proband makes different head movements, such as nodding and shaking the head which is written down in the string.
While the setup works, there are a few things I have not figured out yet:
1) The string input keeps adding up ending in something like “String1\0AString2\0AString3\0AString4”. How can I tell Labview to not add the strings
2) I would like the vi. to ask for the path and filename not when the measurement starts, by activation of the Boolean switch named “Aufzeichnung”, but when the vi. is started
Labview Version 2011 32bit, German edition
Solved! Go to Solution.
07-11-2014 02:00 AM - edited 07-11-2014 02:14 AM
Hi Dude,
2) In the File functions palette you will find functions to open a file dialog, so the user can select/input a filename/-path…
1) That's how the ExpressVI works. If it doesn't fit your needs: don't use it…
Option:
Only provide a comment string on the first write operation: detect rising edges of your write enable button and use them to select the comment string or an empty string.
Hint:
There's a German LabVIEW forum ( www.labviewforum.de )…
07-11-2014 03:35 AM
I am aware of the "open/create file" funciton. But it does not generate an a datatype compatible with the express-vi and does not seem to allow creation of new files. Or did you mean something different?
But thanks for the link to the German forum, didn't even occur to me to google for German sites
07-11-2014 07:35 AM
Hi,
Can you not put that write to measurement file VI inside a case structure? when the case is true the VI will be called and it will ask that path and filename.
07-11-2014 08:31 AM