LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog output trigger multifuctional DAQ

Hello all,
 
I am using LV 7.1, windows XP and a PCI-6259 DAQ card.  This card can be used to capture analog inputs and also produce analog outputs.  I have had no trouble producing outputs or acquiring inputs.  I have however experienced some trouble with triggering the acquisition.  I am working off of the "con gen voltage wfm -int clk-analog start.vi" and according to the pinout of my DAQ card (E series) the AO 1 trigger is a specific node (PFI6).  I have connected a signal to that node but the vi is telling me it will only except a trigger on the APFI0 or APFI1 nodes.  On my DAQ card the APFI0 node is the start trigger for Analog output 1, but I am only outputting a signal on Analogue output 0 right now so if I connect a trigger to this node will it still trigger properly?  On the same note...this card can output 4 wfms symultaneously so how do you connect the triggers with only 2 possibilities (APFI0 and APFI1).
 
Thanks,
 
Azazel
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 1 of 4
(3,346 Views)
Hi Azazel,

APFI0 is the pin that is the default for M Series for analog triggering (your PCI-6259 is an M Series board).

If you are trying to synchronize tasks, then it doesn't really matter if you trigger your analog input or your analog output, so long as doing one starts the other.

From looking at the Device Pinout in MAX for the 6259 you can see that APFI0 is Pin 20 of Connector 1, and APFI1 is Pin 20 of Connector 2.

All of the timing is the same for outputting 1 signal or all 4 signals. 

Attached is a VI that I modified from the examples and it should help show how you might want to create a synchronized measurement that uses an analog trigger.

Regards,
0 Kudos
Message 2 of 4
(3,333 Views)
Thanks for the info and example.  Can you re-attach the example as a development distribution as labview couldn't find the "get terminal name with device prefix.vi" subvi, and I searched for it as well but could not find it in the palette.

Thanks,

Azazel
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 3 of 4
(3,330 Views)
I found the subvi.

Azazel
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 4 of 4
(3,327 Views)