Help: ICE_ICELIB_PIC_MSG

Send a PKT_ACMD to a Port/Processor Module with optional response and timeout

Function PIC_MSG - Send a PKT_ACMD to a Port/Processor Module with optional response and timeout

PIC	p	Handle to Device 
int	node	Port/Processor Module node ID (-1=useDefault)
int	func	Function to call (PKTF_BUS_WR,PKTF_MEM_RD,etc.)
int	address	Address for function
int	*data	Pointer to packet data (for write and read)
int	sbytes	Number of bytes to write 
int	rbytes	Number of bytes to read 
int	timeout	Number of seconds to wait for response

This routine forms an PKT_ACMD and calls PIC_SENDRECV with a desired timeout.

The Node IDs are:
  0 - Base card
  1 - I/O Module 1
  2 - I/O Module 2
  7 - Processor Module 1
  8 - Processor Module 2

The Function IDs are:
  PKTF_BUS_RD
  PKTF_BUS_WR
  PKTF_MEM_RD
  PKTF_MEM_WR
  PKTF_MEM_TEST
  PKTF_INIT
  PKTF_MODIFY
  PKTF_RUN
  PKTF_STOP

This routine is typically called by internal libraries to configure and start modules.