NI-DAQ 6024E Error code 10401

Hi,
after installing LabView 6.i on my PC (Windows XP) my NI PCI-6024E card
does not work properly anymore... I can see it in the MAX, but it does
not pass the device test. Error code is -10401 - Unknown device error.
I'm using NI-DAQ software version 6.9.3.
Can anybody help me?
Thanks.

"The following has happened: Some months ago the DAQ (PCI6024E) card from the customer was broken and NI sended us an other card (other repaired card). We shipped it to the customer, but he is still trying to use this card"
Do you mean the card at one time was used error free ?
I assume, it has.
The first thing to do is to check on the card from measurement and automation (Max), and see if Max recognizes it. If not, then it is either that the driver got corrupted, or that the card is bad.
If you decide to reinstall Nidaq, the you have to first uninstall the existing Nidaq/Max, the reinstall Nidaq (same version that existed on the computer or the most recent one)

Similar Messages

  • ERROR CODE 10401 HOW DO I FIX IT?

    AFTER SUCCESFULY RUNNING MY PROGRAM FOR SEVERAL MONTHS MY FIRST ERROR WAS RECIEVED. IT IS ERROR CODE 10401 OCCURED @ AI GROUP CONFIG. STATING THAT THE SPECIFIED DEVICE IS NOT A NATIONAL INSTRUMENT PRODUCT OR THE DRIVER DOES NOT SUPPORT THE DEVICE.????????HELP.

    If by chance you are using an earlier version of the NI-DAQ driver that supports your card, you may not have Measurement and Automation Explorer on your system. If so, you should use the NI-DAQ Configuration Utility to check your card's functionality. I agree with the first suggestion that something has altered the configuration of the card.
    You didn't specify your card, OS, or whether you were using a VI in LabVIEW or an EXE and the run-time engine, so it's difficult to give a good diagnosis.
    It may be worth your time to run through the online DAQ Troubleshooting pages in the support section of ni.com:
    http://www.ni.com/support/daq/
    If you do have an older NI-DAQ driver version, it might also be worth your while to update it so that you get better support on any futu
    re problems that crop up.
    Best Regards,
    John Lum
    National Instruments

  • Creating Installer and DAQ-MX: Error Code

    Hi,
    I found this question was asked a few times back in 2009 and 2007 but the answesr on the forum don't really help me - partially because they say : oh it just worked.
    I'm trying to craete my first installer for a LabView project.
    It is simply a DAQ assistant for an NI Card. I am trying to move my application from a comptuer with LabView to the one with the card = without labview and I'd rather not install labview on both.
    When I include DAQ-MX and the Run Time module I get this error code fro the installer.
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_AddProductsToDistribution.vi >> NI_MDF.lvlib:MDFDistBuildList_Close.vi
    Loading product deployment information
    Loading product deployment information
    *** Error: Improper function call or command line argument. (Error code -30)
    Type 'DefaultFull' of product 'NI Security Update KB5Q5FJ4QW for the LabVIEW Run-Time Engine 8.2' is not found on the source distribution. Insert the correct source distribution or select another product type.
    *** Error Details:
    Error in MDF API function: _MDFDistBuildList_Close
    Error in MDF:istributionBuildList::AddDependentProducts.
    *** End Error Report
    Don't quite know what it means
    For this one
    Type 'DefaultFull' of product 'NI Security Update KB5Q5FJ4QW for the LabVIEW Run-Time Engine 8.2' is not found on the source distribution. Insert the correct source distribution or select another product type.
    I think it means that it's not finding the CD from where to get this install wizard? Is that it? Well it is never prompting me for a media where to find this file... so I'm stumped.
    Any help would be appreciate, I'll reply on the weekend too!
    Thanks!
    Also, I<m trying to craete an installer for a .net application. Anything I need to know in particular for that? i.e. where do I include my .dll file? Does that go in the source files?
    Thanks.
    I've attached the only file in my project that I am trying to install...
    Lol.
    Solved!
    Go to Solution.
    Attachments:
    Encoder Testing.vi ‏68 KB

    Hi, the message "...KB5Q5FJ4QW" basically means knowledge base (KB) 5Q5FJ4QW. You can check it here. In summary, the NI Security Update force all users to be administrators, for security purposes, otherwise their applications won't run. The article states that you have two option:
    1 - Download and install NI Security Update 5Q5FJ4QW from Drivers and Updates to each machine. OR
    2 - After installing the update to a development machine, rebuild an application installer that includes the LabVIEW or LabWindows/CVI Run-Time Engine and run it on each target machine.
    I hope this helps
    Alejandro | Academic Program Engineer | National Instruments

  • How to access error description in a string from error code returned by NI-DAQ driver?

    I am tring to write codes to control NI-6703 for PCI using the NI-DAQ driver for C++.
    In the sample codes, it calls "NIDAQErrorHandler" to retrieve the error description and display in the pop-up message box. The method is included with header file "nideqex.h", and implemented w/ the nidex32.lib
    I would like to get the error description in a string rather than getting a message box. Is there a way to do that? Am I missig something here?
    I managed to find the "NIDAQEx.c" source code on the internet, but it seems like the code is outdated, and the library is NOT really compiled from it, since it does not seems to have a call to any method that will return th
    e error description in a string that got used to be displayed in the message box.
    Is there a method that I can call and pass a error code, which will return the error description in a string?

    There is a function documented in dataacq.h called GetNIDAQErrorString that accomplishes what you would like.
    Raecine Meza
    NI
    http://www.ni.com/ask

  • Create additional installer error code -12 file not found from device driver cd

    I'm trying to build an installer for a project that includes several NI drivers - specifically NI-DMM. NI-SCOPE, NI-SWITCH, NI-845x, and a few others (MAX, DAQ, etc). When I build the software standalone (and only include the run-time engine), it works fine. However, when I try to build the installer with the additional installers (mentioned above), the build prompts me for device driver cds, and then fails. Specifically, it fails on the February 2006 Device Driver cd. The error is attached below.
    I have tried
     - repairing all the installations of the software mentioned
     - using a new project and re-adding the files
     - building the additional installers seperately (no source code installed)
     - copying the driver cds to the harddrive and referencing them there when needed
    The next step will be to reinstall all of those drivers from scratch, but I really would prefer not to. Does anyone have any ideas (or solutions) regarding this problem?
    CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> CDK_Engine_PromptForMissingDist.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'NI-845x Software 1.0.1' from: C:\National Instruments Downloads\NI-845x\1.0.1\ to: C:\PTF\Builds\**********************<edited out>
    Copying distribution 'National Instruments Device Drivers - February 2006, Disk 1' from: C:\National Instruments Downloads\DCD-Feb06-1\ to: C:\Program Files\National Instruments\Shared\ProductCache\
    *** Error: Windows SDK function returned an error. (Error code -12)
    The system cannot find the file specified.
    *** End Error Report
    Done building deployment

    I have had this happen a lot espescially with LV 8.0 -8.20. What I had to do was take the device drivers CD and copy it to the and run the installation of the software from the copy on the hard disk.
    When you build an exe with additional installers it looks at the last place that  you installed the drivers from. Anyway it worked for me so it might work for you.
    Joe.
    "NOTHING IS EVER EASY"

  • Error in call to loadpanel . Error Code: -94

    Bonjour,
    Sous cvi, quand je créé l'execultable, j'embarque l'UIR (Embed project.UIRs)
    Si je deplasse le fichier.exe créé, le message suivant apparait :
    Error in call to loadpanel. / Parent Panel Handle: 0 / Panel Resource ID: 1 / Error Code: -94 / File not found
    Que signifie ce code '' -94 '' ?
    Merci de votre aide
    Cdlt
    Hello,
    Under CVI, when I build my project, I embed the UIR panel ( ''Embed project.UIRs'' )
    When I mov the exe file created, thr error message appear :
    Error in call to loadpanel. / Parent Panel Handle: 0 / Panel Resource ID: 1 / Error Code: -94 / File not found
    Please, what is this error cod ?
    Thanks in advance for you help
    Regards

    Dale;
    That is happening because you probably installed the new version of NI-DAQ on the top of the old one, without uninstalling it first. Now, you will need to uninstall everything, clean the windows registry entries up, and install NI-DAQ 6.9.1 from scratch.
    To unsitall the driver, go to Add/Remove programs, and to clean up the registry, type RegEdit in Start->Run, and go to HKWY_LOCAL_MACHINE->Software->National Instruments, and delete the NI-DAQ folders, if they are still there after you unistall everything.
    Hope this helps.
    Filipe

  • Error Code -50150 from DAQmx Create Channel (AI-Voltag​e-Basic).v​i

    I have an executable, built from Labview 7.1 VI's. All it is doing is reading 6 voltages back from a 6008 USB-DAQ, and reporting the results back. Occasionally, it is throwing an Error -50150 from DAQmx Create Channel (AI-Voltage-Basic).vi. The full error message is:
    Error Code: -50150
    DAQmx Create Channel (AI-Voltage-Basic).vi<append>
    <B>Task Name: </B>_unnamedTask<0>
    Can anyone shed some light on this problem?
    Cheers.

    Hi fellas,
    I have a really similar problem to the one Neilelph had, but I can´t see how to solve it from your answers. I attached a picture of my main .VI.
    It´s basically a photodiode measurment system working as follows:
    1. First the moving stages for the system get ready (X-Y moving stages for the Photodiode and Z stage for the Laser). That´s the CONFIG subVI in the left.
    2. Then there is a For Loop, that repeats N times depending on the Initial Z, final Z and step values. So in this .VI the laser moving stage is the only one changing.
    3. In each loop, the stages go to the X,Y,Z(t) posiition (MOV subVI), wait for the movement (WAIT subVI) and read the position. After that, the DAQmx acquistion part starts. I just sample the output DC voltage coming from the  Photodiode (Dev1/ao1), 1000 samples in 1 second, and then I make an average of all of them with the Basic DC/rms block. So at the end I have 1 position of Z and one DC value. And it worked perfectly. At least for small number of iterations I have no problems. 
    The problem comes with small steps and a great number of iterations. For example last night I ran a measurement. 10000 iterations, the whole range of Z, and today i checked it. It worked fine until 5000 give or take, the half of the range. From that point, the DC ouput recorded in the .lvm file is just 0.00000. It´s the second time it happens, so I´m wondering what´s wrong because I´m affraid to make more long measurments and obtain the same results. 
    The error message I obtained is the same than in the thread title: -50150  DAQmx Create Channel (AI-Voltage-Basic).vi:6<append> <B>Task Name: </B>_unnamedTask<53BC>
    Maybe it would be useful to mention that, sometimes, there is no error and I have some DC Output Voltage value, for random Z potitions, but since the first error message, that barely happens. The output is almost always 0.
    Sorry for my writting skills in English. I hope you can understand my situation.
    Thank you in advance.
    Kind regards,
    frilance.
    Attachments:
    Diagram.JPG ‏83 KB

  • Installer LV7.1 - LabVIEW load error code 21: An external subroutine required for execution could not be found.

    Bonjour,
    Je cherche à créer un installer portatif utilisant les drivers NI-DAQmx 8.7.1 et NI-CAN 2.6.0.
    Je dispose d'un code LV 7.1 et j'ai installé l'application builder 7.1.
    Mais une fois l'application installé sur un PC vierge de Labview, j'obtiens le message suivant:
    load error code 21: An external subroutine required for execution could not be found.
    Ce message est répété plusieurs fois (pour différents VIs) puis le programme ne se lance pas.
    J'ai bien veillé à installer les drivers NI-CAN et NI-DAQmx correspondant au préalable sur la machine cible.
    En chercant sur le forum, plusieurs pistes m'ont été proposé:
    La version NI-DAQ
    L'intégration du Run time Engine
    Un problème de DLL
    J'ai vérifié ces 3 points mais cela n'a pas règlé mon problème.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci de ta réponse.
    En fait, j'ai bien inclu le runtime engine de Labview qui était effectivement la source de l'erreur.
    L'installation de NI-DAQmx v 8.7.1 provoque la mise à jour de la version du runtime engine (passage de 7.1 à 7.1.1).
    J'ai donc désinstallé Le runtime engine 7.1.1 (ce qui a provoqué la désinstallation de labview et NI-DAQ).
    Puis je suis passé par une version plus ancienne de NI-DAQ (7.2) que j'ai adapté (inclusions de DLL et de VIs).
    Les messages d'erreurs ont alors tout simplement disparus!

  • Error Code

    I used Labview 2011 to program and control a Measurement Computing USB1208FS.
    The program was written to operate a valve, igniter, and pressure transducer. The purpose is to operate the valve, a short time later (milliseconds) the igniter would fire, and then the pressure would be monitor for the following three seconds, and the system would then stop.
    The problem has been, that I am getting an error code that makes no sense and the Labview System locks up.
    The computer ASUS laptop, with the Labview 2011 running on Windows 7 OS. There is nothing else operating on the system.
    The error code is
     – Error – 10133 occurred at ULX –create Channel ( Do - digital output . )    VI : I
    Any suggestions or solutions

    Thanks for the reply Mike
    I have one big problem with providing more details and that is I am getting the information second hand. I did this design and programming for someone else. The system was sent half way across the country and I am getting the information via the telephone.
    As far as the channels, as I mentioned in my first post (or maybe I didn't) I have three digital out, with two of those outputs being a mirrored function, and one analog input. The outputs trigger fast acting SSR's local to the DAQ so I know the wiring is not the cause. The input is a 0-10v pressure transducer. also local to the DAQ.
    I did not include the code itself because I do not suspect that to be the issue. The program will run through successfully several times (in the order of 20 times) without issue. This tells me right off that the code is correct and not the primary cause of the error. There is a logging function as part of the code, and that too will record the data successfully through each iteration. I actually suspect that the issue is related to the windows operating system since the program is running from a laptop and the fault is intermittent.
    The error appears to be an issue with VI from Measurement Computing, and a time issue with the OS. I was hoping (just a blind chance) that someone from this site had experience working with MC and may be able to point me the proper direction.

  • Error code = -200462

    I am currently using a CVI routine to do acquisition and generation.  I am using a 9172 chassis and 9205 module for voltage acquisition and 9264 module for voltage generation.
    I seem to run into an error during the startup of my task in the StartDAQ routine.  The enclosed message is in the attached document.  The message is cryptic and I am not sure what I have done wrong.  I would some appreciate help in decoding the message and correcting the program.
    The document contains the error code when I run the code. 
    The routine creating the tasks.
    1.  int StartDAQ (void)
     daqrunning=0;
     if (CreateDAQTask16diff(&taskHandle)) {StopDAQ (1);return 1;}
     if (DAQmxStartTask(taskHandle)) {StopDAQ (1);return 1;}
     if (CreateMAVS_DAQ_Taskout(&taskHandle_Out)) {StopDAQ (1);return 1;}
     if (DAQmxStartTask(taskHandle_Out)) {StopDAQ (1);return 1;}
     daqrunning=1;
     return 0;
    2.  int32 CreateMAVS_DAQ_Taskout(TaskHandle *taskOut1)
     int32 DAQmxError = DAQmxSuccess;
        TaskHandle taskOut;
     DAQmxErrChk(DAQmxCreateTask("", &taskOut));
     for (ich=0;ich<CHANS_Osc;ich++) {
     DAQmxErrChk(DAQmxCreateAOVoltageChan(taskOut, chanel_Out[ich],
      "", -10, 10,
      DAQmx_Val_Volts, ""));
     DAQmxErrChk(DAQmxCfgSampClkTiming(taskOut, "",
      rate_Out, DAQmx_Val_Rising,
      DAQmx_Val_ContSamps, sampsPerChanOut));
    // DAQmxErrChk(DAQmxSetWriteAttribute(taskOut, DAQmx_Write_RegenMode, DAQmx_Val_AllowRegen));
     *taskOut1 = taskOut;
    Error:
     return DAQmxError;
    3.  
    static int CVICALLBACK Thread_AD (void *functionData)
        int i,j;
     //double fr;
     int sys_hh,sys_mm,sys_ss;
     int32 daqsts,daqoutsts;
     div_t divres;
     for (j=0;j<CHANS_Osc;j++) {
      for (i=last;i<BDIM;i++) data_Out[chan_Out[j]*ADIM+(i-last)]=1.0;
     SetCtrlAttribute (phsplash, SPLASH_MSGDAQ, ATTR_VISIBLE, 1);
     StartDAQ ();
     HidePanel (phsplash);
     SetCtrlAttribute (phsplash, SPLASH_TXT2, ATTR_VISIBLE, 0);
     SetCtrlAttribute (phsplash, SPLASH_MSGDAQ, ATTR_VISIBLE, 0);
     InstallCtrlCallback (phsplash, SPLASH_P1, HideSplashScreen, 0);
     InstallCtrlCallback (phsplash, SPLASH_P2, HideSplashScreen, 0);
     InstallCtrlCallback (phsplash, SPLASH_TXT1, HideSplashScreen, 0);
     InstallCtrlCallback (phsplash, SPLASH_TXT2, HideSplashScreen, 0);
     InstallCtrlCallback (phsplash, SPLASH_TXT3, HideSplashScreen, 0);
     InstallCtrlCallback (phsplash, SPLASH_TXT4, HideSplashScreen, 0);
     InstallCtrlCallback (phsplash, SPLASH_TXT5, HideSplashScreen, 0);
     InstallCtrlCallback (phsplash, SPLASH_TXT6, HideSplashScreen, 0);
     DisplayPanel (ph); //SetPanelAttribute (ph, ATTR_WINDOW_ZOOM, VAL_MAXIMIZE);
        DisplayPanel (phtree);
     GetSystemTime (&sys_hh, &sys_mm, &sys_ss);
     divres = div (sys_mm, 10); //reminder after dividing by 10
     sek = datetime_to_sec (0, 0, 0, 0, divres.rem, sys_ss);
     if (sek<0) sek=0;
     if (sek>599) sek=0;
     while (!gExiting) {
      if (daqrunning) {
       daqsts=DAQmxReadAnalogF64(taskHandle,sampsPerCh​an,4.0,DAQmx_Val_GroupByChannel,data,sampsPerChan*​numChannels,&numRead,NULL);
       if (daqsts<0) StopDAQ (2);
       if (daq_out_data) {
        for (j=0;j<CHANS_Osc;j++) {
         for (i=last;i<BDIM;i++) data_Out[chan_Out[j]*ADIM+(i-last)]=stroke[j][i]/s​ens_Out[chan_Out[j]];
        daqoutsts = DAQmxWriteAnalogF64 (taskHandle_Out, sampsPerChanOut, 0, 4.0, DAQmx_Val_GroupByChannel, data_Out,
                                     &numWrite, 0);
        if (daqoutsts<0) StopDAQ (2);
        daq_out_data = 0;
       if (startup) startup--;
       else {
        // retrieve data from DAQ buffer
    //    for (j=0;j<CHANS;j++) for (i=0;i<ADIM;i++) rw[j][i]=data[i+chan[j]*ADIM]/sens[chan[j]]; // retrieve data from DAQ buffer
      // !!! new !!!!  retrieve data from daq buffer and undersample from 2048 to 1024 !!!
        for (j=0;j<CHANS;j++) for (i=0;i<ADIM;i++) rw[j][i]=data[2*i+chan[j]*2048]/sens[chan[j]]; // retrieve data from DAQ buffer & undersample
        for (j=0;j<CHANS_Osc;j++) {
         memcpy (&big[j][0],&big[j][ADIM],bigsize);
         memcpy (&big[j][last],&rw[j],rw1size);
         // put here low pass antialiasing filter prior to undersampling
         //iir ??? later...
         for (i=0;i<ADIM/4;i++) rw2[i]=rw[j][4*i]; // undersampling by 4 (new Fs is 256 Hz), used only for better FFT resolution
         memcpy (&bfft[j][0],&bfft[j][ADIM/4],btmsize); // move data left
         memcpy (&bfft[j][last2],&rw2,rw2size); // paste new undersampled data to last position
      // !!! new !!!!  retrieve data from daq buffer and undersample from 2048 to 1024 !!!
        for (j=CHANS_Osc;j<CHANS;j++) for (i=0;i<ADIM;i++) rw_Osc[j-CHANS_Osc][i]=rw[j][i]; // retrieve data from DAQ buffer & undersample
        for (j=0;j<CHANS_Osc;j++) {
         memcpy (&big_Osc[j][0],&big_Osc[j][ADIM],bigsize);
         memcpy (&big_Osc[j][last],&rw_Osc[j],rw1size);
        newdata=1;
       // raw data file logging
       GetSystemTime (&sys_hh, &sys_mm, &sys_ss);
       //sprintf (timebuff,"%02i:%02i:%02i",sys_hh,sys_mm,sys_ss);
       sprintf (ftrend[sek].timebuff,"%02i:%02i:%02i",sys_hh,sys_​mm,sys_ss);
       SetCtrlVal (ph, P_TIME, ftrend[sek].timebuff);
       CalculatePstroke2 ();
       FillTrendData ();
       sek++;
       if (sek==600) {sek=0;save10min=1;}
       for (j=0;j<CHANS;j++) for (i=0;i<ADIM;i++) fdat[j][i+dtcount]=rw[j][i];
       dtcount+=ADIM;
       if (dtcount==FDIM) dtcount=0;
       if (save10min) {
        if (dtcount==0) for (j=0;j<CHANS;j++) memcpy (&fdatout[j],&fdat[j],FDIM*sizeof(float));
        else {
         for (j=0;j<CHANS;j++) {
          memcpy (&fdatout[j][0],&fdat[j][dtcount],(FDIM-dtcount)*s​izeof(float));
          memcpy (&fdatout[j][FDIM-dtcount],&fdat[j][0],dtcount*siz​eof(float));
        save10min=0;
        savedata=1;
       led=!led;
            ProcessSystemEvents ();
        StopDAQ (0);
     return 0;
    Attachments:
    D_Error_Voltage_Output.doc ‏159 KB

    Appreciate your reply.  After looking through various examples, I separated the generation into a different thread and did what you suggested and it started generating data.  However, this brings me to the next question.  Do I need to introduce a delay in the acquisition and generation thread so that they do not stomp on each other's buffer.  When I ran the program, no red flag was raised. However, during an actual run except for the first channel the rest of the voltage acquisition channels now read bad and I am not sure if this is a result of improper management of the threads.  Basically, my reads are turning out bad values except for the first channel.

  • Error code -200088, accessing DAQmx read function in fncB from fnc A

    Hi,
    I am using NIDAQ 6229, and C code.
    My c code is as follows:
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    int main()
      TaskHandle aiTaskHandle;
    // and the variables whatever used in the API's declaration below done here and initialised
      DAQmxStartTask (aiTaskHandle);
      DAQmxErrChk (DAQmxCreateTask("AI Task",&aiTaskHandle));
      DAQmxErrChk (DAQmxCreateAIVoltageChan(aiTaskHandle,AIChannelList,AINameList,DAQmx_Val_RSE,0.0,10.0,DAQmx_Val_Volts,NULL)); 
      DAQmxCfgSampClkTiming(aiTaskHandle,"OnboardClock",AIRate,DAQmx_Val_Rising,DAQmx_Val_ContSamps,AISamplesPerChannelAcq);
      while(1)
                fncB( );
    fncB(  )
                DAQmxErrChk (DAQmxReadAnalogF64  
                  (AITaskHandle,DAQmx_Val_Auto,timeOut,DAQmx_Val_GroupByScanNumber,AIReadArray,AIarraySizeInSamps,&AISampsPerChanRead,NULL));
    This Code builds without errors and runs. But the problem is with calling the fncB( ) where the DAQmx read for aiTaskHandle is executing.
    The DAQ read works fine for one time, but in the second call of fncB it gives error " task specified is invalid or does not exist" with error return code: -200088.
    why for the second call , the task specified becoming unknown is not yet all clear.
    the ni error codes document doesnot list this error code yet all.
    i have tried in declaring aiTaskHandle variable global, then in the first time of calling fncB it gives the error as mentioned above.In my application i cant use DAQRead in the same function where i declared the taskHandle , so i have to call it from the function.
    Does some body help in calling the DAQread from another function, and why this task is becoming invalid for the second call,.
    Thanks ,
    vishnu
    Message Edited by gkvishnu on 10-12-2005 08:10 AM

    I found where does my error come from.
    I configure my task from a other function and call this callback to start acquisition (get partly from NI examples)
    I get the error on the Start_AI_Clk(taskAIClk); call.
    int CVICALLBACK AI_TrigStartCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
        int32       error=0;
         char        Chaine[500],Chaine1[500],ChaineFormateur[500];
        int32       numRead;
        float64     *data=NULL,*dataMoy=NULL;
        int         i,j,Checked;
        double        LocValeurLue,TempsDebut,TempsTotal,TempsEnCours;
        long int     NbMesTotale = 0;
        FILE         *TempFile;
        if( event==EVENT_COMMIT ) {
            if( (data=malloc(NbMes*NbChanAIClk*sizeof(float64)))==NULL ) {
                MessagePopup("Error","Not enough memory");
                goto Error;
            TempsDebut = Timer();
            TempsTotal = TempsDebut;
            TempFile = fopen("TempoResult.txt","w");    
            Start_AI_Clk(taskAIClk);
            ProcessDrawEvents();
            gRunningTrig = 1;
            while( gRunningTrig )
                DAQmxErrChk
    (Read_AI_Clk(taskAIClk,NbMes,data,NbMes*NbChanAIClk,&numRead));
                ProcessSystemEvents();
                 /*data treatment*/
            TempsTotal = Timer() - TempsTotal;
            fprintf(TempFile,"Temps total:%.3f - Nb Mes totales : %d",TempsTotal,NbMesTotale);
            fclose(TempFile);
    Error:
        if( DAQmxFailed(error) )
            TraitErreurCarteDAQmx("Lecture AI horloge externe",error);
        if( taskAIClk!=0 ) {
            Stop_AI_Clk(taskAIClk);
        if( data )
            free(data);
        return 0;
    What happen is when I click on my start button, my function is executed
    once before a EVENT_COMMIT came, so it jumps directly to the Error part,
    then as the taskHandle is not null, it stop the task
     if( taskAIClk!=0 ) {
            Stop_AI_Clk(taskAIClk);
    Then it executes the if(event==EVENT_COMMIT) part and as the task has been stopped, it give the -200088 error code.
    To correct this, I change the Error treatment like this:
    if( DAQmxFailed(error) )
        TraitErreurCarteDAQmx("Lecture AI horloge externe",error);
        Stop_AI_Clk(taskAIClk);
    Yop!
    DanY

  • Invalid adapter name"c/CVI Flexible Prototype Adapter" Error code:-17336.

    Hi,
    After replacing the mainboard of the test computer and activating Windows, test station shows "Invalid adapter name"c/CVI Flexible Prototype Adapter" . Invalid adapter name. Error code:-17336"  when we try to run TestStand Sequence(4.2.1.83). Could you help to guide. Thanks!
    Daniel

    Hi Daniel, 
    I would agree with Doug regarding checking the licensing in the License Manager, deactivating if it is activated and then reactivating. It is possible that the MAC address changed when you switched out the motherboard and this would cause the computer ID to change and render your current licensing invalid. If this does not solve the situation, could you specify when this error occurs? Is this when you open Teststand or when you try to run a particular program? Do you have a base or debug deployment Teststand license? 
    I look forward to your response and hope that you have a great day!
    Regards,
    Jackie
    DAQ Product Marketing Engineer
    National Instruments

  • Error code -88708 with DAQmx Create Channel (AI-Voltage-Basic)

    Hi,
    I am trying to construct a VI that moves a piezoelectric stage, the VI then needs to scan voltages from the DAQ card to build up arrays of the voltage and coordinates before constructing a 3D graph.
    The VI successfully moves the stage and reads the position back to me but when it tries to scan voltages from the DAQ it fails (I'm using the DAQmx Create Channel (AI-Voltage-Basic).vi example, as this has been used in a previous, similar (and successful) VI within my department.)
    I get the following error code:
    Error -88708 occurred at DAQmx Create Channel (AI-Voltage-Basic).vi
    Possible reason(s):
    The specified resource is not available. The operation could not be completed as specified.
    Task Name: _unnamedTask<1>
    Any help on this would be appreciated - I'm fairly new to LabView and am at a loss with how to fix this!
    Thanks
    -Tom

    Is this working when you restart the computer? It might be that the recources are still recerved because the Clear Task.vi wasn't executed (either it`s not present or you did use the abort button).
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • I got the error code 1603 when I was installing labVIEW6.1 in windows2000 professional(chinese)

    I bought the labVIEW RT software and the hardware.It included the LabVIEW6.1 FDS.
    I got the error code,and I let the install program go on.After the install completed,I found my LabVIEW worked well expect the DAQ palette.there are no "data acquisition" palette.
    When I installed it in windows XP(chinese) on the same computer,Everything was good.And when I installed it in windows2000 professional(chinese) on another computer,the same error code appeared.
    I am hungering for your answer.thank you very much!

    It appears that LabVIEW DAQ support was not installed.
    Run the installer from the CD, choose custom install, and make sure that the DAQ driver installation is checked as well as support for LabVIEW 6.1.
    If it is checked (indicating it was installed) then try uninstalling just the driver portions and reinstalling it.

  • Error: Windows SDK function returned an error. (Error code -12)

    I receive this error when attempting to build an installer for my Labview application.
    CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'NI-DAQ 8.0.1' from: D:\ to: C:\DARTS\ATS_TE_Project\DARTS_NI-DAQ_HP3561A_Dynamic_Signal_Analyzer\Installer\
    *** Error: Windows SDK function returned an error. (Error code -12)
    The system cannot find the file specified.
    *** End Error Report
    Done building deployment

    I was able to get the install builder to build an installer for my
    Application today 6/6/07. These are the steps I performed along with good amounts of trail and error.
    1) I attempted to re-install the NI-DAQ 8.0.1 drivers however I didn't
    perform this because it said it remove NI products which I didn't want
    removed. But it didn't tell me what it would remove.
    2) Instead, I copied the entire NI-DAQ 8.0.1 distribution to a directory on my hard drive.
    3) I set the NI-DAQ 8.3 install build type to FULL in install builder.
    4) In install builder when prompted for the components from the NI-DAQ
    8.0.1 I browsed to the NI-DAQ 8.0.1 directory on the hard drive and
    also un-checked the cache box.
    5) It through another error this time saying it couldn't find
    C:\NI-DAQ8_0_1\8.0.1\Products\LabVIEW_Broker71\LVBroker71Deu.mst (and,
    LVBroker71Fra.mst, LVBroker71jpn.mst, LVBroker1071Deu,
    LVBroker1071Fra.mst, LVBroker1071jpn.mst). It also could not find the
    LVBroker1071 files in the
    C:\NI-DAQ8_0_1\8.0.1\Products\LabVIEW_Broker1071 directory either.
    6) I performed a search for these files and they did not exist in the
    NI-DAQ 8.0.1 directory on my hard drive or the 8.0.1 CD I have.
    7) These files DID exist in my NI-DAQ 8.3 directory located on my hard drive.
    8) I copied the LVBrokerxxxx.mst (listed in 5 above) files from the
    NI-DAQ 8.3 directory on my hard drive to the corresponding location in
    the NI-8.0.1 directory on my hard drive.
    9) This time when I rebuilt the installer for my application the build was successful.
    Additional information:
    When I built my application I only selected English for language
    support. In Install builder in "Dialog Information I also selected
    English.
    I haven't attempted to try the installer on my target yet so I'm not
    quite sure how successful I really was but at least I have a installer.
    Let me know if this also works for you.
    Rich...

Maybe you are looking for

  • Runtime Error in ALV Tree Output

    Dear All, I am trying to create a ALV Tree using Class cl_gui_alv_tree. The Report Shows the Output with the first Node but when i try to expand it is dumping with a runtime error GETWA_NOT_ASSIGNED in class CL_ALV_TREE_BASE and method SET_ITEMS_FOR_

  • Problem with Installing 8.0.5 ODBC Drivers

    I have been having a problem getting the ODBC for the 8.0.5 client. The installation runs fine, I use Net8 Easy Config and setup and running. I setup the datasources and sucessfully "Test" the connection with the login and password. When I go to the

  • TUTORIAL: Install HP Laserjet 1000 on Windows 7 x64

    I've created a tutorial to install HP LaserJet 1000 printer under Windows 7 x64. http://laserjet1000.esy.es/ I hope it helps someone.

  • Parental oversight and control apps

    Is there a program like "my mobile watchdog" for the iphone?  I have 2 14 yo daughters getting iphones from Santa and I'd like to make sure they play safe once they have the phones.  I was pretty excited until I realized MMW doesn't work on the iphon

  • Have problem in transmitting the CAN message in FPGA

    Hi I have deloped a .vi which is deployed over FPGA. The VI is having one while loop and inside the while loop I am accessing CAN9853 module(FPGA IO). I am sending one CAN frame to this module for each iteration of the loop. When I run that VI (Inter