Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

digital trigger on 6031E using DO 0 and PFI 0

Hi

 

I am trying to start an analog acquisition on a 6031E card, using a digital trigger. Basically, I have a signal going to a digital output (DO 0) that goes low to activate a valve. I would like to use that same digital signal to launch the acquisition. Using only a 6031E card, can I wire DO 0 to PFI line 0 in order to start an analog acquisition ?  Or do I need an external triggering signal for this to work ? I have done a couple of test using the examples from DAQmx but I run into errors (device not recognized by National Instruments, etc...). Not sure what I am doing wrong.

Because of restrictive specifications beyond my decision, for the moment, this has to work assuming that the channels are configured in Traditionnal DAQ (I know it would be simpler to use DAQmx, but...). Therefore, do I have to set the AI Start VI before configuring the digital trigger (if using Traditionnal DAQ) ?  Please let me know if my post is unclear.

 

Tech specs:

Labview 8.2

Traditional DAQ and DAQmx

PCI 6031E

(Possible access to a DIO card)

 

Any help would be appreciated.

 

Lucas

 

 

0 Kudos
Message 1 of 3
(3,032 Views)
You need to make sure you are using a seperate PFI line for your triggering than the one you are writing out on.  Other than that you should be fine to use the same DAQ card to both send and receive the trigger.
Doug Farrell
Solutions Marketing - Automotive
National Instruments

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

Thanks for the insight. I discussed this with an NI trainer and realized that a Legacy DAQ driver was actually in conflict with was I was trying to do with DAQmx. My issue is now resolved. I can write to digital port 0 and read off of my PFI line.

 

Thanks for your help.

 

Luc

0 Kudos
Message 3 of 3
(2,985 Views)