07-03-2011 10:58 PM
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?
Thanks
Dhaya.
Solved! Go to Solution.
07-06-2011 12:10 PM
Hi Dhaya,
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.
Regards,
07-06-2011 09:09 PM
Hey Andrew,
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.
Thanks
Dhaya
07-07-2011
10:21 AM
- last edited on
01-23-2025
08:08 AM
by
Content Cleaner
Hi Dhaya,
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.
https://www.ni.com/en/support/downloads/drivers/download.ni-daq-mx.html#288341
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.
07-08-2011 08:49 AM
Hey Andrew,
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.
Thanks
Dhaya.
07-08-2011 10:28 AM
Hi Dhaya,
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.
Regards,
07-08-2011 12:15 PM
Hey Andrew,
Thanks for all your help. I appreciate it.
Dhaya
07-08-2011 01:00 PM
Hi Dhaya,
You're welcome! Have a wonderful Friday!
Regards,
02-18-2012 05:10 AM
Hi Andrew,
There attachment with this post i dono why the daqmx switch connect vi is not working when i use it inside any other subvi pls help.
02-21-2012 01:47 PM
Hello,
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.