.

meiSynqNetPacketConfigSet

Declaration

 
/* WARNING: meiSynqNetPacketConfigSet(...) and 
 * meiSynqNetPacketFlashConfigSet(...) are  low-level network   
 * routines that must clear other controller object configurations.     
 * This method should be run before configuring most MPI objects.  
* Please refer to the online documentation for more information.
*/
long meiSynqNetPacketConfigSet(MEISynqNet synqNet, MEISynqNetPacketCfg *config);
  Required Header: stdmei.h

Description

meiSynqNetPacketConfigSet sets the network packet configuration to the configuration defined in the location pointed to by config.

WARNING: meiSynqNetPacketConfigSet(...) is a low-level network routine that will clear other controller object configurations and reset the SynqNet network. This method should be executed in your application before configuring any other MPI objects. However, any control object configurations that force a network re-initialization must be performed before this routine is executed – please see mpiControlConfigSet(...) routine for more information.

This method is useful for optimizing network traffic (bandwith).

Only configurable packet data fields are configured by this method. Fixed packet fields are not application configurable.

 
synqNet a handle to a SynqNet object
*config pointer to configuration structure defined by MEISynqNetPacketCfg.
   
 
Return Values
MPIMessageOK  
MPIMessageARG_INVALID  
MEISynqNetMessageINCOMPLETE_MOTOR  
MEISynqNetMessageINVALID_AUX_ENC_COUNT  
MEISynqNetMessageINVALID_MOTOR_COUNT  
MEISynqNetMessageINVALID_COMMAND_CFG  
MEISynqNetMessageINVALID_ENCODER_COUNT  
MEISynqNetMessageINVALID_CAPTURE_COUNT  
MEISynqNetMessageINVALID_COMPARE_COUNT     
MEISynqNetMessageINVALID_INPUT_COUNT  
MEISynqNetMessageINVALID_OUTPUT_COUNT  
MEISynqNetMessageINVALID_MONITOR_CFG  
MPIMessageUNSUPPORTED  

See Also

meiSynqNetPacketConfigGet | MEISynqNetPacketCfgNode | MEISynqNetPacketCfg | mpiControlConfigSet

 

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