From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-02-2012 09:28 AM
Sorry for asking a similar question I asked before, but I really have a problem with a string format. Even though I have already taken a look at the string format table, I still don't really understand.
In my attachment, I want my header to be in the format like this
Date/time Flow unit Pressure unit
23.3.2012/23:19 [flow unit] [pressure unit]
time flow1 flow2 flow3 pressure1 pressure2 pressure3
:
:
It said there are too few format and contained unwired or bad terminal
Which symbol should I put in this case to make my header look like what I want?
Thanks
04-02-2012 10:15 AM - edited 04-02-2012 10:16 AM
So instead of continue in the tread you already have, you made a new one. Not the best to do.
But I'll try to give you a hint:
So you are trying to insert 4 values, but you only specify 2 places to insert values ( the two %s ).
Where should LabVIEW insert the last two values ?
And do you want the enum numbers or the strings ?
You need to tell LabVIEW what it has to do with ALL the values.
Next your broken wire:
What do you what to use for selecting a case ?
04-02-2012 10:20 AM
04-02-2012 10:22 AM
04-02-2012 10:28 AM
You still didn't answer the question.
Do you what the value (number ) or the string (text) of the enum ?
As what you have wired now, you can the text with a %s or the number with a %d.
Try it out.
04-02-2012 10:43 AM