This example configures a start and reference trigger, but only for a single record. It is inside a loop so it will continue to require a start and reference trigger for every record. Based on your description of the problem, you would like to perform a standard multi-record acquisition of 100 records, but you would like to implement a start trigger at the beginning of the acquisition. To do this, you can simply open the shipping example "niScope EX Multi Record.vi" which can be found in the LabVIEW Example Finder or by navigating from your Windows Start menu to Programs » National Instruments » NI-SCOPE » Example. You will need to add the property node to set your Start Trigger source to be PFI 0, but other than that, it should work fine. I went ahead and created a simplified version with the Start Trigger implemented, attached below. Hope this helps!
Is there any way to set the polarity of the start trigger etc... in the same way as is possible with the Digital Edge trigger in your example?
Unfortunately, only the reference trigger slope may be changed at this time. The acquisition arm (start) trigger defaults to rising edge.
what about making the acquisition retriggerable. I want to do this on receipt of a new start trigger, any easy way to do this?
thanks in advance.
You can simply specify the source of the Advance Trigger to be the same as the Start Trigger source to get the functionality you are looking for. There are some good topics in the help file regarding multi-record acquisitions, as well as a couple of shipping examples, though I do not believe they show the advance trigger functionality. In general, they just utilize an immediate advance and then rely on the reference trigger to determine which samples to take. While it may seem daunting at first, another good resource to take a look at regarding the flow of the acquisition and the transitions of the device is the Acquisition Engine State Diagram. Here you can see exactly what each of the different triggers is doing and what events are taking place.
Can someone support me with some idea?
Ive been trying to analyze phase difference between 2 encoder pulse (pulse A and B). So far no function in labview support this kind of analysis ( please refer attachment ). I need to get "result wave" as in the attachment picture to calculate the value of phase difference between pulse A and Pulse B
Im using PCI 5102 hardware and input came from encoder with pulse A and Pulse B
I tried to use this code with my PCI-5105 NI-scope card, but I wasn't able to get it to run using an analog trigger to start the recording.
What do I have to pay attention to make my input signals acceptable as start trigger source?
Can anyone help me, I'm using NI PCI 5922, I installed the labview (8.5.1) and I installed the NI-Scope driver and I tested it with the MAX and it passed the self test and I can see the test panel even I connected my digitizer to a waveform generator device and it works perfectly! But when I started to manage it pragmatically it labview, I didn't find my NI-Scope driver under the Instrument drivers in the Functions of the Block diagram!
I appreciate your help,