Consecutive calls to DAQ assistant

Hello

I'm working on something that is very probably simple.  Maybe the problems stem from a bad initial design choice.   The VI (and subVIs) are used at a voltage output, read another tension and react accordingly.

First the error I get is "error-200547.

Here's how the program works:

1 MOVR.vi

This generates two analog output signals, controlled by the same signal generator.  There is also a digital signal, but I don't think that's the problem.

2 MTUL.vi (and MDTL.vi)

These use MOVR and read another voltage.  Essentially, the voltage must be created until the limit is reached, and he decides to stop.

These two work as expected on their own.

3 IsoMeasure.vi

This is where the problems occur.  Basically, this VI take MTUL and MDTL and makes a loop in a loop for, change the frequency of each increment.  The observed performance is MDTL will work and try to start MTUL.  It's when 'Error-200547' is thrown.  The error code appears to be understandable, but "autostart" isn't clear for me using the wizard.

I would avoid using all daqMX code, but I will if I have to.  If that's the suggestion, a good example is that sort would be great.  If I can put the autostart Assistant, I guess it would help as well.

Thanks for all the tracks.  I think it should work.

Hi drevniok,.

The reason why you get this error is that you try to restart your DAQ Assistant several times in your application. One important thing to note is that a task DAQmx configured and started only once each time the DAQ Assistant is called for the first time. Therefore, since you are stop and start the DAQ Assistant, in your application, the second time you call the wizard, it does not start the task. This is made more so by the fact that the function of writing in the DAQ Assistant DAQmx has his automatic starting of entry set to False.

Using the DAQ Assistant for Analog Output returns an error-200547

That being said, the DAQ Assistant is mainly used as a quick and easy to set up and use your DAQ hardware, however, it is a bit limited in functionality compared to the lower levels DAQmx live. This is a case that illustrates this limitation and therefore, I believe that the best solution this problem would be to use the DAQmx LabVIEW vis a lot shipping examples that can help you get started developing your application. These lie in you NEITHER example Finder under the menu help. "" The example I want to show you is the Regeneration.vi Clk - no Cont Gen Wfm - Int voltage under input and output material"DAQmx" analog generation "voltage.

Is another resource, I want to tell you the getting started with NO-DAQmx: Homepage, which are a collection of tutorials online on DAQmx programming.

I hope this helps.

Tags: NI Hardware

Similar Questions

  • Multiple entries to the DAQ Assistant

    Hello

    I'm doing my DAQ Assistant, in several (formed of an array) Boolean inputs where there is 1 digital output. (see attached software folder)

    Physically, I want a valve to open and close at a certain pace, where the user can install/control this pattern until the program starts.

    I think that the best way to do it is to have multiple Boolean values that the user can press or unpress.

    Before that, I started, I tried with only Boolean 1 where it worked perfectly.

    As seen on the attachment (error), it is possible to an easy problem to solve, but I just can't figure it out, I'm stuck at my already made solution.

    I use USB6008.

    I hope that there is a gentle soul who can help out me.

    Best regards

    Kenneth G. Vejen

    Hi Kenneth.

    When the output to the generation mode is set to "sample 1", which means that whenever you call the DAQ Assistant will generate 1 sample. In order to generate 5 samples, you must therefore call 5 times.

    I have attached a modified version of your VI, which shows a way to archive it. However, be aware that the samples will be generated fast and not at 100 ms note your loop runs. It depends on your application, if it is as you want samples to be issued.

  • 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.

  • DAQ Assistant no recorded data during the case structure is false

    I try to turn it on turn off heater using intermittent relay module (some time and some free time). The program attached that do very well. Except that I also want to record the temperature of the radiator using materials DAQ Assistant and it records all the data when the case structure is false. I mean, when the relay is off. I tried to use the vi for the acquisition of data in the structure of the case. However, aparently it is not possible to call the module analog input even twice in the same program. All solutions? Thanks in advance.


  • 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 input for the formula

    I need the output to my DAQ assistant for that entry into a knot of formula. But I can't do it because the terminals are different; data Dynamics vs double [64-bit real (precision ~ 15 digits)]. Is there a way in which I can use these dynamic data in a node form?

    Look in the express palette under the manipulation of signal for an another express VI, called "DDT".

  • How to stop express vi DAQ assistant

    I am eager to collect data of a few strings at a time at a high acquisition frequency (40000Hz) while also controlling motor movement step by step.  My problem is that when I put the DAQ assistant for continuous samples to 40 kHz it acquires yet the amount indicated in the number of sample area before stopping.  I plugged in a local variable to the stop input, but she seems to have no effect.  Any help would be great.

    -Jake

    N °

    N samples will take samples of N and collect no more until the next time you call it.

    Continuous start collecting samples.  You ask N and he'll wait and turn the N samples once they come in.  Meanwhile, while you do other things in your code, it will continue to collect, N + 1, N + 2, etc. in its buffer.  The next time you come back and call, he'll wait again for the next N samples, but he maybe already all these N, or substantially all of them and will not have to wait that long.  Also, you don't pause in the data because the first sample of N following will be the one that immediately follows the last sample of N first with synchronization of the clock.

  • DAQ Assistant is not in LabView

    Hi all

    I use NEITHER cDAQ-9174 and NI 9203.  I have already installed the driver for the NI 9174 cDAQ, which is NEITHER-DAQmx 9.8.0.  I can see the device when I opened NI MAX. However, when I open LabView 2015, I can't find DAQ Assistant in the function Palette. I noticed on the chassis, 'ACTIVE' light is not on while two other "POWER" and "READY" light is on.  I look in the forums OR but I can not find the solution.

    Any suggestion, please help!

    Thank you!

    DAQmx 9.8 is not compatible with LabVIEW 2015.  You must use at least DAQmx 15.0.  See here for more details: NOR-DAQmx and LabVIEW compatibility

  • 201003-error occurred in the DAQ Assistant

    Hello. I use "cDAQ-9178" and "NI 9215" and "NEITHER 9402" are added on. "

    However, when I run Labview code, "Error-201003" occurs.

    {

    Device not available. Possible causes:

    Device is no longer present in the system / device is not powered.

    Device is turned on, but was temporarily without electricity / device is damaged

    }

    (Error appears as the 1st and 2nd figures below).

    (Plans of logic is the figure below).

    Thank you.

    I could be something with the pilot

    Check this box:

    Error 201003 to the MAX test panel or all by running the DAQ Assistant

    http://digital.NI.com/public.nsf/allkb/5413F392D88326148625746B006745C5

    In this forum, they speak the same error:

    Spontaneous error code 201003 for acquisition of data PCI configuration

    http://forums.NI.com/T5/SignalExpress/spontaneous-error-code-201003-for-PCI-DAQ-Setup/TD-p/830707

  • Control relay with Boolean switch using DAQ assistant 9481 - problems

    Sorry for what may be a stupid question but I'm stuck in quicksand.

    I use a relay module 9481 and have two external relays connected lines 0 and 1.

    When I create a digital output 0 line by line, I can run the test inside the express and activate the relay and turn off without problem.

    The generated block DAQ expressed expects a Boolean input of 1 d. (See attached photo).

    I want to connect a Boolean switch relay line disk 0. You can connect live not because the switch is Boolean and the input is Boolean 1 d - I'm a conversation in the pict.

    All plumbing lines display results, the relay never active.

    Any bunch would be greatly appreciated! Thank you

    Mr._Mechanical,

    Welcome to the Forums of switch OR this forum is generally intended for products OR-SWITCH [such as the NI PXI-25xx & NI SCXI-11xx], I think I know the answer to your question.

    I think the reason why it's a failure is the conversion you make generates a table of 16 Boolean [as the 'boolean to (0,1)' function creates a data I16 type] with your data more false data points 15.

    When you try to control the relay, he sees 16 datapoints are you Commander to a single port [channel] and so error out.

    My suggestion would be to use normal DAQmx digital output screw [with, he set up as ' Digital > single channel > single sample > Boolean (1 line) "] rather than the DAQ assistant.

    If you use the daq assistant, simply by using the function 'Building the table' will transform your simple Boolean data point in a Boolean array containing a single element.

    While the DAQ assistant is very easy to use, I recommend that you use the DAQ assistant, because this reduces the features and increases the execution time.

  • Simulate signals wired to the DAQ assistant for USB-6009 device

    Hello

    I'm trying to send a signal to the DAQ Assistant Express VI.  I watched the movie "Generating a Signal" on the Web site of NOR (www.ni.com/academic/students/learnlabview/generate.htm) and I have my Signal simulate connected directly on the DAQ Assistant, as shown in this film.  In my case, the DAQ Assistant sends the signal to a device USB-6009.

    However, I received this message:

    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: SampTimingType
    asked the value: Sample clock
    You select: On-demand

    If I select 'On Demand' in my DAQ assistant and run the vi everything works beautifully.  However, I need my DAQ assistant to be configured to generate a waveform AC continuous, not output a single alternating current rippling.

    What happens here?  I did not have this problem before on other devices of NOR. I am using LABView 2010.

    Please answer.

    Thank you.

    double post

  • Under VI 'DAQ Assistant': Sub VI is not executable

    Salvation OR engineer,

    My task is to acquire and record data of input voltage analog with PCI-MIO-16-1 and BNC-2110 connector. I can get the signal via MAX, but as soon as I drop down the function palette DAQ assistant in FASHION Lab blocks diagram, my run button becomes broken. I got the error message like "Sub VI"DAQ Assistant": Sub VI is not executable. How can I overcome this?

    Thank you

    Yvette.

    Hi Paul,.

    Unfortunately, SignalExpress is a different license than LabVIEW. However, you don't need a SignalExpress to acquire and record data. LabVIEW has every ability to SignalExpress and many more.

    Kind regards

  • Calibration of thermocouples in the DAQ Assistant, using data from spreadsheet?

    Hi all

    For my first application LabVIEW, I'm looking to automate the calibration of thermocouples by measuring their response at different temperatures in a dry well Sizer. I get temperatures of thermocouples six by SCXI 1303/1102/1600 and have six channels put in place in one of my subVIs in the DAQ assistant.

    I compare these values to temperature calibrator that I am acquiring by VISA series in an other Subvi. All these values are written in a .csv file.

    Can I import these data into the DAQ Assistant to use for calibration? Is there a simpler way to associate with the channel calibration data? Currently, I could manually copy - paste the cells on the worksheet in the calibration sheet, but that seems just silly.

    If there is everything that I could provide to help solve the problem, let me know!

    Thank you!

    Hi Zoysiamo,

    It is possible to automate the calibration screws DAQmx at a lower level, in particular the DAQmx channel property node. Using you can specify advance nationwide and the values on the scale for your channel. I recommend you take a look at this example of the community. The property node configuration will be similar to, as illustrated below:

  • 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

  • Missing DAQ Assistant

    Hi guys,.

    I have LabVIEW 2015 and 14.0 DAQmx.

    Yet, the daq assistant is absent the express--> palette entry.

    Any help?

    Message 5 of this thread will give you the answer.  More precisely

    DAQmx and LabVIEW version compatibility

Maybe you are looking for

  • Re: How to disable the function and the combination of the space bar key?

    How can I change the combination Fn + space?If I hit him, it changes the resolution of the screen. terrible :( p.s. I asked this question ten minutes ago, and now he's disappeared from the forum Board. does not pass the prior restraint?

  • My laptop keeps turning off

    I had problems with my Toshiba laptop for the last month or two. The problem is that he is himself put out more than inopertune time and I'm becoming more and more annoyed about it that the laptop just goes into stop for no reason at all. Sometimes i

  • I have two os on my hard drive.

    I have two os than xp professional and home edition installed on my hard drive. And I have two partitions on my hard drive. My home edition version does not work so I want to remove it how know I that on which the partition is installed home edition

  • How to install xp sp3 with sata driver in my P8Z68-V THE?

    Hi my problem is that I want to install windows xp service Pack 3 in my new computer my new computer is compatible Windows7 how to install Windows XP on my new computer? It's my form of systems Motherboard: ASUS P8Z68-V (compatible with windows7) PRO

  • DV7-6185us cracked screen

    Using the forum search function, I found some similar threads but I have before I buy a third-party screen, I want to be 100% sure that I get the good screen which is compatible with my machine. I have seen that some experts have given the specificat