完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
经常遇到人家问我,可不可以教我写SoundCheck 的Custom VIs,其实安装位置里面有完整的说明。但是看了教程,编写了还是报错,或者无法添加。我先列一下几点原因,都是经验之谈,甚至我自己编写的时候也有遇到会失败的。
1、labview 版本问题,Labview版本一定要和Soundcheck的开发版本相对应,(注意:开发用的Labview 版本,不是SC 版本),如果不知道看安装位置下文件Readme.txt,里面第一句话就告诉了开发版本与更新内容。同时,labview软件与SC的位数也要对应,32位对应32位,64位对应64位。 2、我们在开发电脑上测试添加sequence的Step 是成功的,但是无labview开发环境的测试电脑上就会失败,因为SC 只是安装了Labview基础引擎或部分模块,复杂的模块没有,所以需要大家就用最简单的模块实现功能,属性节点啥的少用。 3、SC 不同版本之间的CustomVI 不能混用。 4、使用相同控件、函数的VI ,在不同SC版本间(用对应的Labview编辑过的),一个可以,另一个不可以,SC 不同版本的安装模块不一样,会遇到这个状况。 5、实际开发中遇到的问题,可以留言一起讨论。 ---------------以下附上说明(不同版本略有差异)------------------- SoundCheck from Listen, Inc. Custom VI Instructions, rev. 01-March-2006 INSTRUCTIONS ON MAKING CUSTOM VIS THAT RUN AS STEPS IN SOUNDCHECK SEQUENCES (If you are viewing this file in Notepad, turn on Word Wrap.) 1. Creating a Custom VI Make sure the SoundCheck application is closed. Open your LabVIEW development system. To develop your own custom vi for SoundCheck 6.1, LabView 7.1 is required (LabView 8.0 can be used if using the "Save for Previous Version" option). Open the LabVIEW VI template "SoundCheckSystemCustom VIsyour step name here.vi". First of all "Save As" your VI with your custom VI name into the "Custom VIs" folder. Make sure it has the ".vi" extension (lower case). And note your VI name, because the step name you create for it must be the same as the VI name (minus the ".vi"), and it's CASE SPECIFIC. For example save it as: 'Sigma extraction.vi'. Also open the LabVIEW VI template "SoundCheckSystemCustom VIsyour step name here Editor.vi". "Save As" with the same name as your custom vi. Make sure it contains ' Editor.vi' after the custom name. For example, save it as 'Sigma extraction Editor.vi' Note: These two vis work together within SoundCheck and must be located in the SystemCustom VIs folder. In our example, the 'Sigma extraction Editor.vi' is used to create your custom step, and 'Sigma extraction.vi' is called when your custom step is run in the sequence to execute your custom code. Follow the instructions highlighted in yellow on the VI diagram, and wire in all your custom code. CAUTION: The curves listed in the 'Curves Generated' array in your custom editor must have exactly the same name as those created by your custom vi (and it's CASE SPECIFIC). This ensures that the placeholder for the curve in the Memory List is filled with the correct data when the sequence is run. If your VI has any subVIs, make a "...Custom VIssubVIs" folder and put them in there. 2. Using your Custom VIs in a Sequence Run SoundCheck, and go into the Sequence Editor. Notice the new Step Category at the bottom of the list: "Custom". By default, this list contains only the example step 'Sigma extraction'. Select "New..." from the Steps menu and enter the step name. IMPORTANT: The step name should be exactly the custom VI name minus the ".vi" (e.g., Sigma extraction). Important note: if you make your custom VI wait for user interaction, such as clicking a Done button, you must set up that sequence step to be displayed when the sequence runs. Otherwise, SoundCheck may get stuck inside your VI in an infinite loop. ------------------end---------------------- |
|
相关推荐
2 个讨论
|
|
你正在撰写讨论
如果你是对讨论或其他讨论精选点评或询问,请使用“评论”功能。
RK3588 HDMI in 接入设备如何获取HDMI in 传入的音频?
1343 浏览 1 评论
23352 浏览 1 评论
1249 浏览 0 评论
硬创大赛项目专访 | 田奕鑫:专注细分领域创新,我们和行业巨头“化敌为友”
94612 浏览 1 评论
硬创大赛项目专访 | 王猛:专研降噪技术,让中国的黑科技产品服务全球用户
24456 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 00:42 , Processed in 0.558752 second(s), Total 43, Slave 36 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号