LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ipetronik

What's the point of the FOR loop? To get help, you probably need to provide significantly more details.

0 Kudos
Message 11 of 16
(887 Views)

This is what I was using.

0 Kudos
Message 12 of 16
(880 Views)

Thank you for that, turkeyspdr. Many thanks.

 

Sorry the original post was so light on details. Short answer to the for loop question is that it serves no purpose and I've removed it.

 

My hunch is that this problem is related to the fact I'm manually adding the type library (see attached image) before I can reference it.

 

I didn't have to do this until yesterday. LabVIEW crashed while I was using it and after the crash the type library I was referencing disappeared. I did a little reading on the process of registering type libraries https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MOqSAM&l=en-US

, but the version of Net Framework installed doesn't have the regtlibv12.exe program needed to register the library. 

 

Or perhaps the library reference disappearing thingy is completely unrelated...

 

thoughts?

 

0 Kudos
Message 13 of 16
(866 Views)

I know I needed to have IPEmotion installed on my development computer for the right classes to show up in the class browser.

Last I knew, you could get a demo download from IPEtronik and I think the demo was enough to browse to the right class.

One other note that might save you some time, the method of interfacing I showed in my screenshot only worked if my LV application was able to launch IPEmotion itself. If IPEmotion was already up and running, my VI couldn't seem to put "hooks" into it.

0 Kudos
Message 14 of 16
(855 Views)

Thanks turkeyspdr. I have IPEmotion installed on my computer and it will launch the app from LabVIEW but then gives the error about loading the type library. 

 

I tried in in VBscript and it works without issue.

 

Dim app
Set app = CreateObject("IPETRONIK.IPEmotion")
app.AcquisitionWorkspace.DetectHardware()

 

Again, appreciate the guidance. 

 

I might try and re-install labview or ipemotion or both. The weird thing is when I look in the available references inside excel VBA, there it is...

Download All
0 Kudos
Message 15 of 16
(849 Views)

I re-installed labview and this fixed my error related to the missing type library.

 

I'm not sure what the root cause of this missing type library was. It seems it was always correctly registered, and I could see it in the registry, but for some reason labview couldn't find it. 

 

Anyways, thanks for everyone's help. 

0 Kudos
Message 16 of 16
(810 Views)