Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronize two devices with DAQmx base 2.0 (mac osx)

Hello,

NI released the new daqmx base 2.0 for mac few days ago.
A lot of people asked for it, now it's real : we can do multithreading on ni devices with labview on mac !
I installed two M series device in my G5, made a tiny vi with two AI tasks running in parallel on each device, and everything's running all right.

I'd like to synchronize the samplings (triggering and/or sharing sample clock).

I read it's impossible to use RTSI terminal with DAQmx base and that we could use PFI.

Did anybody ever try something like that ?

Thanks

Boris Matrot
0 Kudos
Message 1 of 15
(4,412 Views)
Hello tibobo,
You should be able to use RTSI, as long as you have a RTSI cable connecting your two devices.  With NI-DAQmx Base 2.0, you can use the DAQmxBase Export Signals, and export the sample clock from your "master" device to a RTSI pin ("/DevM/RTSIy", where M is the device number for your master device and y is an available RTSI pin).  Then on your "slave" device, set it up to have an external clock, with the source being the RTSI pin that you exported the sample clock to ("/DevS/RTSIy", where S is the device number of your slave device and y is the same number as before). 
-Alan A.

Message Edited by Alan [DE] on 01-20-2006 01:32 PM

Message Edited by Alan [DE] on 01-20-2006 01:33 PM

0 Kudos
Message 2 of 15
(4,375 Views)
Hi Alan,

Thanks for the detailed procedure and sorry for the late answer.

I'll try it on monday asap, and post if it worked.

Did you test it with a Mac ?
If you did and that it's not working for me, I'd be sure to be a LV looser !...

Thanks again.

Boris

0 Kudos
Message 3 of 15
(4,359 Views)
Hi Boris,
I haven't tested on Mac.  I have tested all the necessary functions I mentioned above (on Windows).  However, there shouldn't be any reason it wouldn't work on a Mac.  If you try and can't get it, you might post your code so I can take a look.  Good luck!
-Alan A.
0 Kudos
Message 4 of 15
(4,338 Views)
Hi Alan,

I forgot I haven't got any RTSI cable !
I'll order one asap, test it, and post a detailed procedure for other mac users.

Thanks again for your help.

Happy independent-platform wireworking !

Boris
0 Kudos
Message 5 of 15
(4,337 Views)
Great!  I'll look forward to hearing how it goes 🙂
0 Kudos
Message 6 of 15
(4,333 Views)