VirtualBench

cancel
Showing results for 
Search instead for 
Did you mean: 

MSO Analog Trigger does not work

I confifure the MSO for analog trigger for rising edge with value of 0. I have a sinewave connected to MSO channel 1 (trigger channel). I expected to trigger when the sinewave cross 0 from negative to positive. but I see MSO triggered at other places as well. What could be reason for this. How do I get this working consistently?

0 Kudos
Message 1 of 18
(7,613 Views)

Do you have the Auto Trigger turned on?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 18
(7,594 Views)

Hi Senthilnathan,

 

If your signal is noisy, that could explain the behavior you're seeing.

 

One thing you can try is going to the trigger menu (the "..." to the right of "Trigger" in the windows app) and changing Hysteresis to "Noise Reject".

 

Regards,

 

William Earle

Software Engineer

NI R&D

0 Kudos
Message 3 of 18
(7,590 Views)

Auto trigger is off.

0 Kudos
Message 4 of 18
(7,567 Views)

Then can you post a screen shot of what you are seeing?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 18
(7,561 Views)

Hello William Earle

 

I have created my application with the driver APIs. I have set the hysteriss value to 0.01 (my signal's peak value is 0.05) in MSO Configure Analog Edge Trigger.vi. I think this is equalent to 'Noise Reject' option the vitual bench soft panel. Is this correct?

 

Also I see an option for averaged data acquisition in soft panel, (2, 4, 8 ..... averaged). How do I configure this with driver APIs? Which API to use?

 

Thanks,

A Senthilnathan

0 Kudos
Message 6 of 18
(7,560 Views)

What voltage range are you using? (This is an input on the MSO Configure Analog Channel entry point).

 

There is no support for averaging in the VirtualBench API, however it should be straight forward to implement with LabVIEW.

 

Regards,

 

William Earle

Software Engineer

NI R&D

 

0 Kudos
Message 7 of 18
(7,553 Views)

Hello William

 

Thanks for your help. I use the highlighted vi for configuring. The vertical range is configured with 1.2 times the expected signal. I generate this signal from FGEN of virtual bench and loop back to MSO for measurement (input signal to my device). I assume based on the value I set for limit virtual bench selects the next higer range (like DAQmx). Or should I pass in the specific value to vertical range control to configure the value?

 

MSO analog.png

 

 

I am trying to implement the averaging in LabVIEW. How is the averaging implemented in virtual bench softpanel? 

- Is it a moving average with the window size? Or Is it over sampled averages like each point in the result waveform is average of N points?

 

Thanks,

A Senthilnathan

0 Kudos
Message 8 of 18
(7,531 Views)

Hello Crossrulz,

 

Thanks for your help. Here is what I acquire on trigger with zero crossing. The frequency of the signal is around 630kHz. It looks like MSO triggered in advance. I see this issue in the signal frequency range greater than 400kHz (approx.). If the signal frequency is less than 100k the trigger works good I see the waveform starting from zero crossin of mso/1 channel. I set the sample rate 25 times the signal frequency (coerced to min and max value of the FGEN. I am not sure what mistriggers on certain frequency ranges. 

 

Trigger Issue.png

 

Thanks,

A Senthilnathan

0 Kudos
Message 9 of 18
(7,517 Views)

What do you have your pretrigger time set to (on MSO Configure Timing.vi)?

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
0 Kudos
Message 10 of 18
(7,494 Views)