05.03.2014 Views

Nanometrics Data Formats Reference Guide

Nanometrics Data Formats Reference Guide

Nanometrics Data Formats Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: Private <strong>Data</strong> Streams<br />

4 byte int 0<br />

3.3.3 Remove Channels messages<br />

A client sends a RemoveChannels message to remove some or all channels from its subscription.<br />

A RemoveChannels message contains the following information:<br />

1. <strong>Data</strong> type of the channels to remove (time-series, state-of-health, or triggers).<br />

2. Channels to be removed (given by an array of channel indices, or keys).<br />

If some of the channels indicated in the RemoveChannels message are not in the current<br />

subscription, or do not correspond to the data type indicated in the message, Stream<br />

Manager will respond with an error message stating that there were some channels it<br />

was unable to remove.<br />

3.3.3.1 RemoveTimeSeriesChannels<br />

The RemoveTimeSeriesChannels message is used to remove time-series channels from<br />

the client’s subscription.<br />

Header:<br />

4 byte int Signature = 0x7ABCDE0F<br />

4 byte int message type =130<br />

4 byte int message content length = 4 + 4 * N, where N = number of channels<br />

Content:<br />

4 byte int number of channels to remove = N (use 0 to remove all channels)<br />

N * 4 byte int Channel key for each requested channel<br />

(same as in Channel List message)<br />

3.3.3.2 RemoveSohChannels<br />

The RemoveSohChannels message is used to remove state-of-health channels from the<br />

client’s subscription.<br />

Header:<br />

4 byte int Signature = 0x7ABCDE0F<br />

4 byte int message type =131<br />

4 byte int message content length = 4 + 4 * N, where N = number of channels<br />

Content:<br />

4 byte int number of channels to remove = N (use 0 to remove all channels)<br />

N * 4 byte int Channel key for each requested channel<br />

(same as in Channel List message)<br />

3.3.3.3 RemoveSerialChannels<br />

The RemoveSerialChannels message is used to remove transparent serial channels<br />

from the client’s subscription.<br />

Header:<br />

4 byte int Signature = 0x7ABCDE0F<br />

14602R4<br />

<strong>Nanometrics</strong> <strong>Data</strong> <strong>Formats</strong><br />

2003-11-07 <strong>Reference</strong> <strong>Guide</strong><br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!