简体   繁体   English

DAQmx物理通道变量到DAQmx启动触发源

[英]DAQmx Physical Channel variable to DAQmx Start Trigger source

I have LV application, where user can specify input and output channels for connected DAQ device. 我有LV应用程序,用户可以在其中为连接的DAQ设备指定输入和输出通道。 I want to synchronise both channels using trigger on the input channel, with analog output start as a trigger source ( image on this site shows part of what I am trying to do). 我想使用输入通道上的触发器,以模拟输出开始作为触发源来同步两个通道( 此站点上的图像显示了我正在尝试执行的操作)。

My problem is that user specifies only IO channels, but how can I switch from a DAQmx Physical Channel (eg cDAQ1Mod4/ao0 ) line into source for the DAQmx Start Trigger block (probably /cDAQ1Mod4/ao0/StartTrigger in this case, but I am not sure) ? 我的问题是用户仅指定IO通道,但是如何从DAQmx Physical Channel (例如cDAQ1Mod4/ao0 )行cDAQ1Mod4/ao0DAQmx Start Trigger块的source (在这种情况下可能是/cDAQ1Mod4/ao0/StartTrigger ,但是我是不确定) ?

I've found an answer, but I am not really happy with this way of solving a problem. 我已经找到了答案,但是我对解决问题的方式并不满意。 I have to scan whole devices tree and compare channel or module names available for each device with the name of my selected channel ... simple channel property would be easier, but haven,t found any property which could give me what I need. 我必须扫描整个设备树,并将每个设备可用的通道或模块名称与我选择的通道的名称进行比较...简单的通道属性会更容易,但是还没有找到任何可以满足我需要的属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM