Using channel view, how to periodically log a single record to file

I don't have a problem logging data from nican 2, but I can't figure out how to grab a single 1-dimensional array at a user selected interval and write it to a spreadsheet file.

Hi Mike,
This seems more like LabVIEW programming, than CA N communication. I assume you are getting your CAN data using the Channel API CAN Read.vi using the Multi-Channel Multi-Sample data type.
You need to retrieve the single channel data for the 2D array. You can use the index array VI in the Array function palette.
With a 1D array you can then use the Array to Spreadsheet file VI in the File I/O function palette. This VI also accepts a 2D array to log all the information.
A good resource for this type of questions is the LabVIEW support site. Click on LabVIEW Tutorials and Example Code >> Fundamentals. You'll find links to tutorials and examples for File I/O and Array and clusters.
Hope this provides some help.
DiegoF
National Instruments.

Similar Messages

  • How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS

    How does one add a personal recorded M4R file to the ring tones in the UK system for iPhone 3GS.
    I have tried all sorts of ways of adding my personal M4R file but can't find the place (within the UK versions of iTunes} to transfer this file so that I can select it as a ring tone.
    I've tried also changing to the US version of iTunes and still can't find a way of doing it, although I have heard that it can be done.

    You should be able to just drop it into the library within iTunes.
    http://cnettv.cnet.com/create-free-iphone-ringtones-using-itunes-8-0/9742-1_53-5 0003920.html
    Check out the video above for a lot good info. The ringtone must be less than 35 seconds.

  • HT201066 How can I split a long recording audio file into multiple audio files?

    Hi,
    How can I split a long recording audio file into multiple audio files?
    With Windows I was using Nero software, which is not available for Mac. Is there any similar app for free for Mac?
    Thanks!

    Hello ingiorgio
    You can import the track into GarageBand and then split the tracks there. Once that it is done you can highlight the ruler section and then share the song to iTunes to get them separated out. 
    GarageBand - Split regions in the Tracks area
    http://help.apple.com/garageband/mac/10.0/#gbnd76fcce04
    GarageBand - Share songs to iTunes
    http://help.apple.com/garageband/mac/10.0/#gbndfb96a96f
    Regards,
    -Norm G.

  • Why use P2 technology - how do you log?

    Can anyone explain to me why they use P2 technology? When we shoot our DVCAM footage, we log in FCP on a Powerbook, we mark all the good takes, then digitize based on what we've already seen. We don't need to re-log everything in the edit suite, we just start cutting with known good footage. Scene numbers, take numbers are already entered, and we're ready to go.
    With P2, you record your footage, wait 8-10 minutes to copy the files to your laptop, then import the clips, with no markings; you don't know what the good takes are, you don't have any scene or take references, or useful in or out points. These all need to be added in FCP or P2 Log. You have to review all of the footage you've shot again, decide if the take is good or not (which can be fun if you've had 7 or 8 takes and it turns out take 5 was the 'good' one). This strikes me as an incredible waste of time, something we don't have the luxury of with ever shrinking budgets. I expect you have to keep some kind of paper log, (welcome to the 1980's) with an unpredictable file naming system, so that you know what you have when you're ready to post.
    So is this really a good solution? Yes, you don't have to digitize. But you do have to log everything, which is very simple as you shoot in FCP, but you can't merge the P2 footage with a log kept in P2 Log or in FCP. Which brings me to my question: Can you create a log for P2 footage as you shoot, that can be brought into FCP without having to review the footage again or do a lot of post production typing?
    To me, this is the Achilles heel of P2 production. Anyone have any thoughts? We don't shoot a frame without a scene number and tape number, we shoot 50 good shots a day from about 150 takes per day, and at about 60 days a year, we need to keep track of what we shoot as we go. I estimate at least a 1/2 day of logging for every day of shooting with the P2, and frankly, I don't have 30 working days in my year to create logs that I can easily make while we shoot.
    P2, on the surface, looks great. But P2 and any direct to disk technology, to me, looks like a big step backwards in terms of workflow.
    Fire away, folks.
    MacBook Pro   Mac OS X (10.4.8)   Non-linear since 1994

    As the editor of the productions I work on, I am never on set. And I and the producer prefer it that way. This way I come in with an objective point of view, does the shot work or not. I am not clouded by how much time and effort went into getting the shot, I just look at it afterwards and judge it by its value. So we never log on the set. We simply back up.
    When we shoot our DVCAM footage, we log in FCP on a Powerbook, we mark all the good takes, then digitize based on what we've already seen. We don't need to re-log everything in the edit suite, we just start cutting with known good footage. Scene numbers, take numbers are already entered, and we're ready to go.
    You do all this work on the set. We don't, we do it in post, so there isn't twice the amount of work...it is just done later. This is true of every production I have worked on...documentary, narrative TV, short film. We aren't in the field logging and capturing...that is done later. But it is still done. We also slate our footage, and if someone is on the set to do so, they act as Script Supervisor and mark the good and bad takes. So when I look at the footage in the P2 import window on FCP 5.1.2, I can take the good but not the bad. But...I am always in favor of getting everything, because even though a take might be bad, it might contain something good that I can use.
    With P2, you record your footage, wait 8-10 minutes to copy the files to your laptop, then import the clips, with no markings; you don't know what the good takes are, you don't have any scene or take references, or useful in or out points. These all need to be added in FCP or P2 Log. You have to review all of the footage you've shot again,
    Again, we slate in the field. Yes, the clips come in with odd names, but when you capture a tape there is no INSTANT name associated with that. You have to give it a name...as you import. You can do the same with FCP and P2, as you import give it a name, scene, take...mark it good. And again, we aren't reviewing the footage AGAIN...it is done for the first time in post. They may review it in the field with the P2 viewer to ensure it looks good, just like on any film production with a DVCAM deck recording thru the camera viewfinder or rewinding the camera tapes.
    So is this really a good solution?
    Works rather well for me. No problems whatsoever...except when I first started doing this and put ALL the imported P2 clips into one bin. 2000 clips. I'll never make that mistake again. I separate footage by card much like I make Dailies bins with tapes.
    http://lfhd.blogspot.com/2007/01/organizing-my-p2-media.html
    But you do have to log everything, which is very simple as you shoot in FCP,
    You said that you log everything...in the field. I am logging everything in post. Still have to log. And, how do you "shoot in FCP?" That is a non-linear edit, not a camera. What do you mean by this? I guess I don't get how you are logging in the field without having to log. You are still taking the time to log and name the footage...so you lost me here.
    Can you create a log for P2 footage as you shoot, that can be brought into FCP without having to review the footage again or do a lot of post production typing?
    Not that I know of. Achilles heel? I suppose if you look at it from the point of view of your current workflow. But you have to realize that it ISN'T your typical tape workflow. Stop trying to make it work like a tape workflow. Square peg in circular hole. Same thing happened when people switched from Film to Tape...the workflows they were accustomed to didn't work...they had to devise new ones.
    You are going to have to figure out a new way of doing things...or just not shoot with the HVX. It is a very different way of doing things, but production can be pretty slick if you work out a system. I have a system and it works great. If you don't like it, don't use it. Grab an HDV camera and struggle with THAT format.
    P2, on the surface, looks great. But P2 and any direct to disk technology, to me, looks like a big step backwards in terms of workflow.
    Tell that to David Fincher's crew on ZODIAK. Not one tape or scrap of film in that production...all digital.
    If the tapeless workflow doesn't work for you...don't use it. Easy decision.
    Click on Underdog for my experiences with the format. Start from the beginning and see how I progressed if you'd like.
    Shane

  • I am making color seperations using channels. Can i save my work as a PNG file ?

    Hi,
    My question is " I am making color seperations using channels. I am not working with layers. Can i save my work in channels, as a PNG file ? "
    thank you
    nes

    Separations, not "seperations".   Just remarkabkle how many pros working with separations all the time can't spell the term right.
    Check out this discussion:
    Color Separation File Format. .Jpeg .Png? - T-Shirt Forums

  • Using Narrative View how to show multiple rows as one row

    My answer result set Returns 3 rows
    Year Rev
    2005 $100
    2006 $200
    2007 $300
    I want to display in a single line like
    2005 $100 2006 $200 $2007 300
    How do I achieve the above?

    obieefan,
    Add narrative view to compund layout and in the narrative area add @1@2...
    @1 refers to year column
    @2 refers to dollar amount column.
    mark posts promptly
    J
    -bifacts
    http://www.obinotes.com
    Edited by: bifacts on Nov 12, 2010 9:26 PM

  • Is ebs using OID? how cal I log in the manager page?

    is OID intrgated with er12? how can I aaccess the manager page?
    thanks

    if default does not have OID, how the reponsbility page set up for different user?By default, E-Business Suite Release 12 authenticates users against its internal user repository (FND_USER table).
    I am wondering what component ebs using on the middleware.Check "Oracle Applications Concepts Release 12" Manual, it should be helpful.
    Oracle Applications Concepts Release 12
    http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120oacg.pdf

  • How to Write log messages in a text file located in another machine

    Basically My application is distributed across two or more tomcat servers running in multiple machines.And I get a log4j logs in the respective machines.
    But I want a consolidated log message in a single machine.
    How do i get that done??
    Any samples?? Any clues??
    Any specific technoliges??

    Create an RMI application (for example) that writes the log, and let all logging calls call that remote application.
    Something like that is the only feasible way that doesn't require you to have a drive on the remote machine mapped to the local one (which causes its own problems as you could have multiple simultaneous write attempts...).

  • How do I replace a single record in a logfile?

    I'm developing a program that saves data to a logfile containing clusters. Every record (cluster) contains data from the tested item. The item can be as many as 400+. The file refnum is opened during the whole test. If the test of item 50 (this will be record 49) failed and needs to tested again I want to replace position 49 (counting from zero) with the "correct" test result, but LabVIEW insists and writes them as record 50 and thus item 50 has records as: 49 (failed; want to delete this) and the correct record 50 (this should be record 49 though...). I thought one should connect the "pos offset" at the desired place where the record should be stored in, but one can't connect to that when using datalog file... . I've also
    tried to use the "seek"-vi to position the refnum at the desired location but it ignores it... . What shall I do? I have a working "viewer" for my log-files so they aren't corrupted, everything else is OK. Any suggestions?
    //Anders Boussard

    You do not have to use dataloging, you can write the data directly to disk. Writing to a file in binary is much less structured than datalogging but gives the flexibilty of overwriting records. With binary files you can even write several groups of data at a time so the limiting factor tends to be the speed of your harddrive. Consider using the intermediate file write VIs. As an test, I was able to write different clusters of an arrays having different lenghts to a file and read them perfectly. If your data is of uniform structure, you will have no problems doing the same. Look at the read to binary file.vi and write to binary file.vi for example code to get started. You will have to experiment to get the hang of it.
    Chapter 13 of th
    e LabVIEW User Manual discusses how to do file I/O and you can also find example code and tutorials on our website.
    Jeremy Braden
    National Instruments

  • How do you add an already recording audio file to garageband

    hi, i want to create an audio podcast. i have already recorded the audio using another recording software. i have no idea how i now import this .mp3 file into garageband to create a podcast and submit to iTunes. thanks

    Just pull the audio file into GB's timeline (the big gray area in the middle.)

  • How do I query a single record from a database?

    I need to retrieve a record from a specific table within a .mdb file using it's name or primary key to search.
    I have the database connectivity toolkit(LV7.1) and have not been able to figure this out.
    Any help would be greatly appreciated.
    Jim

    Bdougr,
    Thanks for the reply, but it's a little over my head.
    Maybe I should give some more info. We store test parameters in a MSAccess database.
    Using LabView 7.1, I would like to retrieve a "record" or row based on a primary key (our part#)from a .mdb file and then use that data as my test parameters, I do not want to use the row# or record#. The database contains several tables so I also need to get to the specific table.
    I have figured out how to get a "feild" or the hole thing but I don't know how to return just one specific row.
    I have tried Select data, Fetch, Fetch all and Execute query VIs without success. Would "Execute query" be the way to do it? If so, what would be the correct SQL syntax to retrieve a record base on its primary key?
    Jim

  • How to Enable a Selected single record from Table control...

    Hi,
    I have 5 records in my table control and in screen Painter in Made all the fields in Table control as Output field.
    and  successfully all my Table control fields are disabled...
    Now Now i want to enable the record which i selected n rest all the 4 records should be in Disable.
    what i did is:
    in PBO.
    loop at itab into wa with contol TBC1 .
    Module XYZ.
    endloop.
    Module XYZ.
    loop at screen.
    if screen-group = 'x'.
    screen-input =  1.
    modify screen.
    endif.
    End Module.
    Please help me....
    Thanks,

    hi
    in the layout of the screen u might have dragged and dropped the table control
    double click on it u will get attributes screen in that u select MULTIPLE or SINGLE under Line-Selection
    under attributes tab based on ur requirement.
    table control declaration:
    controls : control type tableview using screen 8000.
    the internal table in table control must be like
    data : begin of itab occurs 0,
    empno type .......,
    empname......,
    empcity.....,
    check(1), " for tab selection"
    end of itab.
    data : itab1 like itab occurs 0 with header line.
    data : flag.
    data : wk_init type i.
    data : lines type i.
    in the attributes screen of the table control
    pass the value ITAB-CHECK to the field W/SELECTION
    in SE51
    PBO
    Module_status_0800
    loop with control table_control_name.
    module_fill_tcontrol.
    endloop.
    PAI
    Module_user_command_0800
    loop with control table_control_name.
    module_read_tcontrol.
    endloop.
    in se38
    Module_status_0800.
    describe table itab1 lines lines.
    control-lines = lines.
    endmodule.
    Module_fill_tcontrol.
    describe table itab1 lines wk_init.
      if wk_init is not initial.
        read table itab1 into itab index control-current_line.
      endif.
    for enabling a row in the table control:
    if sy-ucomm = 'EDIT'.
        loop at screen.
          if flag is initial.
            screen-input = 0.
          elseif ( flag eq 'Y' ).
            if  ( ( screen-name = 'ITAB-EMPNO' or
                    screen-name = 'ITAB-EMPNAME' or
                    screen-name = 'ITAB-EMPCITY' )   
              and control-line_selector eq itab-check
              and control-current_line le lines ).
              screen-input = 1.
            else.
            endif.
          endif.
          modify screen.
        endloop.
      endif.
    endmodule.
    Module_read_tcontrol.
    READ TABLE itab1 INDEX control-current_line.
    IF sy-subrc EQ 0.
    MODIFY itab1 FROM itab INDEX control-current_line.
    ELSE.
    MOVE-CORRESPONDING itab TO itab1.
    APPEND itab1.
    CLEAR itab1.
    ENDIF.
    endmodule.
    module_user_command.
    case sy-ucomm.
    when 'EDIT'. -
    > Function Code assigned to the pushbutton to enable the field 
          flag = 'Y'.
    endcase.
    endmodule.
    Regards
    Murali.M

  • How to remove noise from a recorded audio file.

    I'm a relatively new user. I recorded certain audio files which are noisy(humm or hiss). Can anyone suggest ways to remove noise from that clip? I tried Denoiser but it added further noise artifacts which were unpleasant to hear Need help. And pls dont ask me to rerecord it in a noise free environment!

    If you have some cash you go after 'Sonnox Restoreor' or 'iZotope RX'. Otherwise this might be of some help:
    http://www.howtogeek.com/howto/40469/the-how-to-geek-guide-to-audio-editing-basi c-noise-removal/
    Have a nice day!

  • Any clue how to add pagination to single record form?!

    Is there any1 who tried to create pagination to single record form?! i tried this but i have problem with navigating to the NEXT record.
    Regards;

    Hello guys?!!
    Is there any1 in this forum can help me in my issue?!! am desperate.

  • Calling one WDA by another WDA using Embeding view,

    i am calling one WDA by another WDA using Embeding view,
    how can i pass the value b/w two wda application

    Hi,
    checkthis example SALV_WD_TABL, this is a ALV component.check commponent controller context and methods how they made interface.
    similarly if you make your used component context and methods are interface.so that they will be available in your current component.
    also check this ALV example
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d

Maybe you are looking for