LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pololu Maestro Native USB Drivers

I am embarking on a new project and wish to drive several Pololu Micro Maestro 6-channel USB Servo Controllers. The devices can be driven in two ways 1) as a USB Serial Port, references by port number or 2) as a native USB device. I prefer option 2 as this allows much greater flexibility, allowing access to among other things the board serial number.

There is a SDK available and this provides examples in c# and can be used to build .dlls.

I am having trouble trying to use the LabVIEW Connectivity, .NET constructors with Property and Invoke nodes to connect with the .dlls as they pass a class reference of type usc. Has anyone else had any success interfacing with these devices ?

0 Kudos
Message 1 of 3
(3,059 Views)

Have you seen this article? You might be able to use VISA:

http://digital.ni.com/public.nsf/allkb/E3A2C4FE42D7ED0D86256DB7005C65C9

0 Kudos
Message 2 of 3
(3,026 Views)

Thanks to nanocyte for the link, its an interesting article and if I wanted to write a driver from scratch it would be very useful. I already have the dlls from SDK examples that link through the Pololu drivers, its interfacing LabVIEW to the dlls that is causing me problems due to the passing of class references. I have also seen the SDK examples throw exceptions, I know LabVIEW is not going to like that. Maybe I need to write my own dll that acts as a wrapper for LabVIEW

0 Kudos
Message 3 of 3
(3,006 Views)