Use the control of timing DAQmx as input in case statement

Hello

I'm building a VI aquire sampled under tension of a sensor in continuous mode or finished.  I was going to do this, use a box with a cable of the sample mode of the VI DAQmx calendar entry to the terminal State, the idea being that I couldn't aeither a while looping the case for continuous or simple acquisition according to the setting of this command.

However, instead of the sample mode provided for in the case of the case statement, I just get 1 and 0.

It's a good way to achieve this, and if so how can I get my case structure working properly?

Thank you

Dave

Hi Dave,.

Apologies - I consider that the error is from the data acquisition function? I forgot that she was using the sample entry mode.

Perhaps, then, it will be preferable to continue using the control of the ring - cases will be numbered and will correspond to the numeric value of the selection of the ring (i.e. finite samples = 0). I have attached a small example if we know not.

Moreover, the structure of the case cannot automatically fill for each case, in which case you can right click on the structure of the case-> add the case after.

Best regards

Tags: NI Software

Similar Questions

  • definition of variables in packages and using the same variables in charge Plans as a case statement in Odi

    Hello

    I am trying to use a global variable 'Global.test' in my ODI "pkg_test" package and step declaration type as a variable that is defined with the value 1 when my package evaluates the condition successfully run and with 0 if the fails.now condition I will carry out the same "pkg_test" package in my load "LP_TEST" and using the variable 'Global.test' Plan as a case statement in terms of load "LP_TEST".

    It's workload Odi is unable to understand the value of the variable 'Global.test', which is defined in my pkg 'pkg_test' and my case statement is put down in my care Plan.

    Thank you

    Hi Santosh Pradhan,

    What kind of story do you have in your variable?

    If you have not selected any antecedent, the scope of the variable is limited to the session. As the execution of the package is a session in its own (independent of the workload performance), the value of the variable is not accessible after his execution.

    You can also try assigning / updating of the value of the variable directly from your plan, instead of in the package:

    It will be useful.

    Best regards

    JeromeFr

  • "I can't uninstall" V9 uninstaller ' to my pc using the control panel uninstall installation

    "I can't uninstall" V9 uninstaller ' to my pc using the control panel uninstall facility. I know not how this program was originally installed, but I think that it is malicious. Help, please!

    Original title: impossible to uninstall a program

    Hello

    Please see the following for a good removal - http://malwaretips.com/blogs/safe-v9-virus/

    Kind regards

    Patrick

  • Windows Explorer Crash when using the control panel

    This is the type of an interesting question that happens to me only sporadically and usually only to a cold start.

    When I shut down the computer completely for cleaning or install something, when restarting, open the Control Panel causes Windows Explorer to crash (note that this is not Internet Explorer).

    It restarts immediately, but I lost some of the icons in the taskbar - especially the icon Sound Max.

    If I do a reboot it comes back and I can use the Control Panel normally. Tried to remove items from the start menu, as obviously something is in conflict when it starts but it is like shooting in the dark to find the good start. I even reinstalled W7 with a lot of attention, but it happens once again from time to time. I ran sfc/scannow several times and all is well.

    As long as I don't do a cold reboot it will work very well for weeks without a hitch. (Please no comments about just don't).

    Someone else has a similar problem? My specs are lower and it has not changed when I updated to the latest version of the bios so I suspect something on W7, and I strongly suspect the driver SoundMax which is in fact very old for W7X64.

    All updates are underway, including the latest which was supposed to increase stability for W7 X 64. I had added this update 4/28. An accident 29/4 good. I uninstalled the update and re-installed directly from the microsoft link. Sometimes it works, but not in this case.

    I studied all the information mentioned in the error codes and most of the time, it led to speculation of different people to different causes. I've read that it could be a conflict with the driver Sound Max, this is why I suspect as well that it might involve the Nvidia GPU driver. Changed the GPU driver and no joy. Whenever I have ask W7 to check a solution that is not found. So, it happens once in a while, but there is nothing wrong? At least Microsoft knows something is happening--evidence of the update.

    ASUS P6T Deluxe V2 LGA 1366-Bios 1003 - Intel I7 920 - EVGA GF GTX 260 SC - 12 Gig Corsair DDR3 1333 Ram - Gig 2 300, Velociraptor, Raid 0 1 Seagate 500 Gig HD - Lite on DVD Burner - floppy drive and external-180 card-Coolermaster V8 Avermedia HDTV card reader - Thermaltake Toughpower 850 w. modular fan P.S. - Antec 1200 case - Reobus 6 - 5 controller 120 fan Thermaltake Fans - 1,200 cases GPU Driver 196,21 Windows 7 X 64

    Hello

    Make sure that Windows Update is turned on and install the update KB980408 (http://support.microsoft.com/kb/980408) - April 2010 stability and reliability update for Windows 7 and Windows Server 2008 R2 is available .

    Issues that this update fixes this update improves the stability and reliability of Windows 7 and Windows Server 2008 R2 in various scenarios. This update addresses the following issues:

    • Windows Explorer crashes and then restarts when you access a third-party Control Panel item.

    This update solves the problem?

    If this isn't the case, please download this reg from my SkyDrive file:
    http://CID-128fc518635be2dc.SkyDrive.live.com/self.aspx/.public/Ms%20Foren/registry/WER%5E_Explorer.reg

    and double click on the file to import.

    When Explorer crashes, Windows Error Reporting Service creates a dmp under C:\Localdumps . Please download the file to your public Skydrive folder and post the link here. I take to the dump, maybe I can see the cause.

    André

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • recover the database unitl cancel using the control file

    I refreshed with db1 db2, copied all the newspapers dbfile and archive to the db2 server and setup/adjusted spfile, controlfile etc on the new db2 server and has
    recover the database unitl cancel using the control file.
    ALTER database open resetlogs.

    Now the customer want to refresh it after 2 days, I wonder of I need only archive newspapers or both? to do the same again?

    Published by: DBA2008 on November 11, 2009 09:49

    Yes, you can 'restore to cancel' several times.

  • Acquisition of data using the single cycle timed loop in labview fpga (7833R target)

    Hi all

    I want to acquire data of input analog of a generator using the loop of the timed cycle and DMA FIFO funtion. I want to use the acquired data to act as a process for my PID control variable. Can the attached code perform the goal? I'm skeptical about its features. Advice or suggestions please.

    Kind regards

    Opuk

    The SCTL does nothing for you here.  Just remove it and write directly from your analog read the DMA write.

    And on the side of the host, you must move the Run method for before the loop.

    You should also consider to the PID in the FPGA.  PIDs work best in a deterministic environment, and you get more deterministic than on an FPGA.

  • Satellite A100-787: drivers needed to use the control buttons and volume knob

    There should be a program that displays on the screen, the volume level when I change volume and another which allows me to use the game, front, back or stop buttons either with medial player JetAudio.

    Where can I get such a program?

    Are you using the original image of preinstalled Toshiba?
    The image of Toshiba Vista contains all the necessary drivers and utilities and using this OS everything should function.

    If you have installed other OS like XP XP drivers are needed.
    If I m not wrong not the notification of screen volume levels appears not in XP.

    Also if you want to use Toshiba command buttons you need to install the correct drivers as controls, common modules, etc.
    The proper installation order is necessary and important. That's why I recommend that you check the installation instructions on the download page of Toshiba!

    By the way; the control buttons are preconfigured and I don t think that it might be possible to use it with another players as IE Jetaudio.

  • Is it save to use the digital output as a digital input for another channel signal

    Hi all

    I know it's a stupid question, but I don't have another generator of signals by hand. What I want to know is, can I use the signal digital output of my USB-6001 as an input for the same signal device, but on other digital port? I wasn't directly because I don't want to burn the device...

    Thank you

    Done all the time. No problems.

  • How can I access my computer in order to remove downloaded files that has not deleted using the control panel and the usual functions to delete?

    I recently received from remote assistance installed a new anti-virus program. During using the remote technician, I he observed several open windows because it deleted the files that were left by previous anti-virus programs on my computer.  These files prevent the download of the new program.  As I watched him navigate through my programs and files, I noticed that there are a lot of game files that have been deleted by using the functions of the control panel and uninstalling still in my computer.  The technician of 3-4 programs installed on my computer while he removed residual files of the antivirus and promptly removed from these programs when it was correctly installed my new anti-virus program.  I would really like to know how to access files or records what he did and then delete the game files that I thought were removed.  I downloaded at least 100 trial offers for sets of objects hidden over the years and you don't want no trace with my memory of the computer.  No help available out there?

    Hey,.

    You can follow this link to recover lost or deleted files:

    http://Windows.Microsoft.com/en-us/Windows-Vista/recover-lost-or-deleted-files

    also, look for the file/game:

    http://Windows.Microsoft.com/en-us/Windows-Vista/save-your-search-results

    Hopefully this should help you.

  • Ensure restoration of DB using the control file.

    Hello

    I'm setting up physical sleep using the standby control file...

    By using the SAN replication I copy the DB files, log files, archive logs.

    On primary DB DB all files are mounted on LUN name DB1/Log1/cra1 while secondary, they were mounted as DB2/Log2/arch2.

    As I'm not using RMAN duplicate to restore DB Eve... How to convert file name and name of the journal folder when creating DB stand.

    Thank you

    SQL > see the convert parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_file_name_convert chain

    log_file_name_convert chain

  • access control using the control panel handle

    Is it possible to access the constant name when I only have the panelHandle of the IUR. The control is part of the different project and panelHandle went from the first

    project for the second project. Second project now need to set the value of the control, but doesn't have access to the panelHandle of the first project.

    TIA

    lvrat,

    There are two ways to detect certain characteristics of a control during execution. Wolfgang and I were suggesting was something like this (code written in memory: there may be some mistakes in there):

    int ctrl, mode, style;

    name char [32];

    'panelHandel' has received another application

    GetPanelAttribute (panelHandle, ATTR_PANEL_FIRST_CTRL, &ctrl);)

    all in (ctrl) {}

    through the constant name

    GetCtrlAttribute (panelhandle, ctrl, ATTR_CONSTANT_NAME, name);

    If (! strcmp (name, "NUMERIC1")) {}

    }

    Else if (! strcmp (name, "NUMERIC2") {})

    }

    ALTERNATIVE: other discriminatory features in the

    GetCtrlAttribute (panelHandle, ctrl, ATTR_CTRL_STYLE);

    switch (style) {}

    case CTRL_SQUARE_COMMAND_BUTTON:

    case CTRL_SQUARE_COMMAND_BUTTON_LS:

    GetCtrlAttribute (panelHandel, ctrl, ATTR_CTRL_MODE & mode)

    If (mode == VAL_HOT) {}

    do something on the control...

    }

    break;

    by default:

    do nothing

    break;

    }

    Check to see if there are more controls on the Panel

    GetCtrlAttribute (...,..., ATTR_NEXT_CTRL,...);

    }

    A list of control styles can be found here and in userint.h. Here the list of control modes.

    There are many attributes that makes a distinction between controls in a Panel. But doubt principal remains the same: have you tried to access a control from another application through handle Panel CVI?

  • How to use the control ring before the G15

    Steps to set up the control ring before the G15 are difficult to follow in the guide.  Any help would be appreciated.

    Hi socaljd!

    Thanks for posting.

    When setting this up, there are a few things to know.  In the upper part of the graph in the menu to set the dial is M, AV, TV, and P.

    M: manual mode

    AV: Aperture priority mode

    TV: In the shutter priority Mode

    Program P: mode

    In each of them, you must define what function is controlled by the dial to shoot in this mode.  There are two settings to choose from, TV: shutter speed and AV: opening.  For example, in mode manual m: set it to TV, the dial will control shutter speed while you are shooting in manual mode.

  • I get the error of Windows Explorer tries to use the Control Panel Applets

    Whenever I have open Control Panel, and then select an applet (Folder Options), I get an error for Windows Explorer and everything is frozen until I have completed the task with the Task Manager.  I am running XP Home Edition with Service Pack 3.  Have passed through each .cpl file by placing each of them, one at a time in a temporary folder and then try the control panel again.  I always have the error and cannot detect what applet file could be causing it.  Any help is appreciated.

    You must run a full on your antivirus scan, until the Trojan horse is completely removed.

    Try to access the folder in this way options:

    Start > my computer > in the top menu, click Tools > choose folder at the bottom of the menu options.

    Also run the eset online scanner on.

    Once the infection has been cleared, you should be able to go into folder options without freezing the pc.

    If you were able to enter the folder through the above method options and let us know if the Trojan horse has been completely deleted.

  • Can not remove the program using the control panel

    A program on my Vista 64 bit abandoned work. I tried to add the same program before I deleted the previous version. Now I can remove or add this program.

    After watching further in this section, I found a similar question. The fix was to install Revo uninstaller. I had to use the forced uninstall to remove the program.

  • I have a program that does not uninstall by using the control panel... Any suggestions?

    I have a program I want uninstal - I tried several times via the control panel with prosses uninstal - nothing helps...  Any help would be appreciated...

    Hello

    You can try this program to uninstall

    Try the FREE revouninstaller

    http://www.revouninstaller.com/revo_uninstaller_free_download.html

Maybe you are looking for

  • How can I manage my storage without having to pay?

    Good Hi everyone, This is my first time writing here, so please be nice! My problem is this, my iPod touch (version 9.3.2) needs to be backed up. My plan of storage was the 5 GB (free) and I got a lot of data - but removed some applications and data

  • Portege Z10t - case of Capture does not fit

    Hey guys,. I bought a Z10t-12W a few days ago and also ordered a case of Capture from Toshiba for the tablet.Unfortunately I can't get the two inner parts case (the mounted form internal mould) closed/connected.Parts adapted so tight (actually too ti

  • question about firewire ieee 1394 via chip.

    I have a hp pavilion a705w, missing a chip called "via vt6307" I see online is for ieee 1394, if I use not any device with a firewire port to this computer if they have problems or be less safe, or that make a difference, the chip has disappeared fro

  • How to open the slot on a range of hp 1050 j41 printers?

    How can I open the tray paper on a hp1050j41 printer?

  • Windows View customer-non-interactive flag does not work

    I use the windows 32 bit Horizon View Client (latest version) in a program to automatically connect to a virtual machine.  The '-not interactive "flag is supposed to remove the error messages, but not the session time-out error is deleted even when t