Verses DAQmx DAQ Assistant

What is the benefits of the acquisition of data from the block DAQmx rather than using the DAQ assistant block? Are there pro on and con everyone? What is normally used in the industry?

I also noticed there are several methods to write data to file and I was wondering what are the right method or the pros and cons for this?

Dawud-Beale wrote:

What is the benefits of the acquisition of data from the block DAQmx rather than using the DAQ assistant block? Are there pro on and con everyone? What is normally used in the industry?

You have MUCH more control on the acquisition with the DAQmx API on the DAQ Assistant.  You can also make the code more efficient with the API.  Normal in the industry to avoid the DAQ Assistant

The only real advantage of the DAQ Assistant, it is easier to set up your task.

Dawud-Beale wrote:

I also noticed there are several methods to write data to file and I was wondering what are the right method or the pros and cons for this?

Well, that all depends on your needs.

Need human readable?  Go with a CSV or tab delimited text file.

You will need to register a lot of data quickly?  Use a binary file or a PDM.  I tend to use the PDM because it is well set up for the acquisition of data and waveforms.

Tags: NI Software

Similar Questions

  • Why generate code OR DAQmx to assist DAQ?

    If I set up a channel of AI using the DAQ Assistant why converting using NOR-DAQmx code generate the menu? It runs faster? What is the advantage of the conversion?

    Dave

    In addition, you have more control over DAQmx code vs express screws if you need configure the parameters that were not in the express VI, as export a trigger causes another trigger, you might add the code to do.

    Finally, the express VI contains probably more functions you really need.  A lot of unnecessary code.  With DAQmx, you put only what you use.  No unnecessary functions wasting time.

  • Outbreak of DAQmx N-sample and the Acquisition using DAQ Assistant

    Hello!

    I'm still fairly new to LabVIEW and I am working on all the points of connection. I would like to acquire a finite number of samples of analog data from a CompactDAQ system when a Boolean event of internal software (like a button of VI). I followed the examples to implement the acquisition with the DAQ Assistant, which works very well. I don't understand how I can use a software trigger, but I don't see how hardware triggers are configured in the trigger tab in the DAQ Assistant.

    I don't know that this should be very simple; Maybe I'm just ignorant of the configuration used for this sort of thing. Also, I could find soon I need to go beyond the DAQ Assistant for some of what I want to do, so any pointers to good references or tutorials on programming DAQmx are welcome.

    Thank you!

    Ryan

    You can simply put the acquisition within a value of the Boolean control change event.

  • 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

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

  • 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

  • DAQ Assistant does not export the values on the scale

    Hello all-

    Potentially stupid question but here goes: I'm using the DAQ Assistant to read in 4 analog input voltages, continuous sampling acquires data at 10 Hz 1 point, using LabView 12 on a machine with an acquisition of data USB-6341 simulated device (because my office is more comfortable than the lab!). I want to change the first two signals of voltage to temperature and humidity, respectively. I used the «create a new...» "in the 'Custom Scaling' drop-down in the"Voltage configuration"tab for each of these channels, named gave the slope and the intercept at the origin for the respective linear scales and click OK."

    When I test the code - and yet once again, I'm not on a machine with a 'real' DAQ system, I use a simulated device, and it seems that NEITHER MAX generates a sine wave of long period with little noise on top for this - I do not get the results on the scale of my 'signal', I get the raw tension. (If you run my code, I will join, the Relative humidity must be between 0 and 100 and temperature-40 to 60, is not 0 to 5, for example.)

    So, what happens? Is there some flag or setting that I missed? The scaling only works on voltage data 'real' of a 'real' instrument DAQ, instead of a simulation (which is why I mentioned twice!)? I have to do something in NI MAX as well as Labview?

    Thanks for any help you can give.

    John Easton

    Simulations devices will not respond to custom scale.  They are just supposed to allow you to configure your device without errors when you do not have the unit on-site.

    "NOR-DAQmx simulated devices create a noisy sine wave to all the entered analog." Simulated data other set-up is not available at this time. »

    http://www.NI.com/white-paper/3698/en

    They generate a sine with an amplitude equal to half of your specified input range.  If you want to work with simulated data that would be more realistic for your application, you could write a VI to generate the data and have a business structure to manage both "simulations" and "real", then you could switch back depending on whether you have access to the material.

    I just checked this with a PCI-6254 I install and simulated a PCI-6254.

  • Conversion task DAQ Assistant

    When I try to convert my DAQ Assistant tasks with a right click - Convert to task NOR-DAQmx I get a name and a scrolly input output with all the broken wires. Similarly, if I create a task in MAX and then use a constant for the task on the block diagram name I get the same result of entry scrolly. Am I missing a step here?

    Thank you

    Hi Mirabelle

    Glad to hear that you managed to solve the problem! In response to your questions:

    -L'information that read you about the creation of tasks in MAX is correct; It is possible to create a global task (an available screw a lot) in MAX. However, it is not necessary to create all of the tasks in MAX. As you think, if you use the task within a single VI, there is no need to create the task in MAX - in fact, it's probably easier just to create the task in the VI himself, either with screws of Express Assistant DAQ or DAQmx screw person on the range of functions located under e/s measurement > DAQmx - Data Acquisition.

    -When tasks change in MAX, it will not automatically be changed in LabVIEW. To make changes in LabVIEW, you will need to edit the task properties in LabVIEW, or remove the old task and replace it with the change.

    -I'm not sure what you mean by the question in your "P.S." to 100%, but I'll try my best to answer. Is there a specific example you speak? If you ask the use of screws DAQmx as DAQmx Virtual Channel Create, task control DAQmx and DAQmx Read etc., as shown in the examples of the expedition, then there are a few reasons to use those. Basically, screws of Express DAQ Assistant consist of a combination of the screw in the DAQmx - Acquisition of data from the function palette section. In general, screws of Express DAQ Assistant moving slower than the standard SIE DAQmx. It may be easier to debug the code when using standard screw, as it is obvious which task runs each section of the code. And finally, there are some limitations to the use of the DAQ Assistant, so while they may be easier to use in the short term, long term, I would recommend familiarize themselves with standard screws, because they make possible more complex tasks.

    I hope this helps! Feel free to let me know if you want to bring me anything, or if you have anything else that I can help you.

    Best regards

  • How can I programmatically change the parameters of voltage range in a DAQ Assistant

    Hello

    First post here.

    I need to be able to change the properties of voltage range of a daqmx assistant DAQ based on user input.  My material, an SCXI module - 1102C does not change this property on a running task, so I would together the range of input voltage analog before activating the DAQ Assistant, or break the DAQ Assistant immediately after it starts, set the values, and then resume.

    I don't know how to change the task ahead because the DAQ assistant creates the task when it is running, and there is no job before that.

    In the attached photo, I have a conditional section, configured to run only if the loop iteration is 0.  I take the task of the Daq assistant, sending him stop vi of task, set the property and then send the task with the snap the vi task. I can watch him run with lightweight debugging on, and everything seems to work properly, but on the second (and all others) iteration of the loop, I read I. Max and it seems that a re DAQ Assistant set it to the 5V.  You can see what's going wrong here?

    BTW, there is a continuous acquisition and the code doesn't produce error messages when executing.

    I've encountered a similar question someone posted here in 2006, but his question was specifically a Labview API (VB, I think) and not a real solution of G.

    Attached are the real vi in question and a PNG of the block diagram.

    Thank you!

    Ruby K

    First of all, if you want to start getting beyond the basics with the DAQ hardware, you have to stop using the DAQ assistant and do it with lower level VI DAQmx.  There are hundreds of examples in the finder of the example.  You can even make a right-click on the DAQ assistant and select open front panel.  This will create a Subvi, you can open and see what is happening behind the scenes.  Do it.  I think you will find that the task DAQ is recreated on each (although I'm not 100 percent the way parameters are established or maintained in each section of this sub - VI).

    The second problem is that you have a bit of a race on iteration 0 condition.  These two property DAQ nodes are running at the same time.  Thus, when you read the AI. Max, this can happen before or after the AI. Max is located in the structure of your business.

    Thirdly, make sure that involve you your son of the error.

  • In Labview 8.5, what happens if the input signal exceeds the scope of the signal defined by the DAQ Assistant?

    Hi all

    This should be a pretty simple question, but I can't seem to find the answer online and currently do not have the functionality to test this:

    I'm using LabVIEW 8.5 and have a VI that imports data from sensor through the DAQ Assistant. In the configuration tab, there is a range of signal input. What happens if my sensor exceeds this range? I get a warning? The default value is the maximum (or minimum)? I was interested in writing a code to display an error that I approach the limits of this range, but did not know if I also need to include code to display an error if the scope is exceeded as well.

    Thanks for the help,

    Tristan

    Hello, Tristan,.

    The behavior depends on the selected range and the device you are using.

    If you are using a device with a single input range is valid, we will use this range, even if you set a smaller minimum and maximum in the DAQ Assistant.  So, if your device only supports ±10V and you set the range to ±8V, you will still continue to get valid data after your top sensor 8V until what you approach 10V.  When you reach the limit of the extent of your device, the output will be 'rail', and simply return the maximum value until the signal is less than the maximum value again.

    Note: A device that is nominally ±10V usually has a go-around (such as ±10.2V) which are usually specced in the manual.

    However, if you use a device with several ranges of entry then things become more complex.

    NOR-DAQmx player will choose the smallest range that entirely covers the interval you choose.  For example, suppose that your device supports the following input range: ±0.2V, ±1, ±5V, ±10V and you choose 0V - 3V as the range in the DAQ assistant.  The NOR-DAQmx driver will focus on the input range and the list of the entry lines that your hardware supports and choose the smallest encompassing the entire range that you set.  This would be the ±5V, because this is the only beach that contains up to 3V.  Thus, all between ±5V input signal is returned and none outside this range will be 'rail' to the maximum or minimum value.

    We do this because using small beaches make more efficient use of the resolution of the ADC.  So, we try to use the most effective range based on what you ask without picking up a range that will make you miss data.

    Let me know if I can clarify it more.

  • problem with install two DAQ in a PC and missing DAQ assistant

    Hello

    I have two 6023E DAQ cards and 6024 and each card has its own DAQmx (DAQmx Vresion 8.7 for 6023E DAQ) and Version 9.1.7 for DAQ 6024

    and I want to install the two ofl these cards together in a PC with LabView 8

    After LabView installation and installation of cards if I install the drivers of DAQmx version 8.7 I don't miss assistant DAQ but NATIONAL & MEASURMENT > DEVICE INTERFACE AND I DAQ 6023E in traditional mode and I can not use traditional DAQ and the DAQ assistant in labview 6024 is also not recognized

    If I install DAQmx worm. 9.1.7 in NATIONAL & MEASURMENT > DEVICE INTERFACE AND I the two DAQ (not in traditional mode), but I've lost assistant in LabView DAQ

    What should I do?

    Please help me...

    Problem solved:

    I have install LabVIEW 2009 and then install DAQmx 9.1.7 and the problem resolved

    Thanks to all the bodies of their response.

  • DAQ Assistant does not appear when starting a new project in Visual Studio 8 with Measurement Studio

    Hello

    I have installed a system with the following configuration:

    Windows 7 Prof

    OR MAX

    Visual Studio 2008 Standard

    Measurement Studio 2013 (evaluation)

    Device drivers OR Feb 2013

    When I start a new project in Visual Studio, I can choose a model with NEITHER Windows forms application. After that I get an overview of the classes, but after that, I get no DAQ assistant. What Miss me as is actual references in the Toolbox, with the exception of the buttons and graphics of NOR.

    Someone at - it a solution for this problem?

    Thanks in advance,

    Erik

    Dear Erik,

    I saw the same problem and I think that you can solve with the installation of the DAQmx 8.8 and make sure to include the Visual Studio integration.

    If you have any questions just reply to this email.

    Have a good time.

    Kind regards

    Hossein

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

Maybe you are looking for