完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我们有使用PNA5245A设备的问题。
PC软件codde在VB6 PC中,PNA用户名/密码相同。 PNA dcomcnfg已根据dcom手册完成。 完成PC PNAProxy注册并在PNAproxy安装期间输入PNA计算机名称。 FIreWall为OFF,“文件共享”为OFF VB6代码如下; Option Explicit Public app As IApplication Public meas As IMeasurement Public chan作为IChannel公共measData作为IArrayTransfer Private Sub Command1_Click()'连接到机器SLTSU044上的PNA应用程序设置app = CreateObject(“AgilentPNA835x.Application”,“192.168.0.10”)。 .... .... End Sub当使用WinXP Pro SP1将PC连接到PNA5230A设备时,此代码非常有效。 VB6事件程序在PC或PNA上都不起作用。 它们给出“类型不匹配”错误。 我们的目标是与PNA5245A合作。 我们的主要麻烦是PNA5245A设备。 它有WinXP SP3,它有几乎相同的PNA5230A的dcom配置当我们尝试运行VB6代码“Set app = CreateObject(”AgilentPNA835x.Application“,”192.168.0.10“)”行给出“权限被拒绝70”错误我们 无法进展,我们总是得到同样的错误。 我们的配置和软件有什么问题??? 我们需要你的帮助..问候, 以上来自于谷歌翻译 以下为原文 We have problem to work with PNA5245A device. PC software codde is in VB6 PC and PNA username/passwords are same. PNA dcomcnfg has been done according to dcom manual. PC PNAProxy registration is done and PNA computer name has been entered during PNAproxy setup. FIreWall is OFF, "file sharing" is OFF VB6 code is as follows; Option Explicit Public app As IApplication Public meas As IMeasurement Public chan As IChannel Public measData As IArrayTransfer Private Sub Command1_Click() 'Connect to the PNA application on machine SLTSU044 Set app = CreateObject("AgilentPNA835x.Application", "192.168.0.10") ..... .... End Sub This code works very well when PC is connected to PNA5230A device with WinXP Pro SP1. VB6 Events programs do not work either on PC or on PNA. They give "Type Mismatch" error. Our goal is to work with PNA5245A. Our main trouble is PNA5245A device. It has WinXP SP3 and it has almost the same dcom configuration of PNA5230A When we try to run the VB6 code "Set app = CreateObject("AgilentPNA835x.Application", "192.168.0.10")" line gives "Permission Denied 70" error We could not progress and we always get the same error. What is wrong with our configuration and software??? We need your help.. Regards, |
|
相关推荐
2个回答
|
|
要尝试的一件事是在PNA上设置一个与主机具有相同用户名和密码的用户帐户。
这种强力方法解决了许多dcom安全问题。 另外,请看这里:http://na.support.keysight.com/pna/DCOMSecurity.html 以上来自于谷歌翻译 以下为原文 One thing to try is set up a user account on the PNA that has the same user name and password as the host computer. This brute force approach fixes a lot of dcom security issues. Also, look here: http://na.support.keysight.com/pna/DCOMSecurity.html |
|
|
|
脑洞大赛9 发表于 2018-11-14 14:59 好的,我明天会尝试这种方法。 是否可以将DCOM配置更改为其默认值? 如果有人更改了IO套件配置,这个更改是否会以某种方式影响DCOM ??? 问候, 以上来自于谷歌翻译 以下为原文 Ok, I will try tomorrow this method. Is it possible to change the DCOM configuation to it's defaults? If someone has changed IO suite config, does this change affect somehow DCOM??? Regards, |
|
|
|
只有小组成员才能发言,加入小组>>
1231 浏览 0 评论
2351 浏览 1 评论
2161 浏览 1 评论
2026 浏览 5 评论
2910 浏览 3 评论
976浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
709浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
809浏览 0评论
1234浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 17:01 , Processed in 1.601121 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号