05-07-2015 03:16 AM - edited 05-07-2015 03:23 AM
Hi everyone,
I am working on a automatic LIN communication programm. Because of the different numbers of signal in different frames I come up with the following problem.
I caught the signals and turned them to physical values, but I can't present they seprately, and still no idea how to. Because if the database file changes, the signal and frame numbers will change. To make the problem clear, I post a picture as following, as you can see, I want to present the test results in real time, but I dont know if it is possible to add the shift register automaticly. I want to listenning if you nice people have some good idea? Thank you in advance.
best regards
Melon
Solved! Go to Solution.
05-07-2015 08:04 AM
You should not be designing your application in this way. Think encapsulation. You can have clusters of arrays of clusters of array etc, and alternatively you can have objects which can have objects inside etc.
In this way you need to come up with a design that has all of your data in a single wire that can be accessed by subVIs (or class methdos). Then if you want to update one signal you can find it in that one cluster (or object) and update it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-07-2015 08:53 AM
Thank you so much, with your help, I just solved the problem.
05-07-2015 11:13 AM
You should also be using a FOR loop on the outside, because the final number of iterations is known from the beginning.