Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • serviceAdd: (Incorrect naming - Proper naming should be channelAdd). Adds a new channel to the pServiceEllList linked list with the specifications provided
  • associateBsaChannels: Associates all BSA channels to a service; namely : BSSS or BLD. Calls serviceAdd for each of the BSA channels
  • bldChannelName: Associates a channel with an alias (channel name) for printing on the PVXS record describing the BLD packet
  • bsss_callback/bld_callback: Calls the driver callback with the buffer and the size provided 
  • find_pidPv: Returns the structure of a pid (64bit) PV associated with a port, bsakey and and EDEF number
  • find_vPv: Returns the structure of a (double) PV associated with a port, bsakey and and EDEF number
  • serviceMonitorPoll: a thread function that runs infinitely and updates the status parameters (calls method MonitorStatus)


Finally, the serviceAsynDriver class and methods are as follows

...

The reported number channel data in the packet is variable and necessaly all of the channels will have data. The BSSS callback source code uses the channelMask to identify if the channel data is available or not.

devBsss.c/devBsss.h (BSSS device support)

This device support for BSSS was developed to override the asyn parameters. Apparently the asyn based PVs increase the CPU load significantly. The header file contains functions that will be accessed by external source to update the relevant records. 2 device support records are created

  • 64-bit integer
  • Double