キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Adding another plot programatically

解決済み
解決策を見る

Hi,

 

I would like to be able to do a few basic things and I've search around but it didn't yield any solution for me. I'm hoping that this board will be able to help me.

 

1. I have a set of 2D array which i plot to a waveform graph and i would like the x-scale to start from the value i set in Temperature.

2. I would like to be able to click 'start', the program starts to take real time measurements. Then when I click 'load' and it'll load a saved measurement into the graph while it is still taking measurements and unloads the saved measurement when i click on the 'unload' button.

3. I would like to be able to hold a set of measurement (in this case 50 points) at any given time, adds the set to the table and graph while the program is still taking measurements. And when i click on the 'unhold' button and it'll dispose of the second set of data.

 

Thanks in advance!

 

すべてをダウンロード
0 件の賞賛
メッセージ1/5
3,348件の閲覧回数

Help anyone?

0 件の賞賛
メッセージ2/5
3,333件の閲覧回数
解決策
受理者 firefly123
メッセージ3/5
3,320件の閲覧回数

The text from my post got lost and editing couldn't put it back again.

 

I wasn't clear on the sequence of your requirements but your program wouldn't work the way you had your event structure and the while loops. I've modified your code to have two parallel loops, I don't expect it does what you want but it might give you some ideas to try.

 

Ian

メッセージ4/5
3,308件の閲覧回数

Thanks lanW. You've pointed me the way forward and I was able to write my code as intended. 

0 件の賞賛
メッセージ5/5
3,290件の閲覧回数