12-03-2010 02:56 AM
Hello,
I've recorded some CAN frames in a NI CAN Logfile (.ncl). Now I use the VI "Display Logfile As Frames" coming from NI examples. I've modify the VI to select one Arbitration ID amonst all ID. I succed in selecting but I have a line of zeros in the display array for non interesting Arbitration ID. How I have to make to delete zeros?
To select I use a case structure. If ID is correct signal is wired to array, if not the array isn't wired to signal and I must choose "Use Default If Unwired".
Thank you
François
Solved! Go to Solution.
12-06-2010 07:34 AM
Up please, I have no more solution...
12-29-2010 07:50 AM
Hello François,
If your problem is only situated in the visualisation, then you could try to use the "Delete From Array"-function to delete a row or a column from the 2D array you get as a result (called "Frame Display")
You can find the "Delete From Array"-function in your function palette by going to Programming > Array > Delete From Array
Can you let me know if this helps you?
12-29-2010 10:22 AM
It would help if you post your code, but it sounds like you are letting LabVIEW automatically build your array for you at the exit of a loop. Instead, store your array in a shift register and put a build array function inside the case structure so that it only adds the desired elements to your array.