How can I do to acquire and save date in the same time and in the same file when I run continual my VI without interrupti​on.

I've attached a VI that I am using to acquire amplitude from Spectrum analyzerse. I tried to connect amplitude ouput to the VI Write Characters To File.vi and Write to Spreadsheet File.vi. Unfortunately when I run continual this VI without interruption, labview ask me many time to enter a new file name to save a new value.
So, How can I do to aquire and save date in the same time and in the same file when I run continual my VI for example during 10 min.
Thank you in advance.
Regards,
Attachments:
HP8563E_Query_Amplitude.vi ‏37 KB

Hi,
Your VI does work perfectly. Unfortunately this not what I want to do. I've made error in my last comment. I am so sorry for this.
So I explain to you again what I want to do exactly. I want to acquire amplitude along road by my vehicle. I want to use wheel signal coming from vehicle to measure distance along road. Then I acquire 1 amplitude each 60 inches from spectrum analyzer.
I acquire from PC parallel port a coded wheel signal coming from vehicle (each period of the signal corresponds to 12 Inches). Figure attached shows the numeric signal coming from vehicle, and the corresponding values “120” and “88” that I can read from In Port vi.
So I want to acquire 1 time amplitude from spectrum analyser each 5
period of the signal that I am acquiring from parallel port.
So fist I have to find how can I count the number of period from reading the values “120” and “88” that I am acquiring from In Port (I don’t know the way to count a number of period from reading values “120” and “88”).
Here is a new algorithm.
1) i=0 (counter: number of period)
2) I read value from In Port
3) If I acquire a period
i= i+1 (another period)
4) If i is multiple of 5 (If I read 5 period)
acquire 1 time amplitude and write to the same
file this amplitude and the corresponding distance
Distance = 12*i). Remember each period of signal
Corresponds to 12 Inches).i has to take these
values: 5,10,15,20,25,35,40,45,50,55,60............
5) Back to 2 if not stop.
Thank you very much for helping me.
Regards,
Attachments:
Acquire_Amplitude_00.vi ‏59 KB
Figure_Algorithm.doc ‏26 KB

Similar Messages

  • 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

  • I want to delete a few contacts, apps, pics etc from my iphone, but when I delete and connect to my laptop they sync and come back again. How can I delete those items and not get them back when I connect my iphone to my laptop?

    I want to delete a few contacts, apps, pics etc from my iphone, but when I delete and connect to my laptop they sync and come back again. How can I delete those items and not get them back when I connect my iphone to my laptop?
    Also where exactly on the laptop is teh data stored.
    Thank you!!

    go to 'Edit' in the menu bar. Then choose 'Preferences'.
    you'll see a pop-up and there's a tab called 'Devices' there. If you click that, you will be able to check a box that says 'prevent automatic syncing for iPods, iPads and iPhones' or something like that.
    Hope this helps
    NB: if you don't even see the menu bar that has options like 'File, Edit, View, etc', first click the black/white square button on the top left of your screen, and then click 'show menu bar'. It should pop right up.
    Good luck

  • How to change the default save encoding of the dvm files when create dvm???

    When I creating a DVM(domain-value mapping) in Chinese on the ESB control and confirm it, then restarted the SOA service, the DVM that I created in Chinese disappeared from ESB control. All the maps(both English and Chinese ) are in DVM Repository.
    After I updated the encoding from ‘UTF-8’ to ‘GB2312’ in the three files below, and restarted the SOA service, the DVM in Chinese appeared on ESB control.
    But when I adding the second row in Chinese and save it, then restart the SOA service, the DVM in Chinese disappeared from ESB Control once again. Because the encoding in the three files below is updated from ‘GB2312’ to ‘UTF-8’ .
    Files:
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm\Chinese.xml.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\content\files\dvm\Chinese.xml_1.0
    How to change the default save encoding of the dvm files when create dvm in ESB control ???

    I have the same problem.  When I updated to Mavericks now the bookmarks bar font is huge.  I liked it the way it was before.  I liked the smaller font.  Also wish I could change the color of the sidebar and font/folders too.
    I tried to see in preferences if there was anyway to change it, but I don't see anything there.

  • I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    I have a large number of photos imported into iPhoto with the dates wrong.  How can I adjust multiple photos (with varying dates) to the same, correct, date?

    If I understand you correctly, when you enter a date in the Adjust Date and Time window, the picture does not update with the date you enter.  If that is the case then something is wrong with iPhoto or your perhaps your library.
    How large a date change are you putting in?  iPhoto currently has an issue with date changes beyond about 60 years at a time.  If the difference between the current date on the image and the date you are entering is beyond that range that may explain why this is not working.
    If that is not the case:
    Remove the following to the trash and restart the computer and try again:
    Home > Library > Caches > com.apple.iphoto
    Home > Library > Preferences > com.apple.iPhoto (There may be more than one. Remove them all.)
    ---NOTE: to get to the "home > library" hold down option on the keyboard and click on "Go" > "Library" while in the Finder.
    Let me know the results.

  • How can I browse my network and play my media files?

    I installed a free file explorer on my Android tablet. I can easily browse my network shares and access all my media content. I can play my movies, music, TVshows, anything by just browsing to the folder and selecting the file to play. It took me 5 minutes to figure this out on my Android tablet. I've been trying to do this for about 3 hours on my new ipad 3. I have yet to even find a file browser type app. Please don't tell me there is no way you can do this with an ipad. There is no way to play all your multi-media files with my very expensive ipad. I have so much media content I would love to access via my ipad, but I can't. Has Apple done this on purpose to lock down their devices so users can't do anything flexible? This is a HUGE difference between Android / iOS.
    Also, I'm able to visit music.google.com on my Android to play my music. Besides iTunes, does Apple have a way the user can access a simple website and play their music files? I'm finding all this very troublesome and such a limited factor with Ipad. Please help!
    If it ends up that Apple's brand new ipad can't easily browse a network and play media files then I'm going to return the two of them I bought. Just not a capable device if it can't do something so trivial.
    Thanks.

    I'm still trying to find a way to do this simple task. Everyone has home networks now and not able to simply browse to a folder where you keep your video/music files is quite a problem with such a brand new, ultimate tablet. I can even do this with my Android phone I have. I have terabytes worth of music and movies and if I can't watch them with this ipad tablet then I for sure will return this tablet and buy Android from now on. I'm now finding out how locked down Apple products really are and how limited UNLESS you BUY an app or only go through an Apple type portal. I wonder if people know that you can't play your media you have saved at home with an ipad.

  • How can I configure my Macbook Air to always show the menu bar when in full-screen?  I hate, hate, hate it popping up and then going away all the time.

    I cannot find a way to change this in System Preferences.  When I have applications open full screen, my menu bar disappears.  Then when I try to move between tabs, I find it is always popping up & then disappearing.  I really just want to set up my computer so that the menu bar always displays in the foreground. I find this popping up & disappearing intrusive and annoying.  How can I fix this?  I hate, hate, hate this about my MAC...
    I have searched the full User Guide, Quick Start Guide, etc.  and cannot find a way to fix this.

    Don't use the full screen arrow in the top right corner of the window.  Instead, use the green + in the top left corner.  That takes the window full screen just below the menu bar.

  • How can I get rid of and prevent further duplicate contacts when syncing?

    I have checked preventing automatic syncing and any other places that seemed to give me some limiting conrol. But I noted the tiny print today that says when syncing by connection with Itunes, mobile me is also in contact wirelessly. I can't see any place mobile me gives me a choice to prevent syncing contacts. I have already spent hours cleaning up the contacts of my iphone 4 and will now have to do it again. Is the only way not to connect to I tunes? How then can you ever get music and other info into this smart phone?

    Did you check this article? iPhone/iPod touch: Resolving duplicates and removing all contacts/calendars/bookmarks with MobileMe
    This thread may also help: https://discussions.apple.com/thread/2241007?threadID=2241007&tstart=0

  • How can I remove my name from being associated with the GB file I export?

    I am using Garage Band '11, 6.0.5.
    I am editing an audio recording for a friend.
    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    I searched and found "My info" (in "Preferences") and deleted my information from ALL name, album, artist fields, but it still exported the file with my name as the artist (but it did not list it as from my album this time)?
    Does anyone know how/where/what I need to do to remove all references of my name associated with this file I'm editing?
    And also, can I change who is associated with a GB file, from file to file (i.e. if editing my audio, use my name & info, if editing for a friend or colleague, theirs?  or is the name associated with my GB account universally embedded into every file, no matter if I want it to be mine or not)?
    Thank you for your support!
    Joe

    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    The problem is, that this information is stored with the GarageBand project, when you first create the project.  You have to edit the Preferences, before you create the project.
    If the project already exists, you can change this option by turning the project into a podcast. Add a Podcast track (Track menu, Show Podcast Track), select the podcast track, and open the Info panel. Then edit the artist field in the Info panel, before you save the song to disk.
    (added: I saw the workaround with the Podcast track first in a post by Edgar).

  • How can i update two block that they data source is same table .

    i design user interface .
    there are tow block ,they datasource is same table but differe field .
    when i input a record ,i must input tow block ,then commit . for this .the total record is save in database .
    how can i write those code .

    Trying to hide your identity?
    Why do you have two separate blocks here if there are different fields in each. The feilds in a block can be spread over multiple canvases / windows so layout is not a reason.
    If you are in a situation where two blocks are displaying the same record for update them you'll have the potential of data consistancy problems as well.
    So explain what you're trying to do with the two separate blocks and maybe we can come up with a better way to implement it.

  • How can I get rid of "myV9" that suddenly appeared the other day when I started Firefox?

    Suddenly there was a portal site named "myv9" or "V9" on the screen when I started Firefox the other day. It contains a lot of icons for programs like Facebook, Google and so on. Until now I have had only Google as start page from Firefox. Of course I can click on the Google icon to get there, but it is the only site that I want to use of all these. Nearly all the other icons (except Facebook and some others) lead to specific US sites that I never visit (for example the weather forecast for North America) , because I live in Sweden. How can I get rid of "myv9"?
    Even if it doesn´t harm my computer, I am afraid that it will slow it down, and, besides, it needs an extra click to get to Google.
    Vidar Ferm, Sweden

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How can i fix a member for a dimension in the transformation file?

    Hello everybody,
    anyone knows how can I fix a dimension member using the *mapping section of the transformation file in a data upload, I´m trying to fix the member for the Category dimension, I´ve tried an instruction like:
    *MAPPING
    *CATEGORY=ACTUAL
    but it doesnt work, any idea?
    thanks!

    The easiest way is to use the folloowing in the Transformation file:
    Category = *newcol(Actual)
    Hope this jelps.

  • How can i compare 2 internal table's data which have  same structure ?

    hi friends,
    i want to know how  to compare 2 internal table's data which have  same structure

    DATA: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA: ITAB LIKE TABLE OF LINE,
    JTAB LIKE TABLE OF LINE.
    DO 3 TIMES.
    LINE-COL1 = SY-INDEX.
    LINE-COL2 = SY-INDEX ** 2.
      APPEND LINE TO ITAB.
    ENDDO.
    MOVE ITAB TO JTAB.
    LINE-COL1 = 10. LINE-COL2 = 20.
    APPEND LINE TO ITAB.
    IF ITAB GT JTAB.
    WRITE / 'ITAB GT JTAB'.
    ENDIF.
    APPEND LINE TO JTAB.
    IF ITAB EQ JTAB.
    WRITE / 'ITAB EQ JTAB'.
    ENDIF.
    LINE-COL1 = 30. LINE-COL2 = 80.
    APPEND LINE TO ITAB.
    IF JTAB LE ITAB.
    WRITE / 'JTAB LE ITAB'.
    ENDIF.
    LINE-COL1 = 50. LINE-COL2 = 60.
    APPEND LINE TO JTAB.
    IF ITAB NE JTAB.
    WRITE / 'ITAB NE JTAB'.
    ENDIF.
    IF ITAB LT JTAB.
    WRITE / 'ITAB LT JTAB'.
    ENDIF.
    The output is:
    ITAB GT JTAB
    ITAB EQ JTAB
    JTAB LE ITAB
    ITAB NE JTAB
    ITAB LT JTAB
    This example creates two standard tables, ITAB and JTAB. ITAB is filled with 3 lines and copied to JTAB. Then, another line is appended to ITAB and the first logical expression tests whether ITAB is greater than JTAB. After appending the same line to JTAB, the second logical expression tests whether both tables are equal. Then, another line is appended to ITAB and the third logical expressions tests whether JTAB is less than or equal to ITAB. Next, another line is appended to JTAB. Its contents are unequal to the contents of the last line of ITAB. The next logical expressions test whether ITAB is not equal to JTAB. The first table field whose contents are different in ITAB and JTAB is COL1 in the last line of the table: 30 in ITAB and 50 in JTAB. Therefore, in the last logical expression, ITAB is less than JTAB.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How can we turn on/turn off diagnostic data to the App Developers?

    Hi, we all know when you launch an app say Apple Maps or Google Drive, it will ask you a question like, "Would you like to send anoumous data to (the app developer) to help us improving the customer experience?"
    So, some of us decided to turn it off/on when we see the message, but it is not clear to me how we can reverse the decision later on.
    Anyone can help? Do we have such option? Thanks.

    Yes. You can assign individual audio tracks in the same way as you would do with language versions.
    The user manual explains it clearly.

  • How can I open previous windows and tabs in safari 5.1.7 running OX S 10.6.8

    Hi everyone,
    I format my Mac today and previsously save the safari folder from library so I have all the bookmarks and other stuff. After install OX S I copy the folder again but now when I open safari the previous tabs and windows didn't open automatically like I always have it. I know I can just click History and then reopen all windows from last sessions but is there any away to do it automatically (when I open safari). I am running snow leopard 10.6.8 and safari 5.1.7.

    I'm not sure why creating a new user account or guest user account would help.
    Because it may help in the diagnosis of your problem.
    Seems like others are having the same problem
    I have never seen this problem mentioned before.

Maybe you are looking for