Triggering and simultaneous measures

Hello world

I wrote a Vi to acquire data simultaneously from 7 devices. I use cDAQ9178 with NI9203. The vi will acquire current values 4 to 20mA. Could you please check the attached file and let me know if I need to improve.

I have a question and I would be grateful if someone can help me to answer.

1. how to open the binary file for writing to the file measured by EXCEL?

2 is it better to use write on the worksheet for data recording, if yes how to include the time column?

3. I will use external trigger via the port of PIF0 signal, is it OK to do with dag support? I have not yet tried, but it seems simple?

4. Finally, I have another vi for the valve which should be triggered with vi as, is their anyway to do it? I was thinking of the authors of the notification, but I don't know how to use ?

Sorry to ask too I really urgently need all this. I should finish my Tuesday data acquisition system

Best regards

In your example above, you have the Setup to write it into a file measure so it renames an existing file. This replaces the file at each iteration. You must change this to add to the file. It's in the "If this file exists' section of the configuration dialog box.

Tags: NI Software

Similar Questions

  • In the control loop time interval and simultaneous measurement

    Hello world

    I just started to learn labview so please do not judge my messy programming

    I want to constantly measure certain values (humidity, temperature, etc.) and once a certain threshold is crossed, I want to activate a device. Measure and activating things works perfectly if used separately. If I combine it and measure for awhile (10 samples at 100 Hz continuous playback mode) I get the error 200279 "attempted to read samples that are no longer available.

    If I use (100 samples to read 100 Hz n samples) it measures for some time (interrupted manually after 4 hours), but I recognized that there was a gap of time of half an hour between the timem system and the 'real' time shown in the table.

    Oh, and this isn't really critical time. It is enough if it measures one sample per 5 seconds or more.

    Is there a quick fix and dirty for this?

    Thank you for your very long in advance.

    Hendrik


  • simultaneous acquisition of the accelerometer and a measure of a rotating machine encoder.

    I want to make a simultaneous purchase of the accelerometer and a measure of a rotating machine encoder.

    So what National Instruments data acquisition product must be chosen to do this capture.

    Sure that if your accelerometers do not need power IEPE (maybe you have an external power supply for the accelerometers) and if the voltage sensor is located in the voltage of the sensor of the 6221 range.

  • 7054 TDS query max and min measure

    I seem to have difficulty querying for minimum and maximum measurements on my o'scope 7054 TDS. I have two meaurements on and if I question MEASU:MEAS1:TYP? He returned to MAX and back MIN for MEAS2. Yet, when I try to question the real value MEASU:MEAS1:MAX? It returns 99.000 + 36, which of course cannot be true. The strange thing is that the code works for the DPO4104. No idea what I am doing wrong? I have attached 2 sets of code, 1, that's how I activate measures on the scope, the other tries to query for max and min.

    You must use ": MEASU:MEAS %dto?" to get your data (put the number in the %d).  You ask in fact that the max best scope value recorded.  It can keep some statistics on measures.  Here are the commands that I use to get the data (even once, replace %d by the number of measure):

    : %D MEASU:MEAS: DAT?
    : MEASU:MEAS %d: UNI?

    The first order requested the actual data of the measure as well as the second units of measurement.

  • scanning voltage and current measurement for Keithley 2400

    Dear all

    Hello

    can someone help me?

    Despite days nearlly10 I am option to find any program LabVIEW 2010 for sweeping the voltage and measure current who works with RS-232, I have a end not have nothing exept examples read single and multiple data. I tried to SmartData labview and changed a few prorgram gpib to RS - 232, but I couldn't.

    In another attempt to find a good VI "votltage scanning and current measurement" that work with RS-232 in labview 5.1.1. I have converted in 2008, but it takes old driver (ke24xx.dll) and do not work in my labview 2010 and I could ' t find older driver.

    My thesis project was halted in those 10 days, and I couldn't do anything for our keithley.

    Please helpe...

    in the following, I have attached these files:

    1.-first, what voltage scan that works with GPIB

    2 - Vi that I change the gpib for visa (rs232) port that I don't know why it doesn't work.

    3. it is Vi related to the "sweeping and current measurement votltage" that works with the RS-232, but it takes old dirver so I can't use it.

    4-slot-VI necessary for the implementation of program 3 (but there is no driver for these subVIs) was attached to the reply message of this post

    If any body has this program ("scan votltage and current measurement" running rs - 232) please send to me

    Thanks in advance.

    None of you attached the screws are the driver OR you spoke. There is no conversion required for this driver.

  • Help, I have a problem with the PS and CC - I get and error measure in PS - "this program cannot start because ONCoreFoundation8.dll - is missing... and it crashes, and now creative cloud will not be open to all."  I spent more than 2 hours to speak to so

    Help, I have a problem with the PS and CC - I get and error measure in PS - "this program cannot start because ONCoreFoundation8.dll - is missing... and it crashes, and now creative cloud will not be open to all."  I spent more than 2 hours to speak to someone in tech support that I did not understand, and I don't know what to do next. The tech gal was run, but once she hung up he returned to broken.  I have an idea, but that's just a guess - trouble started about the time I tried to open On1 of ps there has been a perfect icon effects 9 (for some reason, they decided to add the icon when I got it - I have 8) I clicked it and it loaded the update and then asked me if I wanted to try or buy - that's when I realized that I should have clicked on 8 and tried of back , but is either too late - I think, maybe this dll. 8 or 9 in with perfect On1 effects - and it has changed my settings in PS - and is the reason why it is not compatible - ideas? I have a pc with window7-Carol

    Try to run Photoshop without loading third-party plug-in. hold SHIFT keys when you start Photoshop.  The missing module is not Adobe software.

  • Simultaneous measurement

    I'm reasonably sure that all C series in a cRIO modules should be able to input/output simultaneous however, I want to confirm this and there are several models that not explicitly said in their data sheets.  These models are the NI 9213 Thermocouple, NI 9402 and NI 9403 DIO cards.  I guess they should all allow concurrent access on all channels, but I would rather confirm this with people who have used them before ordering devices.

    Hi Michael,

    I read your question in two different ways...

    I CAN input and output at the same time on these modules?

    The 9213 has no output, so it's a moot point. For the DIO 9402 and 9403 modules and most, then Yes, you can make entry and exit at the same time. You can confirm that open a project, add the module in the series C for a project, then go to the properties of this module. If you configure the channels separately, then Yes. Some modules to define both a whole port or module inputs/outputs, and these all would not O capabilities and I at the same time.

    These modules sample at the same time?

    Very few of our analog modules sample at the same time and they are usually called Dynamic Signal Acquisition (DSA) module - 9233, 9234, 9237 are examples. They have an ADC dedicated for each channel, so we can draw a measure of each of them at a time. Most of the other modules, as the 9213 you mentioned, have a single ADC and a multiplexer to analyze each of the channels one after the other, although very fast. So even if you can ask a FPGA node to read 8 channels both module, samples are actually slightly out of phase due to multiplexing. For digital modules, without multiplexing is required.

  • Time triggered by daqmx measurement

    Hey

    I try to get a measure of the time triggered by a contribution by a NI USB-6009.  The installation is a diode and a light sensitivity device. These must then switch between them a few times and I want to store the time every time they meet. Because I'm pretty new to labview I don't know how to solve this problem, so I hope someone can help .

    Best regards, Jesper

    Hi Jepser.

    I presume the USB-6009 case is the measure of the unit of light sensitivity. Is the signal of the digital camera? What is the calendar requriments for your application?

    There is a generation to check on USB-6009 and that you can use for edge counting applications. By counting the edges and store the timestamp for each edge in Labview you can then calculate the time between edges.

    Please let me know if it works for you.

    Thank you!

  • Siemens simatic wincc SCADA and LabView/Measurement Studio

    Hi all

    I am currently working on the design of wireless data acquisition system using materials. Input signals captured by wirelessDAQ NOR will appear eventually in WinCC from Siemens SCADA system.

    Is there a way to make this configuration? I thought to is to develop software for the acquisition of data using LabView/Measurement Studio and link code to WinCC via Visual Basic (for example via DAQmx). Thanks for all your comments.

    Hi kid_26,

    I'm sorry.

    It is the only option.

    If you press the cost, write a VB6 to call DAQmx is an option.

    Sincerely, Kate

  • Name of the file and the measure in the same table?

    Hello

    I wrote the following VI which opens each image file in a folder and measure a certain size on the image. He then puts the result in a table.

    The table has a column and N lines since I N images in my folder. How can I change this VI so that it puts the name of the file in the same table as well as the measurement?

    I want the table to look like:

    File1 measurement1

    File2 GCA2

    ...

    and so on.

    Currently, it just shows

    measurement1

    GCA2

    ....

    and so on.

    The VI are:

    You cannot use the Table Express. Like the properties page says: this is for digital data. You will need to use a bit of real LabVIEW to create the table. A table is simply a string 2D array. Convert the digital chain, build an array of 1 d of the filename and numberic strings and use a shift register to build a 2D array. Something like the code below.

  • What is the range of temperature for the 9219 and 9211 measurement modules using a K type thermocouple as the sensor?

    Hello

    hope I posted in the right place. I'm about ready to buy a cDAQ-9172 chassis and modules temperature 9211 or 9219 universal. I have not yet taken my mind yet. Then, I thought that one of them would make the temperature range required that I need. I need to go from-40 ° C to + 200 ° C and I will use a K type thermocouple. Does anyone know what are these upper and lower limits with this configuration?

    Thank you

    Mike

    9211 entry record indicates the tension... measuring range ± 80 mV

     

    A quick check on Omega web page http://www.omega.com/temperature/z/pdf/z204-206.pdf indicates this combination will be easilly cover your range of operation.

     

  • acquisition of data high-speed and simultaneous sampling

    I'm quite familiar with the coding for NOR-DAQ boards in Labview. What worries me with labview, is that each tick is about milliseconds. I intend to retrieve the data simultaneously from 32 channels at 2 MS/s/chan using SMU 6368 s. Wouldn't not possible to enter data, on average 20 to 50 samples to get a unique value, perform simple algebraic manipulations on it and send it to the PC / software to approximately tens of kHz? We already have labview code to perform similar tasks, but it is quite slow and limiting the rate of experience. I said that Simulink is slightly better than Labview in this regard, but suffers a poor user interface and that if something C/C++ offers the ability to perform at high speeds with the same cards OR data acquisition. Could someone advise me please on this issue?

    You can use your PC! You can use a PCI/PCI-e card as the interface to your computer and it should work perfectly. Take a look at these pages (http://sine.ni.com/nips/cds/view/p/lang/en/nid/10389) for more information.

  • Switch between triggered and untriggered AO: must clear the task each time?

    Hello

    I use August to produce a range of sine values sent several times to help to allow regeneration, with samples finished, that is launched by a trigger. Call it a group.

    One trial involves hundreds of groups. But there are gaps between them where other devices do things. In this gap, I also change the values of the sine table and then restart (awaiting release). I would use just the task Stop and Start Task live for it.

    The complication is that I want the area of OCCUPANCY to a specific value in the gap between the groups, which might not be the last value in the array. I want a way to say: once you have completed the task, do the AO to X sit until you press the trigger to start next. Since I'm on regeneration, I can't just set on the end of the matrix of normal results.

    Is there a way to do this without erasing the task is triggered, creation of a new task untriggered, set the value of the then delete again, creating a new task triggered, ect., hundreds of times she's going around the loop?

    Thank you

    Isaac

    In case anyone else wants to try something similar, you can't actually transition between two tasks, with the same (lines) means using VI DAQmx stop task simply because resources are always reserved.

    Instead, I replaced the task to stop the VI DAQmx control task with action defined as "Cancel". Can I cancel a task, and then start another and so come and go without the need to erase or create tasks every time (the same idea could be used for any number of tasks in the same sense, if I only have two).

    I tested by meassuring the analog output and it seems to work, no error is reported in the code.

  • PXI-6230 and differential measures

    Can you use the 6230 for closed measures the differential and unique at the same time?  Only 2 measures for Diff and 10 for itself?  What do I have to configure it somehow in MAX?

    Thank you.

    Of course, you can mix the types of channels, although the 6230 has only 4diff/8se and not the number you mention. You can do it in MAX or in your code. In MAX, just select the configuration of terminal for each channel. I know not what programming language used because you don't mention it, but if it is LabVIEW, you use just a function separate from DAQmx create channel for different channels and themselves. Don't forget to take into account that each diff channel requires two real physical channels. So, if you select ai0 for diff, which also uses ai4.

  • Pulse gap and inaccurate measures breed (Smartband2 with Android Lifelog)

    This problem of differential pulse me frustrated for a long time until a recent update of lifelog. But in the google group + lifelog beta, developers claim that it is a problem of firmware of the swr12 and it is up to the hardware team to resolve.

    However, so far, does still no update of the application swr12, and this problem occurs after the most recent update of lifelog. Yesterday, I found a gap in the period of sleep, then my exercise in full has today no details of heart rate (even if I actived cardio mode)! And sometimes the measure is very imprecise, on 40 bpm lower than the actual rate of heart, not very reliable, is to be fixed

    It's already taken too long time of difficulty. I hope that we don't need to wait another month or year?

    So the heart rate recording stopped because of a few friendly update server? I'm exciting about all kinds of updates, but not any that in the company of sony a tweet message in advance so that we know that our devices are not broken it's because of the server?

    How disturbing people, who thought that their device regressed, reinstalled the apps and re-couple the unit again and again?

    I posted this message once I have not found this problem, although now no late reply again, not to mention a message in advance!

    Do not we panic next time. Please

Maybe you are looking for

  • Shockwave Flash 20.0.0.235 set to update automatically, however...

    Under December 2015 Adobe Security Bulletin, I wanted to check my previous Shockwave Plugin update and viola! It was already updated to 20.0.0.235 in date from 12/08/2015. Great! That said, I also noted that, under the foregoing to day was a previous

  • Palm Desktop password protection

    Although I no longer use my handheld device Palm (Treo 755 p) I use the desktop app from Palm on my computers, mainly because I like the software allows for the protection of specific password of any given note, contact, or another entry.  When I rec

  • You use the zoom of the band to select all the data points in the Strip

    I feel stupid this morning. I am a new user with 2011, but have not figured out how to copy a portion of the data. I can use the 2D axis system view to view my data. Can I use zoom band to get the part I need, but for the life of me I can't seem to c

  • Acer V3 - 772G keyboard problem

    Hello I bought the Acer Aspire V3 - 772G a week ago. It was without OS, which I installed myself. First, I installed win 7. When I tried again PES 2014, I had a problem with the movement with the help of the arrow keys. I mean no moving diagonally or

  • Equalizer

    It seems that I can't use the EQUALIZER while playing on the radio. It does seem that fuction with MP3 music only...?