LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to start acquisition on rising edge without using external source

Hi,

 

I use NI 6368 DAQ card. I would like to start digital acquisition on the first rising edge ( first 1) without using an external source. Sounds like I can't use Onboard Clock since it is in use for digital acquisitiion. Could you please let me know how can I do it? Do I need software trigger?

 

Thanks

0 Kudos
Message 1 of 15
(3,003 Views)

Any help really appreciated

0 Kudos
Message 2 of 15
(2,977 Views)
Triggering is separate from an external clock or the onboard clock so your question does not make much sense. Your board supports both analog and digital triggering.
0 Kudos
Message 3 of 15
(2,967 Views)

Yes it supports both but how can I set it. For trigger I need a source. How should I set the source to start acquisition on first detected transition on that digital line?

0 Kudos
Message 4 of 15
(2,950 Views)

You may select the any Analog input channel from 0 to 15, as your card supports that.

So if the rising edge signal needs to be connected to analog input and select the trigger source as that channel

 

http://zone.ni.com/reference/en-XX/help/370469AB-01/lvdaqmx/mxtrigger/

AB
Kudos are Accepted
0 Kudos
Message 5 of 15
(2,927 Views)

Just connect a physical wire from your first digital input line (e.g. P0.0) to one of the PFI lines and use that as the trigger.  When your signal goes high, it starts acquiring.

http://www.medicollector.com
0 Kudos
Message 6 of 15
(2,911 Views)

Another option would be to have it just continually acquiring and do a "software trigger" where you just start saving / processing the data once it goes above a certain level.

0 Kudos
Message 7 of 15
(2,901 Views)

Do you ahev any suggestion or an example on how to do software trigger on digital signals

 

Thanks

0 Kudos
Message 8 of 15
(2,894 Views)

Has anyone any suggestion on how to use software trigger for a digital line. I could find this example but it is for analog 

https://decibel.ni.com/content/docs/DOC-11764

 

0 Kudos
Message 9 of 15
(2,877 Views)

any help is really appreciated. I can't use any PFI line or analof lines since they are all in use so I can't use an external hardware trigger. I would like to start acquisition as soon as seeing the first rising edge on my digital line.

 

 

0 Kudos
Message 10 of 15
(2,838 Views)