完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我正在使用带有VEE Pro,SCPI命令和仪器管理器的直接I / O窗口的U2353A型号。
(我把问题放在最底层)我的目标是为电压值制作一个模拟输入连续数据采集程序,这样我就可以设置电压范围,采样率和每次数据传输的采样数( 来自FIFO)。 然后将来自FIFO的数据存储在我想要的位置,扫描将重复,直到满足任意条件。 -------------------------------------------------- -------------------------------------------------- -----------------------------------------------目前我的节目 看起来有点像这样:WRITE TEXT * RST,* CLS EOL WRITE TEXT“ROUT:SCAN(@ 101)”EOL WRITE TEXT“ROUT:CHAN:RANG”,(变量),“,(@ 101)”EOL WRITE TEXT“ ROUT:CHAN:POL BIP,(@ 101)“EOL WRITE TEXT”ROUT:CHAN:STYPE NRS,(@ 101)“EOL WRITE TEXT”WAV:POIN“,(变量)EOL WRITE TEXT”ACQ:SRAT“,( 变量)EOL WRITE TEXT“RUN”EOL //进入连续循环WRITE TEXT“WAV:STAT?” EOL READ TEXT x如果x ==“DATA”// DATA表示WAV:POIN的指定点数满足并准备从FIFO传输然后,WRITE TEXT“STOP”EOL WRITE TEXT“WAV: 数据?” EOL READ BINBLOCK x INT 16 ARRAY。* NOEND //然后我将16位数组转换为等效电压值array => folmula“(asReal64(Data)/ 32768)* 10”==> alphanumeric ==> break - -------------------------------------------------- -------------------------------------------------- ---------------------------------------------问题在于什么时候 我将6.2V DC电池连接到适当的通道(作为测试),我得到的电压值偏差约为+/- .2V,平均电压约为7.0。 (我正在寻找非常接近6.2V的测量值)//还要注意我的采样率是400k样本/秒,数据块是4mill样本。 但我确实尝试改变采样率。 有帮助吗? 请? -麦克风 以上来自于谷歌翻译 以下为原文 Hi, I'm using a U2353A model with VEE Pro, SCPI commands, and a Direct I/O window from instrument manager. (I put my problem at the bottom) My goal is to make a program for Analog Input continuous data acquisition for Voltage values, such that I will be able to set the voltage range, the sampling rate, and the sample number per data transfer (from FIFO). This Data from the FIFO will then be stored in the location that I desire and the scan will repeat till some arbitrary condition is met. --------------------------------------------------------------------------------------------------------------------------------------------------- Currently my program looks somewhat like this: WRITE TEXT *RST, *CLS EOL WRITE TEXT "ROUT:SCAN (@101)" EOL WRITE TEXT "ROUT:CHAN:RANG ", (variable),", (@101)" EOL WRITE TEXT "ROUT:CHAN:POL BIP, (@101)" EOL WRITE TEXT "ROUT:CHAN:STYPE NRS, (@101)" EOL WRITE TEXT "WAV:POIN ", (variable) EOL WRITE TEXT "ACQ:SRAT ", (variable) EOL WRITE TEXT "RUN" EOL //enters continuous loop WRITE TEXT "WAV:STAT?" EOL READ TEXT x if x=="DATA" //DATA is an indicator that the number of specified points by WAV:POIN is met and ready to be transferred from the FIFO then, WRITE TEXT "STOP" EOL WRITE TEXT "WAV:DATA?" EOL READ BINBLOCK x INT 16 ARRAY.* NOEND //I then convert to 16 bit array to its equivalent voltage values array=>folmula "(asReal64(Data)/32768)*10" ==> alphanumeric ==> break --------------------------------------------------------------------------------------------------------------------------------------------------- The problem is that when I connect a 6.2V DC battery to the appropriate channels (as a test), I get voltage values that have a deviation of about +/- .2V and an average voltage around 7.0. (I was looking for measurements very close to 6.2V) //Also take note that my Sampling rate is 400k samples/sec and the data block is 4mill samples. but I did try varying the sample rate. Any help? Please? -Mike 附件 |
|
相关推荐
2个回答
|
|
对于不准确的模拟输入(AI)电压测量,请检查/尝试以下操作:1。使用Agilent Measurement Manager(AMM)软件快速检查6.2V模拟输入电压测量。
这是为了隔离潜在的编程错误问题。 我使用AMM软件进行了检查,6.2V测量值保持在6.266V,400KSa / s 2.确认NRS输入信号类型连接,确保6.2V连接到正确的引脚3.尝试差分输入信号 如果步骤2结果保持不变(平均7.0V),则连接更改采样率不会对AI测量产生太大影响。 这种行为是否能够在另一台U2353A设备上进行模拟? 以上来自于谷歌翻译 以下为原文 For inaccurate Analog Input (AI) voltage measurement, please check/try the following: 1. Use Agilent Measurement Manager (AMM) software to perform a quick check for the 6.2V analog input voltage measurement. This is to isolate the potential programming error issue. I have performed a check using AMM software and the 6.2V measurement is stay flat at 6.266V with 400KSa/s 2. Verify the NRS input signal type connection, to ensure the 6.2V is connect to the right pins 3. Try Differential input signal connection if the step 2 result stay same (average 7.0V) Changing the sample rate will not impact much the AI measurement. Does this behavior is able to simulate on another U2353A unit? |
|
|
|
60user138 发表于 2019-3-5 06:53 1.使用Agilent Measurement Manager(AMM)软件快速检查6.2V模拟输入电压测量。 这是为了隔离潜在的编程错误问题。 我使用AMM软件进行了检查,6.2V测量值保持在6.266V,400KSa / s 2.确认NRS输入信号类型连接,确保6.2V连接到正确的引脚3.尝试差分输入信号 如果步骤2结果保持不变(平均7.0V),则连接更改采样率不会对AI测量产生太大影响。 这种行为是否能够在另一台U2353A设备上进行模拟? 您的问题的答案:1。当使用AMM时,我能够获得6.202-6.204V的精确测量值,用于连续扫描(单端接地和NRS)2。我对AI_Sense和AI_GRD之间的差异感到满意并且已经排除故障 具有各种引脚设置(此外,AMM测量证明引脚设置正确)3。AMM中的连续扫描给出了准确的结果,因此它必须在编程或原始数据转换中的某处。 此外,我们只有一个U2353A单元 以上来自于谷歌翻译 以下为原文 1. Use Agilent Measurement Manager (AMM) software to perform a quick check for the 6.2V analog input voltage measurement. This is to isolate the potential programming error issue. I have performed a check using AMM software and the 6.2V measurement is stay flat at 6.266V with 400KSa/s 2. Verify the NRS input signal type connection, to ensure the 6.2V is connect to the right pins 3. Try Differential input signal connection if the step 2 result stay same (average 7.0V) Changing the sample rate will not impact much the AI measurement. Does this behavior is able to simulate on another U2353A unit? Answers to your questions: 1.When using AMM, I was able to obtain accurate measurements of 6.202-6.204V for continuous scanning (single-ended grounded and with NRS) 2. I am comfortable of the difference between AI_Sense and AI_GRD and have troubleshooted with various pin settings (Besides, the AMM measurement proved that the pin setting was correct) 3. The continuous scan in AMM gave accurate results, so It has to be somewhere in the programming or the raw data conversion. Also, we only have one U2353A unit |
|
|
|
只有小组成员才能发言,加入小组>>
1231 浏览 0 评论
2351 浏览 1 评论
2161 浏览 1 评论
2026 浏览 5 评论
2910 浏览 3 评论
974浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
707浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
808浏览 0评论
1231浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 09:04 , Processed in 1.464792 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号