Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting analog input to work on PCI-7358

How do I get analog input to work on a PCI-7358 motion control card?  I enabled the ADC channels in MAX but they do not appear as a choice when I try to create a task in MAX.  If I use the Enable ADC and ReadADC flx VIs, I get no reading and an error code of -70022. 
0 Kudos
Message 1 of 2
(3,386 Views)
Good morning Bjlands,
 
The "tasks" that get created in MAX are for DAQ Channels only.  The API for these channels are different than that used for motion.  Therefore, the analog motion channels will not be available through this route.  The ReadADC VI's are the correct functions to allow you to read off of the analog channels on the 735x series of boards.  Here is a link to a document that I found on www.ni.com/support that talks about this error code.
 
 
This is most likely the reason that you are encountering this error.  If the information contained within this Knowledgebase is not helpful, please post back and I will do my best to answer your questions!
 
Respectfully,
0 Kudos
Message 2 of 2
(3,379 Views)