5.2.24 - StreamAddChannels | LabJack
 
« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.24 - StreamAddChannels

This function can be used to add channels beyond the 25 provided in StreamConfig.

Table 5.2.24-1. StreamAddChannels

Command:  
Byte  
0 Checksum8
1 0xF9
2  
3 0x12
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 NumberEntriesToAdd
7 TableIndexStart
8 ChannelNumber (Positive) 
9 ChannelOptions
   
  Repeated 14-15 for each channel 
   
Response:  
  Checksum8
  0xF8
  0x01
  0x12
  Checksum16 (LSB)
  Checksum16 (MSB)
  Errorcode
  0x00
  • NumberEntriesToAdd: The number of enteries which will be added to the stream table.
  • TableIndexStart: Index in the stream table where the first entry in this packet will be added. Additional entries will be added sequentially.
  • ChannelNumber (Positive): Reference StreamConfig for details of this parameter. 
  • ChannelOptions: Reference StreamConfig for details of this parameter. 

Stream mode can support up to 128 channels. The Stream config function can be used to load the first 25. For more than 25 use this function.