NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI COM driver access thru Teststand

Hi,
 
I need to access an IVI COM driver (Sorenson DCPS) from Teststand. The driver works fine as a standalone application but when i call the initialize() method of COM from Teststand i get the following error:
 
An error occurred calling 'Initialize' in 'IIviDCPwr' of 'IVI SorensenDC 1.0 Type Library'
SorensenDC: Unknown resource.
Source: SorensenDC.SorensenDC.1
 
Kindly help me out with this!!
 
Thanks,
Priya.
0 Kudos
Message 1 of 2
(3,101 Views)
Hi, Priya,

Have you looked at this knowledgebase document. It looks like you need to create a session before calling the initialize function. This could be the cause of the problem.

When you say it works fine as a standalone application, what do you mean? Since the driver is an activeX server, do you mean you successfully use the server in another programming environment? It'd be nice if you can verify that the driver is working before we troubleshoot TestStand.

Also, are you communicating with your device over GPIB, Serial, or some other interface. It looks like the driver does not understand what "SorensenDC" is. Are you sure it's the correct resource name. Typically it's of the format "ASRL10:INSTR" unless you gave an alias to it. So please make sure you are passing the correct resource name.

Regards,

Song D
Regards,

Song Du
Systems Software
National Instruments R&D
0 Kudos
Message 2 of 2
(3,074 Views)