Simultaneous analog and digital waveform read with PXIe-6361 and BNC2120 ?

Hi there,
I am trying to collect both analog and digital signals from a PXIe-6361 linked to a BNC2120, using the attached VI. I am running Labview 2011 64bit. This is the first time I am working with digital input. On the 2120 board, I have the digital input BNC cable connected to User Input 1 and wire between the screw terminal of UserInput 1 and the P0.1 (Digtial I/O) screw terminal.
I have two questions related to this:
1) When I try to run the VI in its current state, I get the following error:
Error -89137 occurred at DAQmx Start Task.vi:3
Possible reason(s): Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
Property: RefClk.Src
Source Device: PXI1Slot2
Source Terminal: PXIe_Clk100
Required Resources in Use by
Task Name: _unnamedTask<6>
Source Device: PXI1Slot2
Source Terminal: None
Destination Device: PXI1Slot2
Destination Terminal: RefClockInternal
Can anyone point me in the right direction for troubleshooting this?
2) I would like to combine my regular waveforms and the digital waveform into one array which would then be written to file. I can't figure out how to combine the two different waveform types...can anyone give me a hint on this?
Thanks for your help,
Claire.
Attachments:
Export Waveforms To Spreadsheet File (1D)_wo extra line.vi ‏33 KB
Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin.vi ‏105 KB

Hi ClaireJ,
Sounds like a reference clock conflict. This KnowledgeBase (KB) talks about this error when using simultaneous sampling. Also, might want to check the device routes in Measurement and Automation Explorer (MAX) as discussed here. Finally, if you are routing your PFI line over a RTSI connection, this error can occur. This KB discusses it.
As to your second question, this post should help.
Bill E. | Applications Engineer | National Instruments

Similar Messages

Maybe you are looking for