07-08-2014 01:07 AM - edited 07-08-2014 01:09 AM
Good Day,
I have a USB-5133 USB scope and I am using an EdgeTrigger like this in C#
NIScope scopeSession = new NIScope(ResourceName, IdQuery, ResetDevice); double triggerLevel = 0.5; ScopeTriggerSlope triggerSlope = ScopeTriggerSlope.Positive; ScopeTriggerCoupling triggerCoupling = ScopeTriggerCoupling.DC; ScopeTriggerSource triggerSource = ScopeTriggerSource.Channel0; PrecisionTimeSpan triggerHoldoff = PrecisionTimeSpan.Zero; PrecisionTimeSpan triggerDelay = PrecisionTimeSpan.Zero; ScopeSession.Trigger.EdgeTrigger.Configure(triggerSource, triggerLevel, triggerSlope, triggerCoupling, triggerHoldoff, triggerDelay);
I am then fetching the waveform like
AnalogWaveformCollection<double> waveforms = scopeSession.Channels[ScopeTriggerSource.Channel0].Measurement.FetchDouble(Timeout, actualRecordLength, waveforms, out waveformInfo);
This method, FetchDouble blocks the scope while it waits for voltage to trigger. I would like to be able to stop the scope from waiting for something to trigger it. Is it possible to manually trigger the scope or is there a way to stop the scope from waiting?
Regards,
Jonathan.
07-08-2014 08:27 AM
07-09-2014 12:46 AM
Hi nyc,
Thanks for the reply. I have searched the internet and looked through the documentation but I cannot find the answer to my question.
I looked at that link but I am not having trouble configuring my trigger, it is working correctly. However, I would like to be able to cancel any waiting triggers on my scope. Do you know how to do that?
Regards.
07-09-2014 07:31 AM
@jonfrankel001 wrote:
Hi nyc,
Thanks for the reply. I have searched the internet and looked through the documentation but I cannot find the answer to my question.
I looked at that link but I am not having trouble configuring my trigger, it is working correctly. However, I would like to be able to cancel any waiting triggers on my scope. Do you know how to do that?
Regards.
Waiting trigger?
I don't have experience with this particularly scope, but other scopes, when you change the triggering, the effect is immediate.