LabVIEW 2009 can't create object in "Acquisition Initialize.vi"


Question: I get the following error when using IOtech LabVIEW support with LabVIEW 2009:
Automation Open: Object specified is not creatable in Acquisition Initialize.vi->[Named top level VI].vi
How do I resolve?

Answer: Re-reference the DaqCOM2 object:

  1. All IOtech examples begin with the vi that initializes the DaqCOM2 object. In this vi we need to modify it once by deleting and then re-create the reference. First open the vi from the diagram of any example, and then open its diagram:
  2. Then select the reference to "DAQCOMLib.IDaqSystem", and press your "Delete" key:
  3. Re-create the reference. Right mouse click the terminal, choose Select ActiveX Class, then scroll the list and find Browse. Select IOtech DaqCOM 2.401 for the type library then from the list find DaqSystem and select IDaqSystem.
  4. Finally, save this VI:

This should permanently solve the problem for all examples.

Applies to: IOtech LabVIEW support



Posted 1/12/2012 11:01:52 AM by Administrator
https://kb.mccdaq.com/KnowledgebaseArticle50134.aspx