07-10-2009 09:08 AM
Hello,
I am trying to synchronize a S Series 6132 Input Card with a 6731 Output Card. I would like the 6731 card to be the master and the 6132 to be the slave. Essentially, I am trying to write a labview program that outputs a signal to a system while concurrently measuring the response of the system. I added the RTSI cable in MAX and attached both devices to the cable. I tried using the DAQ assistant but it doesn't seem like it is capable of handling this. I'm not quite sure how to actually write a VI using DAQmx to accomplish this task. Where can I find examples of this? Also, is there an easy way to accomplish this without having to write complex code using multiple DAQmx features? Thanks for your help.
07-13-2009 06:58 PM - edited 07-13-2009 07:00 PM
Hello mokorafor,
You will not be able to sync these two cards using the DAQ Assistant. To get the syncronization you are looking for, you will want to make sure you have your RTSI cable configured in MAX to be connected to both device, you can do this by right clicking on your RTSI cable and selecting add device to RTSI.
Once everything is connected, you will need to export the AO sample clock from your 6731 to use as the sample clock on your 6132. You will then want to make sure you start the AI task first so you don't miss any of the AO samples. There isn't a good example of doing this all via RTSI cable, so if you need some help developing the code, let me know and I can get something basic drawn up.
07-15-2009 09:32 AM
hello coletrain,
thanks for getting back to me. to export the sample clock from the 6731, im using the DAQmx Connect Terminals vi. then i use this as the source for the 6132 input clock. is this the correct way to go about it? also, i would really appreciate it if you could draw something basic up. as i mentioned before, im simply trying to send out a signal (sine wave) while concurrently reading in a systems response. the output card 6731 sample clock drives the input card 6132 sample clock via rtsi cable. thank you for your help. i appreciate it.
Marvin
07-16-2009 06:13 PM
Hello mokafor,
This sounds like a fun little program to write, (and no example to do what you need will be super basic) so I am going to work on this and will have you an example probably around Monday. I am going to spend a little time on this so we can hopefully get it added into the shipping examples for future versions of LabVIEW. I will post back shortly...
07-23-2009 10:00 AM
Hello coletrain,
I was wondering if you posted the example that uses the RTSI cables yet. If so, where can I find it? Thanks for your help.
Marvin
07-29-2009 09:26 AM
Hello Coletrain,
I hope all is well. Did you ever create the example that connects an input and output DAQ cards using the RTSI cable? If so, where can I find it? Thanks for your help.
Marvin