Error 200428 creating task in DAQmx Base

I wrote a basic program that captures a voltage signal, plots and written to a file, but when I run it, I get this error message:

"Error-200428 occurred at the value passed to the control task/channels is not valid."

I enclose a copy of my VI. At first, I do not have the VI 'DAQmx Base create a task' in the block diagram, and I was getting the above error. After a search through some documents, it seems that the problem was that I had to put the VI to "Create a task" in when you use DAQmx Base. Unfortunately when I did, I kept getting the same error.

Y at - it something I'm doing wrong here?

Here is my software/hardware information:

Operating system: Mac OS X 10.11.14

Material: NEITHER myDAQ

Software: LabVIEW 15.0 (64-bit)

Drivers: DAQmx Base 15 OR 15.5, 15.5 OR-488 VISA. 2 NOR-DAQmx for myDAQ on Mac OS X (all for OS X)

AliMoradi wrote:

I wrote a basic program that captures a voltage signal, plots and written to a file, but when I run it, I get this error message:

"Error-200428 occurred at the value passed to the control task/channels is not valid."

Here is my software/hardware information:

Operating system: Mac OS X 10.11.14

Material: NEITHER myDAQ

Software: LabVIEW 15.0 (64-bit)

Drivers: DAQmx Base 15 OR 15.5, 15.5 OR-488 VISA. 2 NOR-DAQmx for myDAQ on Mac OS X (all for OS X)

Hi Ali.

You encounter this error, because NEITHER-DAQmx Base does not support unit OR-myDAQ . You have NEITHER-DAQmx for myDAQ installed, however, that supports this feature.

See the instructions here to confirm that the device and the pilot communicate properly:

Get started with NOR-DAQmx for myDAQ on Mac OS X

http://www.NI.com/Tutorial/52345/en/

Tags: NI Software

Similar Questions

  • Error to Start Task.vi DAQmx 200120

    Hi all

    I am creating a task entry and exit on two different lines of the same Port. When I do this in the measurement and Automation Explorer, the port works very well with the input and output lines, but when I do it by programming in LabVIEW, I get an error in the Task.vi start DAQmx.

    I'd be happy if someone of you could let me know why this is happening. (As the code should be kept confidential, I can't provide the screw )

    Kind regards
    Nitz

    Nitz,

    You see this error with which camera?  Most of the more recently designed devices (M series, X series) allow digital to be configured individually.  However, some devices that were designed more there only support with configurable port.  This would be true for PXI-65xx devices or material of the E series.

    Hope that helps,

    Dan

  • Tasks of DAQmx Digital i/o-error-200170

    I'm working on a project to use DAQmx for write and read digital channels, as well as monitor the thermocouples.  There are already source code that initializes the tasks of channels HAVE thermocouples.  I tried to imitate (to some extent) that was task initlization HAVE it, except that I read that there is a VI DAQmx flatten that allows me to send a picture and the channels I want and then create tasks and virtual channels.  I posted a picture of my code.  The error I get is-200170 for the DI and the DO.  Can someone please explain what I'm doing wrong and what it is that I do not understand about tasks?  Please and thank you.

    My guess is that the values of "ports" are disabled.  I do not know what DAQ you, but in my experience, usually you have/port0/$line0, line1/port0 /... / port0/line6, line7/port0 /, then you start the next with $line0/port1 port /, / port1/line1, etc..

    Basically grouping them 8 lines / port.

    Now you try/$line0/port0, port1/line1 /... / port31/line31.

  • Difference between DAQMX and DAQMX base. Task list empty

    Hello

    Can someone please explain the difference between NOR-DAQMX and NIDAQMX base?

    I have recently installed Labview10.0 and NOR-DAQMX base on linux opensuse 11.4 3.4.0. Everythinng works very well. The device is recognized by labview and I put my controller and chassis using nipxiconfig. The DAQ assistant function is missing and also the drop down task and channels is empty, even if I create a new task using the basic NIDAQMX configuration utility.

    Can you get it someone please let me know where I'm going wrong?

    Thank you

    The DAQ Assistant is a Windows program only, DAQmx only.  It not Linux or with DAQmx Base.  DAQmx basic tasks and channels are a little different (I think) counterparts DAQmx.  The fall to the bottom of the list of basic parts, or is it only DAQmx?

    Lynn

  • -200428 - change a channel in a predefined task of DAQmx

    I was sure that I had done this before, but maybe not.  I have a Setup task in MAX spanning 3 different analog input modules on a cDAQ chasssis.

    I'm trying to change the type of thermocouple on the TC channel from the installation configuration data.  So, I have the task selected as a constant and feed it into a knot DAQmx task to the list of channels.  I can see the list of channels very well and all channels are present, but when I try to break the chain of the thermocouple out of the table and feed it into a knot DAQmx Channel, I get an error-200428, that value must reference a valid task or valid virtual channels.

    Clues?

    Hey Mike,

    Can please try as shown in the jpg attached you.

    Christian

  • error-200428

    Hello

    I'm trying to run a program that records temperatures, but I'm having the following problem:

    The program as a vi works he recorded temperatures and stores all data as expected.  Also, if I run the executable on the same pc that created the exe file it works.  However when I do this in an excutable and try to run it on another pc, the program stops gives me error-200428 and States ' property Node DAQmx Timing (arg 1) in DAQmx Timing(Sample_Clock).vi:1-> 16_ThermocoupleDAQ (triggered) .vitask name:LogData "How can I fix this error?

    Please help it is urgent.

    Thank you

    Chris

    If you have created a task to the MAX instead of in code, you must export the hardware configuration of your pc and import it on the other pc. When you create a Setup program (and you must create a Setup program), there is an option to do this.

  • Clock and hw external trigger with USB-6210 on Linux with NOR-DAQmx Base?

    I have two devices USB-6210 I need to synchronize so that they both collect data exactly at the same time. I was told by support OR I can send the clock off Dev1/PFI4 and have the two USB-6210 s read the clock in through their own PFI0. I also want to trigger data collected for each device by sending a trigger off Dev1/PFI6 and have two devices to receive the signal on PFI2.

    All my attempts to try this are filled with error messages and my research online seem to say that's not possible with USB devices on NOR-DAQmx Base 3.4.0f2 on Linux.

    I "ve tried using example AI programs and those who do not seem to work either for external clocks. Here is the code I tried:

    #include "NIDAQmxBase.h"#include 
    
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    
    int main(void){    // Task parameters    int32       error = 0;    TaskHandle  taskHandle = 0;    char        errBuff[2048]={'\0'};    int32       i;
    
        // Channel parameters    char        chan[] = "Dev1/ai0";    float64     min = -10.0;    float64     max = 10.0;
    
        // Timing parameters    char        clockSource[] = "/Dev1/PFI7";    uInt64      samplesPerChan = 1000;    float64     sampleRate = 10000.0;
    
        // Data read parameters    #define     bufferSize (uInt32)1000    float64     data[bufferSize];    int32       pointsToRead = bufferSize;    int32       pointsRead;    float64     timeout = 10.0;
    
    printf("Calling CreateTask...\n");    DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));printf("Calling CreateAIVoltageChan...\n");    DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_Cfg_Default,min,max,DAQmx_Val_Volts,NULL));printf("Calling CfgSampleClkTiming...\n");    DAQmxErrChk (DAQmxBaseCfgSampClkTiming(taskHandle,clockSource,sampleRate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,samplesPerChan));printf("Calling StartTask...\n");    DAQmxErrChk (DAQmxBaseStartTask(taskHandle));printf("Calling ReadAnalogF64\n");    DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByChannel,data,bufferSize,&pointsRead,NULL));
    
        printf ("Acquired %d samples\n", pointsRead);
    
        // Just print out the first 10 points    for (i = 0; i < 10; ++i)        printf ("data[%d] = %f\n", i, data[i]);
    
    Error:    if( DAQmxFailed(error) )        DAQmxBaseGetExtendedErrorInfo(errBuff,2048);    if(taskHandle != 0) {        DAQmxBaseStopTask (taskHandle);        DAQmxBaseClearTask (taskHandle);    }    if( DAQmxFailed(error) )       printf ("DAQmxBase Error %d: %s\n", error, errBuff);    return 0;}
    

    When I run the resulting program, I see this:

    $. / acquireNScans-ExtClk
    The CreateTask call...
    Call for CreateAIVoltageChan...
    Call for CfgSampleClkTiming...
    Error-89136 DAQmxBase: route specified cannot be satisfied, because the hardware does not support it.

    For example, a clock and a trigger can be imported via one of the PFI lines by using a USB-6210 on Linux with NOR-DAQmx Base? A clock and a trigger exportable via one of the PFI lines?

    If so, does anyone have the code example illustrating how to do this, or can you at least tell me the names of the lines ("PFI0/Dev1" or other) so I can try again?

    Clues or suggestions would be helpful.

    Thank you

    -Tom

    The clockSource in the example specifies an output rather than an input channel channel. Change source "/ Dev1 / PFI0" solved the problem.

    Please close this post.

  • Why do I get error 200428 executable?

    I had a NOR-DAQ application correctly by using a project under development LabVIEW 8.6 and 8.8 NOR-DAQ.  When I use the same exact project to build the executable on the same PC, I get error 200428 - "measures: value passed to the control task/channels is not valid" when starting.  How could it be?  I use tasks DAQ built with the DAQ Assistant and stored in the project.

    For the record, I solved this problem by importing for MAX kept project file: Build\Data\NI-DAQmx.ini.  It imported all my tasks DAQ to MAX and the executable is now working properly.  Thank you.

  • NOR-DAQmx Base 2.0 and Win Mobile 5

    Hello

    Can someone tell me if NEITHER-DAQmx Base 2.0 is compatible with Win Mobile 5 devices?

    I try to capture analog voltages and my app very well builds and the charges for the PDA and the PDA does not see the DAQ (6062E) PCMCIA card that I use.

    I ran the installer of 'Base' which has copied the Base/s driver file in the PDA (and I have the basic task OK configuration in VI), but the PDA comes up with an error "unrecognized card". I deleted the driver/s of the PDA database and reinstalled them but without success.

    Is that all just because the Base 2.0 is not compatible with Win Mobile 5?

    Is there a way I can get 2.1 base to work with LV-Pro-8 and PDA - 8 or y at - it another way I can get the drivers on the PDA that handles the card under Win Mobile 5 6062.

    Any help would be greatly appreciated,

    Thank you

    Paul.

    Hi James.

    Sorry for my late reply.

    The problems are a combination of LV8.0, Base 2.0 and hardware failure.

    In the end I went with LV8.6, Base 3.2 and Win mobile 5 with 6024E PCMCIA card or 6062E.

    The basic hardware config utility is a bit different and took a little of violin to go. I also found some documents that lead me the wrong path re save for the project or unit basic tasks, but now I understand it's all good.

    I don't know if your customer still has problems, but I'm more than happy to help if I can.

    Thanks for your help as well.

    Best regards

    Paul.

  • error-200428 in LV 8.6 but not in LV 8.0

    Moved a VI for the acquisition of data from computer with LV with LV 8.6 8.0.

    An error occurs on the new system, which does not occur on the former: "error-200428 occurred at the Node DAQmx Read property (arg 1) to four analog channels Collection.vi.  Using the error says: "measurements: value passed to the control task/channels is not valid."  The value must reference a valid task or virtual channels valid. "Why is it not the task of acquiring a task validates?  It seems to be valid in 8.0.

    The VI is attached.  It was recorded in BT, on a LV system 8.6 8.0 compatibility mode.

    Thank you

    Bill

    You have four channels on the new configuration computer task? Take a look at the following:

    Saving the Configuration of system of Measurement & Automation Explorer (MAX)

    Also, I recommend that you consider the design of producer/consumer model where data acquisition can occur in the loop of producer and your file IO in the consumer. To view a model, go to file-> New... andlook for design of producer/consumer model.

  • Problem with NOR-DAQmx Base on Scientific Linux 3.4

    Hello everyone.

    I'm trying to install the driver OR-DAQmx Base 3.4 on Scientific Linux 6.0, but I got these errors:

    On this text said that Scientific Linux 5.4 and 5.5 is supported.

    Can anyone help me or 6.0 is not supported?

    Hello decadence,

    Thank you for posting.  Your post, it seems that the problem occurred while trying to install NI VISA 5.0.  Unfortunately, the only versions of Linux that are officially supported by our pilots and implemented to date are those listed in the Readme of each product.  In the Readme for NEITHER VISA 5.0, Scientific Linux versions 5.x are supported, but Scientific Linux 6.0 is not in this list, nor in the Readme for DAQmx Base 3.4.  I hope this helps.

    Kind regards

    Joe S.

  • NOR-DAQmx Base on 18 Fedora i386

    I try to install NOR-DAQmx Base 3.6.0 - f0 on 18 Fedora i386.

    (I used so far with success OR-DAQmx Base on a Fedora 14 i386 3.6.5)

    When I run the installation of NI-VISA program in the nivisa subdirectory, I get this message:

    Pre Installation.
    After the Installation.
    Pre Installation...
    Préparation...                       ################################# [100%]
    the file/usr/local/natinst comes into conflict with the installation of nipxipfki attempts - 1.5.1 - f0.i386 and nimxdfi - 1.12.0 - f0.i386
    the file/usr/local/natinst comes into conflict with the installation of nispyi attempts - 2.8.0 - f0.i386 and nipxipfki - 1.5.1 - f0.i386
    the file/usr/local/natinst comes into conflict with the installation of nipxipfi attempts - 1.5.1 - f0.i386 and niapalerri - 2.1.1 - f0.i386
    the file/usr/local/natinst comes into conflict with the installation of niiotracei attempts - 3.0.1 - f0.i386 and nipxirmi - 2.7.3 - f0.i386
    Error when installing NI-VISA for Linux 5.2.0f0.

    So something was wrong with RPM in the next line of the SETUP file:

    $RPM - Uvh $RPMOpts $installPackageList

    It seems that there is conflict bewteen packages...

    Any idea?

    I have to install all of those packages to run the NI USB-6008 case?

    Yes, someone in this group could have fallen on the same issue.

    Hope this helps,

  • Problem DAQmx Base Examples

    Who what to compile the Mac DAQmx Base examples?

    I get a lot of errors. See annex.

    Hi Ben_01880,

    It is a known issue with Mac OSX and DAQmx Base. It happens when OS x starts in the 64-bit kernel instead of the 32-bit kernel which requires DAQmx Base. Here is a workaround in the DAQmx Base Help file:

    "Xcode 3.2 or later by default to 64-bit (x86_64) architecture at the call of the GCC on 32-bit OSX 10.6 If the 64-bit system hardware." This will result in errors during compilation. To resolve these errors, force gcc to use the 32-bit (i386) architecture in OSX for 32-bit installations by adding "-arch i386' for flags in your Makefile:"

    "Flags =-O2-arch i386 '.

    There is also an article on Mac support site that shows how to force OS x to start the 32-bit kernel on a basis of by-boot:

    http://support.Apple.com/kb/ht3773

    Finally, there is a forum OR discussion about this problem and how people were able to solve it. I link you to it because it's a good resource:

    http://forums.NI.com/T5/Multifunction-DAQ/NIDAQmxbase-compatibility-with-Mac-OS-X-10-6/m-p/1433896#M...

    I hope this helps, let us know if you still have problems!

  • Impossible to compile examples of NOR-DAQmx Base 3.4 installation of Red Hat

    By typing 'make' in/usr/local/natinst/nidaqmxbase/examples/I gives the following error: $ make gcc-I /... / include - O2 - lnidaqmxbase o acquireNScans/usr/bin/ld: /usr/local/lib/libnidaqmxbase.so incompatible to jump when you're looking for a lnidaqmxbase - / usr/bin/ld: cannot find lnidaqmxbase - collect2: ld returned 1 exit status is: * [acquireNScans] error 1 it seems that libraries are not compatible with my version of Red Hat/gcc. Are pre-built libraries are built during installation? Don

    In case anyone else has this problem, I managed to solve it by (1) adding - m32 for INDICATORS in the Makefile and (2) by following these instructions:

    «During the generation of the examples, the linker can point out that liblvrtdark.so»
    unresolved symbols in the Standard C++ library.  It is a known issue as the
    NOR-DAQmx Base 3.4 on Red Hat Enterprise Linux WS 4.  For good link and run
    examples, make the following changes to the Makefile.

    Add /usr/local/lib/LabVIEW-2010/patchlib/libstdc++.so.6 to nilibs.
    Add - Wl, - rpath, ' / usr/local/lib/LabVIEW-2010/patchlib "for flags. "since the README file:

    http://FTP.NI.com/support/softlib/multifunction_daq/nidaqmxbase/3.4/Linux/Readme.txt

    Don

  • Error-200609 occurred in the DAQmx write: selected buffer too small

    Hello, I write a few VI simple test that I will build finally to call external analogue output VI. I started with a very simple program to produce samples finished using the clock on board with DAQmx Timing.VI. When I run the program, I almost immediately get an error. The error message is below.

    Error-200609 occurred at writing DAQmx (Analog DBL 1Chan 1Samp) .vi:1

    Possible reasons:

    Generation cannot be started because the size of the selected buffer is too small.

    Increase the size of the buffer.

    Contradictory property
    Property: Output.BufSize
    Corresponding value: 1
    Minimum supported value: 2

    Task name: _unnamedTask<1C>

    I used the VI DAQmx before in similar applications and never encountered this error. In addition, I read the link below which DAQmx Timing.VI should automatically generate the buffer. Any ideas what could be the cause?

    Data sheet:

    Windows 7

    LabVIEW 2012

    PCIe-6353 as DAQ card

    Here is a picture of my diagram and the VI is attached.

    Oops. Just realized my very stupid mistake: I forgot to add the VI of task start. I did and it works as expected.

Maybe you are looking for