Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering in PCI 6534

Hello friends, i have some questions related to the example vi given in labview.
1. ) The first example is Buffered pattern input triggered.vi
In this vi we can configure start or stop trigger. Here buffer control.vi and DIO read is used. In DIO read it starts read when stop trigger occurs. Read offset is equal to pre trigger points. So it will read that much pretriggered points and remaining post triggered points.Now the questions are
a. ) Related to time-limit : If i want to acquire 500 post trigger points and stop trigger occurs after 300 post trigger points. it will stop acquisition right?
b ) If i do not want to use time-limit what should i do? Here i do not want to use DIO wait vi.
c ) Is it necessary in this vi to make pre trigger points to 0 when we are using start trigger? or it will be ignored?

2. ) The second example is start & stop trigger.vi
I think that it is for finite input operation right?Because we have connected buffer size to # of scans/update parameter in buffer control.vi right?
a.) Now why we have not used the previous method for read here i.e. start read when trigger occurs. Is there any specific reason for this?
b. ) Here it is reading continuously. So here it don't serve the purpose of finite input?
c. ) Now in this vi if i connect 0 to # scans/update parameter in buffer control.vi 7 open minimum scan/update of buffer control,will i get start & stop trigger for continuous operation? Willi need any other modification for this?At this time also i will get post triggered points? Because in buffer control minimum scans/update parameter open means totally post triggered operation right? So will it give me post triggered points in continuous operation also?
d. ) Why retrieval complete has been used to stop the while loop?Because we have specified the buffer size. I think that it is to stop the while loop without error because when acquisition stops and still we are in while loop to read. Ao it will generate error. Am i right?
3. ) In any continuous input operation if i have given 1024 buffer size and i am reading 100 samples at a time. Let's assume the situation when i press the stop buttonand in buffer only 50 samples are there. What will happen? How DIO read will read it? Because in example maximum(scan backlog,no. to read at a time) has been passed to no. of scans to read parameter in DIO read.
0 Kudos
Message 1 of 2
(3,191 Views)
Vishal,
I think alot of the theory behind the questions you are asking can be found in the 653X User Manual: http://www.ni.com/pdf/manuals/321464c.pdf. Specfically pages 2-17 thru 2-26. Feel free to post again if something in the manual isn't clear.

I also suggest looking through the application notes for Digital Input/Output. http://zone.ni.com/devzone/devzone.nsf/webcategories/DE8672528D9A733C86256797004C659A?opendocument&node=DZ52278_US
0 Kudos
Message 2 of 2
(3,191 Views)