Select the analog channels by custom names

Hello friends of the Forum,

My stuff:

LabView 2009 SP1

Windows 7

I am rewriting code of LV7 LabView with the 2009 version.  The old code has a vi called "IA waveform scan.vi" and it allows the user to specify the DAQ hardware and also select channels by simply enumerating as numbers (0,1,2,5,6 etc.) in a channel of the front input box.  I understood how to create something similar to 2009 using daqmx channel, but I list the channels like this: dev1\ai1, dev1\ai2, etc.  Is it possible to choose a figure like LV7?  From what I've read, I think it is, but I have been unable to make it work.  Thank you.

dZack

I understand your question, but I don't understand why a list with ai1, ai2, ai0, etc., is so difficult to understand. In any case, its easy to convert numeric values Plains actual channel names. The format based on the string seems appropriate. You must create an array of channel numbers. A string is an acceptable entry in the DAQmx Create Channel function.

Tags: NI Software

Similar Questions

  • Select the physical channels of front panel

    Hi all

    Currently, I am trying to build an execuatble file which is dummy proof and has variations of the application is available.  I'm currently trying to give the user the opportunity to select the physical channels of the façade, through a group of check boxes or buttons... etc.  Then I have an array of strings containing all the names of the channels. I tried to run it through a loop with a structure of business inside and what false, the column of the table would be removed.  Instead, I get a blank table column, what does not work when he goes to the node of the active channel.

    So in short, how can I remove this column of the table in a loop for?

    Here's a picture of something ive been trying.

    Or is there an easier way to call from the front channels, im all ears.

    Thank you


  • Select the dynamic channel to fill in the legend

    Hello no,.

    I am the acquisition of 16 channels each channel has their own name, when I double click on the graph, the populous select.vi channel and it will list the name of the channel. If I select the first channel 5 or last name 5 channels or channel. the selected channel must be complete on behalf of legend.

    I am facing the problem, when I select the way to any list of channels his does not display does not name, the same method that I did with labview 7.1, which has been working well.

    Please find this attachment, my code

    Hello

    Find error or anything just a blank field name while doing this operation.

    A point I can see here is:

    1. the table "name out" which bears the names of channel should have clues covered by array index.  If the index covered by index out is not in the name of then an empty string will be returned.

    Please check if this condition is met.

  • In Gimp, there is a command called "alpha to selection". Who selects the alpha channel only. What is the equivalent command in Photoshop?

    Untitled.jpeg In Gimp, there is a command called "alpha to selection" which automatically selects the alpha channel of the image or layer. What is the equivalent command that in Photoshop? I tried Googling it but everything that comes is tutorials on masks. I just want to know what to select the alpha automatically without using a 'magic wand' to select one by one.

    CMD (mac) or Ctrl (pc), click on everything that has transparency and that load a selection. This includes layers with transparency, masks layers, channels and paths. Also, there is a selection at the bottom of the layers, paths and channels Panel icon that looks like a dotted circle.

  • Select the Alpha channel, such as layer effects

    Hey,.

    If I hold down the CTRL key while clicking on a layer, I get Alpha channel to selection features, which is exactly what I want, but the function includes all the layer effects.

    In particular, I would like to take the drop shadow effect.

    Sort easily accomplish what I want? I use the selection to copy/paste the pieces of design for use on the Web site design.

    You can target multiple layers and drag them as a unit, on your document design and in your design, you can merge them into a single layer.  When you merge layers, they are rasterzied which will include the layer effects.  This will leave your original document intact with its layers and the layer styles.  If in your description you do not merge the layers move layes them will be intact, layer styles. If merge you them the you'll one layer with the applied end styles and the merged layer will not have a layer style itself.

    I don't know if when layer styles are applied when the merger if these layers will mix in the lower layers as layer styles would be if you start to change the lower layers, after you merge layers.

  • Not able to read 4000 samples the analog channels of cDAQ module (module NI 9205)

    Please check the chart bloack (FALSE Structure box state a wait with 20ms function) and attached the code (saved in LabVIEW 2015).

    On executing the code and using the button 'Trig', I can see only 1000 samples (for each channel) and not 4000 examples.

    Please help me to understand what I am doing wrong?

    Entry of son "4000" to "samples per channel" Schedule VI DAQmx. The default value when unwired is "1000".

  • I have a PCI-6221 NIC connected to a block of connection TBX-68. How can I see the wiring for the analog channels with MAX?

    Hi all

    I have a PCI-6221 NIC connected to a block of connection TBX-68. Once I found a drawing that shows me all the connections on my block of connection for each analog input tasks. I don't see this option now. Can someone describe to me how I can find this new?


  • PCIe-6259 anallog effect of clipping (perhaps overvolting) on other analogously in the input channels?

    Curious to know if the cutting/possible ovevolting on one of the analog channels would affect the performance of other similar channels. I have two systems, one where signals don't clip and the other channels are still operable. The other has some problems of cutting (which fade eventually btw) on some of the ins anlog. One with the cutting on other channels are apparently unusable while those who did no cropping entry seems to be well.

    I seem to be affected by a situation in which hanging on an analog channel makes so that other analog channels do not work.

    Curious to know if I can see what is expected?

    Anyone have an overview here?

    This is how it is supposed to work?

    We do not guarantee that all channels will work normally when you're in a State of fault/over-voltage.

    Since it is a MUX architecture'ed, that the channels are analyzed in order in the amplifier of shared instrumentation and ADC.  If the instrumentation amplifier is on track for channel 0 (for example), it will take some time to recover from this error after the next channel is enabled in.  This can cause a number of incorrect following channels (possibly indicated as being on track).

    Of course, we do not recommend to use this device in an error condition. When you said "analog channels does not" what do you mean?  The data on track?

    Some things that might help:

    -Slower sample which allows more time to settle the instrumentation amplifier

    -Skip the chain incriminated in the scan list

    -Make sure that the offending channel is set to the widest range of voltage (+/-10 v)

  • Unknown channel or feature name repeated

    Hello

    I want to connect NI SMU-5451(waveform generator) and NI-SMU-7966R(Flex RIO) with peer-to-peer technology. I took an example of NOR-FGEN, which works perfectly, but when I use it in my project there is a mistake takes place - the "unknown channel or feature name repeated" What should I do to fix this?

    Hello

    I saw this post in another place, and there was a proposal to reorganize the properties in your node as well as "Active Channel" is the first.  As mentioned on this post, property nodes run top down and you may need to specify the channel before enabling the peer to peer.  Did you get a chance to try this yet?  You still see the same error?

  • How to view analog channels during an ongoing acquisition, what type of used wave form, table, or chart?

    I use Labview 8.5. and the NI USB-6210 device.

    I want to display the analog channels over the continuous acquisition.

    I can use the table of waveform or waveform graph. Waveform allows you to eat a history buffer. This function is very interresting and useful for my system, but I can't change this value to programming (if I do not mistake!). So, I was wondering if I can also use the waveform graph, but I do not have how to make a circular buffer to replace function "history buffer. I have to use the waveform as a data type.

    What is the best solution for my problem? I would like to know if my solution is good (graphic use of waveform) and if anyone has a solution to make an effective circular buffer with the waveform data type?

    Thanks in advance, best regards, Daniel

    There is an example that comes with LabVIEW called "XY table". It shows you how to create a history for a XY Chart buffer. The size of the history can be changed on the fly. You can adapt the VI "graphic buffer XY ' to work with a data type of waveform." This type of data consists of 3 elements: start on time, delta t and table of values. The only thing that you should be buffering is the array of values.

  • Im trying to uninstall the weather channel desktop

    Desktop does not support 64-bit windows. Please reffer to the faq related to this issue for a work around. I want to uninstall the present. Can you help me? Robert Richard.

    Is it actually installed if you receive messages not to be appropriate for 64 - bit?

    13. How can I delete my weather Office?
    http://www.weather.com/services/desktop_install_faq.html#13

    To remove or uninstall the weather your computer desktop, click "Start" - "programs" - "The Weather Channel" - "Desktop Weather". Then click the uninstall program. Follow the prompts to remove Desktop Weather.

    You can also remove the application by clicking on 'Start', followed by 'Settings', then 'control panel '. Then click on "Add/Remove Programs". In the list, select "The Weather Channel" and then click on "Add/Remove." Follow the prompts to uninstall the application.

    To remove the weather Services of your PC, you click 'Start' - 'settings' - 'Control Panel'. Double-click services weather "Desktop Weather" icon, and then click the 'Uninstall the weather Services'. This should remove all of the remaining elements of your system.

    14. I seem to be impossible to uninstall the weather office from my computer. What can I do?

    This is a known issue with the product and will be fixed in a next version. Copy the UNWARY. EXE in the Framework folder in the folder Desktop Weather will solve this problem. The steps are as follows:

    Go to start, programs, accessories, Windows Explorer.
    In the scrolling window left to click from Windows Explorer the + next to my computer, then click on the + sign next to C: drive to expand the view.
    Pull down this menu until you find the Program Files folder.
    Double-click the Program Files folder to expand the view.
    Scroll to the bottom of this menu to record The Weather Channel FW and double click on it to enlarge the view.
    Double-click the Framework folder to view the contents.
    Right-click on the icon that says ' "RECKLESS.". " EXE"on the shortcut menu, click COPY.
    Go to the toolbar on the window and click the previous button.
    In this window, right of the mouse click on the "Desktop Weather" folder on the shortcut menu, click PASTE.

    From there, you will be able to proceed as usual with the uninstall.

    http://www.Google.com/search?q=uninstall+weather+channel%2Bvista&RLS=com.Microsoft:-AU & ie = UTF-8 & oe = UTF-8 & startIndex = & startPage = 1

    Take a look at some of the third party uninstall programs that are on the market.

    Uninstall utilities
    http://www.SnapFiles.com/freeware/system/fwuninstallers.html

    Some success has been made via the following Cleanup.

    Description of the Windows Installer CleanUp utility
    http://support.Microsoft.com/kb/290301

  • SONY BRAVIA 50 "no signal message for find analog channels

    I bougth a BRAVIA 50 "and everything has worked perfectly, but suddenly the TV sent no signal message can not find the signal of channel or something like that. I bougth TV on December 2012 and this 4 last January that happened. What?, because I could see 7 channels before that. I tried to reset the original settings and I read, but nothing seems to work for some tips. The other features work well. It's just the analog channels. I hope someone knows the solution. Thank you

    I bougth a BRAVIA 50 "and everything has worked perfectly, but suddenly the TV sent no signal message can not find the signal of channel or something like that. I bougth TV on December 2012 and this February 4 this year that happened. What?, because I could see 7 channels before that. I tried to reset the original settings and I read, but nothing seems to work for some tips. The other features work well. It's just the analog channels. I hope someone knows the solution. Thank you

  • 7 the media library window not appear one of the free channels via antenna after the broadcaster changed the transmission frequency

    -Media Center detects my mate video Vista E900F Dual TV tuner

    -Everything is free in the atmosphere of the channels worked fine before all broadcasters, including "SBS" by changing its broadcasting frequency

    -After SBS has changed its frequency, it needed a new scanning channels, announced on their web site.

    -All detected library channels same SBS at its new frequency, the signal strength is 100% and the "Program Guide" works, but when you select the SBS channel to display a blue screen appears with a support message center saying "no TV Signal there is no signal detected, the station may be off the air, don't check your antenna" despite the fact that there is 100% signal strength and all other channels work fine. Rules of the antenna as the problem.

    -Software "Compro DTV4" provided with the tuner card has also demanded a new analysis of the channels and all the channels has worked well after the new analysis including SBS. Exclude a hardware problem with the tuner card. I don't like this program and prefer to use the Media Center.

    -All windows updates have been applied, and all drivers are up to date.

    -All signs point to a problem with the windows media center software. Perform an internet search this question gives to think I'm not the only one having this problem but I can't find a solution.

    Someone please help.

    I had the same problem with TDT, Eleven and One HD, after many, many hours of searching I found a working driver.

    I think that this driver is at NXP for a version of Phillips of the card.

    https://Mega.co.nz/#! f8VSmYLA! HSA6Mg_heMyAkVzyVPzAE1mJbM1qRvESx1kvBkxC00Q

    This driver is x 64, and it works for Windows Media Center on Windows 7.
    Nevermind Compro were too useless to fix their product.

  • Is posible to replace one of the RGB channels?

    HII everyone, I have a photo where the blue layer is totally black and the sound, so I have to know if it is posible to delete this and

    create a copy of the green or red channel and apply it as Blue Coat?

    Thank you

    Yes put what you want in the blue channel to the Clipboard as a copy of the Red layer, and then in the palette layers, select the blue channel and paste

  • Select the path using script

    Hello

    Every now and I have a lot of images to save for web (1-2 k images at once). All images are .psd or path or transparent background. I want to select the path and erease backgrount possible triming. The roads are named different, so this is another problem because the actions in photoshop select only the specific name of the track. So, it is possible to select the path regardless of his name? Or how to write the script of selection of several path names (IE "track 1", "path 2", "choice 1"...) I hope you understand what I want to do...

    I have another script that resizing of images to corect size and save for web. So when I have jpg with white backgroound first I run action in photoshop to cut images and then I run the script to resize all the images, because the script to check if the image is larger or more...

    If you want more information, just ask... I have version CS5 Photoshop

    Kind regards

    voahyeah

    Edit:

    For now, I wrote this:

    app.activeDocument.pathItems.getByName ('path 2') .makeSelection ();

    app.activeDocument.selection.invert ();

    app.activeDocument.selection.clear ();

    and he choose only if the path name is "path 2" else it stops... "."

    So when the personal is way 2 everything is fine but I have 10-15 different names... so it would be great avoid the path names. It is possible to select the first HRAP (if there is more than one)

    or if it is not possible to avoid the path name how wrote if els if block for it to check all path names...?

    ... Thank you

    Hi Voahyeah,

    Here's the Code...

    If (app.documents.length > 0) {}

    var app.activeDocument = docRef;

    var n = docRef.pathItems.length;

    If ((n>0) & (.name docRef.pathItems [0]! = "Work path")) {}

    docRef.pathItems [0] .makeSelection ();

    docRef.selection.invert ();

    docRef.selection.clear ();

    docRef.trim (TrimType.TOPLEFT);

    docRef.selection.deselect ();

    }

    };

    Kind regards

    -yajiv

Maybe you are looking for