DAQmx channel browsing problem in exe

Hi guys, 
I created a project and added "Cont Acq&Graph Voltage-To File(Binary).vi" example in Labview 8.6. Then I tried to build an exe file using the default options. This is the result as you can see from the screenshot. I've tried this with several examples, result is always the same. If I run the source code,everything works fine. The problem is with .exe only.
Can anyone please tell me how to solve this problem? Is it another bug or I am too sleepy?I need to use this "DAQmx Create Virtual Channel" vi in my application. Any help is appreciated. 
Thanks in advance.
ilter
Attachments:
error.jpg ‏57 KB

Dear Jeff,
I've read your reply and checked the block diagram again after having a long sleep. :-) As you said, the channels I create are deployed when I build the exe. But this is not what I need. I need the "browse dialog" to appear when I click the "browse...".
As I mentioned before, when I run the .vi file, it works fine, but it doesn't when I run the .exe file,instead it shows that error message as you can see from the previous attachment. I am attaching block diagram of NI's example for your reference. I think there is nothing wrong with the example. It is either some settings I am missing, or another bug as seen with CFP channel.
Thank you for your reply.
ilter
Attachments:
block_diagram.jpg ‏113 KB
error.jpg ‏57 KB

Similar Messages

  • Change a DAQmx channel property for a single channel from a channel group

    Hi,
    I'm doing some digital output, and I'd like to tristate certain lines in each port. However, I'm having difficulty figuring out how to specify which individual lines to tristate. I input a port and a line range, e.g. PXI-6533/port0/line0:7, specify to use one channel for each line in the DAQmx Create Virtual Channel VI, retrieve the channels from the DAQmx Task Property, and try to operate on the individual channels that way.  However, this results in the following error:
    Error -200428 occurred at Property Node DAQmx Channel (arg 1) in tristate_test.vi
    Possible reason(s):
    Measurements: Value passed to the Task/Channels In control is invalid.
    The value must refer to a valid task or valid virtual channels.
    Task Name: PXI-6533/port0/line0
    The NI knowledge base article that deals with this error code talks about creating a task with the DAQ assistant, or ensuring that a task has been created. However, I'm not using the DAQ assistant, as my I/O is pretty complicated; I'm just using a bunch of virtual channels. 
    Is there a way to specify individual channels to changethe properties of without having to create additional virtual channels? I have 48 digital channels I plan to use, so the less virtual channels I have to create the better. 
    Please reference the attached VI, which demonstrates the problem I am facing. 
    Thanks for any assistance. 
    Attachments:
    tristate_test.vi ‏11 KB

    You can only software-time tristate for the 6533/6534. Have a look at the attached example.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies
    Attachments:
    tristate6533.vi ‏58 KB

  • Querying DAQmx channel types in LabVIEW

    I want to have my LabVIEW application look through all the DAQmx tasks
    defined on the computer and display to the user a list of only analog
    input tasks.  I tried to do this by:
    Use the DAQmx System property node to retrieve a list of all tasks.
    For each tasks, use the DAQmx Task property node to retrieve a list of all channels.
    For each channel, use the DAQmx Channel property node to query its ChanType.
    If all ChanTypes turn out to be Analog Input, then I admit the task into the list.
    The problem is that I have tasks that I know are analog output tasks,
    but the DAQmx Channel property node still return "Analog Input" as
    their ChanType.  Am I seeing things, or is this a bona fide
    problem?  Is there a better way to get a list of the tasks I'm
    interested in?

    Hello,
    That is strange.  I built a VI which queries the DAQmx Task Types like you describe, and it works correctly for me.  If all channels in a task are analog input (by the way, this is a little redundant as all channels in a task must be of the same type), then the task name is passed to an array.  Otherwise, an empty constant is passed.
    Try running the attached VI and see if it works correctly for you.
    Regards,
    Sean C.
    Attachments:
    QueryTaskType.vi ‏34 KB

  • Accessing DAQmx channel information without DAQmx device attached to system.

    I am currently writing a LabView VI that makes use of a PXI-6229 card on a seperate chassis. The chassis is connected to a seperate computer from the one that I am using to develope the program. My problem is that I need to be able to obtain the DAQmx channel settings for various global channels, but since I don't have the DAQmx card attached to the system, I can't create global channels, and I can't set the channel nodes to return the data I need. In example, I need to be able to retrieve the Max and Min values for a voltage channel, but the channel properties node only lets me access/see the properties Active Channel, Channel Type, Physical Channel Name, and Description. Is there anyway to define a simulated channel for purposes of programming without the DAQmx card being there?
    I'm trying to avoid defining the channels at run time by using globals, but if I need to, I can define them via config file and pull the settings off that as well.
    Jon D
    Certified LabVIEW Developer.

    It is possible to have a DAQmx global channel in MAX without having the DAQ Device in that system. You will need to create the global channel in MAX on the system that does have the DAQ Device. Then select File>>Export in MAX on that system to create a .nce configuration file for MAX. You can then load that file into MAX on your development system by selecting File>>Import. That will import your global channels into MAX on your development system. However, they will show up in MAX with a red X next to them indicating that the device is not present.
    -Alan A.

  • How to Programmatically Set Scale on DAQmx Channel? Possible LabView Bug?

    Hi folks.  I have researched this question here on the forums and think I know what I need to do, but it doesn't work.
    What I'm Trying to Do
    I am creating a DAQmx Analog Out task that will write to a dozen channels.  I would like to set the scale on each of those channels to one of a handful of custom scales that I've already defined in my project.  From reading various posts on this forum, it sounds like I want to pull each channel out of the task using the DAQmx Task property node, then set each scale by writing to the AO.CustomScaleName property within the DAQmx Channel property node.  See the attached screenshots and VI file.
    The Problem
    I keep getting error 200378 "Custom scale specified does not exist".  The custom scale definitely exists in the project, but the VI won't recognize it.  It sounds similar to the bug described in this thread:  http://forums.ni.com/t5/LabVIEW/Why-do-I-receive-Error-200378-quot-Custom-scale-specified-does/td-p/...  However, I've tried the various workarounds mentioned in that thread (opening VI outside of project, then from within project, etc) and I don't get any different results.  I'm running LV 8.6.1
    Questions
    Does this VI work for anyone else once you've defined a custom scale with the same name as the one in the VI?
    Am I doing something obviously wrong?
    Is there a better way to do this?
    Thanks for any advice, it is much appreciated.  I've attached screenshots of both the VI and the Project window showing the custom scale exists, and I've attached the VI itself.
    Attachments:
    custom_scale_screenshot.JPG ‏38 KB
    project_explorer.JPG ‏68 KB
    daqmx_task_property_nodes.vi ‏64 KB

    This workaround isn't exactly what you are trying to do, but I have made a set of VI's that will let you open up the DAQmx Assistants from LabVIEW code programmatically.
    Programmatically Call NI DAQmx Assistants
    You can call the VI to edit a channel and manually reassign the scale if you want to avoid going straight to MAX.

  • Network bound variable on daqmx channels

    Hi all,
    I have a VI that runs fine reading data through Daqmx.
    I also have a 2nd vi running on another pc that has network shared variables bound to some digital in daqmx channels on the 1st PC.
    The problem is if i run this at the same time as my 1st vi,my 1st vi no longer processes the digital inputs (i.e.i switch to on and off and nothing happens), do i need to create network shared variables that i populate from the daqmx ones on the first pc and read those across?, im just wondering if its because you cant read the daqmx channels through the daqmx vis and also try to read them through network bound variables?
    hope that makes sense
    Mike

    Duplicate post.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • DAQmx Channel Identification

    Hi there,
    I have a problem in using DAQmx channel property node ---> Channel
    Type. many times this property node is giving error code -200088. Once
    this error happend, labview needs to restart. but the probability of
    working of this property node is 25%. I 'm clueless. I'm using this
    property to identify the global channel types whether it is Analog
    Input/ Analog output/ DI/O.
    Any one suggest the reason behind this error.
    Thanks in advance
    Vijayasiva

    Vijayasiva,
    What is it that you have wired to the "task" input of the property node? The error you are getting indicates that this task is not valid. Is it a task you define in MAX? Is it a task you create in LabVIEW? Could you possibly be clearing this task before the property node executes? It may help to post your code.
    Hope this helps,
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • I tried dowloading Skype yesterday and my Safari browser crashed.  It gives the message "Safari quit while using the librooksbas.dylib plug-in.  I trashed Skype but still have the browser problem.  I also tried logging in under guest, and no Safari.

    I tried dowloading Skype yesterday and my Safari browser crashed.  It gives the message "Safari quit while using the librooksbas.dylib plug-in.  I trashed Skype but still have the browser problem.  I also tried logging in under guest, and still
    no Safari.

    Julie --
    Backing up QuickTime's advice --
    Unless your bank's website is insecure, you're fine.  Go up to the Safari "Search" bar and type in Rapport.  You'll be amazed.  It may  "work" on PCs, but definitely not Macs.  And it's not needed for Macs.

  • Several DAQmx Channels with Start and Clear Task VI's

    Hi,
    I'm trying to read in several DAQmx channels in a while loop. When I just place the channels within the while loop and connect them directly to the read VI's, everything is fine. But I read in the help, that this will slow down my system, because it's opening and closing the task each cycle. So I used Start Task and Clear Task VI's to open and clear them before and after the loop. But now it's only reading one of my channels in, although I wired all of them in exactly the same manner. Anyone has an idea, what I did wrong?
    Thanks,
    Miclas
    Attachments:
    Save&Stop DAQ.JPG ‏87 KB

    You would have seen the error if you had wired up and error indicator.
    You cannot run multiple tasks of the same type (i.e. an analog input) at the same time. What you read about stopping and closing tasks is correct but it was the only way your program could work. What you don't realize is that you can have multiple channels with a single task. If you used a physical channel constant, it would be something like 'dev1/ai0:2' if you had consecutive channels or 'dev1/ai0, dev1/ai2' for non-consecutive. Global channels are done in a similar fashion. You would have 'FSR1, FSR2, Knee Angle', etc.

  • Need help with Rollover Image cross browser problem

    Hello,
    I am having a cross browser problem with my websites rollover nav links.  The trouble is, while they work perfectly fine in IE8 and IE9, I’ve also attempted to use them through Opera, and they simply don’t work.  They don’t link nor do they do their rollover effect.  And I was trying to figure out what I have done wrong.  Currently the site is not completed, but the first two pages are, the “news” and “about me” pages are currently (as of right now) working.  The address to the site is below.
    http://maxmetal.xsustudios.com/index.html
    I hope that someone can help me with this, if needs be I can put the code for the CSS and HTML into this part if it will save some time for everyone.  Sorry too about the PNG images, I have to change those over to semi-transparent GIF’s yet so the site does take a while to load…
    Hope someone can help me with this!
    PALADIN

    When I disable CSS in my browser, the rollover buttons work just fine.  This tells me your CSS is messed up and you've layered something over your menus which is making them inaccessible to users.
    I noticed you've applied relative positioning to just about everything on your page.  Why?   Default CSS positioning (unspecified or static) is all you need for 98% of layouts.
         Learn CSS positioning in 10 Steps
         http://www.barelyfitz.com/screencast/html-training/css/positioning/
    My advice would be to start over using a pre-built CSS Template with all the divisions and columns you're likely to need for this project.  Below are some good links to get you on the right track.
    For professional CSS Templates that are rock solid & perform well in all browsers, visit Project Seven:
    http://www.projectseven.com/products/index.htm
    Ultimate Multi-Column Layouts
    http://matthewjamestaylor.com/blog/ultimate-multi-column-liquid-layouts-em-and-pixel-width s
    Not Just a Grid CSS Framework
    http://www.notjustagrid.com/demo.asp
    EZ-CSS Templates (watch the screencast to see how it works)
    http://www.ez-css.org/css_templates
    Dreamweaver CSS Templates for beginners
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Good luck with your project!
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Output channel mapping problem for surround encoder

    vista 64 bit
    sound blaster titanium x-fi sound card
    logitech 5.1 speaker set up
    hello, i am trying to mix a movie i made into 5.1. when i open the surround encoder, go to the audio hardware setup and try to set my output channel mapping i only get two speakers. i have a card that supports 5.1, 5.1 speakers, and get surround sound when i play a DVD. yet audition only recognizes my left and right speaker. any help on how i get my output channel mapping set correctly?
    thanks in advance!

    Thank you for the info, though I admit I'm still a bit confused.
    My card is a creative x-fi extreme gamer.  It has 3 line out jacks and one line in jack.  T  Oh, here it is in the manual...thats just not good enough.
    But what is the surround encoder dialog box doing, if not encoding surround mixes?  The manual says I can exportsurround sound from a multitrack session. 
    Date: Mon, 1 Jun 2009 21:58:08 -0600
    From: [email protected]
    To: [email protected]
    Subject: output channel mapping problem for surround encoder

  • Embedded pictures in g-mail do not get thru when forwarded. Google claims it's a browser problem. how do I fix this?

    I'm running Windows 7 Ultimate, Firefox 3.6.16
    This problem started up about 4 months ago. I thought it was a Google problem, but Google claims it's a browser problem. The same problem happens with Internet Explorer. I checked the Google website and many people are having this same problem. And Google is totally unresponsive.
    Attached pictures go thru fine, but if I get an e-mail from someone with embedded pictures in the message, when I forward that message, the receiver does not get the pictures...only a red X in a blank box.
    How can this be fixed?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • CS6 Media Browser Problem

    When using the Media Browser in Premiere Pro to view files in a folder that contains many files (100+), the browser keeps jumping back to the beginning after viewing a few of dozen files.  I then have to scroll back down to the last place I was and then I can continue a little further before the browser jumps back to the beginning again.   The files do not open instantly -- there is a finite time where the message "processing ..." is displayed.  I gave up before getting to the end.   I doubt that I have an under-resourced computer since it is a i7-3770K with 32GB RAM and a GTX670 card.  Is there a limit to the number of files that can be viewed in the Media Browser?  Any suggestions?
    Thanks
    P.S.  Just did a search on the problem and I see that it is a well known issue.

    Hi guys !
    Just wanted to post because we had the same problem on 4 different computers with different configurations.
    It was really annoying to have this jumping/refreshing media browser problem. At a point, that this browser was useless.
    Then we had a problem with droping sound editing r3d code... Kind of a deal breaker, when the company claims that you can edit 4K r3d files no ?
    We finally figured out that the Media Cache and the Media Cache files NEEDS to stay in the original folders (C:\Users\nameofuser\AppData\Roaming\Adobe\Common).
    Even if everybody on the web tells you to dedicate a single SSD just for the media cahe, it won't work for Premiere pro. DON'T MOVE THOSE FOLDERS !
    Removing those folders to the original place (C:\Users\nameofuser\AppData\Roaming\Adobe\Common) [again]  solved the problem for us. Hope it will work for you guys.
    Don't blame Adobe, i'm sure they'll read my post to fix this in the next version of premiere

  • How do I Delete DAQmx Channels

    I am pretty much a novice to LabVIEW, and many of you may see this as a very easy question, but how do i remove DAQmx channels (If this is the correct term, or is it tasks?).
    I have been playing about, and seem to have a few redundant channels and wish to remove them. I have been looking for a while now and can't seem to find it anywhere.
    Solved!
    Go to Solution.
    Attachments:
    Removing DAQ Channels.jpg ‏74 KB

    You need to open DaqMX by clicking:
    Once DaxMX is open you need to open the channels area:
    THen you need to right click on the channel or task that you want to delete and select the delete function.
    Tim
    Johnson Controls
    Holland Michigan

  • I need help with a browser problem

    I am was given a new iMac G3 (from 2001) which was really never used.I have not yet had any serious problems with it, but really could use some help with a browser problem.
    I have 4 different web browsers that needs the macro media flash player update. The browsers I use are internet explorer, iCab, Netscape, and the original Mozilla Firefox.
    It would be of great appreciation for the readers of this post to answer my question.
    I am also having the problem with installing the plug - ins for the browsers. Thank You For Taking the Time To read This!

    Hi, rynodino -
    As Tom has suggested, plugins need to be installed in the Plug-Ins folder for the browser.
    Typically each browser will have its own Plug-Ins folder, usually located in the same folder containing the browser itself. In order for each of several browsers to access the same plugins, the plugins must be replicated and placed in each of the Plug-Ins folders for each of the browsers. The easy way to do that is to hold down the Option key while dragging a plugin to the new location - a copy (not an alias) of the plugin will be generated at the location it is dragged to.
    Most plugins will display a Netscape icon regardless of where they are located - this is normal.
    It is not unusual for the installer for a plugin to default its install to the Plug-Ins folder for Internet Explorer. So be it. Just replicate the new plugin to the other Plug-Ins folders as needed.
    Note that some plugin installs will involve more than one item. For those, be sure to replicate all items for it. Using labels can help identify what is new, what has been most recently added, in a Plug-Ins folder.

Maybe you are looking for

  • Why are my holidays duplicated three or four times in iCal?

    On iCal, my US holidays are duplicated three or four times. I do not use MobileMe. I do have it synced with my iPhone but for some reason, only the US holidays are the ones that are duplicated on iCal on my desktop. Anyone know how to correct this?

  • Queue Name in  XI

    Hi All, I have a simple scenario: JMS --> XI --> SAP R/3 (file adapter). The sender adapter have e QoS = EO. The message is splitted in two interfaces in order to apply two different mappings for the same sent message. I have noted in the trace of th

  • Why getAbsolutePath() doesn't return path?

    Hi, all: My code: public class Test { public static void main(String args[]) {  File aFile=new File("MustBeThere.doc"); if (aFile.exists()) String path=aFile.getAbsolutePath(); else System.out.println("Null"); It always return "Null". I assume to get

  • What resolution should i take for a movie to be played on 70X20 LED display?

    I am working on an animated video that will be played on 70X20 Feet LED display. What resolution should i take?

  • Create BP and then customer create without company code

    Hi,      I have some problem with the business partner to create customer. When I create a bp the process create automatically the customer but with out the company code, sales org., distrisbution and division.      I try to find the best way to do i