LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -10401 appears when I try to read in my Encoders (TTL-Signal) via a LabView-"nuDrive 2SX-411" and Motion Controller Card

Hy there.
Im using two "Haidenhain ERN 420" Encoders with TTL-Output Signal
A NI-Motion Controller 7334 with an NI-"nuDrive 2SX-411"

When I try to Read the Encoders Position (with ex.-Programm/Source) the Message: "Error -10401 occurred at AI Group Config ... the specified device is not a NI-product" appears

Can anybody help me to initiallize/Use the Encoders in Labview 6.01?
thanks, phil.
0 Kudos
Message 1 of 2
(2,501 Views)
Phil,

It looks to me according to the error that you were trying to use DAQ functions to access the Motion controller. The Motion controller uses its own functions. There are two for reading position:

Functions Palette >> Motion & Vision >> Flexmotion >> Trajectory Control >> Read Position.

Functions Palette >> Motion & Vision >> Flexmotion >> Analog & Digital I/O >> Read Encoder Position.

You may find a useful example in:
C:\Program Files\National Instruments\LabVIEW 6.1\examples\Motion\FlexMotion\One Axis.llb\One Axis Move with Position Monitor.vi

Make sure that you have configured and initialized your board properly in MAX.

I would suggest that you post your question on the Motion Control section and not in the LabVIEW section. Also, check the Dev
elopment Library section of the NI Developer Zone for the Motion Control section with tutorials and example code.

Good luck!

Nestor.
Nestor
0 Kudos
Message 2 of 2
(2,501 Views)