Disable DAQ using boolean control

Hi everyone,
im trying to use two types of control ( numeric control) and ( vertical slider) to output analouge signal to the same port of DAQ ( lets say port ao). the problem is if i do that the DAQ will give error because the channel is shared. that is why i was thinking if there is a way to use boolean switch in order to disable the DAQ attached to one controller at a time?
for example if the switch is 1 it enables the numeric control and disables the vertical slider, and if its 0 it enables the vertical slider and disable the numeric control FOR THE SAME DAQ PORT (ONE PORT).
thanks alot.

wouldnt this still give error because the same DAQ port will be connected to two control elements? 
i dont have labview now i will have access to it in 2 hours time when the lab opens
i will try it and let you know but i guess the VI refuses same port of daq used twice in one GUI.
and one more thing if you dont mind, i have asked for help once in the forum about gaussian best fit function. they helped me to create plot but i dont know how to place the gaussian best fit to it, do u mind if u give a look to it?

Similar Messages

  • Writing current to DAQ using AOPoint control

    I'm using the CWAOPoint control to write a value of type current to my DAQ card 6024E but I get the following error:
    "The specified device does not support the requested action (the driver recognises the device, but the action is inappropriate for the device)"
    I had no problem trying to write a voltage value to the same device. Also this worked with the current DAQ and hardware using Labview instead of Measurement Studio. Thanks in advance.

    The DAQCard-6024E only supports voltage output and does not support current output. We sell hardware that has the capability of supplying current, such as the NI 6704 output device linked below.
    NI 6704
    http://sine.ni.com/apps/we/nioc.vp?cid=10705〈=US
    Todd D.
    Application Engineering
    National Instruments

  • In iOS 5 on the iphone 3gs, how does one disable voice control, not voice dailing.  I have never wanted or used voice control please help me disable it.

    In iOS 5 on the iphone 3gs, how does one disable voice control, not voice dailing.  I have never wanted or used voice control please help me disable it. 

    are you talking about voiceover where the phone is reading things out loud to you? you have to double tap things in voiceover in order to select them. you'll need to go to settings > general > accessibility > and turn off voiceover there

  • Is it possible to use booleans to build a VI that uses buttons to switch between screens (3 only) while the other screens disappear?

    As a beginner, I need help figuring out how to build a simply VI that uses boolean logic to switch between three different screens. I need a "Home" screen, the next screen which has a button to go back "Home" and a third screen which has two buttons to go "Home" and "Previous Screen". Can someone help me with a simple block diagram?

    Hi,
    Or put the data in three tab controls. The tabs itself are hidden. The
    program switches between the tab sheet if one of the buttons is pressed.
    The buttons are best not copied, e.g. the same buttons are used in every tab
    sheet (buttons hover above the tab, a black shadow will apear). If the first
    sheet is shown, button 2 and 3 are hidden, sheet two: only button 3 is
    hidden, sheet three no button is hidden.
    Showing the tabs allows the user to choose the views directlly. The button
    logic is not needed anymore. But you'll have to live with a simple tab
    sheet, instead of a fancy button system!
    Regards,
    Wiebe.
    "Jason R" wrote in message
    news:[email protected]...
    > Another solution if you want to avoid property-node hell...
    >
    > Divide your screen into 1/4ths. That is, make your FP 4x larger than
    > your desktop.
    >
    > Place screen 1 on the upper left quadrant.
    > Place screen 2 on the upper right quadrant.
    > Place screen 3 on the lower left quadrant.
    > Screen 4 (lower right quadrant) is unused.
    >
    > Disable the ability to scroll at run time.
    >
    > As the user clicks buttons, use the properties of this vi to move what
    > the user can see on the front panel.
    >
    > Cheating? yep. Easier? yep.
    >
    > Hope this helps! =)
    >
    > btw - be sure not to update the FP controls when they are not visible,
    > or this will eat processor cycles.
    >
    > Sincerely,
    > Jason G Richmond
    > Project Engineer II and LVAAD Instructor
    > VI Engineering
    > [email protected] (domain should be vieng.com (no A's))
    >
    >
    > missileman wrote:
    > > Is it possible to use booleans to build a VI that uses buttons to
    > > switch between screens (3 only) while the other screens disappear?
    > >
    > > As a beginner, I need help figuring out how to build a simply VI that
    > > uses boolean logic to switch between three different screens. I need a
    > > "Home" screen, the next screen which has a button to go back "Home"
    > > and a third screen which has two buttons to go "Home" and "Previous
    > > Screen". Can someone help me with a simple block diagram?
    >
    >

  • Aligning Boolean Control to Plot Legend

    Any ideas on how best to align an array of tick boxes against a plot legend?
    I have a 1D array of Boolean controls and I want to use them to enable/disable the plots on a XY graph but I'm having problems getting the controls to line up with the legend text.
    I've tried using element gaps in the array but there seems to be little control of the gap that is used. I've also tried creating a custom control and modifying the control height but I still can't get an exact alignment of the control to the legend text. I've also tried using different fonts for the legend text but it doesn't help.
    I don't really want to use individual controls and would prefer to continue using an array if possible but I can't help thinking I'm missing something obvious!?
    I've attached and example of the problem and would welcome any suggestions....

    Sorry, apparently the resize operation does not survive a save operation. Weird! It looks just fine until closed and reopened.
    Here's an approach that actually works: Just use a plain boolean button and import the appropriate checkbox graphics into the true and false cases, again using the control editor.
    See if this suits your needs!
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    LegendExampleMOD2.vi ‏29 KB

  • Boolean Controls on a Hidden Page in a Tab Control

    Hello everyone. 
    I am having some issues with a tab control in a fairly complex program put together by another (more experienced) developer. The basic setup for this tab control features several tabs to control various aspects of a system (motor setup, video setup, general parameters, etc.). Going to a specific tab and pressing Ctrl-F8 brings up a password prompt, which then displays the "Advanced" menu. The advanced menu is a hidden page within the same tab control. The advanced menu contains several Boolean controls that allow access to the various advanced setup features (these pages are also hidden pages on the same tab control), however, none of the Boolean controls are functioning. Clicking on the controls does not cause the buttons to appear pressed, either when running the program as a compiled executable, or while on the front panel of the VI in LabView. The hidden pages also appear as dark grey. I have confirmed that the same is true for all of the hidden pages within the tab control. I believe that my issue is with the version of LabView that I am using. The program was designed in 8.0, whereas I am currently using 8.2. I have not been able to find any references to such an issue between the versions, and I am somewhat at a loss as to how to correct it. Version 8.2 is the only version I currently have access to, otherwise I would use version 8.0, to see if that corrects the issue.  Programs that were compiled previously by the original designer do function properly (hidden pages, when displayed, still appear dark grey), but even compiling the unmodified source code results in the same problems for me. 
    Any help that you could offer would be greatly appreciated. P.S. I would be addressing these problems with the original designer, but he is currently on vacation for a month and I wish to get this resolved.  
    Solved!
    Go to Solution.

    jack47 wrote:
    If a page in a tab control is hidden it will appear 'dark grey', and all of the controls on that page will behave as if they are disabled.  If you 'right-click' on the page name, and select 'Advanded->Show page' it will turn light grey.  Now you should be able to change the controls when the VI is not running.  If the page is shown during operation and the controls still do not function they are probably disabled.  You can check by 'right-clicking' on the control and going to 'Advanced -> Enabled State'.  Also it is possible that they are disabled programatically using a property node.
    I am leaning towards this as the issue, at the moment. I just find it very odd that the controls work in the 8.0 compiled program, but not my 8.2 compiled version.
    I will have to show/hide each page when it is accessed/left.

  • Creating a user prompt when a boolean control is first lached but not contiuousl​y showing while it is lached.

    Greetings,
    I need a boolean control that will write measured data to a text file while it is lached and do nothing while it is unlached (which is simple).  However, I also need it to display a dialog box when it is first lached to prompt the user to either append to an existing file or create a new file.  It should not contiously prompt the user to select new or append while it is lached.  It should only reprompt if the boolean has been unlached and relached.
    Any ideas?  I have tried several different approaches but everything that I have done has either not worked at all or contiuously prompts while lached.
    I know it will involve a shift register and at least one boolean comparison but I cannot figure out the arrangement.
    Thanks in advance.
    Solved!
    Go to Solution.

    Hi BB,
    looked at the Pt-by-Pt functions. There you will find a ready-to-use VI to detect edges of a boolean signal!
    Or use that boolean math: RisingEdge = signal[n] AND NOT(signal[n-1]). (Here you need the already mentioned boolean function with a shift register...)
    All you need is opening the dialog for rising edges of the boolean signal...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to control and display video from IP camera using ActiveX control over Internet.

    Hello,
    I need to control my IP cameras over the internet. I need to log into the cameras and then display the video.  There's an ActiveX control registered on the computer and works fine with IE to access and control the cameras. Controlling the cameras using IE works fairly well, but there are some quirks that I'd like to eliminate by using my own custom code.
    Has anyone created a vi that controls a Foscam FI8905W over the Internet? I’ve attempted, but I keep getting a catastrophic failure when I try to call ManagementConnect Method in the DVM_IPCam2 ActiveX Control Module V1.0. I'm not sure whether I need to establish an IP connection with the cameras first, or allow the ActiveX control to establish it for me.
    Some example code would be greatly appreciated. Running LabVIEW 2011 on a Win7 32bit.  Even some code used to control a similar device using ActiveX over Internet would be helpful.

    I have an example vi for interfacing to the foscam activex.
    I plan on using mouse click events within the activex window to trigger the PT function.
    I only have the basic up/down/right/left directions and not the down-right/down-left/up-right/up-left in the enum.  You can load the camera's web page and view the source to see the Java script code that uses the activex control.  There are definitions for the other directions.
    I had to mark the control as "Disabled" to keep click events from going to the activex control.  If I double click the control, it goes full screen.  If I then click on it to get out of full screen mode the video never returns or returns to the wrong spot in the VI.
    Attachments:
    Foscam Demo.vi ‏24 KB

  • How to Schedule Job using Database Control for SQLPLUS script?

    Hi All,
    I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
    ========================================================
    define OEM_FRIENDLY=1
    define OWB_BACKGROUND=0
    set serveroutput on
    set verify off
    whenever sqlerror exit failure;
    define REPOS_OWNER='&1.'
    define LOCATION_NAME='&2.'
    define TASK_TYPE='&3.'
    define TASK_NAME='&4.'
    define SYSTEM_PARAMS='&5.'
    define CUSTOM_PARAMS='&6.'
    alter session set current_schema = &REPOS_OWNER.;
    set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
    '&TASK_TYPE.',
    '&TASK_NAME.',
    '&CUSTOM_PARAMS.',
    '&SYSTEM_PARAMS.',
    &OEM_FRIENDLY.,
    &OWB_BACKGROUND.);
    end;
    exit :exec_return_code;
    ===========================================================
    Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
    Please provide brief steps.
    Thanks for your help in advance.
    - Mehul

    Let me explain to you about scheduler.
    You can schedule a pl/sql stored procedure TEST_S as follows...
    Begin
    dbms_scheduler.create_job(
    job_name=>'MY_JOB',
    Job_Type=>'STORED_PROCEDURE',
    job_action=>'TEST_S',
    start_date=>sysdate,
    repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
    end_date=>null');
    END;
    You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
    Example of converting a .sql script in .bat script...
    insert.sql
    insert into dept values(50,'IT','LONDON');
    exit
    insert.bat
    sqlplus scott/tiger @insert.sql
    Executing now...
    C:\Documents and Settings>insert.bat
    C:\Documents and Settings>sqlplus scott/tiger @insert.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    1 row created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings>
    So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
    Scheduling by database control...
    http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
    Scheduler
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
    PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package.

  • How to disable fields in Table control???

    Hi
    How to disable fields in Table control??? I want to disable particular row in table control when enter datas are correct.lets take as example ME41 or ME51 table control.
    Can anyone tell how to do disable in this table control
    Points will be rewarded if its helpful.
    Thanks
    senthil

    If you want to disable the row then you can use
    in pbo module create a module in side loop,
    loop at itab with control tc.
    module change_screen.
    endloop.
    in module,,,,,
    loop at screen.
    if condition.
    screen-input = 0.
    modify screen.
    endif.
    endloop.
    Regards
    Vijay

  • How can you create a local variable from a boolean control?

    I want to create a local variable from a boolean control, but it says that boolean latch actions are incompatible with local variables, but I need a way to check this boolean control in two differents loops, how can I do it?

    "Graci" schrieb im Newsbeitrag
    news:[email protected]..
    > I want to create a local variable from a boolean control, but it says
    > that boolean latch actions are incompatible with local variables, but
    > I need a way to check this boolean control in two differents loops,
    > how can I do it?
    Use global variables.
    Compare them with a constant Boolean like F or T.
    The result is true or false and then you can use it in a Cae-Loop.
    Martin

  • Using a control as both an indicator and control

    Hello,
    I have been search and reading for a few hours now and have finally decided to post. I fear I am not using the correct terms because I am fairly new at LabView.
    I currently trying to build a user interface that uses 9 different tabs [I am using the same tab structure as in the labview example code]. There is a set of variables that will need to be on 3 of these tabs in similar form. These variables include:
    2 boolean controls
    1 boolean indicator
    1 string indicator
    12 numeric indicators
    I would like to have all of these values be the same on the separate tabs at the same time.
    For example if I press one of the boolean controls, that same boolean control should now be activated on the other tabs as well.
    If it would be possible, please do point me in the right direction of how to go about doing this. (Also the proper terminology)
    Many Thanks,
    Buffalo960 

    tbob wrote:
    I don't think you can have the same instance of controls and indicators on separate tabs.  Two options:
    1.  Create separate controls on each tab.  Put code such that if any control or indicator in the list is changed on any tab, the other similar ones get changed programatically.  You can do this with an event structure and local variables or property nodes.  Lots of programming.
    I don't think that it will be a lot of programming. For example: if he has 5 controls and want to keep all of them synchronized, with only one Case of the Event Structure he can do the job, setting the 5 controls to trigger that Case when "Value Change" and use the Event Node "NewVal" to write the same value for all controls (including the control that triggered the event, but with a code this size it will not be a big deal to write the information a again to the same control).
    Thanks
    Dan07
    Attachments:
    Multiple Controls.vi ‏39 KB

  • Is it possilbe to totally disable the use of Microsoft Accounts in Windows 8.x ?

    The existence and need of "Microsoft Accounts" in Windows 8.x causes many issues for corporate IT management.
    1) To access Windows 8.x Mail App, Calendar App, etc, OneDrive, Skype, to upgrade from Windows 8.0 to Windows 8.1, and the Windows Store requires a Microsoft Account.
    2) Not all users have or will want to have their own personal Microsoft Account
    3) It is possible for the corporate IT department to create Microsoft Accounts for each of the company Users, but it is an extra burden and difficult to manage these accounts.
    Potentially the simplest solution is to be able to totally disable the use of Microsoft Accounts in Windows 8.x, is this possible?

    Hello,
    You have the choice of uninstalling the metro apps ou use the GPO to block the use of Microsoft account.
    Please see the followings links:
    Uninstall metro apps:
    http://www.deploiementwindows.com/supprimer-les-applications-dans-windows-8-1/
    GPO: Block Microsoft accounts
    http://technet.microsoft.com/en-us/library/jj966262%28v=ws.10%29.aspx
    http://4sysops.com/archives/control-windows-store-access-with-group-policy/
    regards,
    - Yannick Plavonil

  • Need a help: how to recover using backup control file?

    Please a help:
    First computer
    1. I create a database
    2. put it in archive mode,
    3. shutdown and made a cold backup
    4. Created backup control file (alter database backup control file to trace)
    5. I started up and created some archived log files.
    Second Computer
    1. I copied all files created in the step 3 above except the control file
    2. I create all the same map directory on the 2nd computer as in the 1st computer
    3. I recreate the control file from the script got in the step 4 above
    4. I Copy archived log files generated at the step 5 in the local directory in the second computer
    5. I set the logsource and set the autorecovery to on
    6. I recover the database: RECOVER DATABASE USING BACKUP CONTROL FILE UNTIL CANCEL
    Error got:
    the archived log file applied do not go beyond the first one?,How could I do to applied all archived log files copied from the first computer to the second computer to have the same data?
    Thank you very much

    archived log sequeces in the first computerSQL> select sequence#,first_change#,next_change# from v$log_history;
    SEQUENCE# FIRST_CHANGE# NEXT_CHANGE#
    1 553723 555484
    2 555484 557345
    Actions I did in the second Computer(after copied the former two archived log files from the 1st computer)
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 292
    7 LOGFILE
    8 GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M,
    9 GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M,
    10 GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M
    11 -- STANDBY LOGFILE
    12 DATAFILE
    13 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF'
    17 CHARACTER SET WE8ISO8859P1
    18 ;
    Control file created.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 0
    Next log sequence to archive 0
    Current log sequence 0
    SQL> alter database archivelog;
    Database altered.
    SQL> set logsource C:\local_destination1_orcl
    SQL> set autorecovery on;
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 555611 generated at 01/18/2007 14:14:14 needed for thread 1
    ORA-00289: suggestion :
    C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC
    ORA-00280: change 555611 for thread 1 is in sequence #1
    ORA-00328: archived log ends at change 555483, need later change 555611
    ORA-00334: archived log:
    'C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC'
    Idon't know where the change 555611 is coming from?

  • Import a column from an excel spreadshee​t, then enable/dis​able boolean controls in a cluster based on imported values

    Greetings all. I have an application I've been developing and refining for some time.  Part of it entails an interactive periodic table of elements where the user can select multiple elements to include in a multi-element chemical standard.  The part I'm having difficulty with now is disabling multiple elements within the periodic table.  Specifically, what the scientist wants is to be able to reference an excel inventory that they keep of available on-hand single-element standards.  I need to be able to read in column A of that spreadsheet, build a distinct array of those elements listed (some are listed more than once) and then disable the boolean controls in my periodic table for those elements not in the array (or enable those elements which are in the array, whichever makes themost sense).  This way, the analyst cannot select elements in the periodic table for which thay have no on-hand inventory.  I see how to enable or disable all controls in a boolean cluster, and I see how to enable/disable a single control, but I'm looking for an elegant way to import the excel column, build an array of thsoe values and then enable only those values.  Any help is always appreciated.  Thanks again.

    hi
    try this
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.
    Attachments:
    Excel column read.vi ‏29 KB

Maybe you are looking for

  • RFC (R/3 4.6C) - XI Szenario Problem - Message Payload in XI empty

    Hi XI Gurus, i have a question regarding a RFC to XI szenario. I would like to read a table in an R/3 backend system and send it via RFC to the XI. I have configured everything (RFC destinations, Sender agreement, Receiver determination, Mapping) but

  • Using jQuery to hide a button (wrapped in td tag) based on attribute value (name in this case)

    I have simulated what I'm trying to do here: http://jsfiddle.net/dayjuuk5/ Let me know if you can't see it for any reason. My question- I'm not sure I understand why this method of hiding this td tag doesn't work. I'm looking for a way to hide this b

  • HT1237 BootCamp/Vista problems

    I installed Windows Vista on my macbook via bootcamp. The install went well or so i thought. Now that windows is installed, the computer does not see any wireless networks or when plugged into the router the internet. I also do not see how I switch b

  • CRM 2007 New Service Ticket Transaction not visible in WEB UI

    Hi Gurus I don't understand why this is so difficult. To me I have done everything correctly. I have a Service Ticket Transaction visible in the WEB IC. I now want to make it visible for use in the WEB UI, I have set the channel to WEB UI. Yet when I

  • Reason rewire question

    I have an instrument from Reason rewired into Logic and it works fine. But when I select a new track in Logic (eg piano), my instrument from Reason plays in addition to the piano. I've had this happen in the past but can't remember what to do! Is it