07-01-2009 05:02 PM
Hi,
I'm trying to establish synchronization for AO and DO between the PXI-6713, PXI-6723, and the PXI-6533. However, when I try to synchronize the devices off of the 20Mhz timebase of the PXI-6713, which is included on all three boards and which shows a green square in the device routing view in MAX, I receive the following error:
Error -200452 occurred at Property Node DAQmx Timing (arg 1) in crazy_virtual_channel_setup.vi->tdms_read_another.vi->tdms_read_main.vi
Possible reason(s):
Measurements: Specified property is not supported by the device or is not applicable to the task.
Property: RefClk.Src
Task Name: _unnamedTask<D>
I'm unsure as to why this is. Is there some reason a device isn't allowed to use the ref clk? I've read that using the PXI 10 Mhz clock is the best thing to use for PXI synchronization, but I apparently don't have this option under the PXI 6713, 6723, and 6533.
Sorry if the error message makes the problem seem obvious, as it simply states I can't use that property with one of my devices, but I'm unsure of how else to establish synchronization.
Attached is my VI, crazy_virtual_channel_setup.vi, which sets up the channels and such. This VI leads into another VI, which calls the appropriate DAQmx Write VIs and starts the bottom three tasks in the first structure of a sequence and the first task in the last structure of a sequence. Hell I'll attach that too: crazy_write.vi.
Thanks for any advice.
P.S. my VI names are just temporary. 😉
07-17-2009 03:42 PM
I solved this by just synchronizing everything that uses an internal clock using the ao/StartTrigger from my high speed analog card. The stuff that uses an external clock will start when the ao/SampleClock from the slow analog card starts.
Here's the (kind of messy) VI: