Error with 2 Daq assistant

Hello

Another noob to join the community. Here's my question.

What I am doing wrong? I use 2 assistants for the acquisition of data on the module of NI9401 for output and input digital. I use it to generate signals of 2. If I test with 1 it works but if I go to 2 or more it fails. This is the error I get. I also added the program as an attachment.

Thanks in advance.

Hello

This error means that the DIO task is reserved and cannot be obtained by one of the DAQ Assistant. There is actually a program example on what you want to do. It can be found here:

https://decibel.NI.com/content/docs/doc-11632

This example does not use the DAQ Assistasnt but the DAQmx API screws, (which use the DAQ Assistant also still). If the order is not important (and since these DIO tasks are software timed this probably isn't a problem, you can also choose to use the cluster of error one DAQ assistant and connect to another see annex VI.) Do this way force you a data acquisition task to wait on the other a finish. In this way, they don't run to preventing it from time even for the error to occur.

Kind regards

Tags: NI Software

Similar Questions

  • Replacement of simulate signal VI with the DAQ assistant

    Hello

    I have a VI fucntioning, where signal comes 2 simulate VI signals and is being recorded.

    I replaced that with the DAQ assistant. I want to know if the wiring is correct and if it will give me the same result as the simulated VI.

    Thank you.

    Hello Andy,

    Thanks for the reply, yes I did that as well, another way to do it is the 'split signal VI' that automatically separates the signal into 2 channels, most of the high sons being Ch 0

    S

  • New Daq with the Daq Assistant in the filtering code

    Hei,

    I have a NI USB-6225 DaqMx I used a couple of years. When I started with LabVIEW, I found the Daq Assistant to the best way to measure the voltage with my Daq etc. My company has purchased another DaqMx NI USB-6225 and now I have a big problem: the Daq Assistant in my old Vi does not work with the new data acquisition. I understand why there is this problem, but I do not know how to solve. I found this code on the forum who finds that Daq is connected:

    The problem is that Daq Assistant do not have an entry for it, and it gives me an error if I try to run the code with a different device than the original, I used when I created the code.

    Is there a way to solve this, so I don't have to convert all the Assistants Daq normal code?

    Hello again,

    two options:

    (1) as the old software is related to 'Dev1' you must rename your new device to this alias and skip/rename the old device (and lack).

    (2) rewrite your old software does not become is not dependent on the name of the alias for the data acquisition card...

    It's your choice!

  • Calculation of error with custom DAQ scaling of the 4-20mA signal

    Hello

    I use the material for the acquisition of data NI USB 6009 and Labview 10.0.1. I use the DAQ assistant to acquire a signal 4-20 mA, which works perfectly well. I tested with a waveform graph and the range of the machine corresponds to the current signal.

    Now, when I use a custom in the DAQ assistant, after about 4, scale 8mA the value of 'x' does not. I don't get an error, or whatever it is, it seems that there is an upper limit. When I turn off the custom scale, I see that there is nothing wrong with the signal to my.

    Can someone help me how to solve this problem?

    Welcome,

    Dominic

    [email protected]

    Nevermind, solved the problem. I didn't know that the scope of the input signal must be set globally. Once this is done, the problem was gone.

  • Calendar and the problems of data collection with the DAQ Assistant

    Hello NOR Developer area,

    I am a Novice of LabVIEW and have seen how helpful you all can be, and if I come to ask for your help.

    I'm having some trouble with a VI I built that specifies an input voltage, a SCB - 100 connected to a PCI-6031E and converts this tension in a temperature displayed on a waveform table. The goal is to give a constant reading of the temperature and display it in a chart for as long that the VI is running (and to reset the chart the next time the tracks of VI).

    The problems I've encountered currently are:

    -After a few minutes of the VI running, I get an error message 200279: tried to read samples that are no longer available. The requested sample was already available, but has since been replaced. (to the DAQ Assistant express VI).

    -I don't know how to change my chart so that the minimum value X is both during which the VI was launched and have the maximum X value increases with each iteration of the loop. Currently, I have the VI get the time system and contributing to the property node X scale. This worked for the graph of the voltage, but not for the temperature chart

    I appreciate those of you who took the time to read my post.

    Thank you all for your help.

    Sincerely,

    Ethan A. Klein

    SB candidate in Chemistry & Physics

    Massachusetts Institute of Technology

    Class of 2015

    PS I enclose my VI to give you a better understanding of my current situation.

    E A Klein wrote:

    Thanks for writing.

    What property node is talking?
    I do not understand that many different data types. How can I go on the treatment of all the data?

    (Did you mean I should wire 'blue' data for mathematical functions rather than using the node property tension?)

    Sincerely,

    In fact, one of the nodes property.  I mean specifically the tension property node.  But in reviewing, I noticed the other nodes in property for the chart.  Just set auto-scaling to the X scale and that should take care of two of the nodes property (right click on the graph, X scale-> AutoScale X Scale).  I also recommend placing your mathematical functions in a Subvi to make things easier to read.  Attached, that's what I think you're after.

    I hope that these small tweaks will speed things up enough to avoid your error.  If this isn't the case, then we should begin to look at the design of producer/consumer model or take readings at the same time.  It might also be worth looking away the DAQ Assistant and DAQmx real screws.  But one step at a time.

  • Number of events with the DAQ Assistant, offered PFI0, offered Ctr0. Samething?

    DAQ USB DAQ Assistant 6009.  I plugged a PFI0 (port 29) push button switch and + 5V (port 31).  Setup Assistant DAQ ==> Acquire ==> meter entry ==> edge ==> Dev1(USB-6009) - Ctr0 counter ==> a sample on request.

    I was offered the Ctr0 and not PFI0 (port 29) selection, so I chose Ctr0.  Samething?  Will this work with how I wired to the top of my switch?

    I count 'digital highs', so wire to 5V and sprayed.  Right?

    With LV2013 and an acquisition of data connected to the computer, you can do what I did in a vi project and/or a regular, standard vi.  Right?

    Thank you for your time

    dunnor

    Hoovahh

    My hard wire solution worked will PFI0 and GND. Sorry. I thought I could go back and give congratulations after I tried things. I would like to press the buttons now, but I don't see them.

    dunnor

  • Error of the DAQ Assistant

    I've just updated LV 2009 SP1 LV 2010. I use a LV 32-bit on a 64-bit computer.

    When I open the DAQ Assistant, I get a pop up window that says "LabVIEW: an exception occurred in the external code that is called by a function of the call library node."  This could have corrupted memory of LabVIEW.  Save all work to a new location and restart LabVIEW.  VI "Advanced Timing.vi:1" was arrested in node "" a call to "get of DAQmxAssitant_DAQmx IO Info.vi of control.

    If I hit OK, DAQ Assistant is locked up, if I use the Task Manager to close the LabVIEW vi breaks down.

    I already reinstalled 9.5.1 DAQ device drive. without success.

    There is no such version. The most recent is 9.2.2.

  • How to change the input range (DAQ assistant) with a digital command?

    Hello everyone

    I am currently working with the NI USB-6218 acquisition card.

    In order to acquire a signal, I would like to be able to choose the input range of the DAQ with a digital command Wizard (and not opening the window of DAQ assistant) (as 'number of sample' and section 'rate'...)

    Is this possible and if so, how?

    Thank you very much in advance for your answers!

    You can't with the DAQ Assistant so just click on and select "generate the Code of OR-DAQmx. You can edit the Subvi who performs the installation.

  • DAQ Assistant stopped working

    Hi all

    I have labview 8.6 installed on my laptop. currently of the problems with the DAQ assistant. When it initializes the host of assistant OR no longer works and an unknown error message is given. Don't know where to get corrupted files etc my daq is a usb-6008 and my laptop is running windows vista. I think that the issue is to do with a driver in the folder of Max but I don't have enough experience with her. I currently install OR-DAQmx 9.0.2 in the hope it will solve the problem. any help on this would be greatly appreciated.

    Kind regards

    Jason

    Hello jpraffer,

    Install the DAQmx helped 9.0.2 or you're always to see the current issue.

    Kind regards

    Philippe

  • Scaling DAQ Assistant

    I'm looking for help with the DAQ assistant,

    I have a signal 0-20 my. I want my card 8 to 100 and 16 my to-100. I entered y =-x + 300 25. I put I. Max = 300 (x = 0 my) and AI. Min = - 200 (x = 20 my). I get the following error:

    Error-200077 occurred to the DAQ Assistant
    Possible reasons:
    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.
    Property: AI. Min
    Asked to value: - 200.0
    Valid values begin with: 299.500000
    End with valid values: 300.500000

    When I get 300, I get the following error:

    Error-200082 occurred to the DAQ Assistant
    Possible reasons:
    Minimum is greater than or equal to the maximum. Make sure that the maximum value is greater than the minimum value. If you are using a custom scale, check that the maximum on the scale is greater than the minimum scale.
    Property: AI. Min
    Value: 300.0
    Property: AI. Max
    Value: 300.0

    What I am doing wrong?

    Thank you, but I just found this one. I use the range mapped instead of the linear range. Not sure why it makes a difference, but it works!

  • I use several DAQ assistant but it seems impossible...

    Hello world

    I'm on a project for some time.

    To summarize, I had 3 modules for the project: Anolog, digital, input resistance meter.

    My main program works, but now I have to connect with an excel file.

    I found an easy way of this solution, but now my problem is bigger. The fact is that I use my screws and screws with this how to link my data, but according to LabVIEW Sub, I can't, in the same program, do something in relation to 2 modules different. Obviously, each module works with a DAQ Assistant.

    To be more specific: I want to put the data from the 2 (thanks to the analogue of the module), and wire different sensors 1-> 0 or 0-> 1 (thanks to the digital module)

    And when I link 2 DAQ in the same file or 2 screws secondary who got 1 acquisition of data in entry of a measurement file, it does not work. The error that I can not launch the DAQ second after the first... so...

    I hope you understand my problem.

    You have a solution for this problem? Should I change a large part of my program to do this or is it just a small detail?

    Thank you in advance! I'm really disappointed-_ - I'm for several times... and I'm late for my project...

    Best regards.

    ML


  • Meilhaus 3106 MAX/DAQ Assistant questions

    Hello

    While I'm sure that you all have grown tired of my usual throat-clearing, I'm a relatively inexperienced developer, so apologies in advance if this question is incomplete or missing otherwise.

    I recently got a Meilhaus electronic RedLab 3106 DAQ.  Box manual is at: http://www.meilhaus.org/downloadserver/redlab/manual/RedLab%203106_en.pdf

    Attempt to use this device after completing installation 'Quick Start', I discovered that the data acquisition was not read by MAX (v5.0). In addition, by attempting to use the DAQ Assistant, in LabVIEW 2011 for this box DAQ (which I did successfully on this machine with a DAQ USB of NOR-6008), I discovered that the device is not listed with the text "no taken physical channel supported" that appears when the registration of the channel would be generally.

    Normally, I try just a reinstall of the drivers/software 3106 package, but the strange thing is that Windows (XP - SP3) gives me the bubble 'New hardware found' when the USB fuelling the DAQ cable is connected to the computer. In addition, the acquisition of data can be read by a program that came with the acquisition of data called "InstaCal", including an order to make the power led on flashing box. Finally, a universal library, which also comes with the DAQ hardware has itself installed successfully in LabVIEW under "User Libraries". Given this feature, I am convinced that it is simply not possible to use the DAQ Assistant in LabVIEW for this particular data acquisition or that there is something in LabVIEW/MAX in need of fixing.

    Someone knows a problem similar to this with the 3rd party hardware (ideally, Meilhaus) and software of NOR? If so, how do fix you it?

    Kind regards

    MG Wilkinson

    Material acquisition of third-party data is not supposed to be detected by MAX or used with the DAQ Assistant. Thus, simply use the functions you provided.

  • DAQ Assistant as a selector of case

    Hello

    I'm reading an entry to my daq assistant digital camera, and then to hold for x number of seconds, up to that time. The entrance to the wizard matter not after the first entry.

    So, I used a switch case and started trying with a virtual switch. Everything worked fine... until I begin to try with the daq assistant. The output of a data acquisition assistant is a table 1 d of boolean. The entry for the case selector is a Boolean value.

    It is possible to select the cases according to the output of the daq assistant? If it is true, how can I do this?

    Greetz Margaret

    I added a table of index to your code that modifies the array to a single digit. Remember that this only gives you the first digital input. If you switch to a different channel, you'll have at this table to a different number of the index.

    Second time isn't a very good way to measure time so I changes the way vi a measure of time.

    Thirdly, the outside while loop is not necessary. The two loops will be run until you press the stop button. I think about the use of an event to capture the stop function so that you don't need to a stop button.

  • DAQ Assistant to create separate signals

    Hello

    I have a PCI-6229 I would create 5 separate signals in a diagram, but I don't know how I could do.

    I entered signals between 1V and 5V and I would re-scale these signals from 0V to 5V and then I want to represent them in a histogram.

    Could you help me do it please.

    Its possible with the daq assistant

  • No device supported in the DAQ assistant

    Hi all

    I use the scanner high speed (NI 5922). I installed Labview 8.5.1, then the software scope OR the digitizer NI 5922 high of speed, then the hardware driver. I tested the DAQmx with the MAX and it passes the test. But when I started to use the labview with the DAQ assistant, as described in the manuals I have not found all devices supported! Should I log a physical device to the hardware driver channels or what should I do?

    Thank you

    Ibrahim

    The 5922 is supported by NO-Scope http://www.ni.com/digitizers/software.htm and not by DAQmx. This page should help you get started.

Maybe you are looking for