07-16-2015 08:06 AM
Hi,
I have an OWON AG4151 Waveform generator and a PXI-6132 for measurement using a BNC-2120.
The generator has two outputs - one for Sync and the other one for the actual Waveform. When the generator sends a Sync signal, I want my PXI-6132 to start measuring the waveform from the generator output.
How do I sync these two? Shall I connect the cable from generator Sync output to the PFI0 on my BNC or somewhere else? How do I configure the devices in LabVIEW - using DAQ Assistant, shall I set the Trigger Clock to External and select PFI0 from the list?
I'm using LabVIEW 2014.
I'm sure it's a problem that will take a minute to answer, I'm just new to Syncing and Triggers and feel a bit lost reading through the manuals...
Cheers!
-Jacob
Solved! Go to Solution.
07-16-2015 08:31 AM
Have you looked at the examples that come with LabVIEW? I suggest looking for the "Voltage- Continuous Input.vi" under hardware input and ouput >> DAQmx >> Analog Input in the example finder. This has a start trigger in it you can easily adapt to your needs.
07-16-2015 08:53 AM
Hi Peter,
thanks for your reply. I looked up the LabVIEW example and I still feel quite lost - I connected the generator Sync to PFI0 on my BNC-2120, then selected PFI0 as the Sample Clock Source in the LabVIEW example and I set the Physical channel to ai0, that's where I connected the generator output. It never triggers, just waits for the timeout to finish.
Does the PFI0 register a Sync signal as a trigger for measurement? I know the Sync terminal works, I can measure it truly sends out a signal.....
07-17-2015 12:47 AM
From what I understood from your initial post it sounds more like a trigger than a clock source to me. Your AWG gives you a single pulse when it starts generating and then nothing, correct? How should the card use a single trigger as clock, when it normally would expect at least several kHz? So: select PFI0 as digital start trigger and let the acquisition run at a certain Samplerate based on the internal clock.
Is this the functionality you want?