LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

WFM_Op with multiple boards ?

Hello all,

I'm using WFM_Op to generate data on one or two channels of a 4451 board.
How can I generate _synchronous_ data on a second identical board ?
I can't seem to find an option for that with that function. Or do I have to use some of the low
level functions ?
--
Guillaume Dargaud
http://www.gdargaud.net/Hack/LabWindows.html
"If you can't beat your computer at chess, do what I did - try kick-boxing." - Matt Larson.
0 Kudos
Message 1 of 2
(3,041 Views)
Hello Guillaume,

There are no specific functions which accept multiple boards in order to synchronize them. Instead, you will setup two completely independent tasks -- one for device 1 and one for device 2. In order to ensure synchronous behaviour between the two boards you will need to either share a clock source or share a start trigger.

The shared clock source will ensure that measurements are acquired/generated at the same moment.

If you do not wish to share a clock source, then you can use each board's individual clock and configure a start trigger to ensure that each clock is initialized at the same moment. If both clocks have the same rate, then you should have synchronized measurements. However, sharing the same clock source in a "master
& slave" relationship will provide tighter synchronization.

In order to share clocks and triggers you will use a RTSI cable between the two PCI 4452 boards.

The following tutorial on synchronization of multiple DSA devices may also prove useful.

Synchronizing Input on two PCI DSA Devices in LabWINDOWS/CVI
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EC8D56A4E034080020E74861&p_node=DZ52258&p_source=External

Best Regards,
Justin Britten

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,041 Views)