• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 如何确保正在传输的字节数是否安全?

    我正在研究定时器的使用和设置,其中一件我不确定的事情是阅读下面的方框图。我的问题是带有斜线和数字的行,假设这表示它正在传输那个字节数是否安全?

    2019-09-25 14:40

  • 从MPLAB X编写Xpress评估板失败

    我使用的是一个16F1887Xpress板,从MPLAB X通过“拖放”编程没有问题,但是根据文档,您可以通过添加'CP${IMAPATAT} J:\'(我的Express板是J::')来自动执行编程过程,以“在构建后执行”和“滴答”,但是这不工作。构建失败了,并说:有人这样做了吗?我在做傻事吗?. 以上来自于百度翻译 以下为原文 I'm using a 16F18877 Xpress board and having no problems programming via 'drag and drop' from MPLAB X, but according to the documentation you can automate the programming process by adding 'cp ${ImagePath} J:\' (my Express board is J:\) to 'execute after build' and ticking it, however this doesn't work. The build fails and says: make[2]: Leaving directory 'C:/Compiler/XPress/ST7735_Demo/5110_Demo.X'"--------------------------------------""User defined post-build step: [cp {ImagePath} J:\]"nbproject/Makefile-default.mk:103: recipe for target '.build-conf' failedmake[1]: Leaving directory 'C:/Compiler/XPress/ST7735_Demo/5110_Demo.X'nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failedcp: unrecognized option `--------------------------------------'Try `cp --help' for more information.make[1]: *** [.build-conf] Error 1make: *** [.build-impl] Error 2 Has anyone got this working?, and am I doing something silly?.

    2018-12-06 15:51

  • ESP8266在随机时间间隔后没有响应是为什么?

    * passwordToOpenDoor = \"/87\"; //password should begin with a slash const int doorPin = 5

    2023-06-07 08:38

  • 将PSoC Creator4.0项目导出到Eclipse Neon时出现问题

    我有一个问题,出口PSoC创建者4.0项目到Eclipse霓虹灯。软件版本Eclipse:4.6PSoC Creator:4.0.0.432我安装了PSoCoCurtoEclipse IppIngV2.3.1.Zip,然后导出了PSOC创建者项目。然后,用PSoC Creator Project目录在Eclipse中创建新的C项目,如PSoC Creator帮助中所示。在设置交叉GCC命令的步骤中,我设置PSoC Creator ARM工具作为PSoC Creator帮助说明,但是按钮“Next”和“FEAR”被禁用(灰色OUTED)。当我在Eclipse MARS2中尝试相同的序列时,它是成功的。Eclipse霓虹灯不支持了吗?问题解决方案254.3 K 以上来自于百度翻译 以下为原文I have a problem with exporting PSoC Creator4.0 project to Eclipse Neon. Version ofsoftware is Eclipse:4.6.2 PSoC Creator:4.0.0.432 I installed PSoCCreatorEclipse_Import_v2.3.1.zip, then exported PSoC Creator Project for eclipse. Then, created new C project in eclipse with PSoC Creator Project directory, as shown in PSoC Creator Help. At the step of set Cross GCC Command, I set PSoC Creator arm tools as PSoC Creator Help say, but button "Next" and "Finish" are disabled(gray outed). When I tried same sequence in eclipse Mars2, It was successful. Is Eclipse Neon out of support yet? ProblemScene.png 254.3 K

    2019-07-01 14:47

  • E5071C命令转储图像语法错误

    嗨,我有问题尝试使用PYVISA(SCPI命令)获取VNA E5071C的转储图像下面是我的代码:import visa rm = visa.ResourceManager()myvna = rm.open_resource(rm.list_resources()[0 ])打印myvna.write(mmem:stor:imag“”D:picture.png“”“)我尝试了几个实例,如大写,小写,单引号等。前三个命令有效(我正在使用) shell一次输入一个命令)我知道我正在与正确的设备通话。我可以将文件从VNA(手动转储图像)传输到主机,但出于某种原因我无法接受VNA的转储图片。请帮助。感谢编辑:rudy022于2015年10月1日5:07 AM编辑:rudy022于2015年10月1日上午5:13 以上来自于谷歌翻译 以下为原文Hi, I'm having issues trying to take a dump image of the VNA E5071C using PYVISA (SCPI commands) Below is my code: import visa rm = visa.ResourceManager() myvna = rm.open_resource(rm.list_resources()[0]) print myvna.write (mmem:stor:imag ""D:picture.png""") I tried several instances such as upper case, lower case, single quotes, etc.The first three commands work (I'm using shell to enter one command at a time) and I know I'm talking to the right device. I can transfer files from the VNA (a dump image taken manually) to the host computer, but for some reason I can't take the dump image of the VNA.Please help. Thanks Edited by: rudy022 on Oct 1, 2015 5:07 AMEdited by: rudy022 on Oct 1, 2015 5:13 AM

    2018-09-21 11:36

  • 无法打开包含文件pconfig.h:没有这样的文件或目录

    具有XC8 V 1.33的MPLABX 3.55工作良好(我知道这个版本包含n个PLIB)MPLABX 3.55,XC8 V 1.41没有工作(我安装了PLIB:“外围图书馆- FPIC18-V2.00 RC3- Windows安装程序”),我试着用其他代替路径:“包括”:\程序文件\ Microchip \xC8\v1.41in它不工作。我也得到这个错误:C:\Microchip \xC8\v1.41包含/PLIB \USART.H:32:错误:(141)无法打开包含文件“pCONFIG.H”:没有这样的文件或指导我试图使用MPLABX和XC8的最后版本。我能做些什么来修复它?“谢谢”我的计算机使用Windows 81-代码来测试:{定义“有用”或“掩码”,包括:“USART.H”无符号CHAR RXDATA(25);未签名的CHAR TXDATA[] =“MychChIPUSAT”;无效主(空){无符号char CONFIG=0,SPBRG=0,BAdCONFIG=0,i=0;CluteUsAt();/关闭以前的U/ART,/UN 8.17。iPIC18F外设库帮助文档USAT示例// 1268 ///3//-----配置USAT ---CONFIG = UARTARGTXIN IOXOFF USAARTH RXIN TIOXOFF USAARTH ASYNCHCHY MODE USAARTH EUTAREZY比特UASARTH CONTROXRX USAARTH BRGHYLL;//SPBRG需要根据振荡器频率改变-SPRBRG=51//8MHz的振荡器频率和波特率为2400。OpenSART(CONFIG,SPBRG);//API为需要的参数配置UART;BUDCONFIG=BUDY88BITSURGATE BaUdAutoXOFF;BUDUSAT(BAUDCONFIG);//--USAT传输(BuyUsAtter());/ /检查Usart是否忙或NoPTPUSAT((char))TXDATA);/ /发送String //USAT接收-GETSUBART((CHAR *)RXDATA,24);/ /接收数据到24字节(BuyUsAtter());/检查Usart是否忙或NoPoT SUSTART((CHAR*)RXDATA);/ /回送接收到HoSTOLCEUSTART()的数据;而(1);/ /程序结束} 以上来自于百度翻译 以下为原文 mplabx 3.55 with xc8 v 1.33 works fine (I know this versión includes Plib)mplabx 3.55 with xc8 v 1.41 doesnt work (I installed Plib: "peripheral-libraries-for-pic18-v2.00rc3-windows-installer"), I tried with other instead of path: #include "usart.h"#include "C:\Program Files\Microchip\xc8\v1.41\include/plib\usart.h" doesnt work. I got this error too:C:\Program Files\Microchip\xc8\v1.41\include/plib\usart.h:32: error: (141) can't open include file "pconfig.h": No such file or directoryI'm trying to use the last versions of Mplabx and xc8.What can I do for fix it?, thanksMy computer use Windows 8.1 Code to Test:#define USE_OR_MASKS#include #include "usart.h"unsigned char Rxdata[25];unsigned char Txdata[] = "MICROCHIP_USART";void main(void){unsigned char config=0,spbrg=0,baudconfig=0,i=0;CloseUSART(); //turn off usart if was previously on//8.17 Universal PIC18F Peripheral Library Help Document USART Examples//1268//8//-----configure USART -----config = USART_TX_INT_OFF | USART_RX_INT_OFF | USART_ASYNCH_MODE | USART_EIGHT_BIT |USART_CONT_RX | USART_BRGH_LOW;//-----SPBRG needs to be changed depending upon oscillator frequency-------spbrg = 51; //At 8Mhz of oscillator frequency & baud rate of 2400.OpenUSART(config, spbrg); //API configures USART for desired parametersbaudconfig = BAUD_8_BIT_RATE | BAUD_AUTO_OFF;baudUSART (baudconfig);//------USART Transmission ----while(BusyUSART()); //Check if Usart is busy or notputsUSART((char *)Txdata); //transmit the string//---USART Reception ---getsUSART((char *)Rxdata,24); //Recieve data upto 24 byteswhile(BusyUSART()); //Check if Usart is busy or notputsUSART((char *)Rxdata); //echo back the data recieved back to hostCloseUSART();while(1); //end of program}

    2019-04-17 15:03

  • 在本地USB棒上保存波形语法错误

    我正在使用一套DSOX3SGM,分段存储器应用程序,用于3000 X系列示波器,由基于LabWindows的DAQ系统远程操作。由于从所有示波器通过TCP / IP连接传输数据需要很长时间,我想将波形保存到我放在示波器上的相应USB驱动器上。我可以手动完成。但是,我想通过我的程序中的远程应用程序来完成它。我使用以下语法:: SAVE:WAVeform:FORMAT ASCiixy:SAVE:WAVeform:LENGth max:SAVE:WAVeform:SEGMented ALL:SAVE:WAVeform:STARt \\ u*** \ test.csv我的前三个命令成功执行,但第四个命令执行永远不会工作它说INST错误-101,无法识别的字符。我正在使用C编码,我甚至printf我发送的命令,所有不同的选项,但没有成功。请帮助我,我知道我在做一些愚蠢的错误。非常感谢您的帮助。 以上来自于谷歌翻译 以下为原文I am using a set of DSOX3SGM, Segmented Memory Application for 3000 X - Series Oscilloscopes remotely operated by a LabWindows based DAQ system. Since transfer of data from all the oscilloscopes through TCP/IP connection takes long time, I want to save the waveforms to the respective USB drives I put on the scopes. I can do it manually. However, I want to do it through remote application in my program. I used following syntaxes: :SAVE:WAVeform:FORMat ASCiixy :SAVE:WAVeform:LENGth max :SAVE:WAVeform:SEGMented ALL :SAVE:WAVeform:STARt \\u***\test.csv My first three commands executed successfully, but the fourth one never working. It says INST Error -101, unrecognized character. I am using C coding, I even printf the command which I sent, all different options, but no success. Please help me, I know I am doing some silly mistake. Thank you very much for your help.

    2019-02-28 09:16

  • 可以使用基于Vivado的System Generator来开发ISE系统吗?

    我的PC上安装了ISE Design Suite 14.7和Vivado 2016.4。(我保持安装ISE Design Suite 14.7,因为这是我的Spartan-6产品的开发平台.Vivado 2016.4与Spartan-6不兼容。据Xilinx称,Vivado不支持任何早于7系列的设备系列。)根据以下说明,Xilinx System Generator可以嵌套在ISE Design Suite下。在我的PC上,Xilinx System Generator嵌套在Vivado下。可以使用基于Vivado的System Generator来开发ISE系统吗?或者是否有必须安装到ISE的独立Xilinx系统生成器?参考:DSP设计流程研讨会Atlys Board(XUP)验证安装通过选择开始>所有程序> Xilinx设计工具> ISE Design Suite 14.2>系统生成器> System Generator Matlab配置器并选择Matlab 2012a,为Matlab 2012a配置System Generator选择开始>所有程序> Xilinx设计工具> ISE Design Suite 14.2>系统生成器>系统生成器启动Matlab在matlab命令提示符下输入simulink以调用simulink我意识到研讨会列出了Matlab2012a。我安装了Matlab R2016b和Matlab R2017a。哪一个与Xilinx System Generator兼容?我是否需要删除所有工具,并从干净安装完整的ISE Design Suite 14.7开始,而不是Web包,并摆脱Matlab R2017a?以上来自于谷歌翻译以下为原文 I have ISE Design Suite 14.7 and Vivado 2016.4 installed on my PC. (I'm keeping ISE Design Suite 14.7 installed as that is my development platform for Spartan-6 products. Vivado 2016.4 is not compatible with Spartan-6. According to Xilinx, Vivado will not support any device families older than the 7 series.) According to the instructions below, Xilinx System Generator is found nested under ISE Design Suite.On my PC, the Xilinx System Generator is nested under Vivado.Can the Vivado based System Generator be used to develop systems for ISE?Or is there an independent Xilinx System Generator that must be fitted to ISE? Reference: DSP Design Flow Workshop Atlys Board (XUP) Verify installationConfigure System Generator for Matlab 2012a by selecting Start > All Programs > Xilinx Design Tools > ISE Design Suite 14.2 > System Generator > System Generator Matlab Configurator and select Matlab 2012a Start Matlab by selecting Start > All Programs > Xilinx Design Tools > ISE Design Suite 14.2 > System Generator > System Generator Enter simulink at the matlab command prompt to invoke simulink I realize the workshop lists Matlab2012a.I have Matlab R2016b and Matlab R2017a installed.Which one of these is compatible with Xilinx System Generator? Do I need to delete all the tools, and start with a clean install of a full ISE Design Suite 14.7, not the web pack, and get rid of Matlab R2017a?

    2018-12-27 10:55

  • 请问在MPLAX中有什么特别的东西要生产吗?

    如果是的话,在MPLAX中有什么特别的东西要生产吗?我看到.HEX文件和.O文件,但不是.s,或.ASM。 以上来自于百度翻译 以下为原文 And if so, is there anything special one has to do in MPLAB X to produce them? I see .hex files and .o files, but not .s, or .asm.

    2019-06-17 09:47

  • 请问我是否可以通过outlook使用vee发送带ATTACHMENT的邮件?

    嗨,我正在使用vee 7.51版本,并在其示例directoryexamples / ActiveXAutomation / OutlookSendMail.veethere有一个关于使用outlook发送邮件的例子。我写信是否可以通过outlook使用vee发送带ATTACHMENT的邮件?如果是,请你给我任何提示或建议吗?你的帮助将非常感谢!你的,伊柳 以上来自于谷歌翻译 以下为原文Hi,I am using the vee 7.51 version andin its examples directoryexamples/ActiveXAutomation/OutlookSendMail.veethere is one example about send mail using outlook.I am writing to ask whether it is possible to send mail with ATTACHMENT via outlook using vee?If yes, would you please give me any hints or suggestions?Your help would be really appreciated!Yours,Yiliu

    2019-06-17 09:38