Home > functions > device > trigger_timing > vb_trig_conv.m

vb_trig_conv

PURPOSE ^

TRIG_CONV この関数の概要をここに記述

SYNOPSIS ^

function [ status ] = vb_trig_conv( status )

DESCRIPTION ^

TRIG_CONV この関数の概要をここに記述
   詳細説明をここに記述
 st = dec2bin(x) , x : [1 x N] or [N x 1]
    : [N x maxnin]
 

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [ status ] = vb_trig_conv( status )
0002 %TRIG_CONV この関数の概要をここに記述
0003 %   詳細説明をここに記述
0004 % st = dec2bin(x) , x : [1 x N] or [N x 1]
0005 %    : [N x maxnin]
0006 %
0007 %
0008 % Copyright (C) 2011, ATR All Rights Reserved.
0009 % License : New BSD License(see VBMEG_LICENSE.txt)
0010 defaultStatus =  6750720+2^23;
0011 
0012 %fprintf('--- Read status channels \n');
0013 status(1,:) = status + defaultStatus;
0014 
0015 st = dec2bin(status); % get bit string
0016 st = st(:,end-8:end); % extract first 8 bit
0017 status = bin2dec(st)';

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005