AnsweredAssumed Answered

PNA5245A trouble

Question asked by vsancak on Dec 24, 2014
Latest reply on Dec 29, 2014 by vsancak
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", "")
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", "")" 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..