Page 4.21
6-CHANNEL BATTERY SIMULATOR MODULE 41-752
pickering
SECTION 4 - PROGRAMMING GUIDE
Controlling Multiple Channels on a Card
The previous example controlled a single channel of the Battery Simulator, however many functions may also be
used to set all channels simultaneously.
In this example, the channel number is set to 0, which is taken to mean ‘all channels’ by the driver. So, in this
example, all channels will be set to 2.345V and 0.05A. The Set Enable function in this case takes a 6-bit pattern in
which each bit corresponds to a channel, above all 6 channels are enabled.