AndreyCherepenko wrote:
> Whar is the way LabVIEW 7 for Linux communicate with
> DAQ boards ?
> Is it the same as on Windows ?
No! LabVIEW for Linux does not come with any DAQ libraries. There are
basically two options at this time:
You can download the NI Measurement Hardware DDK from NI and the
according LabVIEW VI libraries or you can use Comedi.
> Can I write application on 'C/C++', that use only low level library
> that LabVIEW based on ?
The NI Measurement Hardware DDK (and Comedi) is a C based interface with
precompiled binary libraries which you can use from your C/C++
application. The NI provided VI libraries allow access of that API from
within LabVIEW.
> It this possible on Windows with Visual C?
The NI Measurement Hardware DDK is also available for Windows in which
case it consists of a number of DLLs, header files and examples. They
are callable from any C application. But this DDK is in principle a low
level API which often requires you to go down to register level directly.
You can also call NI-DAQ (the API LabVIEW uses on the Windows platform)
from your C compiler, Visual C or whatever, but that API is not
available on non Windows platforms (oh well there was an old version for
MacOS and Sun Solaris but that is I don't know how many years old).
> With LabWindows it is possible.
> More precisely, I may use only NI-DAQ library and do
> nothing with IDE of LabWindows.
LabWindows just provides FrontPanels to the NI-DAQ libraries. It is not
a LabWindows implementation of NI-DAQ but instead it accesses exactly
the same libraries LabVIEW does or your own C application would.
> But if I right, neither LabWindows nor NI-DAQ/NI-DAQmx is't for Linux.
No! They aren't and except hopefully for a limited DAQmx library
probably never will be.
> I have some experience with LabWindows/CVI, but nothing
> with LabVIEW.
> What is principal difference between them in low level communication
> with DAQ boards ?
LabVIEW is a graphical programming environment whereas LabWindows CVI
uses C programming. The difference between LabWindows and a standard C
compiler is the standard built in support for many libraries used in
Test & Measurement, Data Acquisition etc, the extensive library of
graphical user interface components and the FrontPanels provided for all
the library functions. Nothing you couldn't do with a normal C compiler
nowadays, but they are very tightly integrated in CVI and generally
working together well.
As an experienced LabWindows CVI user it may be better to stay in that
environment than starting to use LabVIEW. LabVIEW is similar in what you
can do, a lot more comfortable for the casual programmer, but on the
other hand also a little patronizing in more advanced features. As much
as it is comfortable to generally not have to worry about memory
allocation and code frameworks before you even can start to implement
your first algorithme, it can get in the way when you try to do high
performance operations as you not only don't have to worry about memory
allocation but you have in fact limited and only indirect influence in
how memory is allocated.
Rolf Kalbermatter