在 05-20-2009 03:28 AM
您好,我目前使用的系統是LABVIEW8.0,DAQ卡是PCI-6115
我想要同步我兩個channel的訊號,所以我列了master與slave,想要讓兩者同步(如下圖)
但是執行時卻出現error,並且只能顯示出一個輸入源的波形(如下圖)
Possible reason(s):
An attempt has been made to perform a route when the source and the destination are the same terminal.
In many cases, such as when configuring an external clock or a counter source, you must select a PFI, PXI Trigger, or RTSI line as the source terminal.
Property: Start.DigEdge.Src
Property: Start.DigEdge.Edge
Source Device: Dev1
Source Terminal: ai/StartTrigger
Task Name: _unnamedTask<EF>
想請問為什麼會有這種情況?
已解決! 轉到解決方案。
在 05-20-2009 04:21 AM
PCI-6115 是四通道同步取樣的DAQ
所以不需要下面的程式碼。
在 05-20-2009 04:53 AM
您好,感謝您的回覆,我想您說的程式應該也可以用,但是我目前的程式在只有一個輸入源的時候都正常,如下圖:
http://www17.zippyshare.com/v/41277416/file.html
所以我覺得可能在我用"Get Terminal name with device Prefix.vi"讓master與slave同步時發生了錯誤
但是我找不出哪裡有問題@@