Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication with LabVIEW 7.0 Express to MDrive 17 motor driver

Hello,
 
I am trying to communicate with an Intelligent motion MDrive 17 motor driver via LabView 7.0 Express.  The MDrive is connected to my computor serial port via an RS-422 converter cable (I have limited LV experience).  The motor will turn a lead screw which will move a probe tip back/forward.
 
I first tried communications through the LabVIEW <=> Serial.vi by writing the motor command strings in the appropriate front panel icon making sure I had the correct comm port selected, baud rate etc.... I continually received a "VISA error code bfff003e error" regardless of settings.
 
I then tried to establish communications using the Instrument I/O Assistant.vi  write step sequence again making sure all the correct settings were choosen.  I enter a motor string command and choose the "\r" as my termination character (something I was not able to select using the Serial.vi) and the motor shaft turns (executes the command), but I still get the same "bfff003e" I/O error???
 
Since I am a LabVIEW novice, I am confused as to why I cannot seem to get the Serial.vi to work and why get the same I/O error using the Instrument I/O Assistant.vi but I seem to have communication.
 
regards,
 
brian
 
P.S.  Can I find example VI's of stepper moton control I can use/modify using serial communication on NI?
0 Kudos
Message 1 of 2
(4,853 Views)
Take a look at this thread.
0 Kudos
Message 2 of 2
(4,842 Views)