09-21-2023 08:32 PM
Hello,
Having issues with converting a signal (float) to a can frame using a dbc file. I am using two methods, xnet and Hooovahhs. Using xnet I can convert the positive and negative to a correct can frame. Using code inspired by Hoovahhs example I can only convert positive signals correctly and negative signals are converted to all zeros. Including example project/code/dbc file. Any ideas on what I am doing wrong?
J-
09-22-2023 12:59 AM
If you don't get a response, I suggest you post your example in a version of LV prior to 2023 to allow more users to open it.
09-25-2023 07:42 AM
Sorry I only have access to LabVIEW 2022 Q3, so I can't open it. Still you aren't the only one that suggested my frame signal conversion had an issue with negative numbers. I made a post where the code was originally developed.
I was waiting for feedback from other users to tell me if that fix addressed their issue. If it does I planned on releasing a new version with the fix. Assuming this is the correct method, I need to make a new release of the package, and that example post.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-13-2023 06:51 PM
Sorry went on vacation. Here is a modified version
Thanks for you blog. I have learned so much.
J.-
Positive number
Negative
10-20-2023 03:39 PM
Thanks so much for the demo, it was very helpful. I did find a bug in the conversion but now I have a working set of code that functions correctly. I just need some time to update packages and test a few things. The last post I made had a set of code that mostly works but has one edge case not handled correctly.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-23-2023 04:54 PM
Thanks