NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
walletok
Posts: 4
0 Kudos
Accepted Solution

How can I use analog signal trigger my PXI-6115 counter to generate frequency pulse

I'm working on  a PXI-6115 DAQ card and want using analog signal to trigger it's counter generate frequency pulse. The user manual says the analog trigger is supported, but  I can't use a analog signal to trigger it start work, in the test I use counter 0 to generate pulse and use PFI 0 as analog trigger signal input port, can anyone tell me what the matter is? My test VI. & error message is showing in attachment .


 

Best regards

Active Participant
snowpunter
Posts: 272
0 Kudos

Re: How can I use analog signal trigger my PXI-6115 counter to generate frequency pulse

If you read the error you can see that digital triggers are the only available trigger when using Counter Output.

 

You can get around this by setting up a dummy Analog Input task that will fire an internal digital trigger when it sees the appropriate analog trigger.

 

See this thread for more details:

 

http://forums.ni.com/t5/LabVIEW/DAQmx-Start-Trigger-Analog-Edge-vi-Keeps-Returning-Error-200077/m-p/...

CTA, CLD, MTFBWY
Member
walletok
Posts: 4
0 Kudos

Re: How can I use analog signal trigger my PXI-6115 counter to generate frequency pulse

Hi, snowpunter

Thanks for your response.

AnologComparisonEvent is a evil event, Even if 6115 analoge channels without retrigger function, it can offer a internal trigger pulse  everytime  the analoge trigger signal fit pre-set trigger state. Now I use AnalogComparisonEvent as CO clock source and CO task is working properly . 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page