.

meiCanNodeAnalogOutGet

Declaration

 
long meiCanNodeAnalogOutGet(MEICan        can,
                            long          node,
                            long          channel,
                            long          *state); 
  Required Header: stdmei.h
Change History: Added in the 03.03.00

Description

meiCanNodeAnalogOutGet gets the current state of an analog output on the specified CAN node.

 
can handle to the CAN object
node the node number of the CANOpen node.
channel

the index of the analog output.

*state a pointer to where the current state of the output is written to by this function. See CAN Analog Values.
   
 
Return Values  
MPIMessageOK  

Sample Code

The following code shows how to get the state of analog output 3 on node 5.

 

long analog3; meiCanNodeAnalogOutGet( can, 5, 3, &analog3 );

See Also

meiCanNodeAnalogIn | meiCanNodeAnalogOutSet | CAN Analog Values

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering