Save counter input data against time

Hello, i would like to know about recording using a write to measurement file.
When i record a data like analog input, at the save file with display the analog data against time.
But when i tried to applied for the encoder, which is using counter input, in the .txt file dont display
the result as analog input. So can someone give me a guide on what to setting on write to measument
file to measure the revolution per minute rotation against time, thanks
Solved!
Go to Solution.
Attachments:
encoder recording.vi ‏180 KB

There is no setting for the Write Measurement File. Your problem is that you are passing a scalar to the function and that scalar has no timestamp information. When you use an analog acquisition, the data type is either a waveform or dynamic data type. Below is one way to add the timestamp information. You also should have a delay or msec wait in your loop. This can be used for the dt information.
Message Edited by Dennis Knutson on 09-24-2007 09:51 AM
Attachments:
Save Scalar with Timestamp.PNG ‏6 KB

Similar Messages

  • How to record the data against time?

    Hi there,
    I am doing a real-time measurement, and i get a 1-D dataflow  from the loading cell without time stamp.  I know how to record it and save it to a file. However, how to store the data against time? I know I can use "get date time in seconds.vi" to obtain the system time, but how to integrate it with the dataflow from the loading cell? it would be best if I can view the dataflow changing with respect to the system time in a waveform chat.
    Thanks.
    Mike

    You are doing a measurement with what? NI DAQ card or something else? The chart and saving to file are two different things. For an example of displaying time in a chart, look at the example called Real-Time Chart. How exactly do you want the time/measurement data written to file?

  • Save the input data of single WD4A screen

    Hi All,
    I am interested to know, whether as in the case of the ABAP report screen where we can save the input data as variant, is it possible for us to save all the input fields into a variant in WD4A.
    Thanks,
    Selvakumar M.,

    hi,
    Refer the following blogs on Variant in Wd Abap :
    /people/sharad.agrawal/blog/2008/08/21/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-1
    /people/sharad.agrawal/blog/2008/08/25/creating-and-using-variant-in-select-options-with-web-dynpro-for-abap-2
    I hope it will help you.
    Thanx.
    Saurav.

  • Save user input data

    I would like the ability to have a settings screen and allow the user to enter parameters.  These parameters need to be saved even when the program (VI) is shut down.  As an example I made a quick simple program, Sample test 1.vi.  Here there is input data, amplitude, a maximum setting and a minimum setting.  I would like the user to be able to set the settings (maximum and minimum) to the desired level, run the program, stop the program, shut down the program.  Upon restarting the program the settings should be at the last entered value. Any ideas or assistance is appreciated. Thanks,Brian  
    Attachments:
    Sample test 1.vi ‏8 KB

    Look through the example VIs that ship with LabVIEW. They have examples on working with ini files. I have included an example of the VIs that we use for our applications as well.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot
    Attachments:
    Application Template-Get Test Specific Parameters From Config File.vi ‏20 KB
    Application Template-Save Test Parameters To Config File.vi ‏19 KB
    Application Template-Test Parameters.ctl ‏6 KB

  • What is the best way to assign time stamps to counter input data?

    Compact DAQ
    NI 9411
      Hi Everyone,
      I am creating a chart recorder for collecting various engine data.  I need to plot engine speed, crank angle, and various analog data on an XY graph.  I am using a counter and a mag pickup to continuously measure the frequency of the flywheel teeth.  From this data I create an array of timestamps based on accumulated periods for each frequency measurement.  My problem is, how do I determine the absolute timestamp for the first frequency of the buffered data?  I need to sync the frequency data with the analog data so I can plot it all vs time on an XY graph.  The flywheel has 201 teeth and the engine runs at 600 RPM.
      I am using a second mag pickup and counter to measure a single index pulse on the flywheel.  This will be used to determine the crank angle.  I also need to create a timestamp for each index pulse.  What is the best way to do this?
      Is it possible to treat the two mag pickups as an encoder and not use the B phase (direction) pulse? 
      I am fairly new to LabView and any help would be greatly appreciated.
      Thanks in advance,
      Kris

    Hi Kris,
    With analog and digital input tasks in DAQmx, it is possible to acquire data of the type 'waveform'.This includes timestamp information for the acquired data. This example is a good one to reference to understand how this is done: http://decibel.ni.com/content/docs/DOC-3749 . 
    With counter tasks in DAQmx, however, your best bet would be to use the 'Get Date/Time in Seconds' VI to obtain the absolute time. You can set this up so that the absolute time value is obtained right before the DAQmx read function is called, as shown below:
    Are you trying to use the 9411 to read from the mag pickup? What type of data does it output?
    For information on programming with NI-DAQmx, please refer to the following webpage: http://zone.ni.com/devzone/cda/tut/p/id/5438 . It is a very useful resource to get started on DAQmx applications! I hope this helps. 
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • Hi everybody how to save the inputed data in one simple list output .

    here am wrting the description of the requirement ...
    am displaying one report output in that output i have all my fields open so that user can directly chage the dats what ever needed or he needs.
    then after changing when he will press the save button the changed data should be saved to one of the database tables ..
    so can anybody please help me out how to do this requirement
    this is a simple report with all fields in the output screen in input mode

    hiiii
    if you want to save the data that user have updated then use following statement on SAVE button.
    UPDATE ztable1
    SET    C1 = 2   
    WHERE  C2 IN ( SELECT C3
                   FROM   T2
                   WHERE  C4 = 0)
    reward if useful
    thx
    twinkal

  • How to transmit counter input data of different channels simultaneously?

    Hello.
    I'm using X-series PCIe-6361 DAQ board which have 8 DMA channels and Labview 8.2.1. I upgraded the version of DAQmx as 9.0 which supports the X-series devices and confirmed the board worked normally on my system.
    I'm trying to measure the pulse width continuously from 4 different pulse trains with CMOS level. The frequencies of signals are same but the pulse width and phase are varying with respect to time.
    http://zone.ni.com/devzone/cda/tut/p/id/9376
    From the tutorial page of NI X-series, I saw the following expression "X Series also includes eight DMA channels to stream data directly
    between the device and PC memory without CPU interaction or additional
    programming effort. These eight channels provide parallel data streams for the analog I/O, digital I/O, and all four counter/timers."
    But when I started the Labview programming, I realized that the counter functions of different channel cannot be put into a single task. So I couldn't help but separate the read functions into 4 individual tasks and there are timing differences in data transmission between channels up to 250 micro-sec because of the sequential running.
    How can I eliminate the timing difference and realize parallel data streams for the counter?

    Check out these links. I hope that they help!
    Fieldpoint and RT
    Logging Data with a FieldPoint FP-20xx to View in a Web Browser
    Transferring Files from a FieldPoint FP-20xx through an FTP Server
    Introduction to Using DataSocket Commands to Communicate with FieldPoint Etherne
    t Network Modules
    Good Luck!
    Mike
    NI

  • How to save flow control data and time

    Hi, 
    I have program that controls 2 flow controllers. I set a certain flow and they change the flowrate of the gas. Now I would like to save this flow that I am using for each flow controllers and the time, so I can keep track of at which time during experiment I had this flow of gas nr 1 and gas nr 2. 
    Is there a way to do this?
    I am a niewbie in LABVIEW. I have tried looking at youtube and tried different write to file funtions but its not working. At best I get an txt file with 3 colums name that I give each coulmn but no data following. ie,.
    nitrogen   methane  time 
    Can anyone help?

    Hologram wrote:
    How do I get the present time in hh:min:ss to be saved in the text file?
    You can use the Get Date/Time String or, if you really want to dig into some fun stuff, use the Format Into String function.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to save user input data in pages into database ?

    Dear Friends,
    Hello. I am developing my first PeopleSoft application using PeopleTools 8.49 and SQL Sever 2005. In application designer, I have created fields, records, records' underlying tables in database, and pages. After users type in data into fields in a page, we need to click "submit" button in the page and save the data into Database. How to submit data into database ?
    If we use JBuilder or Netbean instead of PeopleTools, we simply develope a server side script file like sth.jsp and link it to the "submit" button. The server side script file save data into Database. But in PeopleSoft application designer, I don't understand how to submit data in a page into database.
    Can any friends help to solve this question ? Thanks.
    Lucy

    Hi:
    Data will be saved in the database once you click on the 'Save' button on the page or if you use one of the 'Save' functions in PeopleCode (like DoSave(), DoSaveNow()). Generally, there is no need to write a script explicitly. Please refer to PeopleSoft Internet Architechture and PeopleCode peoplebooks (and other PeopleTools peoplebooks as well) for more reference.
    You may want to attend PeopleTools training if you are fresh to PeopleSoft development.
    Regards,
    Sameer.

  • Plotting data against time points in a chart

    I am trying to plot some measurements at different time points in a chart. However the time time points are not regular. They are at 0, 0.5 hours, 24 hours, 24.5 hours, 48 hours etc.
    When I try to chart the data the chart always has the x-axis points at regular intervals so it doesn't represent change over time. Is there a way of charting the points at the relative point along the x-axis over time without having to use a table with a time point for every 30 mins?

    Jwaz,
    Read the chapter on Charts in the Numbers User Guide. You can download it from the Help Menu.
    There are two basic classes of Chart; Category and Scatter. In a Category Chart, which it appears you are using, the "X-Axis Values" are actually treated as Labels with no particular numeric value. In a Scatter Chart, which it appears you would like to be using, the X-Axis uses true values.
    If you study the available Chart types you will see that all but one are Category Charts. You can plot a line with a Scatter Chart by adding connecting lines. You can also simulate a bar chart in a Scatter Chart if that's the look you want, by charting series that have only two data points; X,0 and X,Y.
    Which type of chart you pick will affect your choice of table layout. Category Charts require Text Fields for the Category Labels and Value fields for Y-Values. Scatter Charts require Values for both axes.
    Jerry
    Message was edited by: Jerrold Green1

  • How can I save my data and the date,the time into the same file when I run this VI at different times?

    I use a translation stage for the experiment.For each user in the lab the stage position (to start an experiment) is different.I defined one end of the stage as zero. I want to save the position , date and time of the stage with respect to zero.I want all these in one file, nd everytime I run it it should save to the same file, like this:
    2/12/03 16:04 13567
    2/13/03 10:15 35678
    So I will track the position from day to day.If naybody helps, I appreciate it.Thanks.

    evolution wrote in message news:<[email protected]>...
    > How can I save my data and the date,the time into the same file when
    > I run this VI at different times?
    >
    > I use a translation stage for the experiment.For each user in the lab
    > the stage position (to start an experiment) is different.I defined one
    > end of the stage as zero. I want to save the position , date and time
    > of the stage with respect to zero.I want all these in one file, nd
    > everytime I run it it should save to the same file, like this:
    > 2/12/03 16:04 13567
    > 2/13/03 10:15 35678
    >
    > So I will track the position from day to day.If naybody helps, I
    > appreciate it.Thanks.
    Hi,
    I know the function "write to spreadsheet file.vi"
    can append the data
    to file. You can use the "concatenate strings" to display the date,
    time as well as data... Hope this help.
    Regards,
    celery

  • JSP: Date and Time Count down

    Hi All,
    Sorry if i come to the wrong place.
    I am thinking to write a code by using JSP to count down Date and Time. I have one field in my microsoft access format as Date/Time. I want to get the remain time by using the time in my microsoft access minus the current time in the machine and then count down the remain time.
    Could you please advise??
    Thanks for any advise you may give me,
    Kimsan

    Hi All,
    Sorry if i come to the wrong place.
    I am thinking to write a code by using JSP to count down Date and Time. I have one field in my microsoft access format as Date/Time. I want to get the remain time by using the time in my microsoft access minus the current time in the machine and then count down the remain time.
    Could you please advise??
    Thanks for any advise you may give me,
    Kimsan

  • How to  convert the input  Dates  into ReminderInfo in AssignTask Activity!!

    Hi
    We are reading reminder  time and  Date from   the user   thru the form. We  want to  bind this input date and time with ReminderInfo data type to  set
    Reminders in Assign Task Activity.
    Please  find the ppt for more info.
    Please help  us in this regard.
    Thanks
    Praveen

    Nith,
    I know this thread is old, but how do you identify the Assign Task instance you want to adjust?
    I see processData/asdf..... in your screen shot - is this a global reference to assign task objects or to a specific instance?
    I have a process that has multiple assign task calls in it, and only want to set reminders on one of them.
    Thanks for your help - as always.
    Mark

  • EVDRE: refresh dimension cache files each time user saves or refreshes data

    Hi experts,
    We're facing a performance trouble with our input schedules, so we pretend to decrease response times.
    We've noticed an unexpected issue when users work with input schedules. Each time they save or refresh data into any input schedule, it seems to execute a dimension files refresh. Since they push Save buton till standard success message appears, we see diferent text messages in excel messages bar, in the bottom of excel window. And for a while, we can see a message where we can read "Load dimension cache".
    Does anyone know if this is an standar behaviour? Is there any way to avoid that, so we can decrease response time regarding input schedule performance?? Is there any dimension files refresh while we save data from an input schedule?
    Thanks in advance.

    I see these, too, running Fx12 on Windows 7. They are described in the (extremely voluminous!) about:cache interface as page thumbnails. I've attached some screen shots.
    The text is extremely difficult to see, so I don't know whether it is a serious privacy/security risk. I would be curious to know how long they linger.
    I think these support the Windows feature of showing a preview of a window or tab when you float over a taskbar button. (No idea whether there is a similar preview feature on Mac.) This feature is not enabled by default; users need to enable it in about:config. However, add-ons may be able to use the thumbnails because they have privileged access to the cache.
    (Note: This feature was added pursuant to [https://bugzilla.mozilla.org/show_bug.cgi?id=497543 497543 – Provide a thumbnail service]. It "landed" on or about Jan. 28, 2012, so its first appearance in a released version of Firefox might have been Fx12.)

  • How to write data to the DAQ for a specified length of time while still reading the input data?

    Hello,
    I'm using labview 2012 and am trying to turn on a signal for a specified length of time in labview at the press of a button. The signal goes into an AO (PXI 6723) through my system, where the voltage gets divided by 2, the read in through the AI (PXI 6225). I want to write and read voltage constantly and then have a spike of voltage after pressing a button in LabView while still reading the voltage value for the specified amount of time.
    Parameters:
    constant voltage of 1 volt to Analog output (reading and writing) seen through a waveform chart.
    for 1 second, turn on 3 volts and see the response on the waveform chart.
    My specified delay time does not match the elapsed time. I am having difficulties doing this. I have attached the VI.
     ( I can't upload a functional VI since it shows "the contents of the attachment doesn't match its file type") How can I attach the VI?.
    Thanks!
    Eduardo

    Mike,
    Thank you for your reply! I greatly appreciate it. I currently don't have any DAQmx timing in my application. I tried using it and, without really understanding how it works nor how to manipulate it, the whole test end up taking a long time to change the values i.e. too slow.
    The DAQmx timing I used was the sample clock since it was for analog signals, but I don't really understand the buffer, what that means nor how to use it. inputting a rate time for it also made my test slower. The rate time is the samples per channel per second, but I'm not sure how to determine a number so that I am collecting the data I need and take into account aliasing.
    I know the PXI 6225 has the capability to read 250kS/s (which I am assuming it's kilosamples per second or 250,000 samples per second). I am using 32 differential channels. I have read that I have to divide the maximum sample rate by the number of channels, (250kS/s / channels) but I don't know if I should count the number of total channels (64) or differential channels(32). In other words, is the per-channel maximum rate:
    250,000/32 = 7,812.5 samples per channel per second, or
    250,000/64 =3,906.25 samples per channel per second
    Furthermore, If I know the number of samples per channel per second, how can I implement that knowledge to the DAQmx sample clock so that my sampling is as fast and as accurate as it can be?
    I attached an image of my DAQmx functions in my code, I merged all the stacked sequence structures in paint so you can see them.
    thanks for your help!
    Eduardo
    Attachments:
    DAQmx tasks.jpg ‏211 KB

Maybe you are looking for

  • Jtable: How to change the color of an entire row?

    How can I change the color on an entire row in a Jtable based upon the value in one of the cells in that row. For example: Lets say: I have 5 rows. Each row has 4 columns. If column 4 has a value "A" in any of the rows, all the text in that row shoul

  • Airport Express Playing Audio From Front Row

    Can AE be directed to play the audio through Front Row. Obviously it would be nice when playing Itunes through the Front Row Interface, but I was more interested in getting the Full sound while playing movies through Front Row.

  • Second Ipod trouble

    About a year ago i bought and instaled an ipod nano (2GB) and had no problems. I recently bought a Video Ipod (U2 30GB version) and i can't seem to get Itunes to recognize that the Video Ipod is connected. i saw the "ipod is recognized in windows not

  • Receivables Ageing Summary 90+ Days Variable in 8.8

    Hi Experts In 2007A there was a variable for the Customer Receivables Ageing Summary PLD which totalled all outstanding values from 90+.  The variable was 115.  Does anyone know what this variable is in 8.8 please?  I haved checked the file which is

  • Expose IDoc as Webservice without PI/XI

    Is it possible to expose an IDoc as an webservice without PI/XI? I noticed there is a port called XML-HTTP. Does it use SOAP? Can i use this port for webservices. Thanks.