06-07-2008 02:13 PM - edited 06-07-2008 02:17 PM
![]() |
|
![]() |
PRINT.doc (103 kb) |
06-09-2008 01:49 PM
Hi VeronicaL,
You can combine your AC and DC signals for display on one waveform graph by using the Merge Signals function which you can find in the Express>>Signal Manipulation palette of your block diagram. The AC and DC signals will be the inputs, and the output should be wired to a waveform graph.
Properly displaying two waveforms of different ranges on a single graph can be tricky. I recommend disabling auto-scaling for both the x and y axes, and manually setting them so that you can select the range of signals that you want to see. To select the minimum and maximum y values, simply disable auto-scaling for the y axis, and then double click on the maximum y value and type in the value that you wish to specify. Do the same for the minimum y value. The last thing I would recommend is to make the graph palette visible so that you can use the zoom in capability. To do this, right click on the waveform graph, select Visible Items, and put a check next to Graph Palette.
To convert your Locations array to the Time Locations, you can create an array of equal length and simply multiply the two arrays. The first entry of the array should be t0, the second should be t0 + dt, the third element should be t0 + 2dt, etc. This will only work if dt is a fixed value. I’ve modified the VI that you included in your forum post to illustrate what I’ve posted in reply.
Best wishes,
Wallace F.