From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to programme the freeze button of an oscilloscope

i want to programme the freeze button of my oscilloscope to stop the transmitting signals from moving...how do i go abt doing it? i also want to move the waveform after stopping it...how can i programme the button to perform these two requirements?
0 Kudos
Message 1 of 2
(2,765 Views)
Paul,

The specifics will depend on the implementation that you have. But an idea is to have an if statement arround the function that plots the data; this way you may be still acquiring the data but you will not be updating the graph; this will give you the effect of freezeing the signal.

To move the waveform you can use the functions to manipulate the axis; by changing the lower and uper limit on the graph you can pan and/or zoom the waveform; take a look at the functions:


GetAxisRange()
SetAxisRange()
GetAxisScalingMode()
SetAxisScalingMode()


I hope this can give you some ideas to start with.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,765 Views)