07-22-2008 02:15 PM
07-22-2008 02:28 PM
07-22-2008 03:45 PM
07-22-2008 03:57 PM - edited 07-22-2008 03:58 PM
07-22-2008 03:59 PM
07-25-2008 05:23 PM
Hi smercurio_fc:
Thanks so much, that what I want to impement!! I really appreciate your help.
But I still have some questions about it.
1. can I zoom in and out in that "waveform graph"??
2. can I display the plot array or plot index that I select in the waveform graph?
3. I build a sample codes for my project, in which , I used a random number generater to simulate a DAQmx data collection, and generate a overlapping waveform in the waveform graph.
but it seems the program is not stable, when i first run the codes, it is ok, and I can select the plot what I want. but after I stop and restart the program, there is error message about "Property Node".
it seems something wrong about the "waveform graph properties"
I attached my codes here, anybody know what wrong about it?
thanks a lot
07-26-2008 03:10 PM
You can do this using the graph palette. Just make it visible. The middle control allows you to zoom.
@hanwei wrote:
1. can I zoom in and out in that "waveform graph"??
You can connect the same wire that goes to the ActivePlot property node to an indicator.
2. can I display the plot array or plot index that I select in the waveform graph?
For some strange reason the property node is "messed up". I've seen this happen sometimes with graphs. I don't know what causes it, and the only way I've found to fix the problem is to delete the graph, put a new one on the front panel, and recreate the property nodes. I've typically seen this happen when copying code from another VI that has a graph with property nodes, as I suspect you did. If you delete the graph, put a new one on there, and recreate the property node you should be OK.
3. I build a sample codes for my project, in which , I used a random number generater to simulate a DAQmx data collection, and generate a overlapping waveform in the waveform graph.but it seems the program is not stable, when i first run the codes, it is ok, and I can select the plot what I want. but after I stop and restart the program, there is error message about "Property Node".
it seems something wrong about the "waveform graph properties"
I attached my codes here, anybody know what wrong about it?
07-28-2008 11:20 AM
Hi smercurio_fc:
Thansk a lot, I really appreciate your help.
I think the problem which casue the "messed up" of property node should be something about "race condition" problem.
But I am sorry , I don't really understand what is race condition problem and why there is such a problem in my sample codes?
Thanks for your suggestion, this is very important for a Labview beginner.
regards
07-28-2008 01:12 PM
07-28-2008 02:19 PM