04-04-2016 02:55 PM
I've written a basic program that captures a voltage signal, plots it, and writes it to a file, but when I run it, I keep getting this error:
"Error -200428 occurred at Value passed to the Task/Channels In control is invalid."
I have attached a copy of my VI. Initially, I did not have the "DAQmx Base Create Task" VI in the block diagram and I was getting the above error. After searching through some documentation, it seemed that the issue was that I needed to put the "Create Task" VI in when using DAQmx Base. Unfortunately when I did that, I still kept getting the same error.
Is there something I am doing wrong here?
Here are my software/hardware information:
Operating Software: Mac OS X 10.11.14
Hardware: NI myDAQ
Software: LabVIEW 15.0 (64-bit)
Drivers: NI DAQmx Base 15, NI VISA 15.5, NI-488.2 15.5, NI-DAQmx for myDAQ on Mac OS X (all for OS X)
Solved! Go to Solution.
04-05-2016 12:37 AM - last edited on 12-20-2024 11:34 AM by Content Cleaner
Hi,
Before going for further stpes kindly go through the link https://www.ni.com/en/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-handl... to get good knowledge on development of Daq. hope this is helpfull.
The issue is with the input , an invalid input is givin to the daq mx vi. go through the link so that you will be able to solve it.
kudos Welcome 😄
04-05-2016 09:25 AM - last edited on 12-20-2024 11:34 AM by Content Cleaner
AliMoradi wrote:
I've written a basic program that captures a voltage signal, plots it, and writes it to a file, but when I run it, I keep getting this error:
"Error -200428 occurred at Value passed to the Task/Channels In control is invalid."
<snip>
Here are my software/hardware information:
Operating Software: Mac OS X 10.11.14
Hardware: NI myDAQ
Software: LabVIEW 15.0 (64-bit)
Drivers: NI DAQmx Base 15, NI VISA 15.5, NI-488.2 15.5, NI-DAQmx for myDAQ on Mac OS X (all for OS X)
Hi Ali.
You are encountering that error because NI-DAQmx Base does not support the NI-myDAQ device. You do have NI-DAQmx for myDAQ installed, however, which does support that device.
See the instructions here to confirm that the device and driver are communicating correctly:
Getting Started With NI-DAQmx for myDAQ on Mac OS X
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGeoCAG&l=en-US
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)