accesine960的空间
accesine960 北京 在线状态
729067次访问 打开 十万人气
可用分12643个 打开 万元户
专家分468分 打开
428小时前登陆过 活跃专家

注册时间:2001-6-7
[加为好友] [关注他/她]
[即时聊天] [发私信]
accesine960的个人资料
所在行业:其他行业
社区头衔:荣誉专家 Blog专家
个人专长:
java请填写你的技术专长,多个关键词以逗号(,)或空格分隔,英文词组请加双引号(“”),如:软件开发,产品设计,.Net,“sql,server”,中间件等。最多填写10个关键词。
专家分: 目前总共有468分
Java:234分 企业开发:80分 .NET技术:53分
博客:目前总共有541条评论
访问量:731045
排名:44
文章数:288条
accesine960的好友
czdvcc发表于:2008-06-28
wow power leveling,
menglong2008发表于:2008-04-26
你好可以问你个问题吗:我现在正在用JAVA做个从串口采集数据的实时分析显示,方法是这样的,
1)从串口读取数据
2)对读取数据的实时图行显示(这个我用JFreeChart已经实现了)
3)对从串口实时数据进行FFT分析(博叶变换)这个程序也实现了
4)把串口实时的数据经过FFT变换后输出的数据用JFreeChart图形显示出来
现在遇到问题就是步骤(4):由于对数据做FFT分析,需要一定量的数据,怎么才能得到数据采集到一定量以后经过FFT变换后再用JFreeChart图形显示出来(也就是说JFreeChart产生的图形刚开始的时候没有数据显示)不知道我说清楚了吗
这个过程我是用eclipse   RCP开发的,希望高手指点一下谢谢了
                                                                  我的QQ是:78023069
minorstone发表于:2007-11-21
怎么用java编程?没有编译环境呀。window下
xlq486发表于:2007-08-21
我们这学期有个数字电路课程设计,要求用VHDL语言设计一个数字钟,基本要求:
1、24小时计数显示;2、具有校时功能(时,分)..我已经找到一段源代码,但要具体把代码解释一下,我看不懂,能帮忙具体解释下吗????谢谢

源代码:library?ieee;

use?ieee.std_logic_1164.all;

use?ieee.std_logic_unsigned.all;

entity?szz?is

port(clk:in?std_logic;

??clk1:in?std_logic;

??md1:in?std_logic;

??md2:in?std_logic_vector(1?downto?0);

??speak:out?std_logic;

??dout:out?std_logic_vector(6?downto?0);

??selout:out?std_logic_vector(2?downto?0));

end?szz;

architecture?one?of?szz?is

signal?sel:std_logic_vector(2?downto?0);



signal?hou1:std_logic_vector(3?downto?0);

signal?hou2:std_logic_vector(3?downto?0);

signal?min1:std_logic_vector(3?downto?0);

signal?min2:std_logic_vector(3?downto?0);



signal?seth1:std_logic_vector(3?downto?0);

signal?seth2:std_logic_vector(3?downto?0);

signal?setm1:std_logic_vector(3?downto?0);

signal?setm2:std_logic_vector(3?downto?0);



signal?sec1:std_logic_vector(3?downto?0);

signal?sec2:std_logic_vector(3?downto?0);

signal?h1:std_logic_vector(3?downto?0);

signal?h2:std_logic_vector(3?downto?0);

signal?m1:std_logic_vector(3?downto?0);

signal?m2:std_logic_vector(3?downto?0);

signal?s1:std_logic_vector(3?downto?0);

signal?s2:std_logic_vector(3?downto?0);

-------------------------------------------------

begin

----------------------------------------------模6计数

choice:process(clk1)

begin

if?clk1'event?and?clk1='1'?then

if?sel="101"?then

sel<="000";

else

sel<=sel+1;

end?if;

end?if;

end?process?choice;

-----------------------------------------------小时十位

h110:process(clk,hou2,min1,min2,sec1,sec2,md1,md2)

begin

if?clk'event?and?clk='1'?then

if?(hou1="0010"?and?hou2="0011")and(min1="0101"?and?min2="1001")?and?(sec1="0101"?and?sec2="1001")???then

hou1<="0000";

elsif?hou1="0010"and?hou2="0011"and?md1='0'?and?md2="01"?then--当时间为23点且处于校时状态时

hou1<="0000";

elsif?(hou2="1001"and(min1="0101"?and?min2="1001")?and?(sec1="0101"?and?sec2="1001"))or?(hou2="1001"and?md1='0'?and?md2="01")?then



hou1<=hou1+1;

end?if;

end?if;

end?process?h110;

-----------------------------------------------小时个位

h220:process(clk,min1,min2,sec1,sec2,md1,md2,hou1)

begin

if?clk'event?and?clk='1'?then

if?(hou1="0010"?and?hou2="0011")and(min1="0101"?and?min2="1001")?and?(sec1="0101"?and?sec2="1001")?then

hou2<="0000";

elsif?hou2="1001"and(min1="0101"?and?min2="1001")?and?(sec1="0101"?and?sec2="1001")?then

hou2<="0000";

elsif?(hou2="1001"and?md1='0'?and?md2="01")or?(hou1="0010"and?hou2="0011")?then

hou2<="0000";--md<='1';

elsif?((min1="0101"?and?min2="1001")?and?(sec1="0101"?and?sec2="1001"))or?(md1='0'?and?md2="01")?then

hou2<=hou2+1;--speak<=clk;

end?if;

end?if;

end?process?h220;

-----------------------------------------------分钟十位

m110:process(clk,min2,sec1,sec2,md1,md2)

begin

if?clk'event?and?clk='1'?then

if?(min1="0101"?and?min2="1001")?and?(sec1="0101"?and?sec2="1001")?then?

min1<="0000";

elsif?min1="0101"and?min2="1001"and?(md1='0'?and?md2="00")then

min1<="0000";



elsif?(min2="1001"and?(sec1="0101"?and?sec2="1001"))?or?(min2="1001"and?md1='0'?and?md2="00")then

min1<=min1+1;

end?if;

end?if;--end?if;

end?process?m110;

----------------------------------------------分钟个位

m220:process(clk,sec1,sec2,md1,md2)

begin

if?clk'event?and?clk='1'?then

if?min2="1001"and?(sec1="0101"?and?sec2="1001")then

min2<="0000";

elsif?min2="1001"and?(md1='0'?and?md2="00")then

min2<="0000";

else?if?(sec1="0101"?and?sec2="1001")?or(md1='0'?and?md2="00")then

min2<=min2+1;

end?if;

end?if;end?if;

end?process?m220;

---------------------------------------------秒十位

s110:process(clk)

begin

if?clk'event?and?clk='1'?then

if?(sec1="0101"?and?sec2="1001")then

sec1<="0000";

else?if?sec2="1001"then

sec1<=sec1+1;

end?if;

end?if;end?if;

end?process?s110;

--------------------------------------------秒个位

s220:process(clk)

begin

if?clk'event?and?clk='1'?then

if?sec2="1001"?then

sec2<="0000";

else?sec2<=sec2+1;

end?if;

end?if;

end?process?s220;
-------------------------------------------时间设置小时部分

sethour1:process(clk,seth2)

begin

if?clk'event?and?clk='1'?then

if?seth1="0010"and?seth2="0011"?then

seth1<="0000";

elsif?seth2="1001"?then

seth1<=seth1+1;

end?if;

end?if;

end?process?sethour1;

-------------------------------------------

sethour2:process(clk,md1,md2,seth1)

begin

if?clk'event?and?clk='1'?then

if?(seth1="0010"and?seth2="0011")or?seth2="1001"then

seth2<="0000";

elsif?md1='1'?and?md2="00"?then

seth2<=seth2+1;

end?if;

end?if;

end?process?sethour2;

-------------------------------------------时间设置分钟部分

setmin1:process(clk,setm2)

begin

if?clk'event?and?clk='1'?then

if?setm1="0101"and?setm2="1001"then

setm1<="0000";

elsif?setm2="1001"then

setm1<=setm1+1;

end?if;

end?if;

end?process?setmin1;

----------------------------------------------

setmin2:process(clk,md1,md2)

begin

if?clk'event?and?clk='1'then

if?setm2="1001"then

setm2<="0000";

elsif?md1='1'?and?md2="01"then

setm2<=setm2+1;

end?if;

end?if;

end?process?setmin2;


-------------------------------------------

-------------------------------------------

disp:process(sel,md1,hou1,hou2,min1,min2,sec1,sec2,seth1,seth2,setm1,setm2)

begin



if?sel="000"?then

selout<="000";

case?h1?is

when?"0000"=>dout<="0111111";

when?"0001"=>dout<="0000110";

when?"0010"=>dout<="1011011";

when?others?=>dout<="1000000";

end?case;

elsif?sel="001"?then

selout<="001";

case?h2?is

when?"0000"=>dout<="0111111";

when?"0001"=>dout<="0000110";

when?"0010"=>dout<="1011011";

when?"0011"=>dout<="1001111";

when?"0100"=>dout<="1100110";

when?"0101"=>dout<="1101101";

when?"0110"=>dout<="1111101";

when?"0111"=>dout<="0000111";

when?"1000"=>dout<="1111111";

when?"1001"=>dout<="1101111";

when?others=>dout<="1000000";

end?case;

elsif?sel="010"?then

selout<="010";

case?m1?is

when?"0000"=>dout<="0111111";

when?"0001"=>dout<="0000110";

when?"0010"=>dout<="1011011";

when?"0011"=>dout<="1001111";

when?"0100"=>dout<="1100110";

when?"0101"=>dout<="1101101";

when?others=>dout<="1000000";

end?case;

elsif?sel="011"?then

selout<="011";

case?m2?is

when?"0000"=>dout<="0111111";

when?"0001"=>dout<="0000110";

when?"0010"=>dout<="1011011";

when?"0011"=>dout<="1001111";

when?"0100"=>dout<="1100110";

when?"0101"=>dout<="1101101";

when?"0110"=>dout<="1111101";

when?"0111"=>dout<="0000111";

when?"1000"=>dout<="1111111";

when?"1001"=>dout<="1101111";

when?others=>dout<="1000000";

end?case;

elsif?sel="100"?then

selout<="100";

case?s1?is

when?"0000"=>dout<="0111111";

when?"0001"=>dout<="0000110";

when?"0010"=>dout<="1011011";

when?"0011"=>dout<="1001111";

when?"0100"=>dout<="1100110";

when?"0101"=>dout<="1101101";

when?others=>dout<="1000000";

end?case;

elsif?sel="101"?then

selout<="101";

case?s2?is

when?"0000"=>dout<="0111111";

when?"0001"=>dout<="0000110";

when?"0010"=>dout<="1011011";

when?"0011"=>dout<="1001111";

when?"0100"=>dout<="1100110";

when?"0101"=>dout<="1101101";

when?"0110"=>dout<="1111101";

when?"0111"=>dout<="0000111";

when?"1000"=>dout<="1111111";

when?"1001"=>dout<="1101111";

when?others=>dout<="1000000";

end?case;

end?if;

if?md1='0'?then---------------计时时间显示和设置模式

h1<=hou1;h2<=hou2;

m1<=min1;m2<=min2;

s1<=sec1;s2<=sec2;

end?if;

end?process?disp;

------------------------------------------

end?one;
xfjjason发表于:2007-08-19
您好!您是Java方面的专家
我是一名北大青鸟的学员
S1刚过?知道Java和C++很难
但我非常认真的学?希望成为像基尔代尔
一样伟大的人
我以后有问题可以向您请教吗??
brantx发表于:2007-08-18
您好,我是一个对编程完全的初学者,请问您能不能给我点建议从什么学起...
最好推荐我一些书或者网络上可以下载的教程,麻烦你了!
xyzj8843发表于:2007-08-18
大侠,不好意思,打扰一下。网页设计中怎样把代码尽量精简,除了编辑JS文件外,还有那些具体得方法吗?谢谢!
zjb11发表于:2007-08-16
你好
????请问在pd中设计oracle数据库,如何建立自动递增?的主键,并且删除后再增加能延续上,谢谢
walkingp发表于:2007-08-07
能加你吗
我QQ273858550
有一些技术要交流
给accesine960的留言
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|版权声明|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo