LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

probleme avec LV et NI-DAQ

Bonjour,

J'ai écrit des VI (LabVIEW 7.1)utilisant des cartes DAQ et l'assistant.
Tout marchait bien jusqu'a ce que je sois amené à changer de PC. Pour le
moment j'ai (dans l'ordre):
installe labview
installe le soft NI-DAQ
mis en place les cartes DAQ
installe les drivers
configure les taches DAQ MX

Quand j'ouvre une des VI (qui marchaient tres bien avant) LabVIEW
cherche un paquet de sub-VI et ne les trouve pas. Quelle est la marche a
suivre ?

Merci,

Jean.
0 Kudos
Message 1 of 9
(3,045 Views)
Pardon la reponse en Anglais:

Your installation order (l'ordre d'installe) seems OK.
Have you rebooted after installing when prompted?
Can you find the sub-VI files using Windows Explorer?
When Labview looks for the files, does it prompt you to locate the file manually? If so, use the dialog box to point to the file. Labview should then be able to find it.
Otherwise, something went wrong during installation.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 9
(3,045 Views)
Hi tbob,

I have rebooted when prompted. Also everything was installed on a fresly
reformated PC.

Labview asks to locate the file manually but I can't find them on the
hard drive. That's part of what I don't understand, what is the
relationship between daq and Labview? How come I can't find the daq
related icons in the menus and why a VI provided by NI (DAQ Assistant VI
for instance) do not open in labview even though i can use labview to
configure NI-DAQ tasks ?

Thanks,

Jean
0 Kudos
Message 3 of 9
(3,045 Views)
If you can't find the files manually, the DAQ drivers must have not been installed correctly. You may have to re-install DAQ. If your DAQ hardware came with a driver CD, make sure you install that one. If re-installing don't work, call NI technical support. I don't know what else would cause this problem.
- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 9
(3,045 Views)
Ok, I'll try that, thanks.

However it seems really odd to me that the DAQ cards are working fine, I
can create tasks in Max or in LV etc... but the only thing that doesn't
work is that LV can't talk to Max. Even the daq icons don't show up !
I don't get it and the manuals don't say anything about it, except that
NI-DAQ has to be installed to get the icons. Do you know about a good
documentation on that problem or on how to install everything properlly
so that it works the first time ? Everything comes from NI (the hardware
and the software) so I guessed it should be pretty easy to have it
working...

Cheers,

Jean
0 Kudos
Message 5 of 9
(3,045 Views)
Hello �

If LabVIEW cannot find the DAQ subpalette (from your description, I am assuming that is the one you are missing), the DAQ drivers might have not been properly installed.

When starting a fresh install, the correct procedure is:
1. Install LabVIEW. Reboot the computer.
2. Install the latest NI-DAQ driver that supports your board. This should have come as a driver CD (which also contains other drivers that you might or might not need, depending on your application). You can install the driver CD or you can install the drivers you need by downloading them from our website. This is also useful because it is here where you can double check that you are using the latest driver that supports your board.
N
I-DAQ Driver Support for Windows

After the installation, reboot the computer.
3. Shut the computer down and plug the hardware in. Reboot the computer. You should get a message saying that a new device has been identified. Windows will install the driver for this device and you should get another message saying that your new device has been installed and is ready to use.
4. You can now configure your board in MAX.
Data Acquisition (DAQ) Installation/Configuration Troubleshooter
5. The DAQ subpalette should appear in LabVIEW now (Functions >> All Functions >> NI Measurements).

Hope this helps!

S Vences
Applications Engineer
National Instruments
0 Kudos
Message 6 of 9
(3,045 Views)
Hi,

Thanks for answering.

This is exactly what I did so far. I will try the whole install process
again but I'm not sure it wil be any different. One thing I really don't
get is that in the LabView configuration menuI can create DAQ tasks.
That should mean that Labview is talking to MAX. I'm I wrong ?

Thanks
0 Kudos
Message 7 of 9
(3,045 Views)
Hi,

Ok, i installed everything on a brand new computer and now it works
fine. I don't get it, but it's cool.

Thanks.
0 Kudos
Message 8 of 9
(3,044 Views)
Hello �

Well, the real answer is �it depends�. I will explain below assuming that you are talking about DAQmx tasks and DAQmx virtual channels.

When you create a task directly in LabVIEW you are not talking to MAX at all. You are creating and configuring your task in LabVIEW.
If you select a task that has been already created in MAX and then you run it, then LabVIEW is reading the MAX configuration.

That is why virtual channels were not such a great advantage before. You could only create a virtual channel in MAX (not in LabVIEW) forcing LabVIEW to always read from MAX. If a virtual channel was removed, then your application did not work any more.

Hope this clarifies a little bit!

S Vences
Applications Engineer
National Instru
ments
0 Kudos
Message 9 of 9
(3,044 Views)