LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Move the value out of the for loop

Solved!
Go to solution
You did not include any data for anyone to look at. You did not include a subVI. Your use of the concantanate string is overly complicated (use Format Into String), you aren't using the error in/error out clusters, you are using GPIB and not VISA functions. There are numerous things I would recomend you change but the important think now is see your data. Run the VI and when you have the front panel control 'appended array' full, stop the VI and then go to the Edit menu and select 'Make Current Values Default'. Save the VI. Post that and include the missing Append Text Strings.vi.
0 Kudos
Message 11 of 15
(1,198 Views)

As you said, I have selected “Make current values default” and attached the sub VIs with this post. I’m using this sub VI from “McLennan Motion Control”. Do you know any other simple method to do this without using those sub VIs?

The output appended array gives 3 values for each command. In those 3 values, I want the 1st value to plot the graph as amplitude (Y-axis points). I’m using the GPIB function, because I’m using VISA function to control a steeper motor via PM341 micro controller in the same experiment. I think using; format into string is better than using concatenate string.Thank you very much for your helps.
0 Kudos
Message 12 of 15
(1,173 Views)
I couldn’t send the sub VIs with the previous post. These are those 3 sub VIs which I have used.
0 Kudos
Message 13 of 15
(1,172 Views)
If I understand you correctly, the attached code will create three separate arrays. Each represents a column in the string data.
0 Kudos
Message 14 of 15
(1,140 Views)
Thank you very much for your helps. Now I can get the graph accurately. Do you have any idea, how can I design to enter the frequency interval (1 GHZ) automatically? Now I’m entering the value manually for every command that I send to the analyser. I want to design to choose the frequency interval value (1 GHZ) only and let the VI to increase the value between 5GHZ to 15GHZ by itself and take the reading. Do you have any idea about this? Thanks again for your help  RegardsMayuren
0 Kudos
Message 15 of 15
(1,113 Views)