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.
06-03-2011 07:06 PM
Hello,
I the attached VI the data output is:
Labview Automation
06/03/2011:7:44pm
Description
Vcc = 4.6V
Power1: 0.522 dBm
Frequency1: 0.471 MHz
X- Data Y-Data1
10 0.941
20 0.728
30 0.136
40 0.877
50 0.298
Power: 0.935 dBm
Frequency: 0.083MHz
X-Data Y-Data2
10 0.174
20 0.827
30 0.481
40 0.924
50 0.596
Power...
Can you tell me how I can go about manipulating the data to get the data as shown below:
Labview Automation
06/03/2011:7:44pm
Description
Vcc = 4.6V
Power1: 0.522 dBm Power2: 0.935 dBm Power3: ...
Frequency1: 0.471 MHz Frequency2: 0.083 MHz Frequency2: ...
X-Data Y-Data1 Y-Data2 Y-Data3...
10 0.941 0.174
20 0.728 0.827
30 0.136 0.481
40 0.877 0.924
50 0.298 0.596
Thanks,
hiNi.
06-06-2011 05:25 PM
Hello hiNI
Thank It looks like you would eventually want to output data (for example) from your X, Y1, Y2 arrays by one element at a time with potentially a tab delimeter after X and Y1 and a carriage return after Y2. Similar characters could be applied to the above data as well in order to obtain this result. Please let me know if I can provide any further clarification. Would you appreciate an example illustrating this?
Thank you very much for choosing National Instruments!
06-09-2011 12:47 PM
Hello,
I would sincerely appreciate an example showing this.
Thanks,
hiNi
06-09-2011 01:49 PM
The trick is to stop thinking like a text-based programmer, and start thinking like a LabVIEW programmer. You're using local variables that are completely useless, and sequence frames to hide code. You also need to learn to deal with arrays. I was bored, so I rewrote your VI so it's clean and easy to read.
You're welcome.