10-10-2016 01:43 PM
Hi, I'm relatively new to LabVIEW and have been trying to control a Baldor servo motor using ABB's Mint ActiveX controls. I pass a refnum from the ActiveX container to an invoke node called "SetMicroFlexE100Link" that sets up the connection to the Microflex e100 driver we're using. This works fine. Right after that, I send the same refnum to another invoke node to get the driver's relay status and the program throws an error (see attached image for block diagram and error message). According to this tutorial, what I have should be sufficient, so I'm confused as to why I am getting these errors.
Any ideas about what's going on would be greatly appreciated. Thanks!
Solved! Go to Solution.
10-10-2016 05:22 PM
Why is your Openport set to false? Based on the manual, atleast in the textbased portion it only shows setting the port open to true. Have you already run the code in highlight execution to determine that the error actually occurs at the part that gets the driver relay status?
10-10-2016 05:29 PM
Hi Andrew: sorry, OpenPort should have been set to true. It makes no difference, and I get the same error message regardless of the baudrate, port number, and node number I provide to the first invoke node, which makes me think it might be something with the way my device is exposed to LabVIEW.
10-10-2016 05:56 PM
Have you attempted to communicate with the device in NI MAX? Have you installed any NI drivers?
10-10-2016 06:02 PM
I don't believe these drivers are built to interact with NI-specific software outside of the provide ActiveX framework. They aren't exposed as normal serial (COM) ports and don't show up in NI MAX system searches.
Appreciate your help, Andrew - I was hoping I was missing something obvious on the LabVIEW side, but it looks like I need to do some more digging into communication protocols to fix this issue.
10-11-2016 09:37 AM
I would start by installing the NI-VISA driver from ni.com/downloads.
07-18-2023 12:36 AM
i am working in a project that to control the abb baldor derive. will you guide me sir.