07-11-2005 11:08 AM
07-12-2005 12:43 PM
Hello Steve,
If I'm reading correctly, then I assume that the basic question here is whether
or not LabVIEW will be efficient enough to manipulate and process packets of
binary data quick enough to keep the system running at the speeds you
desire.
It should be no surprise that one of the biggest advantages of LabVIEW is its
ease of programming and its graphical interface. As you can probably
guess, this does come at a slight expense of efficiency (both speed and memory)
in most cases when compared to the comparable text-based program (such as what
you could do in C or C++). However, with most carefully written LabVIEW
programs the limitations of your program are your hosting computer's processor,
memory, and device communication method not the LabVIEW code itself.
Other people may also have some additional thoughts on the subject as well, but
here are a few links I found that may be of some help:
Estimating Code Complexity:
http://zone.ni.com/devzone/conceptd.nsf/webmain/344ee77586e7569f8625700d00709f1c
Memory Management in LabVIEW RT:
http://zone.ni.com/devzone/conceptd.nsf/webmain/4db571a3513c859c862568eb0075a635
Considerations in Implementing LabVIEW Real-Time Drivers: http://zone.ni.com/devzone/conceptd.nsf/webmain/87b0c23bf81d2d9786256d2400696c87.
Thanks for posting, and have a great afternoon.
Regards,
Travis M
Applications Engineer
National Instruments
07-12-2005 01:26 PM
07-12-2005 04:43 PM
07-12-2005 09:29 PM
Steve;
Could you perhaps give a few specifics of how the data channel operates? Is it a synchronous or async connection? How is the data packaged? Is it a standard protocol or application specific?
Mike...
07-13-2005 08:20 AM
Hi Steve,
The details of your system come into play early in a discussion of this type.
I am devloping an application now that sounds the same on the surface.
I suggest you look into the details of the "OSI 7-Layer Model" for an example of how to approach this type of project.
In my case I am using a set of VI's to handle incoming updates that queue to a "packet director" that in turn pass the data to entities that that are familiar with the specifics of the data.
The "Entitites" do the limit checking etc.
You should also locate Jim Kring's discussion of design patterns for inspiration on how to move the data between sub-systems.
Ben
07-13-2005 09:13 AM