Writing more than one channel to a file using Xaincnbg VI from the Universal Library

Hi,
Could anyone help me with writing more than one channel to a file?  I am using the Universal Library version 5.40 with LabView 7.0 with the Xaincnbg VI.
With one channel everything in my program works beautifully, but when I add another channel and graph and wire it to the Write LVM only one channel ends up being written to the file.  It seems like there should be some function that works to add the two output arrays or something of the sort, but I can't seem to find it.
If anyone has come across this problem or knows of how it might be solved, I would really like to hear about it!
Thanks

Oops, forgot to attach the files...
And, pics of the VI's, in case you don't have LV8.2
Message Edited by LabViewGuruWannabe on 05-22-2007 06:15 PM
Attachments:
subAIN.vi ‏24 KB
AnalogDataExample.vi ‏118 KB
AnalogDataExamplePics.zip ‏172 KB

Similar Messages

  • How do I merge multiple Excel files with more than one tab in each file using PowerQuery?

    Hello
    I have 12 Excel (.xlsx) files and each file has three identically named and ordered tabs in them. 
    I know how to merge multiple Excel files in a folder using M (those guides are all over the web) but how do I merge multiple Excel files with multiple (yet identically named and ordered) tabs? Surely it is possible? I just don't know how to do it in M.
    Cheers
    James

    What Laurence says is correct, and probably the best thing to do when the sheets have differing structures. Here is an alternate approach that works well when the sheets all have the same structure.
    When you first open the Excel file from Power Query, you can see its structure in the navigator at the right-hand-side of the screen. If you select the root (which is the filename itself) and click Edit, you'll see all the tabs in the sheet as a single table.
    You can now do filtering based on the Name, Item and Kind values. When you've reduced the set of things down to the sheets you want, select the Data column and say "Remove Other Columns". If the sheets don't have any header rows, you can just click the expand
    icon in the header and you'll be done.
    Otherwise, if the sheets have headers or if some other kind of sheet-level transformation is required against each sheet before doing a merge, you'll have to write some M code manually. In the following example, each sheet has a header row consisting of
    two columns: Foo and Bar. So the only step I need to perform before merging is to promote the first row into a header. This is done via the Table.TransformColumns operation.
    let
        Source = Excel.Workbook(File.Contents("C:\Users\CurtH\Desktop\Test1.xlsx")),
        RemovedOtherColumns = Table.SelectColumns(Source,{"Data"}),
        PromotedHeaders = Table.TransformColumns(RemovedOtherColumns,{{"Data", each Table.PromoteHeaders(_)}}),
        ExpandData = Table.ExpandTableColumn(PromotedHeaders, "Data", {"Foo", "Bar"}, {"Data.Foo", "Data.Bar"})
    in
        ExpandData

  • I want to acquire data for multiple channels using PCI 6120 that works on traditional DAQ. I cannot access more than one channel, can someone help me or if someone has data acquisition vi for PCI 6120, please send me over . Thanks

    I have PCI 6120 card and I want to acquire data for more than one channels. I'm using traditional DAQ to get it. But it does not work for more than one channels. If someone has a data acquisition vi for PCI 6120. Or some suggestion how to aquire data please let me know.
    Thanks

    Hello DSPGUY1,
    You can definetly acquire from several channels. For your convenience, I have appended below the content from help that tells you how to configure it:
    "channels specifies the set of analog input channels. The order of the channels in the scan list defines the order in which the channels are scanned during an acquisition. channels is an array of strings. You can use one channel entry per element or specify the entire scan list in a single element, or use any combination of these two methods. If x, y, and z refer to channels, you can specify a list of channels in a single element by separating the individual channels by commas, for example, x,y,z. If x refers to the first channel in a consecutive channel range and y refers to the last channel, yo
    u can specify the range by separating the first and last channels by a colon, for example, x:y."
    Hope this help.
    Serges Lemo
    Applications Engineer
    National Instruments

  • Error using pretrigger when capturing more than one channel

    I am having problems acquiring data with pretrigger samples when capturing more than one channel, using NI-PXI-6071E hardware and Labview's Analog Input VIs (Legacy NI-DAQ).
    My goal is to trigger on one signal, while capturing another. Unfortunately, I cannot use the PFI0 for external triggering, as our cables/hardware have already been built, so I must use an analog input channel as the trigger. I understand that to do so I must capture both channels, and the channel that I wish to trigger off of must be the first channel in the list.
    If I trigger and capture on the same channel (tried 1-4) then it
    works great, regardless of the number of pre-trigger samples set. If I
    capture more than one channel (passing the trigger channel first), with no pretrigger samples set, then triggering and capturing both work fine. However, if I do the same with the pretrigger sample > 0 I get the following error:
    Error -10621 occurred at AI Control. Possible reason(s):
    NI-DAQ LV: The specified trigger signal cannot be assigned to the trigger resource.  
    I don't se any such limitation explained in the user manual, and searching the forum, I have found a few other people that had the
    same
    problem
    but they did not have solutions. Any ideas?
    Solved!
    Go to Solution.

    I'm sorry for double-posting this. I was trying to post it in the DAQ board and it kept ending up on the LabView board.
    If moderators have the ability to delete this thread you are welcome to do so.

  • More than one struts-config.xml files in one project

    Hi all
    Can we have more than one struts-config.xml files in one project developed using struts.
    If so what is purpose and how to do this.
    Anybody please explain on this topic.
    Thanks
    Parvathy

    Hi all
    Can we have more than one struts-config.xml files in
    one project developed using struts.
    yes it is possible
    If so what is purpose and how to do this.
    it is use for odular application so developer won't share a single configureation file.. as you know struts-config.xml is defined on the web.xml
    like this:
    <servlet>
    <servlet-name>mybank</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet
    </servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>config/module1</param-name>
    <param-value>
    /WEB-INF/struts-module1-config.xml
    </param-value>
    </init-param>
    </servlet>

  • When I read a pdf document using Safari I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    When I read a pdf document using Safari on my IPad  I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    Hi snoreaustralia,
    It sounds like you just need to associate the PDF filename extension with Acrobat, rather than Preview. Please see this document from the Microsoft Help for instructions on choosing the default program for opening a particular file type (in your case, PDF): Change which programs Windows uses by default - Windows Help
    Best,
    Sara

  • Analog Source Triggering with more than one channel in channel list

    Hello,
    I am trying to use an analog reference trigger with a channel list that contains more than one entry using a
    M Series 6289. I am aware that this is generally not possible to have more than one channel in the list due to hardware limitations. I was hoping if some sort of workaround exists.
    I am using the NIDAQmx C API to control the card.
    Using a second card that is syncronized via RTSI should
    allow me to use an analog reference trigger to control multiple analog IO channels ... Right ???
    Thanks for any advice!
    Best regards
    Peter

    Hello Peter,
    If you look at the NI-DAQmx Help, Analog Triggering Considerations for E Series, M Series, and S Series Devices section, it says that to pause multiple channels with an Analog trigger, you must wire that signal to APFI0 or APFI1. Therefore, it is possible to perform this operation.
    If you are sharing the AI Sample Clock across RTSI, then you would be able to stop multiple AI channels across multiple devices with the one Analog Reference Trigger.
    I hope this helps,
    Sean C.

  • Can i make more than one faces-config.xml file ?

    Can i make more than one faces-config.xml file under one project or application, if yes than how it will link.

    Just that you know,
    In the second week of july I was taking the Jdeveloper/Jheadstart course at Oracle Netherlands. During that course we were asked to split the faces-config. After splitting it, we were not able to find the navigation rules that were defined in the first faces-config in the web.xml. The Jdeveloper IDE was confused........
    However, we were able to use the navigation rules (type in manualy) and that worked in the application.
    I talked about it with Steven Davelaar and he thought it might be a bug. I don't know if it's reported, and I don't know if it's fixed.
    So, if you get confused.... it works, but Jdeveloper might have some problems with it.
    Luc Bors

  • 6602 more than one channel

    "i cant choose more than one channel on the daq assistent vi to measure.
    how is it possible to measure more channels?
    my other measures in this vi are done with the traditional daq.
    i would like to do this with the 6602 too.
    please give me an easy vi or explanation.
    is it possible to combine traditional daq and daqmx?"

    You're right!
    There are two alternative solutions I can think of.
    1. Go into MAX (I use v3.1) and create DAQmx global channels for each counter. For example, create CounterFunction0 for channel zero, CounterFunction1 for channel 1, etc. To do this go to Data Neighborhood>>NI-DAQ Global Channels and right mouse click and selct create new NI-DAQmx channel.
    After creating these channels, create a NI-DAQmx task.
    To do this, go to Data Neighborhood>>NI-DAQ Task and right mouse click and selct create new NI-DAQmx task. When creating the task, you can now select multiple global channels with the shift key. Make sure you click on the global channel tab to enable the view of the global channels you just created.
    2. Without usnig Max you can
    create a listbox in the LabVIEW front panel and select whatever counter channel you need. You can then convert what is selected into the proper counter string (Dev%d/ctr%d)and then pass this string into the taskID input. Remember, the taskID input in the DAQmx VIs can accept string inputs.
    I hope this helps.
    Robert

  • If I have a pic in more than one album, does iPhoto make more than one copy of that pic?  When I search the file name on finder, it seems to be showing one copy of that file for every album it's in.

    If I have a pic in more than one album, does iPhoto make more than one copy of that pic?  When I search the file name on finder, it seems to be showing one copy of that file for every album it's in.

    No it doesn't. Albums simply reference the photos in the Library. A single shot can be in 100 albus and use no extra disk space at all.
    If you have the same shot in two Events then yes, the file is duplicated.
    When I search the file name on finder, it seems to be showing one copy of that file for every album it's in.
    The Finder doesn't really understand the iPhoto Library. It's quite possible for the iPhoto Library to contain many files with the same name. The Library also contains different versions of the same shot - thumbnail, originals and edited version. This is normal.
    Regards
    TD

  • More than one database driver has been used

    Hi everyone, I just want to link 2 tables, one in Oracle and the second is in Access, is this possible? Please help, tahnks a lot.
    I got this message:
    "More than one database driver has been used in this report. If you want to change the database drivers use Database/Set Location.
    Please make sure that no SQL Expression is added and no server-side group-by is performed"
    This is the query generated:
    SELECT "A"."Field_in_A"
    FROM   "OracleDB"."A" "A"
    SELECT `B`.`Field_in_B`
    FROM   `AccessDB` `B`

    The above suggestions are good. You might also consider using a link table from MS Access to have the linking done right inside MS Access. 
    If you can store your access mdb file on the server where your Oracle database resides this will greatly reduce your network traffic.  If the MS Access database must reside on a different machine it can still work but the gains won't be as great.  Still, this is an efficient way to do this if you can.
    To create a link table in MS Access choose, New, then 'Link Table'. In the Link dialog that appears you can choose ODBC.  I recommend using the SQORA driver from Oracle that is installed with SQL Plus.
    If you have to link in Crystal Reports instead you still can. However, all data from the Oracle table and Access table will be pulled to the client that hosts Crystal Reports and sorting will be done on the Crystal client.
    You definitely have some good options though.

  • If I have more than one I phone can I use the same apple ID for all off them?

    If I have more than one I phone can I use the same apple ID for all off them?

    Yes. You can have multiple iPhones on the same ID, up to the maximum 5 total devices. FaceTime will use the sim number for calls and you can configure each phone separately, or configure one and then back it up to iTunes and them restore the image to the others.

  • HT1420 Can you have more than one device with a different Apple ID authourized to the same computer

    Can you have more than one device with a different Apple ID authourized to the same computer

    I think you are using the same Composition Class on both project. On the properties tab, you can change this number (e.g.: EDGE-1637270).

  • I use Exchange to sync my iphone4S with Outlook.  On my iphone, my contacts are split into multiple records if they have more than one email address - how can I consolidate them on the iphone

    i use Exchange to sync my iphone4S with Outlook.  On my iphone, my contacts are split into multiple records if they have more than one email address - how can I consolidate them on the iphone

    I have loaded my Firefox bookmarks into Internet Explorer Favorited. I also uninstalled Safari.
    I go to iTunes on my phone and see no wat to connect my iPhone to my laptop. I see Music, Shows, etc., the kind of stuff I would expect, but no clue as to how to proceed.
    Would you please be so kind to fill me in on how to "That syncing is done via iTunes. Connect the device to iTunes, select it, then go to the Summary page and select to sync bookmarks."?
    I am not sure what you mean by "Summary Page"
    Thank you

  • HT1386 We have more than one computer at home. How do we get the songs from each computer onto one I-Pod?

    We have more than one computer at home. How do we get the songs from each computer onto one I-Pod?

    Copy the songs to a computer that is running iTunes, add those new tracks to the current library, and then synch those tracts to the iPod.
    You might take a look at iTunes Help....

Maybe you are looking for

  • Create Source System - Error

    Hi Gurus, I have to create a conexion with R3 so i did : 1)Create RFC Conexion in SM59 2)Create Source System in RSA1 But in the last step of the creation Source System in RSA1 shows up the following Error Message: "The source system already exists"

  • Removing images from PSE7 catalog whenever try to enlarge view

    Just recently, I have started to have an issue whenever I try to enlarge some of my images for viewing on PSE7. When I doubleclick on the image that I want to enlarge, the image is removed from the thumbnails as if it was removed from the catalog.Whe

  • Need error mssg for contract qty in sales order

    Hi SD Gurus I have created a Quantity contract for XYZ material with say 100 qty. Now if i create a Sales order with reference to the contract, in the sales order i can manually change the quantity to more than 100. Here the system just gives me an w

  • Running JFrame on browser

    I wrote a program that makes small calculations in JFrame. My question is, how can I integrate it in a browser like JApplet?

  • All Player are crashing while watching DVDs

    Hi, I have got a very strange Problem. When I want to watch a commercial DVD, vlc and mplayer are crashing in the middle of the film, or the film won't start at all. Sometimes I can watch the the first 10 min, and sometimes nothing. The same problem