trigger data acquisition on a file writing

I have trouble getting my DAQ to write data to a file based on an external analog input.  The challenge is that the analog input signal is only about 1 ms long and I use an old NI 9172 cDAQ.  The analog input is not very active, so I want the program to write to the file when the voltage is 5V in<>

I can see the trigger fires when I run the program at all times, but it's not write to the file.

Any help would be greatly appreciated

I think that I thought about it.  Or at least I did something that works now.  I added the function of 'Max and Min for the table' which allows me to only read the minutes of the data and allow to compare then to writing.

Tags: NI Hardware

Similar Questions

  • LabVIEW statechart module of data acquisition error external trigger

    I have a 2 loop vi is the acquisition of data of a data acquisition instrument loop and the second is a loop to run my statechart of.  I would like to respond to an error in device of acquisition data if it occurs in transition out of my current state in my diagram States-transitions and enable management of custom unique business mistakes.  My States-transitions diagram is synchronous and send it external trigger.vi funciton will not work with it.  How to achieve this?  In addition, there is some confusion about this literature in http://zone.ni.com/reference/en-XX/help/372103F-01/lvscconcepts/sc_c_callervi/ at the bottom of the page it saidNote sending triggers for synchronous charts is optional. If you do send triggers, LabVIEW sends the NULL trigger for transitions. If you send a synchronous statechart triggers, you can send these triggers to the caller VI. »

    Is it possible to do this and if so how with the synchronous statechart?

    Thank you, it should work for me

  • measure the angular speed, angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition

    How to measure the angular velocity, the angle and trigger using a gyroscopic sensor breakout board and LabView data acquisition?

    There is a single channel data acquisition code which measures the angular velocity, angle and flexibility using a gyroscopic sensor breakout board and acquisition of LabView data attached to this, I need a help to creat two-channel data acquisition code?

    Hello

    Attached is a vi that you can use in order to read the measured angular position of an encoder.

    If you need more examples on the tasks that you can develop with NOR-DAQmx and LabVIEW, you just need to open LabVIEW and click Help > find examples > Input and Output material > DAQmx > entry counter.

    Kind regards

  • Writing data in the text file or excel spreadsheet

    Hello

    I have a silly question to ask questions about the writing of data in a text file or a spreadsheet. I have an example that simulates a sine-swept DAQmx. The output it provides is the (amplitude and phase) frequency response function that is plotted on a graph (see VI) attached. I like to use these data for further analysis by transmitting the data to a text file or a spreadsheet. I've tried a few things, but the thread is broken. I guess I use the sink badly - so I was wondering, can you please advise me on what sink should I use?

    Your help would be very appreciated,

    Thank you very much

    REDA

    The wire is broken, because you cannot connect this type of data to one of these two functions. The data source type is a table 1 d of the clusters, where each cluster contains two tables. The text file write accepts strings, not clusters. Writing on a file action accepts dynamic data, and while you can convert dynamic data tables, there is no built-in mechanism to convert a table 1 d of the clusters of two matrices.

    What you need to do is to convert the data in a format which can be accepted by these functions. Since you want to have a "spreadsheet" file then you should use writing to the spreadsheet file that creates a delimited text file. Since the frequency data would be the same for the plot of the magnitude and phase diagrams, you can have 3 columns: frequency, amplitude, and phase. You can take off the items using Unbundle by name, and then create a table 2D of each element of the cluster. The real question is to know if you want to save the data at each iteration and if you simply add on the file. The attached figure shows write an initial header and then adding just streaming the data.

  • delay between the trigger and data acquisition

    Hi, I use NI SMU-6368 as a tool for data acquisition. In my experience, I use an external digital trigger to start taking measures of a thermistor.

    However, before the experience, I want to know the time that elapses between the detection of the trigger signal and data acquisition start time.

    Is there a way to do this?

    Here's the kind of thing I configure to get an accurate measure of time of t = 0 trigger signal to the

    the actual first A/D conversion.   It may be too much for a measurement of the temperature, but you should get

    the right track.

    -Kevin P

  • Writing data in the CSV file?

    I tried, but in vain, to write data in the CSV file, with the column headers of the file labeled appropriately to each channel as we do in LabView (see attached CSV).  I know that developers should do this same in .net.  Can anyone provide a snippet of code to help me get started?  In addition, maybe there is a completely different way to do the same thing instead of writing directly to the CSV file?  (In fact, I really need to fill a table with data and who join the CSV every seconds of couple).  I have the tables already coded for each channel, but I'm still stuck on how to get it in the CSV file.  I'm coding in VB.net using Visual Studio 2012, Measurement Studio 2013 Standard.  Any help would be greatly appreciated.  Thank you.

    a csv file is nothing more than a text file

    There are many examples on how to write a text using .NET file

  • Write data to data acquisition in a .txt or .csv file

    Hello

    I want to write the DAQ data inot a file .csv or .txt, so I'll try to handle 'Write in a spreadsheet file', can cause I can record data in all formats. My concept is that data acquisition data will save in a file continuously when I press the button IT and when I press STOP button then it will ask the user to save the file.

    I have attached the file VI.

    But my problem is that every time he asks me a new file even if I put the file append as true.

    All of the suggestions.

    Thank you

    Chotan

    Try this

  • You can trigger through communication Modbus TCP/IP PLC data acquisition without using a loop for?

    Hello

    I am trying to contact a facility through a Modbus TCP/IP communication PLC. I'm new to this method, but the idea is that the installation will send the logical (Boolean) values 1 bit by ethernet to my workstation which read and then will begin data acquisition. Basically, I need a triger to come to my pc. I placed my vi inside a structure case T/F which will run according to the signal, it receives data acquisition. However, for it constantly waiting, I put this in a loop for. The works of vi, but playback signals sometimes lagging behind due to the loop for. If I take the loop out and just run labview permanently, it works perfectly, but I know that the option is only for debugging and should not be used. So my question is, is there a better way to wait for an incoming signal?

    Hello!

    Please note that the order of execution of the write operations on the shared variable 000002 is not determined.

    For example, nothing prevents this order of execution:

    (1) value false 000002

    (2) set to true 000002

    (3) execution of the loop

    In what concerns the delay, you might consider placing a waiting vi in the case of 'false', or the loop uses 100% of CPU if I'm not mistaken...

    Kind regards

    Marco

  • TDMS write a comment in the middle of Data Acquisition

    Hello

    I am currently using TDMS for my data record. Currently I log data from a Keithley module via GPIB connector.

    Essentially, I want to save data in intervals and during the recording of data, I want to have a comment section where I can write the changes that have been made.

    It connects every minute and I want to add a comment in the minute 5 for example. What is the right way to apply it.

    Thank you

    I would use a loop that is dedicated to writing in the PDM file.  You can then send commands/data to this loop in a queue.  You could a single command to write your DAQ data and another for observational data.  I would connect all the data data acquisition in a group and observational data in a second group.  That will make your file much easier to understand.

  • choice of the model of design for data acquisition system

    Hi all

    I have a problem on the selection of the model design / architecture for a data acquisition system.

    Here are the details of the desired system:

    There are data acquisition hardware and I need to use by looking at the settings on the user interface.

    the period of data acquisition, channel list to analyze must be selected on the user interface. In addition, there are many interactions with the user interface. for example if the user selects a channel to add scanlist, I need to activate and make it visible to others on the user interface.

    When the user completes the channel selection, then he will press the button to start the data acquisition. Then, I also need to show the values scanned on a graph in real time and save them in a txt file.

    I know that I can not use producer consumer model here. because the data acquisition loop should wait for the settings to scan channels. and it works on a given period by the user. If the loop of user interface makes higher then loop (loop data acquisition) of consumption. This means that queue will be bigger, larger. If I use notifier this will be some data loss comes from the user interface.

    y at - it an idea about it? is there any model of design suitable for this case?

    Thanks in advance

    Best regards

    Veli BAYAR

    Software for embedded systems and hardware engineer

    Veli,

    I recommend the model producer/consumer with some modifications.

    You might need three loops.  I can't tell for sure from your brief description.

    The loop of the User Interface responds to the user for configuration entries and start/stop of acquisition.  The parameters and commands are passed to the Data Acquisition loop via a queue. In this loop is a machine States that slowed, Configuration, Acquisition and stop States (and perhaps others). The data is sent to the processing loop through another line. The processing loop performs any data processing, displays the data from the user, and records to file. A registrant can be used to send the Stop command or stop the loop of the UI for other loops.  If the amount of treatment is minimal and the time of writing files are not too long, the functions of processing loop might be able to happen in the case of the UI loop timeout structure of the event.  This makes things a little easier, but is not as flexible when changes need to be made.

    I'm not sure that there is a type of design for this exact configuration, but it is essentially a combination of the models Design of producer/consumer (data) and producer/consumer (events).

    Lynn

  • Missing PCI Data Acquisition and Signal Processing controller drivers

    Hello!

    I have a problem with my Inspiron 11 3148
    Service etiquette: CSFND32

    A few weeks ago, I did a clean reinstall of windows 8.1 using a .iso downloaded from microsoft technical support and put in level to windows 10 in a short time after.

    I don't have my thumb drive installation, where the microsoft .iso image file.

    Since then do a clean install, I had a few questions I'm going to break my best.

    1. lack of drivers for unknown devices & a PCI data acquisition and signal processing controller.

    I had some problems with wifi, so I looked in the Device Manager to check if my card needed a driver update and discovered several other device driver errors, which cannot be resolved by using windows update. The card wifi itself says it is updated.

    I tried to use the dell service detect downloaded applet on the page of the Dell driver IE, but it does not seem to function.

    If someone can identify what (s) I might need for these unknowns that would be fantastic.

    2. Wifi issues, perhaps in connection with the missing drivers above.

    -Sometimes does not detect networks.

    -Sometimes cannot connect to the internet when it is on my home network.

    -Is not able to connect to weak points where before he could.

    * Reset the network adapter in the network settings fixes detection and connectivity issues, but does not improve the detection of signals in weak points *.

    3. high (100-96%) HARD drive load for a few minutes after start high and very occasional errors "in areas not paginated page failure."

    -J' lived load disc high enough the last time I got the upgrade of 10 windows the first time, requiring often 5-10 minutes to settle at startup

    -Second time around, I always get high disk load, but it is not too long. The upgrade fee is very 'light', I have very few programs installed and even less to launch at startup.

    -Defects of Page seemed generally coincide with me shortly after you start using Google Chrome. I now use firefox instead and have known only one mistake so far since the permutation

    * I used the windows disk check and ran chkdsk /r for longer check disk to reboot, but both are no problem with the drive *.

    Ok... So usually after I finished writing this post, I came across a solution for the number one problem while browsing the microsoft answers forums.

    I downloaded and installed a driver for the Intel platform dynamic and thermal framework.
    -This solved my problems of missing driver.
    -J' rebooted several times and I am not also problems of wifi the day other than the problem of low task, but what I'll take it!

  • HP laptop - 15-r224tx: PCI controller of Data Acquisition and processing for HP for laptop - 15-r224tx

    I get upgraded my laptop (HP for laptop - 15-r224tx) for Windows 10 but I can't find the driver for the controller of PCI Data Acquisition and Signal Processing. Please help me find the right one.

    Thank you!

    You are the very welcome.

    It is the latest version of the W10 driver for this card model... see if this solves the problem, if you have not already installed this driver.

    This package contains the installation package driver for the controller wireless LAN Realtek RTL8723BE/RTL8188EE in the laptop models running a supported operating system.

    File name: sp72517.exe

  • 15 - ac122tu: PCI of Data Acquisition and the controller driver of laptop HP 15-ac122TU signal processing

    Hi team,

    I just install windows 7 edition integral and peripheral Bluetooth windows 8.1 is not be detectable, when I search for problem that I came across this PCI data acquisition and Signal Processing controller driver is missing and a unknown device driver missing shownup in my result of troubleshooting. Please help me

    Please find the screenshot for your reference

    Thank you

    Hello:

    See if these drivers work...

    CQI PCI controller:

    This package contains the driver which allows Intel platform dynamic and thermal firmware setting. Intel platform dynamic and thermal environment information system temperature and power use for the heat of the system
    protection to work properly. This package is provided for the laptop models running a supported operating system.

    File name: sp71638.exe

    Bluetooth:

    This package contains the installation package driver for Realtek bluetooth in the laptop models running a supported operating system.

    File name: sp71288.exe

    Unknown dev:

    This package provides the HP 3D DriveGuard software (HP ProtectSmart Hard Drive Protection) for the laptop models running a supported operating system. HP 3D DriveGuard software protects the drive hard by parking the heads if cell phone accidentally falls, or is suddenly struck by another object.

    File name: sp71811.exe

  • 15 - r235ne: SM bus controller / IBD DATA Acquisition and Signal Processing controller

    Hello team

    I am facing problem in finding the right driver for material below.

    1 SM bus controller

    2 IBD DATA acquisition and Signal Processing controller

    kindly help

    concerning

    NASIR

    Hi, Nguyen:

    Download and install the Intel chipset installation utility and restart the PC.

    The 2nd driver down on the left is the automatic installation file.

    https://Downloadcenter.Intel.com/download/20775/Intel-chipset-device-software-INF-Update-utility-?product=1145

  • motion control for vertical actuator and data acquisition

    Hello

    I am a researcher (a branch of civil engineering) geotechnical engineering and I have very little knowledge about the acquisition of control and data motion, so would need a lot of help from the experts OR. I have only knowledge base on these 2 aspects based on my reading of some materials on the Web site of NOR and youtube videos, so I hope that you bare with me . Here are my questions:

    I am trying to build an actuator which will be used to push a probe (a penetrometer with a load cell to measure the resistance of a soil sample), resembling the concept, photography in the attached file. I need to have these criteria for my system:

    (1) actuator, which can push the probe at speeds between 0.01 mm/s - 300 mm/s with precision and move the probe cyclically (upwards and downwards) in the vertical direction
    (2) load expected on the probe into the ground range: 0.02kN - 6 kN.
    (3) necessary to get the load cell load data and the speed of the probe.

    4) able to control the actuator to a PC (speed and posotion) and monitor data from transducers and data log time even the transducers.

    Guess my beginners is that I will need:

    For orders:
    (1) software - LabVIEW and NOR-motion assistant

    (2) controller - NI PCI-7342

    (3) driver/amplifier - analogue servo AKD Drive

    (4) motor - motor brushless servo AKM

    For the acquisition:
    (1) software - based LabVIEW development systems

    (2) amplifiers or other device - no idea what type on the conditioning of signals

    (3) data acquisition device - no idea what type

    Since I'm a beginner, is - that someone might recommend components (hardware and software) for the control and data acquisition. I'm on a tight budget, so I thankful if someone could help me to recommend components good enough to build my system.

    Thanks for your help.

    At these rates, you will need to run the sensor for the cDAQ.  You can configure the analog output on the Tritex nationally on the position.  There is an adjustable filter that you can set in order to get a clean enough to 300 Hz signal.  When you learn about the Tritex, make sure that let you them know what comms and e/s that you want to use.  If I remember, not all options have worked together.  The analog output may need to be my, but you can put a resistance through the acquisition of input data to get the voltage instead.  I don't remember all the details.  You should really not too much on the Tritex/LabVIEW side.  You will send your movement parameters (beginning of end of race, speed, position, accel, cut), and if you cycle (I believe you) or simply running in a loop.  You could also just be able to use the functions of jog.  When you get close to knowing exaclty what you need, PM me and I'm sure we can work something out with the drivers.  You need only the basics.  In fact, you could probably do this all your movements via digital and analog i/o.

Maybe you are looking for

  • IMovie on Macbook Pro 15 GAL

    Hi guys,. mainly I use the Macbook Pro to the program with MATLAB, Eclipse, etc. (for this I bought the Macbook Pro 15 retina without discrete GPU), so I've never used iMovie to create the clip, etc. but only today I used it to create a small Assembl

  • scalingSwitchArray &amp; non-visible led table

    Hello, I have a problem with scalingSwitchArray, led table two user interface elements are visible on my development computer. But if I start the exe on another computer, I can't see the items as shown in the following image. I tried to change the ap

  • How image rotation and displacement by using different origins

    Hello  I use LabVIEW 8.5 and 8.5 of Vision.  I need to rotate, scale, and move a 2D image regarding one aspect of the image. I use IMAQ turn and shift, but I don't know what is the point of reference or originally used in this function. The coordinat

  • BlackBerry Smartphones how do you 'Disable' wireless synchronization...

    How can you 'Disable' wireless synchronization...

  • ASDM-IDM demo intrusion prevention

    Hello I was counting on the use of the demo under the student for security CCNP rather than buy any equipment. However, when I use it it came not with the module or the options, I see in the book. Is there something that I am missing? Did anyone know