04-22-2009 08:12 AM
Dear Eng Vivec
Thanks alot for solving my problem. yes This is what I want. you are great.
But the second chart (waveform chart 3) contains 2 combined graph I just want to display the graph of V that begins from initial value 432 and ends at time 240 and then restarts again.
I mean that I want to display two charts begin at time 0 to time 240 and then restarts again as you modified my vi. But the second waveform chart ends at time 477 because it contains two compined graphs, the first graph of x that has initial value of 132 and the second graph of v of initial value 432, I want just to display only this second graph of initial value 432 also from time 0 to 240.
Thanks again for helping me
04-22-2009 05:13 PM
Hello Ahmad,
In order to extract the data from the array that you need, you can you use the 'Array Subset' VI. If not, take a look at the other Array functions under Programming >> Array to see what would work for you.
04-22-2009 05:18 PM
Array Subset will be useful to extract data from combined array
Thanks
04-22-2009 05:19 PM
Could you help me about extracting it?
Thanks alot
I'm waiting
04-23-2009 07:52 AM
Dear Sir
I'm waiting your modification about extracting the array it will help me more
Thanks alot
04-23-2009 08:40 AM
Hello Ahmad,
As I mentioned before, you can use the 'Array Subset' VI to extract the data that you need. All you need to do is provide the array, index and length inputs to this function and you will get your extracted array. Please take a look at the context help for this VI (hit Ctrl + H when the mouse pointer is over this function), and if you want more information you can view the detailed help for this function by clicking on the Detailed Help link in the context help window.
04-23-2009 08:45 AM
Dear
Yes, I have just made it and now I have the graph of x and V point by point.
I don't know how to thank you.
you are great. Could you please be patient if I have anything else to ask you?
Thanks again
04-23-2009 09:18 PM
Dear Sir
when I used ODE solver not at string formula to modify my constants. I found that the ODE F(x,t) accepts data from strictly typed Vi reference.
How can I convert the subvi that I created to be "strictly typed Vi reference"
04-27-2009 09:12 AM
Hello Ahmad,
We would really appreciate it if you would open a new discussion forum thread (with a new subject) to address new questions you may have. This makes it easier for customers and us to provide assistance on the forums. If you would like to receive phone or e-mail support, I would strongly recommend subscribing to the Standard Service Program (SSP). Please refer to the following link for more information: Standard Service Program .
Thank you!
05-10-2009 07:10 AM
Dear All
First, I would like to thank all NI members in the forums for quickly replying and solving problems and helping me.
After, I made the modifications for the attached problems and I displayed the ODE reults point by point in graphs, I found that I need some calculations based on the results of the ODE. Is the only way to make any calculations to be inside the for loop to be displayed point by point or there is another solution?. Because I have more calculations to do based on the ODE and I want to display it also point by point.