High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronize two pxi ni5112?

Now in my system there are 2 PXI NI5112.Both NI5112 have the same configuration and all their inputs are connected to the same pulse signal source(10Hz).Both NI5112 use analog edge triggering and the trigering source is the channel 0.So all the NI5112s should be trigered at the same time.However,when I fetch the waveform with the function niScope_Fetch from each NI5112 in sequence,I find that the values of wfmInfo.absoluteInitialX vary a lot(10-70ms).why?"

Judging from the last paragraphs On page 2-11 of NI5112 User Manual,PXI NI5112 can be synchronized by the system reference clock.But how to do this?
0 Kudos
Message 1 of 2
(5,090 Views)
It will depend on what you are programming the NI 5112 device with.

If you are using LabVIEW, you can use the example program attached below. In it, it will show you how this is done.

If you are using VB, VC++ or CVI, you can look at one of the NI 5112 shipping examples that are installed on your computer. These are located in the VXIPNP folder. For example, the VC++ example would be located here:

C:\VXIpnp\WinNT\NISCOPE\Examples\c\MStudioC++\5112Sync

These examples will show you how to synchronize the two digitizers.

Let me know if you have any questions about these examples.

Brian
0 Kudos
Message 2 of 2
(5,090 Views)