In Raster Plot, Central can visualize digital inputs as separate pins, but the data is not saved as separate channels for each pin. Rather, the state of all sixteen pins makes up a single 16-bit integer value. Additional information can be found at the following links:
https://en.wikipedia.org/wiki/Integer_(computer_science) https://en.wikipedia.org/wiki/Binary_numberNEV File
The .nev file contains the raw 16-bit integer value, not the binary value. When loading the .nev file in Matlab, the values will be found in NEV.Data.SerialDigitalIO.UnparsedData.
For those who wish to look at the data in binary, running the Matlab function dec2bin() will convert the decimal values to binary:
In the above example, the "digin1" properties were set to "16-bit on falling edge" in Central's Hardware Configuration. Pins D0, D1, D1, D2, D3, and D4 were individually set from HIGH to LOW and then reset to HIGH before moving on to the next pin. Therefore, the least significant bit gets assigned to D0, the second least significant bit to D1, and so on, where the digital input to D15 is assigned to the most significant bit in the 16-bit number.
Those with more familiarity with Matlab variable types may prefer to run cellstr(dec2bin(NEV.Data.SerialDigitalIO.UnparsedData)) in order to output the data into a cell array: