03-03-2009 08:38 AM
I have a system in which I have 2 M Series PCI cards installed in a PC, connected via a RTSI cable. One of the cards has direct voltage inputs and the other is connected to an SCXI chassis containing modules for temperature acquisition. Can I synchronize the timebase of the voltage acquisition task on my first card with the timebase of the temperature acquisition task on the SCXI modules? I have previously successfully synchronized 2 M series cards together where both were simply acquiring voltages from direct inputs but the same approach doesn't appear to work here.
Previous working method for all direct voltage inputs.
masterTask.Timing.ReferenceClockSource = OnboardClock;
slaveTask.ReferenceClockSource = masterTask.Timing.ReferenceClockSource;
slaveTask.ReferenceClockRate = masterTask.Timing.ReferenceClockRate;
I am using Measurement Studio, coding in C#.
Any suggestions?
CAS
03-06-2009 04:02 AM - edited 03-06-2009 04:04 AM
Hello CAS,
I wouldn't expect to see a problem with connecting up an SCXI to the card, but the first thought that comes to mind is that you may have to set the master timing reference to be sourced from the card connected to the SCXI. If there is any delay being introduced by the communication between these two, then using this card as the master timing reference should resolve the issue.
If this doesn't seem to work as expected, could you please provide more information on your setup? Which M-Series cards are you using? Which one is it that has the SCXI connected, and what is included in your SCXI system - chassis, cards, terminal blocks?
I hope I can help further if needed,
Kind Regards,
Michael S.
Applications Engineer
NI UK & Ireland