How to select physical channels to save?

I'm in the beginning of implementing a new program.
The first issue is to get a list of all available devices and channels, and then mark the channels I would like to save datas from.
This input from the user should then act as an input to the "save data to file" part of the program.
Is there any suggestions how to do this?

Thank you for your feedback.
I'm not sure how to implement the scan list you are referring to.
What I have done so far, is to create an array of all the available channels. Attached is the program for this.
What is desireable is to have a select function like the one I found a picture of in the forum. See attached picture.
How can pick out the elements in the array and write them into this box?
Thanks in advance for all answers
Attachments:
Devices and channels.vi ‏27 KB
channel control.jpg ‏17 KB

Similar Messages

  • I am working in Numbers and can't seem to change the generic value assigned to the legend.  Any advice on how to select the legend and save new values?

    I am working in Numbers and can't seem to change the generic value assigned to the legend.  Any advice on how to select the legend and save new values?

    Ntenich,
    If your table has a Header and your Legend text is in the header, it will be picked up by the table.
    Jerry

  • VB6 NI-USB-9237 DAQmxCreateAIVoltageChan selected physical channel does not support the measurement type required

    I have a VB6 program with code that properly reads analog inputs from an NI-USB-6008.
    I tried to re-use the code for a strain-gage module NI-USB-9237, but at the DAQmxCreateAIVoltageChan step I get the following error:
    "Measurements: Selected physical channel does not support the measurement type required by the virtual channel you are creating.
    Create a channel of a measurement type that is supported by the physical channel, or select a physical channel that supports the measurement type."
    Should I be calling a function other than DAQmxCreateAIVoltageChan?
    If so, what is it, or where can I find the reference for such functions?
    Or - if that is the right function, should I pass different arguments?  Currently I'm calling:
    DAQmxErrChk DAQmxCreateAIVoltageChan(taskHandle, "Dev1/ai1", "", DAQmx_Val_Cfg_Default, -10, 10, DAQmx_Val_VoltageUnits1_Volts, "")
    Thanks in advance for your help
    -Chris Hardy
    Solved!
    Go to Solution.

    I figured it out from 372251a.PDF
    First, the correct function is DAQmxCreateAIVoltageChanWithExcit
    Second, you can't just ask for one sample on one channel - ask for 2 samples instead.
    -Chris Hardy

  • Selecting physical channel from list with DAQmx

    I'm trying to write a simple VI for reading and writing digital data. However, when I have a DAQmx physical channel control, the only options it presents to me are the various analog inputs (and doesn't allow me to type in the port I actually want to use). In other examples, e.g., "Write Dig Port.vi", the apparently identical control instead shows me digital port options rather than the analog in channels. As far as I can tell, there is no real difference between the controls as there is nothing in properties that I can really modify.
    How can I get this control to let me choose the channels I want? Or is there some difference in these controls that I am not aware of?

    The channel lists adapts to the type of DAQmx Create Channel that you use. Do you see the text below the DAQmx Create Channel? If your channel is displaying only analog input channels, then the DAQmx Create Channel type is AI Voltage. If you want to use digital input channels, change the type to Digital Input. Click on the little arrow on the right side. This is called a polymorphic VI selector. You can do the same thing by right clicking on the VI and do a Select Type.
    Mark has a good point. If you change the type of DAQmx Create Channel and you already have a physical channel wired, you will have to go to I/O Name Filtering to change the channel types displayed. If you change the DAQmx Create Channel and then create a channel control by selecting Create Control, you'll get the correct type automatically.
    Message Edited by Dennis Knutson on 03-11-2008 12:12 PM

  • Selected physical channels to array

    I would like that after select several channels of differents devices (with DAQmx Physical Channel component), this selected channels will be put in the array.
    I look for forum but I didn't find anything.
    If somebody already tried to do this, please send me suggestion.
    Thx for all
    Look in the attached picture.
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science
    Attachments:
    physicalchannel.JPG ‏39 KB

    Chris,
    Now you will understand what I want. I didn't expressed well. Look for attached VI
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science
    Attachments:
    physicaltoarray.vi ‏11 KB

  • How to configure physical channel using DAQmx block(remote PXI6733)

    I am trying to run the example in labview that use DAQmx. But I find I can't find the physical channel by browser or using DAQ assisstant. It reports "No supported device found". My PXI6733 is on a controller and communicate with host computer by TCP/IP. Could I use DAQmx in such environment? What I should do to find the physical channel?

    Braver,
    The NI 6733 is not yet support by NI-DAQmx. Thus, you will need to use Traditional NI-DAQ to program this device until this support is added. I would suggest that you examine the following Traditional NI-DAQ examples:
    Examples >> Hardware Input and Output >> Traditional DAQ >> Analog Output
    Good luck with your application.
    Spencer S.

  • How to scan fm channels and save IN hp slate6 voice tab

    Hi,I wanted to scan and save the list of FM channels in hp slate6 voice tab.How do I do it?Regards,Umesh.N

    Hey  ,
    Welcome to the HP Forums! I understand you're looking for information on using the FM radio feature of your Slate 6 VoiceTab. Can you tell me which app you are using and I'll do my best to help.

  • 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 copy a selection in channel mode?

    I have photoshop cs6, and I was just wondering how to save a selection in channel mode.
    So for example (below), If i wanted to only copy the part of this picture that has white and the plant in the picture how would i do this? I've tried colour range but it didn't work so I am very stuck. Please help! Thanks

    The problem is that you are still editing the alpha channel, which can be usefull too.
    So before attempting to copy or edit, you need to go back to the layers pallete. Here's how it would look step by step:
    - go to channels pallete
    - highlight Alpha 1
    - Click "Load Channel as Selection"
    - once the selection is active (running ants around the vase), highlight the RGB channel
    - go back to your Layers pallete
    - copy/paste the selection as needed (or hit crtl+J) to copy the selection to its own layer
    - duplicate the layer as needed
    so basically, before trying to copy, you first need to go back to the layers pallete, after loading the selection
    hope this makes sense, please post back if this doesn't work.

  • Is it possible to save document selection as Channel mask-?

    Hi Everyone:
    Is this possible to script.
    1. save document selection as Channel mask…?
    2. how do we get selection from layermask..?
    Thanks is advance.
    -yajiv

    ad 1)
    If you mean a Channel:
    app.activeDocument.selection.store(app.activeDocument.channels.add())
    ad 2)
    if the Layer is selected this should load the Layer Mask as a Selection:
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc12 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref8 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idfsel = charIDToTypeID( "fsel" );
            ref8.putProperty( idChnl, idfsel );
        desc12.putReference( idnull, ref8 );
        var idT = charIDToTypeID( "T   " );
            var ref9 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idChnl = charIDToTypeID( "Chnl" );
            var idMsk = charIDToTypeID( "Msk " );
            ref9.putEnumerated( idChnl, idChnl, idMsk );
        desc12.putReference( idT, ref9 );
    executeAction( idsetd, desc12, DialogModes.NO );

  • Pshop Assignment:  "Save one selection as channel" - what does this mean?  Help!

    I am in a Pshop class and have made a composite photo using 7 photos and layer masks.  Here it is so far.
    In the assignment it says "Save at least one selection as a channel".
    I know I can select a fish, for example, and then Select / Save Selection and it will save it as a channel.  What I don't know is why I would want to do this.  Could someone explain what Saving as a Channel is and how I would use it in this pic?
    Thanks,
    Gary

    JJMack,
    Thanks for the reply.  I think I am understanding but still unclear about a few things.
    I make a selection in the main document and Select / Save Selection.  When I click on the Channels tab, here is what I see.
    I know I can now fine tune the selection via brushes or whatever.  What I don't understand is what I can do with it at this point.  If I do a Cut / Paste to put that fish in another document, for example, all I get is the mask.  If I want to duplicate that same fish in this document, again all I get is the mask with a cutout where the fish should be.  So on one level, I guess I know "how" to make a selection for this project.  I just don't know what to do with it now that I have done it.
    I have read other tuts where they say this is a great way to save your work - like if you are cutting stuff out but not done and will come back to it later.  But I know I am missing something because once selected, I don't know what else I can do with it.  And now that I am doing things in layer masks, it seems like cutting stuff out is not the preferred way since it is destructive and that using a layer mask is better because you can always go back to the original and just modify the mask if you need to.
    Thanks for anyone's responses.  I was fully understanding Pshop up until this point.  Saving as a Channel baffles me.
    Gary

  • How to create multiple physical channels using DAQmx?

    Hi, I am new to Labview.
    Can anyone please help me on how to create multiple physical channels? I am following the LabVIEW examples in the NI example finder but they are only for acquiring signals from one channel.
    Actually, I am using the channels of an SCXI 1520 to measure voltage signals. And one more thing, in the NI Example Finder, they are sample codes there for setting the filter in SCXI 114x.
    Will this example work with an SCXI 1520, too?
    Thanks!

    There are many ways to read multiple channels in LabVIEW. First, if you look at that example that lets you set the filter setting on the 114x and you click on the 'Physical Channel Listbox' then click 'Browse' you can see that you can select multiple channels. After you select the channels and hit 'Ok' it will build a multiple channel string. This is one way to read multiple channels.
    Next, you can create a 'Task' in Measurement and Automation Explorer(MAX). When you create this task select all the channels that you need to read then back in LabVIEW simply select a 'DAQmx Task Name Constant' Select the task you just created and wire that to an Input of your first DAQ VI. If you do this you do not need to have a 'DAQmx Create Physical Channel' VI or create
    Task because it is already created in MAX.
    When looking at example VIs you can tell if a multi-channel read is acceptable by looking at the 'DAQmx Read' and if it says NChan that means it will do a multichannel read. There are tons of example programs that will display the multichannel read capabilities.
    This example may not work for the 1520 because the properties that are set could possibly be specific to the 142x. When using the 1520 though it is very likely that the properties will be very similar if not exact. You will simply put a DAQmx Channel property node on your block diagram and then look for the Lowpass filter settings properties that will most likely be in the same location. Now another way todo this without using a property node would be in MAX when you create a task set the filter settings from the Device tab in the task configure window.
    Let me know if you need anymore help with reguards to this issue! Have a great day!
    Allan S.
    National Instrument
    s
    Applications Engineering

  • How to select left or right channel while playing video in QuickTime X?

    I have recorded a TV movie with EyeTV and exported it to Apple TV format (M4v). In Germany often stereo movies have original soundtrack on right channel (e.g. English) and German soundtrack on left channel. With QuickTime 7 it was no problem to select the channels for playback. But with QuickTime X I cannot find this possibility anymore. Does anyone know how to select one of the stereo channels for playback? You can imagine that wihil playing German and English simultanously you cannot understand a word at all.

    Thanks, but I actually do not want to remove a channel permanently, because I sometimes want to listen to the original English version and sometimes to the German version. But as it seems QuickTime X does not have the simple playback option to select a special channel, is this right? This is sad as I really like the features and the look of QuickTime X. It is not very comfortable to switch between two players just for the need of a channel selection. I hope that Apple will give us some more basic playback comfort in a version to come.

  • How to get intimation about DAQmx Physical Channel invalid value encounter

    Can anybody tell me that if a DAQmx Control gets value from a configuration file( .ini file ) and the value is invalid (does not exist in the available physical channels list) than how I can be programatically intimated. I couldn't find any property node of DAQmx Physical channel Control which tells about that the current value feeded to the control is invalid.

    Thanks Alan, I have got a better soloution from you in another thread launched by me with title "How to get "Browse list of any DAQmx control in array form". In which u suggested of using DAQmx 8.0, which I have downloaded and used the property node DAQmx-Device>>DO.Lines to get an array of all Physical channels(DO category) of all devices. The value taken from that configuration file is searched in Physical channels array and if no match found than the value is invalid.

  • How can i control NI-6115 to collect data from 2 channels and save as 2 files?

    I want to program NI-6115 card to collect data from 2 channels and save the two data into two different filenames that i specified?
    How do i write in labview codes?

    Calibur,
    LabVIEW includes a number of examples that demonstrate how to acquire analog input data and write it to disk. Dependent upon the type of file you would like to use, I would suggest that you examine one of the following examples:
    Cont Acq to File (binary).vi
    Cont Acq to File (scaled).vi
    Cont Acq to Spreadsheet File.vi
    With regards to writing each channel's data to a separate file, you will need to use the Index Array function to generate two 1-D arrays, each containing data for one channel. These arrays can then be written to separate files using two Write File functions.
    Good luck with your application.
    Spencer S.

Maybe you are looking for