Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting , Restaring and Stoping (Interrupting) Acqisition immediately

Dear All,

I'm using 6210 M series USB DAQ , and i'm acquiring 6 Differential signals at a time from my source,

the point is while i'm acquiring , if a rishing edge occured in a PFI , i want to interrrupt the current acqusition running at this moment and restart it again until a falling edge occur in the same PF to process the data in this interval, otherwise if no change occured in the PFI the acquisition is running.

the point is that i notice that while acquiring, the DAQmx Read poymorphic VI will continue running until it finished the  acquisition which i want to restart it (interrupt it) as i said when a condition occure.

tha acquisition my go for 10 seconds , if this condition occured inside the 10 seconds then i want to restart the acquisition

 

if anybody can help me in this urgently i will appreciate it very much

an example close to what i want to do is at the following path:  \National Instruments\LabVIEW 8.5\examples\DAQmx\Analog In\Measure Voltage.llb\Acq&Graph Voltage-Int Clk-SW Trig Restarts.vi

but this one is not interrupting the acquisition to restart it

 

Regards...

Mohammed Ashraf

RF Test Development SW Engineer

CDMA Dep. , QuickTel R&D, Egypt

Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.com
0 Kudos
Message 1 of 2
(2,967 Views)

Hey Mohammed,

Have you tried using pause triggers for your application? There's an example that you can use that pauses the acquisition when a PFI line is high (or low) that might work for you. You can find this VI by going to the Help drop-down menu and selecting Find Examples. When the NI Example Finder loads up, just select the Search tab on the left and search for Pause. The example that I'm referring to is called Cont Acq&Chart Samples-Int Clk-Pause Trigger.vi. 

 

Lars

0 Kudos
Message 2 of 2
(2,916 Views)