martin_g Posted May 29, 2011 Report Share Posted May 29, 2011 Hi All, I have an application that is tracing the mechanical and electrical parameters of a vehicle window switch. We move the switch by rotating a cam x degrees one, then back the other way, a common motion range would be +/- 20 degrees. We're monitoring angular position, torque and electrical contacts. I'd like to then plot a trace of torque vs angular position, to show where the detents in the switch are. I'd also like to use a digital waveform plot to show the state of the switch vs angular position (see attached image). I can't figure out though how to display the digital data against a DBL value, it seems to me I can't use a digital waveform display, because I'd have to plot against either time, or a U32 integer. I could use an XY graph, but I like the digital waveform feature of stacked plots for each waveform. Any ideas how I could do this? Thanks, Martin Quote Link to comment
mje Posted May 30, 2011 Report Share Posted May 30, 2011 My guess is you'll have to use the xy graph. You'll need to convert your digital waveform to a compatible array, which usually involves either applying a special scaling factor and offset to transform the actual data, or using a secondary scale. Quote Link to comment
martin_g Posted June 1, 2011 Author Report Share Posted June 1, 2011 So I went with an XY graph, formatted the digital waveform data into numeric, with each plot set to a different scale, to separate the digital signals. Thanks! Martin Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.