By David Akinpelu
I am implementing a TCP connection between MyRio(client) and Python(server). The goal is to send data from the server to the client, perform some calculations, and send the result to the server. I need to keep changing the data being sent to the client. I noticed the first data works fine and the result returned to the server, but the client could not read subsequent data. I debugged and was able to detect that the error is coming from the first read function is the "Reading values subvi" but I don't know how to correct it. How do I go about it?
I have attached the files below.
Reading Unknown Bytes from TCP.vi Second_client.vi SimpleServer.py
Hello, I'm trying to send data from my RPI b+ to labview and store the information in a spreadsheet, right now the data I'm using is just a sawtooth generated in the python code but eventually it will be sensor data adquired via spi, the data comes at =~ 6-7khz but the time it takes to send the data to labview is much greater, I fear the circular buffer I intended to use to store the data before sending it via tcp will get filled pretty fast. I'm not very experienced in either python nor Labview, I was wondering if i could get some advice in the optimization of the code.
I attached the VI of the client and a VI that graphs the data on the spreadsheet, also the python code.
Thanks in advance, sorry for the mess.
By Audi Dec
Senior Engineer Cupertino, CA 95014 1 year and extendable Domain: Consumer Electronics Must have : Python, C/C++ (preferably Python), LabView • Work closely with the design team to analyze the requirements and help with defining the test criteria • Work with the team to develop the automated functional and regression tests using apple’s testing framework. • Actively participate in code reviews conducted by the developers • Evaluate existing testing methodologies and suggest new techniques that will help us deliver high-quality features faster. • Improve, maintain, and execute automated functional, regression, testing codebase • Maintain a solid understanding of Test workflows, automation best practices, and agile methodologies • Maintain proficiency in application and use of systems, tools, and processes within the Technology department. • Take a lead role in QA Roadmap initiatives Basic Qualifications: • BS/MS in Computer Science, Computer Engineering, electrical engineering or similar technical field • 3+ years of experience as a Software Development, Test Automation. • Experience in embedded hardware, software test automation. • Demonstrated experience in test framework design and development • Excellent communication, collaboration, reporting, analytical and problem-solving skills • Proficient with Agile testing methodologies and best practices Mandatory Skills: • Strong programming skills with Python, C/C++ (preferably Python), LabView Expert • Excellent fundamental knowledge of data structures, algorithms, and object-oriented design • Experience with embedded system hardware/software test automation. • Experience with Functional, factory line, diagnostic, reliability testing • Experience defining test plans and designing/developing the automation. • Experience with Linux, real time operating systems (bonus) • Passion for testing and quality engineering • Experience with bash scripting Reach me at email@example.com for more information