05-14-2012 11:20 AM
Hi,
As I'm not familiar with C code, can someone please help me convert this function to Labview (8.6)? See attached txt file.
Thanks
Labview 8.6
Solved! Go to Solution.
05-14-2012 12:04 PM
Well, you're missing a function call, so no one is going to be able to help you with that. However, did you search for CRC? There are tons of samples out there, including one I did here.
05-14-2012 12:12 PM
Here's a very direct translation. If you know that the length parameter will be equal to the length of the array, then you don't need the length parameter and you can use an auto-indexing for loop, just trim off the last element if the "create" parameter is true. (Snippet is LV 2009 but attached VI is saved for 8.6)
05-15-2012 08:08 AM
Nathand, your solution is working as I would expect.
Thanks to both of you.
03-11-2013 01:29 AM
is it possible to convert c code to labview
03-11-2013 07:47 AM
If you know what is happening in your C code, then it is generally possible to duplicate that same functionality in LabVIEW code. But that is not the same as "converting".