반응형
신호파일 저장 포맷의 한 종류인 wfdisc 파일을 읽어 정보를 보여주는 프로그램.
wfdisc 파일이 가지고 있는 정보형태는
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | public string sta; // station code public string chan; // channel code public double time; // epoch time of first sample in file - 기준시점 public int wfid; // waveform identifier public int chanid; // channel operation identifier public int jdate; // Julian date public double endtime; // time + (nsamp-1)/samprate public int nsamp; // number of samples public double samprate; // sampling rate in sampling/sec public double calib; // nominal calibration public double calper; // nominal calibration period public string instype; // instrument code public string segtype; // indexing method public string datatype; // numeric storage public string clip; // clipped flag public string dir; // directory public string dfile; // datafile public int foff; // byte offset of data segment within file public int commid; // comment identifier public string lddate; // load date | cs |
스펙에 나오는 정보들을 가지고 디렉토리와 파일을 열어서 w 파일의 파형을 보여줄 수 있도록 만드는중인데
현재 파일의 정보만을 보여준다.
Wfdscshow.exe
반응형
'개발자 > C#' 카테고리의 다른 글
| c# 콤보박스 자동완성 기능을 구현 - 리스트박스,텍스트박스에서도 동일한 원리 (1) | 2012.09.26 |
|---|---|
| Infrasound 관측망과 인공발파 식별연구 (0) | 2012.07.29 |
| C# 파일 없으면 만들어 쓰고 있으면 한줄씩 읽어오는 코드 (1) | 2012.07.20 |
| 정수에서 1이 설정된 비트(Bit) 수 세기 (0) | 2012.07.17 |
| 상속이냐 합성이냐 (0) | 2011.03.10 |
| 35 Free C and C++ Programming Books and Ebooks (0) | 2011.03.01 |
| C++ 관련 책 list 입니다. (0) | 2011.03.01 |
| 파일 확장자 변경 코드 (0) | 2011.01.27 |
취업, 창업의 막막함, 외주 관리, 제품 부재!
당신의 고민은 무엇입니까? 현실과 동떨어진 교육, 실패만 반복하는 외주 계약,
아이디어는 있지만 구현할 기술이 없는 막막함.
우리는 알고 있습니다. 문제의 원인은 '명확한 학습, 실전 경험과 신뢰할 수 있는 기술력의 부재'에서 시작됩니다.
이제 고민을 멈추고, 캐어랩을 만나세요!
코딩(펌웨어), 전자부품과 디지털 회로설계, PCB 설계 제작, 고객(시장/수출) 발굴과 마케팅 전략으로 당신을 지원합니다.
제품 설계의 고수는 성공이 만든 게 아니라 실패가 만듭니다. 아이디어를 양산 가능한 제품으로!
귀사의 제품을 만드세요. 교육과 개발 실적으로 신뢰할 수 있는 파트너를 확보하세요.
캐어랩