cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Commanding Opus with labview and ActiveX

Highlighted

Commanding Opus with labview and ActiveX

Hi.

 

I'm trying to command Opus, a software for spectroscopy. With the old installation we were using DDE, but it seems that it doesn't work with newer versions of labview, and that ActiveX is what we're supposed to use now. So I tried that, using this old thread. But when I get to the Opus dll's, the list is said to be empty.

 

Has anyone have encountered this problem before and could help me ?

 

Thanks a lot.

0 Kudos
Message 1 of 12
(173 Views)

Re: Commanding Opus with labview and ActiveX

DDE should still work.  Just copy the DDE.llb from the old version and paste into the new LabVIEW folder.

 

0 Kudos
Message 2 of 12
(153 Views)

Re: Commanding Opus with labview and ActiveX

Thanks for the idea, I had already tried that, but the VIs in this DLL are not supported by labview 2017.

0 Kudos
Message 3 of 12
(148 Views)

Re: Commanding Opus with labview and ActiveX

but the VIs in this DLL are not supported by labview 2017.

Could you give more information ?

 

DDE doesn't use DLL, it uses CIN.

I just tried open DDE master VI in LabVIEW 2017.  It's not broken.

 

0 Kudos
Message 4 of 12
(141 Views)

Re: Commanding Opus with labview and ActiveX

I'm not at work so i can't show you right now, but the VI was using a kind of node that isn't supported by labview anymore. I can show it to you tomorrow morning.

0 Kudos
Message 5 of 12
(139 Views)

Re: Commanding Opus with labview and ActiveX

ut the VI was using a kind of node that isn't supported by labview anymore.

Yes.  DDE master uses CIN.  You can no longer find CIN on the function palette.

But it should be backward compatible. i.e. existing CIN should still works.

I used DDE last year in LabVIEW 2015.  Works OK.

CIN obsolete a few years before 2015.

 

0 Kudos
Message 6 of 12
(136 Views)

Re: Commanding Opus with labview and ActiveX

Here is what i get with the problematic VI.

 

Thanks for helping me ^^

0 Kudos
Message 7 of 12
(118 Views)

Re: Commanding Opus with labview and ActiveX

Hi Hyouryu,

 

which LabVIEW version are you working with? 32bit or 64bit?

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 8 of 12
(114 Views)

Re: Commanding Opus with labview and ActiveX

64bits

 

Thanks for helping.

0 Kudos
Message 9 of 12
(111 Views)

Re: Commanding Opus with labview and ActiveX

Hi Hyo,

 

(with more than 99% probability) that CIN is made for a 32bit environment.

As the context help message in your image explaines: when calling the CIN for a new target system (like your 64bit environment!) you must supply a new code object for that environment.

 

Simple solution: use LabVIEW 32bit instead…

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 10 of 12
(106 Views)