NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Retriggerable Analog Input with Analog Trigger

VERSION 1

Created on: Jun 19, 2009 4:00 PM by JordanF - Last Modified:  Jun 19, 2009 4:14 PM by JordanF

Introduction

This program uses the analog comparison event to retrigger a counter task.  The counter output is used as the analog input sample clock.  This allows you to have a retrigger analog input task with an analog edge trigger.

 

 

Steps to Complete

1. Choose the correct resource name for your device.

2. Select the number of samples and sampling frequency.

3. Set the counter output to use as the sample clock.  Verify that the sample clock source is the PFI line corresponding to the counter used.  This can be found in the device pinouts.

4. Select the analog trigger level and slope that is desired for the trigger.

5. Run the VI

AnalogRetriggerableblock.jpg

 

AIRetriggerableblockdiagram.jpg

 

 

 

Additional Notes

This program is written in LabVIEW 8.2 and should work with M Series Data Acquisition devices.

 

Downloads:
Average User Rating
(0 ratings)




pflores pflores  says:

The title says Analog Trigger, but the screenshot looks like the counter task has a Digital Trigger.

 

hmmmmm...