Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with AcqVoltageSamples_IntClkAnalogStart example

When running this VB.NET example without any modifications, I get this error:

Property: NI.DAQmx.StartTrigger.Type
You have requested: ...AnalogEdge
You can select: DigitalEdge, None

Out of the box, the example specifies trigger source PFI0.

What do I need to do for this example to run?

Thanks.
0 Kudos
Message 1 of 2
(3,365 Views)
Usually, this error indicates that the DAQ card you are using does not support triggering on an analog signal. Since our DAQ cards that do support analog triggers can trigger on PFI0, this is probably your problem. If you have a digital signal to use for your trigger, change the "task.Triggers.StartTrigger.ConfigureAnalogEdgeTrigger" call in the example to call "task.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger". If you need trigger on an analog signal, I would contact your sales engineer about replacing your card with one that has the necessary analog trigger circuitry.

Tony H.
Measurement Studio
0 Kudos
Message 2 of 2
(3,365 Views)