Comments (4)
Hello @samkristoff @spathiwa i had some success with the communication but I am stuck at Load Device config vi,
Error: in the Load Device config all the modules are working until the LSB reaches 10, once it reaches 10 instead of sending all the response packet at once the data is splitting into multiple packets(see example)
for example
when the LSB is at 10 if the data size is 0 the response packet is 255, 6, 0,10,0,0 instead of 255,6,0,10,0,15 and in the second iteration its sending 0 and 15
i am not sure why its causing this issue i sent couple of days to understand the issue but no luck, can you please let me know what's causing this issue
from linx.
Can you post a screenshot of the error.
Did you modify any of the LINX VIs?
from linx.
A couple thoughts. The UART buffer size on the device is defined here . This determines the max packet size since it has to fit in the buffer. Yours looks fine.
Decimal 10 is LineFeed (LF) in ASCII. I think the VISA driver uses LF as a delimiter by default but the LINX VI should disable that under the hood.
from linx.
Thanks for the reply @samkristoff i didn't modified any Linx vi's. "Decimal 10 is LineFeed (LF) in ASCII." this makes sense whenever the LSB or MSB bit reaches 10 its chopping the data into two
for ex if the data packet is[ 255,6,0,10,0,15] at 10 instead of sending the whole packet i am seeing [255,6,10,0,0] and [0,15,0,0,0]
this issue is only happening on STM 32 board when i tried with Arduino Uno the data was not corrupted at bit 10
One more issue that i am facing was with set device baud rate Vi, the issue was during the execution of this vi it will first disconnect the existing serial communication and reinitializes with the new baud rate right, when its reinitialize the communication instead of using the same COM port a new alias resources was created with Port binding and initializing the communication with the new alias; this is only happening on STM 32 board there was no issue with UNO
My guess was the port was not getting closed properly is there any way to make sure the port closes properly?
Note: the device was connected to COM 9
new alias were created every time when the serial was initialized
from linx.
Related Issues (20)
- LINX Simplify LINX Init HOT 1
- LINX Init - LINX Ref should be LINX Resource HOT 1
- Add Support For TC-MK2-31855
- myRIO Ignores I2C EOF Config
- Firmware Wizard output message is misleading
- Update LabVIEW Hacker to MakerHub in Firmware wizard
- Firmware Wizard does not work when VISA resource alias is changed in MAX HOT 1
- Update examples to support serial/tcp/local
- Read Pulse Width Simuluse Pulse Default Wrong HOT 1
- LINX - Thermistor Read Example broken
- Adding NodeMCU example
- Adding native chip select support for Raspberry Pi
- No need to wait after Wire.requestFrom().
- PmodTC1 Read Data Type Mismatch
- Compatibility of RaspberryPi Compute model 4
- Raspberry Pi 5 UART mapping
- SPI communication with STM32 using linx HOT 5
- I am having an issue downloading this lib in arduino ide when i download from zip it gives me error 13 (lib not valid) and it is not working when i am copying the http link either need help
- Installed LabVIEW on an armbian embedded board, but cannot call the serial port HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linx.