Programatically select Multiple Channel

I am using LabVIEW 7.1, Diadem 9.1.
1)
I have created one Report layout. In which I will have one sheet with 2 2D - Graphs on that. I want to pragamatically set multiple channels for both the graphs. Using the script I could able to set only one channel to the graph.
Please guide me how could I set multiple channels? (Attached Report Layout and Script File, Both uses Example.tdm)
2)
I want to call this script file from the LabVIEW and want to pass channel names as parameters. How could I do it?
Thnaks.
Attachments:
Diadem_test.zip ‏4 KB

Hi Vishal.,
You have a couple of options if what you want to do is transfer a list of desired channel names from LabVIEW to DIAdem. The first option is to write that list into a file and tell DIAdem to read it. There are plenty of different ways of doing this too. The second option is to dynamically send the array of strings to a new DIAdem text channel. The third option is to dynamically send the array of strings to a DIAdem string array.
Any of these options will work fine, and it's really personal preference which you choose. As of DIAdem 9.1, its OLE Automation Server has no dedicated method to pass either a text channel or a string array with one pointer. So you either provide the values one-by-one to a new channel or new DIAdem string array, or you use file I/O. Below you will find an example of sending values one-by-one to a DIAdem channel. This is not a good method for very long channels (>> 1000 rows), but it should be adequate for your described needs.
Regards,
Brad Turpin
DIAdem Product Engineer
National Instruments
Attachments:
DIAdem Text Channel IO.zip ‏78 KB

Similar Messages

  • Select multiple channels for one task - control and shift keys don't work

    Hi,
    Following advice from several other posts, I'm trying to select multiple physical channels  from the dropdown list so that I can then use the "unflatten channel string" function later on. It looks like if I hold down either shift or cntrl I should be able to select multiple channels from the list, however, this doesn't work for me. I tried going into the "key navigations" property for the task channel control but it doesn't have any associations listed. Has anyone else come across this and found a fix?  I have previously got around this by stating multiple channels with a colon (eg. ai1:3) but this doesn't work for the unflatten function.
    Thanks, 
    Claire.
    Solved!
    Go to Solution.

    Thanks for your reply Dennis, I see what you mean, unfortunately that doesn't solve my problem so I'm missing something else. I've attached my VIs. I expected that the output from the unflattenstring block would be an array of either the channel references or the names I had given them, and that therefore the "array size" in the 4th pane would be "9" (equal to the number of channels).  Instead the output is a an "unnamed task#(some number)" when I look at it with a probe. Perhaps I'm misunderstanding how the task naming works?
    THanks, 
    Claire.
    Attachments:
    Analog SW Trigger_v3.vi ‏33 KB
    Cont Acq&Graph Voltage-Analog SW Trigger_cfjv3.vi ‏64 KB

  • Acquiring multiple channels programatically

    Hi Am using SCXI 1125 with 1328 terminal blocks to acquire temperature values from thermocouple's. My problem is that i need to select the channels to acquire programatically, and create a task dynamically with the channels to acquire the data. the virtual channels should include data such as noise filtering, if i pass a string to create task function with all the channels i want to acquire, i cannot set the noise filtering in the task i created. but if i create a task previously then unnessesary channels will be scanned, which is not fisieble. should i create global channel for each physical channel with information regarding filtering in it and then create task with these global channels, or is there any better way?.

    It's really more a matter of preference. I prefer to set things in my program just because I can see what's going on and change it. If you want to create a global channel with the properties already set that shouldn't be a problem either.
    If I was making it, everything would be set programmatically. But either method will work, and you should do whichever you think would be best for your overall application and future users.
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • How can I select a channel on the RT target with a VI on the host?

    Maybe I'm trying to pound a square peg into a round hole, so please let me know if I'm abusing LV, but ...
    I'm trying to parameterize our RT VI app that deals with digital output channels.  We use the same basic VI for multiple configurations.  The only thing that changes is the channel allocations.  So for instance, actuator 1 is on port0/line5 for one configuration and port1/line2 in another.  I really don't like the idea of modifying the VI every time we have a new configuration because it makes configuration management insane.  If I make a change to the basic VI, now I have to upate N copies of the VI and hope I catch everything.
    So I'm making the main app VI read an XML configuration file that specifies all the allocations.  Sounds great at first, but how do I create the XML file?  I created a VI that manages the data in the VI, allowing the user to add/remove channels and edit the name and channel and then save it to an XML file.  The configuration is comopsed of an array of clusters, with the cluster containing the name and DAQmx channel.  My intent was to let the user select the channel from the list of valid channels by using the DAQmx Global Channel control.  But the problem is, the configure VI runs on the host, which doesn't see any of the channels because they are on the RT target.  But if I try to run the configure VI on the target, it refuses to deploy because I have GUI widgets.
    Is my approach fundamentally flawed?  Is there a better way of parameterizing our VI?  Or is there a trick to getting access to the valid channels on the host VI?  The information MUST be available because after all, when I modify a target VI and select a global channel constant, I'm doing this on the host.
    Thanks,
    Keith.

    Hi Keith,
    you can handle the channels like "normal" strings. See the attached picture.
    Hope it helps.
    Mike
    Message Edited by MikeS81 on 07-25-2008 06:46 AM
    Attachments:
    Unbenannt1.PNG ‏6 KB

  • How to select Multiple items in the dvt:pivotfilterbar?

    How to select Multiple items in the filters in the dvt:pivotfilterbar?

    To select multiple media and other files, it's not possible. You can do so in messages as directed.
    To select multiple files, connect to your PC and select them.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to filter Multiple channels without losing outputs

    Hello all, this really is my last hope. I'm having a real big issue in Logic, it's been that way since I started and I'm hoping someone help me. The issue is the same with every track I create, and is as follows:
    An example I will use is the main 'drop' of a track. I want to have most elements gradually filtering out, to allow an emphasis when the beat kicks back in at the drop. At the same time, I want to leave some elements playing, such as reverse cymbal, rise/swoosh/sweep sounds etc. The problem I have is how to select multiple items to filter out, using ONE filter (eg. Beats & bass) and not have to put a filter on EVERY individual track and automate them individually.
    I know one option would be to send all of these items to a bus, and then filter that bus, but then that means that the elements are playing from TWO sound sources - their original channel strip AND the bus that they are now assigned to.
    I know this problem can be alleviated by removing the output from the original channel strips, and only have their sound coming from the BUS, but then this causes the problem of loss of impact/volume because I'm losing the original sound source.
    Lots of my sounds are sent together to busses, eg. BeatsBus. BassBus etc. where they all gather and are compressed together creating extra volume and compression effect.
    Hopefully I have explained myself well enough here, it's not the easiest problem to articulate over a message.
    But to recap, I want to filter multiple sounds (beats, bass and everything else) with one filter, without losing my MULTIPLE sound sources, ie their original channel strip output.
    Please please help.
    Steven.

    Dont use a send to get the tracks to the bus. Assign the tracks OUTPUTS (should say "stereo out" before you change it)  directly to the busses.

  • Can't select multiple speakers in iTunes 10.3.1

    Since updating to iTunes 10.3.1, I can no longer select multiple speakers (Airport Express, AppleTV) to stream music. Even though the checkbox looks clickable, it does not stay clicked.
    I have a 2x2.8 Ghz Quad-core Intel Xeon MacPro running 10.6.8.

    open system preferences
    open network pane
    select airport in the left list
    click the advanced button
    go to the TCP/IP tab
    set the configure IPv6 field to OFF.
    click OK
    click apply
    now try again to connect to your remote speakers.
    if this doesn't help, you may be suffering from wireless interference.
    download iStumbler and note the channels other networks in the vicinity are broadcasting on, then change the channel your network is using as far away as possible from those.

  • How do I select multiple items on blackberry phone?

    How do I select multiple items on blackberry phone?

    Multiple items of what?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Selecting multiple items in a listbox

    Is it possible to select multiple items in a listbox and insert them into an array. Currently, to get around not knowing if this is possible, I have two listboxes. One has items available and the other has items you want to use. I can either double click or press an add/remove button to move items between the two listboxes. The problem there is that when I move an item from one to the other it puts it at the end of the list. I want to keep the lists in order by channel. My items structure is as follows: "'channel number' 'Channel name'" ie "1 Date\Time"
    I can sort this list but it sorts by the first character. If I have channels 1-30. It sorts to 1,11,12,13,14,...,3,30. I want 1,2,3,...,30 I would prefer to select multiple items in the listbox but if I can't, how can I do a better sort with my current method of two listboxes.
    Thanks,
    AJL

    Hi together,
    Since there is no multiple selection in Enumlistbox in SUD dialog, i wanted to use a table.
    But i couldnt get the table to show the values from a user variable definition file (dynamic enumeration list). I fail to assign one column of the table to that user variable.
    Below i attach the corresponding files:
    where could be the problem?
    And i was looking through DIAdem help file to look for information, how to define different types of user variables (for example vectors) but i couldnt find enough information. Do you have any document or examples where i can see the defining and usage of different type variables in different controls in SUD dialogs ?
    thanks in advance
    kaan
    Attachments:
    dynamic_enumeration_for_table.zip ‏2 KB

  • Select multiple items on 8900 curve?? HOW??

    Can any one please help me, I am trying to find out how to select more than one item at once (to send or delete) I can select lines of text but when I want to download lots of photos I have to do it one by one ! Please help I have curve 8900

    If you are in the message listing view, you can select adjacent messages by selecting or highlighting the first message and holding down the SHIFT key while scrolling up or down to select multiple messages.
    Then, tap the delete key to delete them en masse.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Select Multiple emails

    I have a Z10 how do I select multiple emails?

    While in your messages listing, tap the lower right three dots "overflow" icon and the words Select More.
    Tap all the emails you wish to select... and the in the right sidebar you can file, mark read or unread, or delete, etc.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Select multiple messages

    Can I select multiple messages for deletion?
    Solved!
    Go to Solution.

    Yes.
    Scroll to highlight the first message, and then press the SHIFT key lower left and hold it while scrolling across adjacent messages. Press Delete.
    Or scroll to any date separation bar and press Menu > Delete Prior.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Troubles with programming a program with different multiple channels!

    Dear LabView users,
    i've been struggling with a program I need to write about the stress-strain curve and the E-modulus of a material tested with strain gauges, and LVDT's.
    The thing is, I need to acquire data with the nDAQ-system from strain gauges (Virtual channel: Strain), LVDT's (Virtual channel: Voltage) AND a pressure cell (Virtual channel: Voltage), and I need to log this data and do some operations with this data. The problem is, this program needs to work with either the combination of 1 strain gauge, 1 LVDT and 1 pressure cell, but also with the combination, for example, of 4 strain gauges, 2 LVDT's and 1 pressure cell. For the strain gauge I need to be able to configure the strain gauge properties (but this is able with the bridge configuration cluster provided by LabView) for each strain gauge seperatly, also I need to be able to configure the scale and the input voltage for each LVDT or pressure cell, also seperatly. And I need to be able to select the channel for each gauge,LVDT and force cell. Also I need to be able to set these elements to zero before the testing begins. 
    Thereafter all these data needs to be logged into an excel file and also be shown on a clear graph that shows me the strain from the gauges, the displacement of the LVDT's and the force of the pressure cell. 
    Eventually, I need to become a stress-strain curve and the E-modulus of the material we're testing, presented in LabVIEW.
    Does someone has an idea about how I should work this out step by step? Any help would be very usefull.
    With kind regards,
    Peter

    PeteTheGod wrote:
    You remember my previous post? Is it something like that you mean? I started there also with a cluster with name and scale information, but for the strain gauges it was too difficult to complete this. And eventually, it was getting way to complicated for me to proceed with programming.
    And what do you mean with the configuration file? You mean a notebook file like I already tried? 
    Do you have some easy example (.vi) about how I should do this? 
    Dear Peter,
         I'm sorry, but I did not remember your previous post (though I did remember looking at something you had posted).  However, I did "look it up" and saw that I'd made a suggestion that you store your configuration information in a Cluster, use an Enum (that you define) for the various types of Bridges, and store the data in a Configuration File of some form.  LabVIEW has a series of Functions on the File I/O Palette for .INI files (which it calls "Configuration Files", and I provided an example for using an Excel Workbook as a Storage format, but you can use anything, even a Text file.
         The important thing is this allows you, the User, to have a set of "Details" (Bridge Type, Gauge Factor, Gauge Resistance, etc.) stored along with a Name that you choose, and at Run Time, you can specify or choose just the Name (say, from a Drop-down List) and pick up all of the other parameters from your Configuration File.
         If you were going to use a Drop Down List, you would want to populate it with the "Correct Choices", i.e. the list of Names in your Configuration File.  So your Initialization Code would read the Configuration File and create a Ring (or something similar) populated with all of the Names.  Then, when you choose which Device using the Ring to force you to choose one of the named Devices, you would simply use the Ring value to index your array of Configuration information to get Bridge Type, Gauge Factor, etc.
         My earlier Post was "specialized" in that it only applied to Bridge Specification.  If you want to include other Devices, such as LVDTs, you can certainly do that.  Now your basic Cluster would change -- instead of Name, Bridge Type, etc., which is specific for Bridges, you would have Name, Device Type (an Enum that was Bridge, LVDT, etc.), and perhaps a Variant that could be called Device Specs (my earlier Example shows a possible Bridge Device Spec as a cluster of Bridge Type and two Gauge parameters).
         Do you know about Variants and how to handle them?  It just means a little more processing at the time of Reading, Writing, and Using.  Here the LabVIEW .INI Config Functions might be simpler as you could particularize the sub-parameters based on the Device Type.  You could still use Excel, but you'd need to give some thought about how to handle the different sets of columns for the different Device Types.  If you want to go the Excel route, design an Example Worksheet (similar to the example you showed at the beginning of this post, which was just for Bridges, I believe) and show us your thoughts.
         Spending a little time on design now can really pay off later -- it may take you an extra hour to figure out how to write the code, but the code should take very little time to execute, and will keep your program nimble, effective, and capable of handling multiple and new devices.
    Bob Schor

  • Savin' and recalling multiple channel Strips ?

    is there a way to save and recall multiple channel strips ? what i'm trying to do is for example : to set up
    Ultrabeat Multi which would include several Aux's and busses with indivitual bus effect etc and recall it in a New song exactly as i saved it . how do i goabout it
    thx B
    Mac Pro 2.66   Mac OS X (10.4.8)   Yamaha MLan i88x Audio Interface

    Two ways you could do it.
    1: set the existing setup as a template; remember to get rid of all regions in Arrange & all audio in the Audio window. Whenever you want a new song with these settings, create it using this template.
    2: at the top of each channel strip just below the EQ window is a small triangle. Click on that and select 'Save Setting As . . ' and give it a memorable name.
    Do that for each channel strip you wish to save. In your new song, select the strip setting you want and everything in that channel will be opened; all FX, Ultrabeat or any other Logic synth you may have had inserted.
    I hope one of these helps you.
    guitarguru

  • DAQmx Create Multiple Channels

    I have downloaded the NI Bridge-Continuous Input Program and am trying to modify it slightly to allow for multiple Wheatstone bridges to be connected. Currently, it has the option to connect to a single channel but not to acquire information from multiple channels simultaneously. All of the information in terms of shunt calibration, bridge information, and waveform graph output will remain the same. Ideally, the program will show the largest value in the final waveform graph but it's fine if it shows separate graphs for each of the two inputs. I have been playing around with it without much luck although if I start from scratch and use the DAQ assistant I am able to get the information without trouble. Any help would be much appreciated.
    Solved!
    Go to Solution.
    Attachments:
    Force Measurement.vi ‏96 KB

    Actually you are 99.99% of the way there.
    You just need 4 characters
    The Name filtering on that control is even properly set to allow multiple selections so just shift click the second channel
    Jeff

Maybe you are looking for