NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

几个方案?谢谢!

自己的一点想法,希望大家提出意见!谢谢!
1、6115的采样率最大是10M罢,但我机箱的2号槽插个6608,我的想法是:有没有可能把6608的时钟作为6115的采样时钟,这样可以提高6115在时间/频率方面应用的准确度(毕竟6608的时基准确度到了ppb级)。比如:我仍用6115采集信号,但我用6608的时基对信号进行分析,比如测频率,能否提高6115时间测量上的准确度?
2、NI的材料上说:6608只要插在2槽,就可以把自身的高稳晶振送到机箱的背板上,我如何在实际的开发中应用这个时基?
3、问一个最原始的问题:6608不是有8个计数器吗?最大频率可以到80MHz罢?这些个计数器0~7,究竟那个是那个,那个是高稳晶振啊?他们各自的频率都是多少啊?
4、我想在1S内产生一个包含32000个脉冲的脉冲串,我自己写了一个产生单个脉冲的程序,循环了32000次,是否可行啊?我如何尽可能的避免软件的延迟,让这些个脉冲连续的产生,或者我先产生一个32K的脉冲信号,让它很严格的就产生1S?这个1S我如何保证它的准确度?
5、labview里有可以把信号不经过外部接线直接在总线内部进行转接的函数?如:我想把某个计数器的输出接到某个PFI上?
 
说的比较多,不啻赐教,谢谢!
0 项奖励
1 条消息(共 2 条)
3,642 次查看

1, 对于6115用外部采样时钟参看:

Using an External Source

You can use a signal connected to any RTSI <0..6> pin as the source of di/SampleClock. You can sample data on the rising or falling edge of di/SampleClock.

Any PFI line that can be routed to RTSI can also be used as the clock source. Refer to Device Routing in MAX in the NI-DAQmx Help for more information.

You must ensure that the time between two active edges of the di/SampleClock is not too short. If the time is too short, the DI waveform generation FIFO is not able to store the sample fast enough.

精度这个问题涉及的东西很多,就是连接电缆也要考虑,时钟频率是一个很重要的因素。
 

AI Sample Clock Timebase Signal

Any PFI can externally input the AI Sample Clock Timebase (ai/SampleClockTimebase) signal, which is not available as an output on the I/O connector. The ai/SampleClockTimebase is divided down to provide the Onboard Clock source for the ai/SampleClock. You can configure the polarity selection for ai/SampleClockTimebase as either rising or falling edge.

The maximum allowed frequency is 20 MHz, with a minimum pulse width of 23 ns high or low. There is no minimum frequency limitation.

The 20MHzTimebase or the 100kHzTimebase generates ai/SampleClockTimebase unless you select some external source. The following figure shows the timing requirements for ai/SampleClockTimebase.

2,编程选rtsi或者pfi等,可以参看labview help 下find examples下的例子程序。

3,参看6608的specification, 8个计数器之间没有什么区别,只是要注意counter pairs,详细信息参看链接的帮助文档。

4,如果用counter可以参看现成的例子,用产生有限脉冲的方法;至于1s内能否准确的产生制定的脉冲数,我的例子就是1/频率,而这个频率是否精确,要看时基能否分频下来。

5,看是什么样的引脚,有的可以走背板,有的得用外部链接,你打开max,看一下那个routers是否是绿的。

两个有用的帮助文档:

https://www.ni.com/docs/en-US/bundle/ni-611x-612x-613x-6143-features/resource/370781h.pdf


 

 

 

0 项奖励
2 条消息(共 2 条)
3,624 次查看