Y axis range problem in plots

1 view (last 30 days)
Mahabir
Mahabir on 3 Oct 2015
Edited: Walter Roberson on 3 Oct 2015
I am collecting from Impact Hammer data (mv/N) and Accelerometer (mv/g) from NI 9234. The gui has been designed using guide.
There are three plots - one live for both channels, two for each(Hammer and Accelerometers).
Following methods used to create handles for them while session start file attached template.h and following methods are used to update the live and triggered data. file plot.m unwanted code is deleted. The dataCapture is called from session listener. Plot is also attached.
Problem -
Live plots amplitude(V) scale get adjusted according data, but triggered plots always fixed to -1 to 1V and signal is not visible when it crosses these range. I have checked data, they have value from -5 to 5V. I have checked the ranges of sensors is Ok, -5 to 5V which is getting reflected in live plots.
  1. Can anybody, point what is problem?
  2. I like to add trigger vertical line in triggered plot at trigger point, how to do it?
Thanks is advance.

Answers (0)

Categories

Find more on Simultaneous and Synchronized Operations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!