05-11-2011 11:43 AM
I have installed Labview 64 bit onto my computer and downloaded the full 4Gb driver compilation. I am trying to use labview to run a motor control for my TPZ001 Thorlabs piezo controller. When I go to "Insert ActiveX Object", in the list of controls MG17Motor is no where to be found. This is the control I need for my motor and from what I gathered from my colleages this control should appear after having installed the Thorlabs ATP config/user CD application. I have also plugged the piezo controller into my computer's USB and got the successfully installed drivers message. Even after the 4Gb driver installation the motor control in activeX cannot be found. Am I overlooking something simple? The driver set installed in \Program Files (x86)\ even though everything is 64 bit, when I tried to change the install directory it said that my choice of \Program Files\ was invalid.
05-11-2011 02:21 PM
bump
05-11-2011 03:06 PM
There's more than one way to use an ActiveX object in LabVIEW. I may not use the correct ActiveX terminology, but there's a difference between an ActiveX control versus an ActiveX class. Only ActiveX controls can be inserted on the front panel. You can get access to an ActiveX class by using the "Automation Open" primitive found in the Connectivity->ActiveX palette. Create a constant for the Automation Refnum input, then right-click on the constant and choose "Select ActiveX Class..." See if you can then open your component there.
08-27-2011 10:19 AM
@VedranJ wrote:
I have installed Labview 64 bit onto my computer and downloaded the full 4Gb driver compilation. I am trying to use labview to run a motor control for my TPZ001 Thorlabs piezo controller. When I go to "Insert ActiveX Object", in the list of controls MG17Motor is no where to be found. This is the control I need for my motor and from what I gathered from my colleages this control should appear after having installed the Thorlabs ATP config/user CD application. I have also plugged the piezo controller into my computer's USB and got the successfully installed drivers message. Even after the 4Gb driver installation the motor control in activeX cannot be found. Am I overlooking something simple? The driver set installed in \Program Files (x86)\ even though everything is 64 bit, when I tried to change the install directory it said that my choice of \Program Files\ was invalid.
Did you find a solution for this?
08-27-2011 10:42 AM
@nathand wrote:
There's more than one way to use an ActiveX object in LabVIEW. I may not use the correct ActiveX terminology, but there's a difference between an ActiveX control versus an ActiveX class. Only ActiveX controls can be inserted on the front panel. You can get access to an ActiveX class by using the "Automation Open" primitive found in the Connectivity->ActiveX palette. Create a constant for the Automation Refnum input, then right-click on the constant and choose "Select ActiveX Class..." See if you can then open your component there.
Hi nathand, can you explain a bit further what you mean? I have attached my code if you weant to have a look at what it is supposed to do.
08-29-2011 03:45 PM
@notimperial wrote:
Hi nathand, can you explain a bit further what you mean? I have attached my code if you weant to have a look at what it is supposed to do.
What else do you need to know? It's not your choice whether you use Automation Open or an ActiveX container, you must use whichever one is appropriate for the component you are using (and the other one won't work). In your case you have an ActiveX control that you can place on the front panel in an ActiveX container. There are other ActiveX components are not designed to have any direct user interaction so they provide an interface accessible only to the programmer, with no controls or indicators. For those components you use Automation Open.
09-06-2013 07:39 AM
The only solution I have found is to use the 32 bit version of LabView, for some reason it just won't work with the 64.
09-09-2013 08:36 AM
Hey Phoenix,
This thread is pretty old, if you are still having the same problem, I would recommend making a new thread.
Regards!
09-09-2013 12:13 PM
Yes, the only solution was to buy a new 32-bit computer because Thorlabs software does not support 64-bit yet (and it isn't coming soon). Alternatively you can use VMware to setup a 32-bit virtual machine off a 64-bit.
09-10-2013 02:03 AM
Sounds to me like it'd be enough to install LV 32 bit. 🙂
/Y