11-27-2012 12:00 PM
I am developing an application using DAQmx and every time I need to access a DAQmx task or global channel constant, or any VI utilizing DAQmx my development computer momentarily freezes.
When I try to click on another VI my screen will go white. This can last between a few seconds to almost a minute. Once the VI is open I can edit it without any more issues.
It looks as if LabVIEW tries to load the entire DAQmx library every time I modify any type of VI utilizing DAQmx.
This is on my development machine, and I have no acquisition cards installed. I do have a virtual DAQmx card in MAX that I'm using for development.
I have no issues when I build an executable and deploy the program on my target.
This is really an annoying issue on my development machine.
Has anybody experienced this issue, and is there a way to fix this?
I'm using LabVIEW 2011 SP1 11.0.1f2 (32bit)
NI-DAQmx Device Driver 9.4.0f5
Anny suggestions would be much appreciated.
11-28-2012 01:45 AM
Your computer freezes when you just open the code containing the DAQmx or while running the code and opening other vi's? You have already launched LabVIEW and tried to open the DAQmx code or you directly opened the code? Did you check the task manager memory and CPU usage?
Please answer these questions so that we can narrow down the issue.
11-28-2012 11:13 AM
Thank you for responding.
The windows Task manager shows almost no CPU loading.
When I run the freeware "Process Monitor" and watch the LabVIEW.exe process is see that during the freezing it is trying to connect to my target.
I am developing for a LabVIEW RealTime project that will be deployed to a PXIe controller running LabVIEW RT. In the process monitor it is trying to connect to the IP address of the PXIe controller.
I have tried adjusting settings in the project manager, but nothing seems to change this behavior.
In the process manager LabVIEW is a very busy program accessing tons of stuff in the registry, reading/writing to the hard drive, and a lot of stuff that I can only guess. When it tries to initiate a TCP Reconnect to my target everything stops. Absolutely everything stops, as if I found a pause execution button for LabVIEW.exe.
This only seems to happen when I open VI's that use DAQmx.
Any suggestions?