From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can somebody help me, I want to synchronise Ni6040 with Ni5401, means I want to get a Synchronised output from 6040 and give as an input to 5401, how can I do this in Visual C++?

I would like to bring to your kind attention that the project we are presently working on requires a Synchronous output from Ni6040 and Ni5401. We have installed Ni-DAQ (for Ni6040) and Ni-FGEN (for Ni5401). We want to output synchornous signal from Ni 6040 and Ni5401 should read this synchornous signal so that its synchronous with each other <>via the RTSI-Bus.

The 6040E (master) analyses an input signal and calculates the frequency of the signal. Then it has to be send to the 5401 (slave) to put out a signal with the same frequency but specific phase shift.
Please let us know how we can sync
hronise this both boards. I would be pleased if you can mail us some examples or code fragments which can synchronise Ni6040 and Ni5401.
0 Kudos
Message 1 of 7
(3,150 Views)
Hello,

I found this example for you. Maybe can find some tips.

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=BA8A3EB4EB301438E034080020E74861&p_node=DZ52000_US

TN
0 Kudos
Message 2 of 7
(3,150 Views)
The link above is not yet accessible. We appreciate your patience as we work to prepare this document for the Web.

Thanks,
Molly K
Web Support & Operations
Molly K.
Web Support & Operations Manager
National Instruments
0 Kudos
Message 3 of 7
(3,150 Views)
We are eagerly waiting for your reply. Please post it as soon as possible.

Thanks,

Nirmal
ISI-SYS
Kassel
0 Kudos
Message 4 of 7
(3,150 Views)
This program synchronizes an NI PXI-5401 and an NI PXI-5411.

To successfully run this program, complete the following steps:

1. In the niFgen_Init functions, enter the correct device numbers.

2. Enter the appropriate sample rates, gains, DC offsets, and so on.

3. Include the APP functions, namely APP_ArbitraryWaveform.c, APP_FunctionGenerator.c, and APP_Synchronize.c. You can locate these functions at :\VXIpnp\WinNT\nifgen\examples\AppFuncs.

4. Include niFgen.lib.

Note: The data files square.bin and sine.bin are used in this program. Other files may also be used, such as user-defined.
0 Kudos
Message 5 of 7
(3,150 Views)
Hi TN,
Please note that we need to Synchronize an I/O board i.e., Ni6040 with a Function Generator(e.g. Ni5401). Got any Idea?

Rgds,
Nirmal
0 Kudos
Message 6 of 7
(3,150 Views)
Hello Nirmal,

I am sorry I cann't find an exact example for this application. You have to look the examples and try get some ideas how to realize it in you application.
I also found this example but this also not 100% for your application.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D7FF56A4E034080020E74861&p_node=DZ52290
Best regards
TN
0 Kudos
Message 7 of 7
(3,150 Views)