完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的,我需要用方波信号模拟电路;
我给了一个带电压幅度和时间的.csv文件; 因此,我知道信号源必须(可能)是VtDataset(来自Dataset的时域电压源)。 为此,我需要将.csv文件格式转换为.tim文件格式(但实际上它们是文本文件,对吗?)。 因此,我使用excel分隔逗号,然后复制粘贴值代替安捷伦网站提供的示例.tim格式:BEGIN TIMEDATA #T(SEC VR 50)%t电压..... .... 1.7203e-006 0.000955931 1.7204e-006 0.00647092 1.7205e-006-0.00279426 ....... END并将其保存为Windows的.txt文件。 现在,我尝试使用数据文件工具将其“读取”为数据集TIM MDIF文件(将其保存为.ds),然后我尝试使用DataAccessComponent(DAC)上传保存的数据集。 当我按下DAC中的“编辑”时,我看不到我保存的文字。 可能我无法理解如何使用数据文件工具。 您能否告诉我如何正确上传数据集,或者一般来说,如何将此信号上传到电压时域源? 我已经阅读了教程 - > Amp1中的示例,以及有关DAC,DataFile工具,“使用数据文件”等的“帮助”,但我无法理解什么是无效的。 感谢您的帮助,最诚挚的问候,Landlack 以上来自于谷歌翻译 以下为原文 Dear all, I need to simulate a circuit with a square signal; I've been given a .csv file with the voltage amplitude and time; thus, I understood that the signal source must be (probably) VtDataset (Time domain voltage source from Dataset). To do this I need to convert the the .csv file format to a .tim file format (but in truth they are text files, correct?). So I've separated the commas using excel, and then copied-and-pasted the values in place of the example .tim format given from the Agilent site: BEGIN TIMEDATA # T ( SEC V R 50 ) % t voltage ......... 1.7203e-006 0.000955931 1.7204e-006 0.00647092 1.7205e-006 -0.00279426 ....... END and saved it as a .txt file from windows. Now, I've tried to use the Data File Tool to "read" it as a Dataset TIM MDIF file (which saved it as a .ds), and then I've tried to upload the saved dataset using DataAccessComponent (DAC). When I press "Edit" from DAC I can't see the text I've saved. Probably I've not been able to understand how to use the Data File tool. Can you tell me how to upload correcly the datasets or, in general, how can I upload this signal into the Voltage time-domain source? I've read the examples in Tutorial-->Amp1, and the "help" about DAC, DataFile tool, "Working with data files", ect., but I am not able to understand what isn't working. Thank you for your help, Best Regards, Landlack |
|
相关推荐
4个回答
|
|
|
|
|
|
它有效,谢谢。
说实话,我前段时间做过同样的事情,但结果信号似乎不是我所期待的; 原因是瞬态模拟在0 ns到20 us之间,而我只有1.7 us到11 us之间的信号信息。 模拟器似乎在“未覆盖”的时间间隔给出了振幅的默认值,这个时间间隔太高而无法看到正确的间隔; 在给定的时间间隔内设置瞬态模拟的间隔就足够了。 (我对未来可能遇到这个问题的人说过这个问题)再次感谢你,祝你有个美好的一天,祝你好运 以上来自于谷歌翻译 以下为原文 It works, thanks. To tell you the truth, I had done the same thing some time ago, but the resulting signal didn't seem the one I expected; the reason was that the transient simulation was between 0 ns and 20 us, while I had infos about the signal only between 1.7 us and 11 us. The simulator seemed to give default values of amplitude at the "uncovered" time intervals, which were too high to be able to see the right interval; it was sufficient to set the interval of the transient simulation inside the given time interval. (I said this for anyone who may have this problem in the future) Thank you again and have a good day Best regards, Landlack |
|
|
|
另一件事:我使用“电压”作为Vtsignal的表达,它起作用了。
是因为桌子被称为“电压”吗? 此外,瞬态模拟器怎么能理解“t”是时间,而不是别的什么? 是因为它是.tim格式表中的第一个值,还是有一些保存的“标签”? 我问这个一般问题,因为我的来源已经有效...... 以上来自于谷歌翻译 以下为原文 Another thing: I've used "voltage" as the expression of the Vtsignal, and it worked. Was it because the table was called as "voltage"? Also, how could the transient simulator understand that "t" was for time, and not something else? Was it because it was the first value in the .tim format table, or there are some saved "tags"? I ask this just as general question, since my source already works ... |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1614 浏览 0 评论
2565 浏览 1 评论
2438 浏览 1 评论
2279 浏览 5 评论
3219 浏览 3 评论
关于Keysight x1149 Boundary Scan Analyzer
1026浏览 0评论
1614浏览 0评论
203浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-7-18 18:46 , Processed in 1.451411 second(s), Total 85, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191