Hi NI Engineer,
My task is to acquire and log Analog Input Voltage data with PCI-MIO-16E-1 and BNC 2110 connector. I can get the signal through MAX, but as soon as I drop down the DAQ assistant from function palette into block diagram in Lab VIEW, my run button becomes broken. I got the error message as "Sub VI 'DAQ Assistant': Sub VI is not executable". How can I overcome this?
Solved! Go to Solution.
What version of DAQmx do you have installed on your computer? One thing I would suggest is to try using one of our example programs. These could point us to where the problem could be happening. I would recommend the example Cont Acq&Graph Voltage-Int Clk.vi which is found in Example Finder under the folder Hardware Input/Output>>DAQmx>>Analog Measurement>>Voltage. Let me know what you find.
Thanks for your reply. I have gone through the example that you mentioned earlier, But when I tried to open the example, my run button in front panel became broken, once I clicked the run button, I got the error as “Poly VI ‘DAQmx Create Virtual Channel.vi’: polymorphic sub VI is broken”. When I clicked the error, Block Diagram opened and the error highlighted at DAQmx AI voltage Icon.
I will explain in detail about what I did. First I created a virtual channel in MAX, when I click run in MAX, I got the signal (i.e. Sine wave). After I opened LabVIEW 8.5>>Blank VI>> In the Block diagram>>Right click>> Functions Palette>> Express>> Input>> DAQ Assist. In the pop up window, Acquire signals>> Analog Input>> Voltage>> in the virtual tab I chose the virtual channel that I created in MAX>> Once I clicked OK, my run button became broken. When I clicked the run button I got the error as Sub VI is not executable.
Also I tried by right click the DAQ Assistant icon in Block Diagram>> Open front panel >> Convert>> new front panel opened. When I clicked the broken run button in new front panel, I got the same error as I got in example finder i.e. “Poly VI ‘DAQmx Create Virtual Channel.vi’: polymorphic sub VI is broken”.
We have installed LabVIEW 8.5 and LabVIEW Signal Express 2009. For Acquiring and logging data, do we need to install both the software? Please help me. Sorry for pestering questions. I am new to LabVIEW.
This is certainly weird behavior. The first thing we might try is updating your DAQmx driver. Something may have installed wrong or is corrupted. A link to our latest driver (v9.3) is below.
What operating system are you using?
Let us know if the new driver changes anything. If you are already using 9.3 driver, you may want to try to repair or uninstall the driver first.
As per your advice, I updated my driver and now it works. I get the signal in Lab VIEW. Thanks for your help.
I would like to ask one more question. I tried to launch Signal Express from start up menu, I got a little pop up window which says “Initialization Error: Could not start the application Please contact National Instruments”. What does it mean?
Do we have to purchase a separate license for this or is it a sub application of Lab VIEW?
Should I need this signal express to acquire and log analog voltage data? Help me.
Unfortunately, SignalExpress is a different license than LabVIEW. However, you don't need SignalExpress to acquire and log data. LabVIEW has every capability of SignalExpress and far more.
You're welcome! Have a wonderful Friday!
You should go ahead and create a new forum post to address this problem.
When you make the post, please explain in further detail what you are trying to do with your program and what equipment you're using.