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