ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering PXI 5152 scopes from PXI Star or PFI

HI
I have two PXI 5152 scopes  in a single chassis  and i am trying to trigger one scope with the help of another,
 
when i configure first scope, i set it like when the first scope is triggered, it will export a signal on the PFI_0 through the function niscope_ExportSignal.
 
This PFI_0  will be connected to the corresponding PFI_0 of other scope and will act as a digital trigger for the other scope using command   niScope_ConfigureTriggerDigital
 
I have also matched my work to those of examples which were provided in the help section.
 
Also i ahve tried to use PXI_STAR bus for triggering . But the problem has been that i havent been able to trigger one scope from other. Individual scopes work pretty fine but i can not trigger one from the other.
 
I can provide complete code if required.
Any ideas?
0 Kudos
Message 1 of 2
(3,059 Views)
Hi,

There's an example available demonstrates synchronizing mulitple SMC digitizers, with all digitizers configured using the same vertical and horizontal parameters.  The first digitizer specified via resource names input is the trigger master, and is configured for edge trigger at 0.0 volts, rising. 


Synchronizing the devices requires sharing a 10 MHz clock used as reference clock and sync pulse clock, and a sync pulse.  The trigger master exports the trigger, and other digitizers trigger off of it.  All of these are configured using the NI-TClk library for synchronization.  This example allows users to provide their own reference or sample timebase clocks.


All devices  must be in the same computer.  If you have a PXI chassis, ensure it has been properly identified in MAX.  If you have devices with a RTSI bus, ensure they are connected with a RTSI cable and that the RTSI cable is registered in MAX

.

The example is located in the NI example finder, go to:


Hardware Input output -> Modulare Instrumente -> NI Scope -> Synchronization -> MultiDeviceExternalClockingTClk.prj

Take care,
Ulrich
AE NICER



0 Kudos
Message 2 of 2
(3,037 Views)