10-24-2024 09:21 AM
I'm refactoring an old project that uses this .vi:
DAQmx Read (Digital Bool 1Line 1Point).vi
Sometimes (not every times) this .vi fails to compile for a problem with a missing library/driver ..
Maybe this depends on this configuration:
I tried to fix it setting the library file path to C:\Windows\SysWOW64\nilvaiu.dll and C:\Windows\System32\nilvaiu.dll
but nothing changed.
Solved! Go to Solution.
10-24-2024 12:00 PM
Hi Michele,
@michele.santucci wrote:
I'm refactoring an old project that uses this .vi:
DAQmx Read (Digital Bool 1Line 1Point).vi
Sometimes (not every times) this .vi fails to compile for a problem with a missing library/driver ..
This is a VI belonging to the DAQmx driver and is provided by NI.
You should not start to mess with VIs provided by NI…
I never had problems to build executables with DAQmx so the problem is maybe related to how you installed your LabVIEW IDE!?
10-24-2024 12:06 PM - edited 10-24-2024 12:19 PM
There's a way to 'fix' the installation ?
I mean from the NI Packet Manager which Product I need to REPAIR to fix them?
10-24-2024 09:38 PM
Try repairing NI-DAQmx:
or repair just NI-DAQmx Support for LabVIEW:
10-24-2024 09:41 PM
DAQmx Read (Digital Bool 1Line 1Point).vi
Sometimes (not every times) this .vi fails to compile for a problem with a missing library/driver ..
What happens if you force compile (Ctrl + Run) the VI when the fail to compile problem occurs? Does the problem recur after clearing LabVIEW's compiled object cache?
10-25-2024 01:28 AM
Need to try this. Thnx
10-25-2024 05:11 AM
> What happens if you force compile (Ctrl + Run) the VI when the fail to compile problem occurs?
Nothin'
> Does the problem recur after clearing LabVIEW's compiled object cache?
Well... I learned how to do this just after I fixed the error by replacing DAQmx VIs ... next time I'll try this.
10-25-2024 05:14 AM
I reinstalled all DAQmx support and replaced one of the original code VI with an older version.
This fixed everything.
Anyway the only thing I changed into this VI was a diagram cleanup...
10-30-2024 10:51 AM - edited 10-30-2024 11:03 AM
I fighting again with DAQmx ... I have a couple of old VIs that will not compile because of these errors:
Both VIs uses a Channel Node in this way:
But as you can see the Channel Node is not correctly referenced/populated .. and I can't understand where's the problem.
And moreover I finally noticed that this section of components pallette is not populated with DAQmx items:
I tried to repair NI DAQMx support but nothing changes.
There's a way to force LabView to update the component pallette ?
I'm missing packages?
And also examples are missing:
???
BTW I'm using LabView 2013 SP1.
10-30-2024 12:46 PM - edited 10-30-2024 12:46 PM
Hi Michele,
@michele.santucci wrote:
BTW I'm using LabView 2013 SP1.
And why did you install DAQmx2024Q3.1 when you still use LabVIEW2013SP1?
This combination will NEVER work!
Please install DAQmx13 to DAQmx16 for your LV2013 installation: this is the suported range!