LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I send a Switch Scan Complete Trigger and start a Switch Scan on a Trigger?

Hi,

 

I have a PXI crate with a DMM and MUX. Following the examples in Labview I see how a trigger is sent to advance the switching after a DMM measurement what I would like to do is go one step forward and have the scan itself be started by a trigger (different then the scan advance trigger) and a trigger to be sent once it is done. I am using an FPGA chip to control the timing and want things to be as fast as possible. 

 

Thanks!

Michael 

0 Kudos
Message 1 of 2
(2,612 Views)

Michael,

 

If you are looking at example Switch Scanning with DMM - Handshaking.vi you can see that the Switch portion of the code is just DAQmx VI's, this seems to indicate to me that you could set up a regular start trigger to start the switch scanning with a DAQmx Trigger VI (to see how to use this check out any analog input trigger example).

 

As for exporting a trigger when the scan is complete, that is a bit more tricky, as there is no built in functionality for this.  Your best bet I believe would be to set a PFI line to 1 right after the DMM reading loop, creating an artificial trigger signal.

 

Doug

Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 2 of 2
(2,589 Views)