Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I need help configuring NI-SCOPE 5122 for a continuous triggered acquisition

142 views
Skip to first unread message

Steve_G

unread,
Jul 23, 2008, 3:40:06 PM7/23/08
to
Hi,
 
I am using a 5122 digitizer card for triggered acquisition.  I have my external trigger source connected to the Trig input of the card, and my signal is connected to Channel 0.
 
I would like to set up my Labview software so that the card will wait for my external trigger (a one-time trigger) and then acquire data indefinitely.  I've looked at the Fetch Forever example, but that will stop the acquisition of pretrigger samples when the trigger occurs.  I've also tried setting up an Analog Edge Ref Trigger with the trigger source set to External TRIG, but it will not acquire indefinitely.
 
Thank you,
Steve
 

Bueller

unread,
Jul 24, 2008, 7:10:10 PM7/24/08
to
Hi Steve,
Thank you for posting on the discussion forums. I would like to ask about few things.
What do you mean when you say that the Fetch Forever Example doesn't acquire indefinitely? In this example the Fetch VI is in a while loop, and it keeps on looping until you hit the stop button or an error occurs. Are you getting any error?
Also, it would help a lot if you can tell me what are the different set up parameters you are using.
Regards,
Faris A

Steve_G

unread,
Jul 25, 2008, 12:10:27 PM7/25/08
to
Faris,
Thanks for helping me out with this one.
According to this article:&nbsp; <a href="http://digital.ni.com/public.nsf/allkb/03726608568CB14786256F330071706D" target="_blank">http://digital.ni.com/public.nsf/allkb/03726608568CB14786256F330071706D</a>&nbsp; the Fetch Forever will stop when a trigger occurs.&nbsp; I have a trigger pulse going in to the Trig input on the PCI card, so I'm assuming that when my trigger occurs the pretrigger sampling will end, and the card will only acquire a finite number of samples (min record length) after the trigger.&nbsp; I'd like the triggering to begin with the trigger pulse and continue indefinitely.
That article also mentions "niScope EX MultiRecord Fetch Forever VI" which I can't find anywhere (on my computer or the internet).
I am using this card for two types of acquisitions:
1.&nbsp; Triggered acquisition of a finite number of points - multi-record.&nbsp; This works great.&nbsp; I Initialize the Scope; my Vertical parameters are vertical range of 20, and to acquire from Channel 0; my Horizontal parameters are Number of Records set to 200, minimum sample rate of 1E7, reference position is 0, min record length is 75; I Configure the trigger using Analog Edge Ref Trigger with Trigger Source set to External TRIG.&nbsp; Then I Initiate the Acquisition and it acquires all of the data.
2.&nbsp; Triggered acquisition of indefnite number of points.&nbsp; This is the one I'm having trouble with.&nbsp; There will be a single trigger.
I hope this is the information you needed.
Steve

Bueller

unread,
Jul 28, 2008, 6:10:06 PM7/28/08
to
Steve,
&nbsp;
Please check the following <a href="http://zone.ni.com/devzone/cda/epd/p/id/3049" target="_blank">Example</a>. It uses a digital trigger to continously fetch forever.
Let me know if you have mor questions.
&nbsp;
Regards,
Faris
&nbsp;
0 new messages