Combining the scalar output with the acquisition of data time vs RPM

I have no idea why my 9402 NOR does not work as it should, but I don't know he counts the pulses, and at that time I need data for my forthcoming report.

I came to a .vi that contains a very basic way of relating counties in time, however, I need to save the data to an excel sheet for I can analyze it. I have a motor which is connected to an assembly. My encoder measures the rotation of the shaft (no measure of direction availible) which is directly activated by the engine. As load us the assembly, I want to see what the speed of the motor through the encoder. So let's set the engine speed (anywhere from 1 to 100 rpm) and then load the assembly and see if the engine cannot maintain speed. Seems simple but my module is having a difficult time getting one any frequency of the encoder.

Anyway, the .vi I use counts the pulses and divide them by 100 ms once every 100ms. This generates a scalar value that I want to record with regard to the overall time, prefferably every 10th of a second (100ms). I know that I combine the values in a table (2 columns, an indefinite quantity of lines). How can I combine two elements ([time, RPM]) in a table every 100ms and having the table keep expansion of the lines until I hit stop?

Hello Evan

There you go!

Mart

Tags: NI Hardware

Similar Questions

  • What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?

    I have a PCI 6519 data acquisition card. I want to install it on the PC and use it outputs to control a robot. I have problems with the connections to the terminal block which is attached to the cable.

    What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?


  • When I send a 5v of data acquisition, the voltmeter indicates 5V, but when I connect a "normally open" valve Parker for the acquisition of data, the voltage decreases automatically a.14 V. It seems to be grounded. Why is this happening?

    We send 5v data acquisition using a voltage generator. Hook us it up to a voltmeter and see 5V. When connect us the generator voltage to a valve "normally open" parker, the voltmeter indicates .14V. It seems that when we connect the two sons of the valve for the voltage generator, the son act as pattern. We want to control the voltage flowing to tap through Labview. We checked the wires to the valve and they work very well, because if we send a constant 5V since the acquisition of data and put ashore, she, the voltmeter indicates 5V. Someone knows why the son act as pattern and low blood to .14V?

    nsatpute wrote:

    Our data acquisition is NI USB-6259. The valve requires only a 5V max and our DAQ provides up to 5V. However, after connecting the valve to the acquisition of data, the grave tension to almost 0. We start from the principle that the son somehow act as the reason, but we are not sure if this is the case.

    The question here is not how much voltage the valve wants, it's the current needs of the valve.  The 6259 can put only 5mA via an analog output.  Your very likely tap needs much more than that.  If you need to add in an amplifier circuit that can supply more current to operate your faucet.

  • Read for the acquisition of data entries are overwritten

    Hey there

    I have a Daq reading input in a spreadsheet file

    Data acquisition was told that one is supposed to have some time a loop around it and I cannot get it to run without one, so good

    But my main problem is that it means that it replaces my written file each time that the loop repeats

    He also asked me to choose the file to write in several times

    How would I go about fixing this?

    Thank you

    Yes, you can convert digital to the chain, check the attached VI. I recommend you to go through the basic materials of LabVIEW and also play with example of NEITHER which comes with LabVIEW. Remember not to use the attached example and the acquisition of data, always use separate loops.

  • Restarting a task for the acquisition of data inside a For loop

    Hello

    I need iterate through my acquisition of data. Currently, I'm doing this through the creation, implementation and tasks for the acquisition of data inside a loop For which is iterated according to the needs of compensation. Unfortunately, the creation of these DAQ tasks slow down my code.

    I would like to be able to create the tasks outside the loop, pass them in and revive the tasks at the beginning of each iteration. Is there an easy way to do this?

    Otherwise, is there a way to make the standard DAQmx digital startup trigger trigger several times (so that it starts each pulse data acquisition in a long pulse rather than just the first pulse train)?

    Thank you!

    -Evan

    I whent before and created this example for you (and many others.)

  • Use two assistants for the acquisition of data at the same time

    Hello

    I want to read multiple data channels of analog inputs on my DAQ hardware. However, when I try to create two separate data acquisition assistants for each entry, it gives an error saying "is reserved for the specified resource. The operation could not be performed as indicated "." Can't use two assistants for the acquisition of data at the same time?

    I have to add different channels in the same assistant DAQ? I tried, but I couldn't separate the data in different graphs.

    How does this work?

    Kind regards

    Allard

    You can't have multiple tasks of the same type (in this case inputs analog) on the same device.  Just so having 1 DAQ Assistant read all your channels and separate your channels for individual transformation.

  • I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2.

    I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2. My spooler file got corrupted and I need to know what that the stamp of date/time on the latest version of the file: spoolsv.exe. I did a search on my hard drive and found 8 copies of the file with 7 different dates. I need to know which copy in my file C:\windows\system32\. I suspect that the problem was caused by some kind of malware. I think that some of the different versions on my machine of the initial installation of the Vista, SP1 and SP2. 3 copies that would explain. I tried all the suggestions in this forum and several others. I tried sfc/scannow and it simply replaces the corrupted file by another. I understand how works this file and a simple copy will do the trick if I knew that the file to use. I know that I don't want to go back to the first version of 2006.  BTW... my symptoms are all my printers have disappeared, and when I try to 'add a new printer' I get an error message saying that my spooler service does not work. When I opened my services window it shows that indeed, he is arrested, but I will not start because the description column contains only the code garbled machine indicating that the file is corrupted, or it may contain a virus. I had been using F-Prot until this virus got by and now I use AVG. I scanned my machine with several cleaning packages and it is is more infected, but I worry that from this corrupt file grow something. I know that the problem is not with my printers or drivers, because everyone on my home network can print on all of my printers. None of the people I know are on Vista 32 bit. They are all running System 7 or XP. I have XP, except that a few years ago I suffered from the "Syndrome of Pepsi" on my laptop and when I bought a new HP, it came with Vista.

    Version 6.0.6002.18294

    Day 17/08/2010

    Duration 14:11

    Duration may vary in different time zones.

  • Can not get the title and date/time to appear on the photo to develop, or a library

    I must have done it when I was trying to do some other keyboard shortcut and got hurt - and now I can not understand how to get rid of. But a few weeks ago I did something and now the file name, date/time and size image appear in white text on the top left of any photo I have in develop it or library screens:

    shot.jpg

    So you can see "_MG_0955.CR2" and other details in the clouds. Does anyone know how to get rid of it? I can't find anything in one of the menus. I'm on Lightroom 4.3 for Mac OSX Mountain Lion.

    Thank you!

    Ltter that I you keyboard through the Loupe View Info (even in the develop Module).

    You set what you want to see by pressing cmd + J - and select the parameters for Info 1 and Info2.

    Letter I cycles this way: 1 - Info 2 - no overlay Info.

  • How to find the last update date, time and user of the file field peoplecode

    How to find the last updated date time fields of peoplecode records?

    Thank you.

    We can check the update date-time using the following query

    SELECT LASTUPDDTTM IN THE PSPCMPROG WHERE OBJECTVALUE1 LIKE "RECNAME" AND OBJECTVALUE2 AS "FIELDNAME".

  • Limit the audio via the acquisition of data, what is the analog output rate of the pci-6014?

    Hello

    I'm trying out audio buffers thanks to an acquisition of data pci-6014. Audio files normally have a sampling rate of 44.1 kHz, but I noticed that when I try to exit, at this rate, that I get an overflow error. I checked the datasheet and it shows a rate of output of 10 K samples per second, way too slow!

    This device 6014 is quite expensive but are still unable to a stereo sound output signal... ? Is there a way to bypass this limit? It is not sensible to pay $1000 one another.

    See you soon.

    I don't think there is a way to increase the analogue of rates. The 6014 is old enough. A better card and cheaper, would be the 6221.

  • Problem with the acquisition of data on XP Embedded

    Hello

    I'm using LabView 8.5, 8.7 DAQmx. My application is collection of data of NI USB-6009 14bits. I tried to create applications for tablet PC with installed Windows Xp Embedded. I created the installer on tablet with installed Windows 2000.  I solved all the problems that occurs during installation. First version of the program have assistant DAQ in a main VI who collect and process the data. It worked properly on Xp Embedded. Second version was split into two of the Subvi. One is data collection and secondary processing. Each VI have own while loop. Both Subvi is placed in the large loop and they start at the same time. I am writing all the data to global variables. On PC with the windows application created 2000 worked properly. Error occurs when I moved it to Xp embedded. VI, which is the collection of data, the error see the 200361 code and text:

    DAQmx reading (analog 1-d Wfm NChan NSamp) .vi:2
    The task name: _unnamedTask<0>

    I know its something with the sampling and the clock, but I do not see where is the problem. In the main loop and two Subvi I 'wait until the next ms Multiple"block with a value of 200. DAQ Assistant were set as follows:

    Price: 1000

    Number of samples: 1000

    Timeout (s): 10

    Can you tell which can cause this error?

    If you would like more information please write here.

    Problem solved. There was connection between PC and USB-6009. Program works when I connect the USB-6009 housing directly to the PC. Previous connection was through usb hub.

    Thanks anyway.

  • Oscilloscope for the acquisition of data from the usb-6009 or - example of temporal division for 5 seconds, 10 seconds

    Hey Hey everyone

    I was looking for an example for two-channel oscilloscope virtual using e/s all-in-one of the 14 bits of NI DAQ USB 6009. I tried to research for example BOF time division or s/div for 1 second, 5 seconds, 10 seconds.  but was shocked to find that there is no reference for it. The range of oscilloscoper virtual

    Minimum - 10 micro s / div maximum -10milli second div but there is no example for 1 second / div or 5 seconds / div...  If anyone can guide me. I'm new to labview environment.

    This is the oscilloscope two sample obtained from google search. is there material limitations. ?

    I'm working on continuous 4-channel data acquisition data acquisition using niusb 6009

    The sampling frequency is sufficient for any desired s/div. The sample rate is 12 ksamples / s per channel, so if that meets the Nyquist criteria for the input signal, you can capture it. The number of samples has no effect on that with the exception of the amount of the signal you acquire. Your chart is not stable, if you do not trigger the acquisition. Even as real significance, therefore your emulation seems actually successful.

  • request to help build a vi to acquire a signal of pc6251 for the acquisition of data and perform fft it can u people please help me? Thanks in advance

    Hi all... I learn LabVIEW since few days.i want to acquire a signal of pc6251 of acquisition of data and perform fft it can u people please help me? Thanks in advance

    If you do only use LabVIEW for a few days, you should get familiar with it first by looking at some of the resources available here. After that, you can watch heredata acquisition.

    After reviewing these documents, you can post back with any specific questions.

  • How to connect dwyer SERIES 629 differential pressure transmitter to the acquisition of data 9219 and read the signal?

    Here is my sensor
    Pressure sensor

    Here's the DAQ data sheet:

    ACQUISITION OF DATA NOR 9219

    Here are my issues:

    First of all I don't know what is LO and HI exactly in the DAQ 9219 material.

    Second, I don't know what pin code I should connect the DAQ sensor signal wire. PIN 4 or 5 pin? The sensor has three pins, and I guess I should connect the other two wires to the power supply.
    Thirdly how to calibrate the sensor. In labview choose voltage in the wizard?

    I'm pretty new in this acquisition of data and I need your help.

    Thank you

    Hi SilasIII,

    Hmm well 3 sons are probably on the ground, the power and the return signal. The datasheet for the sensor says:

    First of all, you need to know which model you have (4-20mA, 0 - 5V or 0-10VDC). HI refers to the return signal, LO essentially means the land of the food that feeds the sensor. Then, you must get the 13-30 VDC supply. I don't think this should be too complicated and can be a simple wall DC power. You can learn how to create a custom in DAQmx scale. I hope that this is a starting point.

    Kind regards

    Eric

  • conversion of the error of date / time when using easy excel reports

    I export a 2D array to an excel file using Excel reports easy vi. I have no problem with that. My data has a number of areas with different formats (text and date/time). My problem is the following:

    * some (in other words, not all data is in the same worksheet) the veiled values of date/time to mm/dd/yyyy format whereas they should be in mm/dd/yyyy (is the excel format it is y in!). Essentially, I have 30/09/2008 (September 30, 2008) in a cell. After ticks on Oct. 1, it will display the date as, 01/10/2008. Excel thinks that this date is in the format dd/mm/yyyy.

    This is a known error in earlier versions of Excel (2002), in particular when you convert a .csv, .xls file. The solution, it was not to add "Local: = True ' at the end of the vba command string (see here: MS Knowledge Base). Here, in LabView I'm not sure how to proceed.

    I tried to change the format of the column in question to the 'text' by calling an Excel Macro in LabView, but do you think I can find the vba command to do? No, not so much.

    LabView saves the Excel file in 97-2003 format (I use MSOffice 2007) and I wonder if the version they are using does not consider the time correction, as described in the knowledge base (or if it applies).

    Any suggestions, I'd love to hear from you.

    Kind regards

    David.

    Hi LaRisa,.

    I was able to find the cell Format Excel set vi and successfully change the format of the value of the cell. It wasn't until I had found the vi that I realized that I've been down this road before. Change the format after the table has been created does not change values dd and mm switching that has already occurred. However, if I did before I "created the table" (or vi Excel table) and set the format to be '@' then it displays the string like 'Text' in the Excel file. That's nice. I can control what cell, row, or column to format now. If I want to be in a date format then I must apply the Format of cell vi after the easy Excel table vi.

    It sounds like a stupid race around me...

Maybe you are looking for

  • I just clicked on the shortcut to undo key and then all photos are missing after I get my CF card

    How to get my photo because I just clicked on the shortcut to undo key and then all photos are missing after I get out my card CF.I formatted my CF card already. < re-titled by host >

  • Activation of the AHCI after installing Windows XP on Satellite L300-19Y

    So, I picked up this laptop used which has Vista installed on it. I got rid of him, but being not able to install XP I put the laptop in compatibility mode and then installed without problem until I relealised I need to install the SATA drivers as pe

  • problems with windows vista

    I have windows vista and Trend Micro antivirus... I have a fake antivirus program which swept out of my system. We have fixed this, but I can't use Internet Explorer (but google chrome is ok) and when you click the start here button where there shoul

  • Gmail settings for ePrint App (iPhone 4)

    Hi all I recently downloaded HP ePrint iTunes app. I try to add the GMail account to the app, however, he keeps fails with "error checking". Tried almost all options still does not. I'm able to add Yahoo, my mail official but not GMail. Any help woul

  • Alienware 17 R3 FacImg folder

    Hello I created a USB recovery by following the steps listed in This being completed, delete the FacImg folder in the C:\ drive? See you soon! Michael