-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to use Linx with STM32F4 #129
Comments
Hello @samkristoff @spathiwa i had some success with the communication but I am stuck at Load Device config vi, for example |
Can you post a screenshot of the error. |
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. |
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 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 |
Hello
I am trying to develop custom firmware with linx to talk with STM32F446ZE board(BTT octopus V1.1). the board is working using custom firmware built using platformIO, now i am trying to integrate linx to the firmware so i can control the board using labview, i was able to integrate linx with my firmware without any errors but when i tried to run a Manual Blink example from labview i was getting Error 5003.
here is the link to the project
https://github.com/L1ikhith/Linx-STM32f
I am not sure where i went wrong can anyone help me with the issue
@samkristoff @spathiwa the issue was in labview the VISA module is writing data [255,7,0,1,0,0,7] to the serial without any error but when VISA module reads the serial instead of getting [255, 7] i am getting some random data [82,101]
The text was updated successfully, but these errors were encountered: