09-25-2007 05:13 AM
09-26-2007 12:16 PM
Hi andrej,
Thanks for contacting National Instruments. I was wondering if I could get a little more clarification from you about your question. When you are creating your PDA VI, what actual functions or controls are you using that you have questions about? When you say "Zoom Graph" and "Chart.vi" what exactly are you referring to? The Waveform Chart? Or other functions? Also, I was wondering what exactly you mean by the cursor position changing. What are you seeing on your graph? Would it be possible for you to walk me through some of the steps that you are taking in order to reproduce your issue? Please let me know some of this information and I will be able to work on it a little more efficiently on my own time. Thanks a lot and I hope to hear from you soon!
Noah R.
09-27-2007 01:57 AM
09-27-2007 09:25 AM
Hi andrej,
I am having a little trouble reproducing your question using your sample VI. When I select the zoom type and press zoom, I am not able to zoom in on anything at all. What steps are you taking in order to actually zoom in on the graph? Also, when you say you select a region on the graph, how exactly are you doing that? A little more information might help out with getting an answer for you and I will continue to see what I can come up with to see if this is actually expected behavior or not. Thanks and I hope to hear from you soon!
Noah R.
09-27-2007 10:36 AM
09-27-2007 11:38 AM
Hi andrej,
Thanks for the information. I think I may have a suggestion for you that will help you out. When you have your XY graph and you zoom in on a particular area, you may want to programmatically change the X position of the cursor on your graph. You can do this by right-clicking on your XY Graph from your block diagram and selecting Create>>Property Node>>Cursor>>Cursor Position>>Cursor X. From the LabVIEW Help about this particular property, it states that the X Position for this property is the coordinate that corresponds to the plot itself. I hope this helps and good luck with using it in the future. Thanks!
Noah R.
09-27-2007 12:29 PM
09-27-2007 01:08 PM
Hi andrej,
I have been looking at your code and what I see after running the code in Highlight Execution is that you basically have a race condition in the last sequence of your sequence structure with your dialog box and the cursor position properties. If you could create some sort of data flow condition here in order to ensure that the cursor positions are moved BEFORE the dialog box appears that would help. You might try to add another sequence after this sequence structure that takes care of this dialog box. I hope this helps you out some. Thanks!
Noah R.