niSwitch_ConfigureScanTrigger function equivalent in DAQmx

Ensuring the NOR-DAQmx library function is the function niSwitch_ConfigureScanTrigger OR-SWITCH?

I forgot to mention that I write a program in LabWindows. The proposed function named DAQmxSwitchCreateScanList has a similar behavior as niSwitch_ConfigureScanTrigger OR-SWITCH. It only creates a task with the specified list and does not allow to set the location where an advanced scan signal is generated after that an entry in the scan list is complete. I looked for a few hours and I found the DAQmxExportSignal function that performs this action in DAQmx when its second parameter is DAQmx_Val_AdvCmpltEvent.

After all, thank you for your quick response to my post.

Best regards

Miroslaw Koziol

Tags: NI Hardware

Similar Questions

  • Convert the equivalent function stragg columns in oracle sql

    Hello

    Sorry I forgot my version of Oracle:
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 64-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    I searched on google but I have not found the solution.


    I'm looking for a function equivalent to the SQL stragg discoverer.


    Note: stragg function convert columns in lines.

    Thank you
    SELECT   deptno, stragg ('-' || ename)
        FROM emp_test
    GROUP BY deptno;
    
    
        DEPTNO STRAGG_STR                                                  
    ---------- ------------------------------------------------------------
            10 -CLARK-KING-MILLER                                          
            20 -SMITH-FORD-ADAMS-SCOTT-JONES                               
            30 -ALLEN-BLAKE-MARTIN-TURNER-JAMES-WARD                       
    
    
    3 rows selected.
    Published by: Salim champion 2010-01-29 08:32

    Hello Salim
    This feature does not exist inside the discoverer.

    My suggestion would be to create a SQL function, then import it in Finder using the System Administration tool. Now, you will be able to pass the deptno to the function and the function returns a single string containing the concatenated names.

    This isn't a function difficult to write and if you would like some help please let us know.

    Best wishes
    Michael

  • DAQmx SCXI-1167

    Read more http://zone.ni.com/devzone/cda/tut/p/id/3308 he says rather non-challantly that ' module PXI-2567 and SCXI-1167 can also be programmed using the functions of NOR-DAQmx DIO. "

    Does that mean that what follows (simple example) would work with the SCXI-1167, installed in a SCXI-1001 chassis?

    What happens if the SCXI-1167 was connected to the PC via the USB-1600 module?  I'm inclined to think it WOULD because of the statement of the SCXI-1600 data sheet:

    "The SCXI-1600 is a module of control for entry SCXI analog, analog output, digital i/o modulesand switching and full 16-bit digitizer."

    Hello!

    Please post on the Forums OR! I have configured material today and succescully executed the code you posted. So, you're right, it's possible!

  • Data acquisition tool NOR-DAQmx with Matlab R2012a

    Hello

    I'm trying to control NI USB-6211 of Matlab 2012 using NOR-DAQmx Data Acquisition tool:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3005

    I'm working on win7 64 bit. And I see the device AND Measurement & Automation Explorer.

    The tool does not work: DAQ_Demo_Browser do nothing. And I got the error "unexpected or unbalanced parenthesis or support" of AcqNUpdates_nonUI.m

    What is the problem?

    Thank you and best regards,

    Arthur Shulkin

    Hi Arthur,.

    Tools OR DAQmx for Acquisition of data with the Software Inc. MATLAB® from The Mathworks, supports up to the 2008 version of the MATLAB® software.  In order to use our products DAQ Multifunction with MATLAB® software, you could get back to 2008 or earlier, or instead use the Data Acquisition Toolbox provided by The Mathworks, Inc.

    Another option would be to import your ".m" files in a node MathScript in LabVIEW and use the functions of NOR-DAQmx everything in the LabVIEW development environment.  For more information on the Module LabVIEW MathScript, you can consult the information available on this link:

    Inside of the LabVIEW MathScript RT Module

    MATLAB® is a registered trademark of The MathWorks, Inc.

    Katie

  • Problem with traditional DAQ passage to DAQmx using NOR-6534

    I'm moving the traditional following of DAQ code to DAQmx:

    This code is used to send data to program a FPGA using a PCI OR-6534 DIO.  This code works like a charm, but when I try to write the equivalent code using DAQmx (in LV 8.6 as well) it does not work.  I don't get any errors, but the FPGA do not program.

    The General procedure is as follows:

    The value of all the lines on the Port exit 0

    Set up the mode of transfer to low Active

    Write the data in the buffer

    Send the data using the internal clock of 10 MHz of the 6534 (6533 is no longer used, but the code was never updated)

    Wait until the output is made

    Disable the task

    In DAQmx I configured as such:

    Any ideas on what has changed in DAQmx or what I am doing wrong?

    Looking at your code traditional DAQ once more, he is actually setting up handshaking vs just a straight sample clock.  The Config VI Mode with the "clock polarity" setting is not a sample generated at a certain rate clock, but instead, it's a protocol handshaking attack or the trailing edge.  TDAQ had much more flexibility with what DAQmx and some handshaking protocols are not transferable to DAQmx completely.

    So when you say the configuration of your device in TDAQ bass Active transfer mode, I don't see what is happening in the code TDAQ.  It's really a negotiation protocol of unknown polarity (given that you use a control and I don't see the default value in the public Service).

    You can try to determine which protocol handshake TDAQ you use first, then determine if there is an equivalent for DAQmx.  The three modes that cannot be transferred are level ACK, tip, or long pulse modes.  These have ACK leading REQ, which is not possible for DAQmx to manage.  You can read more in the user guide for the 6534 and starting on page 3 and 4 are the comparison of the different modes of handshake.

    Then move forward options are do not migrate or to download a beta driver TDAQ, if you perform the migration for the purposes of the compatibility of the OS.

    Hope this helps, let me know what other spawn of this.  Thank you.

  • bandwidth of the function "power spectrum".

    I use signalexpress 2009. To analyze the acquired time signal from the area of the previous step in the same project, I applied the power spectrum function.

    DAQmx Aquire step is configured as follows:

    Acquisition mode: continuous samples

    samples read: 1024

    Rate (Hz): 1024

    With this configuration, I expect a bandwidth of 0-512 Hz power spectrum analysis. Instead, the function of the power spectrum gave me 0-820 Hz frequency components.

    How can I trust the result of 512Hz on?

    I've attached screenshots of:

    (1) my application project configuration

    (2) result of frequency domain

    Very useful information, thanks to you both for helping!

  • DAQmx generated signal is not continuous

    Hello

    I have a question affecting the DAQmx functions in combination with LabVIEW RT. I use DAQmx write on a target RT is a feature to send an analog signal to the AO0. And what happens is that I only get short impulses whenever the data acquisition function is enabled. Failure is not recognizable when you work with a duration of 1 ms, but when switching to a slower rate, it is clearly visible.

    I am using the following options:

    Sample (on request)

    Terminal config: CSR

    Min 0 V

    V max 4

    Do I have to use the function of synchronization DAQmx or something like that?

    When I use the standard screw RT, the RT Assistant product I can only use the write function DAQmx that it works everything just... tested with a flat structure of sequence with 4 frames, 2 different output signals and 2 for the waiting time. So I think it's a failure of programming...

    I have no idea what my fault is, any suggestions?

    Thank you

    You should definitely use task start and clear job instead of a single write functions.  Take a look at a few examples DAQmx in LV if you don't know what I mean.

    My guess is that, given that you use a single entry and not to perpetuate the task, the task is closed after the writing of single point.  When the task is closed, LV is automatic setting the output to zero.

  • DAQmx write (digital) works in mode "highlight execution", and not in normal mode

    Hello!

    I would like to create a simple vi (it will work as a Subvi watchdog in a project) to send TTL 5V 0V 3 seconds 3 seconds, by performing an iteration in a loop.

    Use a card PCI-6703 to that effect (beside that I use for the generation of analog static waveform on several stations). I also have a DAQ USB6212 card, and I have test my digital output with this USB card digital input via MAX.

    The strange thing is that when I run my code in mode "highlight execution", I get what I want: 5V 3 seconds, 3 seconds, 0V, iteration.

    When I try to start it in 'normal' mode, I only see the 5V constantly from the output through my digital entry in MAX.

    I know I'm doing something wrong, but no idea what...

    Please find attached the vi simple.

    Thanks in advance!

    Kind regards

    Your overall loop time is 3 seconds (3000 MS of waiting).  You have a 3 second delay between writing the real and write the value false.  But as soon as the false is written, the loop reminds immediately (the second set of 3 waiting operates in parallel to the writing-Delay-Write sequence) so the real gets drafted immediately after the fake.  It will be just a blip.  So that if you run in the execution of climax, the code goes pretty slowly so that you see the Boolean value False as LabVIEW takes his time data flowing drawing wires.

    Put a delay function after your DAQmx write wrong, as well.

  • Can I call MS Excel function in Oracle

    Hello world

    I have prototyped my application in Microsoft Excel. In this prototype, I use the BETADIST() function, which returns the cumulative beta probability density function. And, Yes, if you're like me and not a statistician, it's pretty crazy. Just for fun, check out the page of wikipedia on this subject, and you'll see what I mean. Anyway, so now I'm doing the same functionality as this function in my Oracle APEX 4.0/Oracle 10 g R2 - app.

    I studied this feature a lot, and I couldn't find a function equivalent to Oracle to do what this function. CUME_DIST... nope, DBMS_STATS_FUNC... No. So, I guess I need to figure out what exactly the function and basically rewirte in Oracle using PL/SQL. I already have questions forums statistics and Excel tries to understand this.

    But, before I go further and reinventing the wheel by coding the logic embedded in this function (which is very hairy, of course), I wanted to check with you all and see if there is a way to call this function in MS Excel by Oracle. Not sure if an outpatient procedure can access an Excel library, or how if he can.

    Any ideas?

    Thank you!
    Mark

    I'm sure that this BETADIST exists in Java.

    I think that not natively.

    But you can download libraries of COLT of Cern for high performance scientific and technical computing in Java.

    Loading libraries by loadjava

    loadjava -user michael/xxxx@oracle_server:1521:oracle_sid -verbose -force -order -resolve -thin colt.jar concurrent.jar
    

    and the creation of a function

    create or replace function betadist (alpha number, beta number, c number)
         return number
      as
         language java
         name 'cern.jet.stat.Gamma.incompleteBeta(double, double, double) return double';
    /
    

    is rather simple.

    The appellant

    SQL> select betadist(4,5,0.4) from dual
    /
    BETADIST(4,5,0.4)
    -----------------
             ,4059136
    1 row selected.
    

    the result coincides fairly well with the example given in the http://www.excelfunctions.net/Excel-Beta-Dist-Function.html.

  • Equivalent of Oracle DB record Simple of Transaction in SQL Server mode?

    G ' Day Experts!

    I was wondering not if Oracle DB has the functional equivalent of the 'simple' operation logging available in SQL Server?

    It would be available at the level of the schema, or it should be the entirety of an instance?

    I ask because the WebCenter Interaction portal and related services has no practical use for point-in-time restores. The Portal uses the discrete event borders which unfortunately do not map in the relational world.

    Thank you!
    Rob in Vermont

    Plumtree says:
    G ' Day Experts!

    I was wondering not if Oracle DB has the functional equivalent of the 'simple' operation logging available in SQL Server?

    It would be available at the level of the schema, or it should be the entirety of an instance?

    I ask because the WebCenter Interaction portal and related services has no practical use for point-in-time restores. The Portal uses the discrete event borders which unfortunately do not map in the relational world.

    Thank you!
    Rob in Vermont

    Hi Rob

    I guess that you are referring to the model simple recovery , IE lose everything since the last backup. Oracle, which is equivalent to running a database in NOARCHIVELOG mode. It applies to the database rather than the instance, even if you were intending probably to database when you said instance.

    Niall Litchfield
    http://www.orawin.info/

  • Disable/remove password Public iPad without MDM

    I bought six air iPad (running iOS 9.2.1) for "iPad reference Bar." school library these iPads are in a public space in a kiosk of the enclosure. While I placed many restrictions on these iPads, some students keep by allowing an access code. Then the other students back to iPads and try to guess the password. As you know, after 10 attempts, the iPad becomes disabled and I need to restore it back to factory settings. It's very long because I have to re - download all the applications that are purchased for these six iPads.

    There seems to be no way to restrict access to the creation of the access code, unless I buy a Mobile Device Management (MDM) solution. I also considered using a guided access, but which limits me to one application. I want students to be able to access many applications (for example, Google Drive, Safari, Edmodo, etc..)

    Short of finding where the students do this, I am at a loss for a solution. Help, please!

    To check the setting of the password, you will need to step up to an MDM. [I'm sure an mdm can check the setting of the password to 95%].

    You have your devices purchased with active dep or use the configurator to apple 2.  These two approaches to supervise the ipad. Meraki is a free MDM.

    Alternatively, you can can configure an ipad in master.  Make a copy of it.  Then upload the copy on another ipad.  It is cloning. Might ask someone already supervises and cloning ipads you can tack on!  Apple Configurator 2 supports cloning.  See the last paragraph.

    I would see if you can find financial assistance to students to help out you. Regarding an experimental cheap iphone 4S runs the latest version of the ios software.  The iphone and ipad are functionally equivalent except for construction in the application phone on the iphone.

    "This document offers advice on some important considerations to get the best out of your iOS deployment." Covers: Prepare your infrastructure.  Configure devices.  Set up and manage the devices.  Deploy applications and content.  Support plan.

    https://www.Apple.com/business/docs/iOS_Enterprise_Deployment_Overview.PDF

    Quick overview of zero touch deplayment

    http://www.Apple.com/education/it/DEP/

    Envisager consider DEP, program registration of devices. Use the VPP, Volume purchase program.  Select a MDM, mobile device management.  Read the doc from Google below and nsdjoey write.

    Overview of the deployment of ipad and iphone.

    It is centered education.

    http://www.Apple.com/education/it/

    Write you own app for your business:

    https://developer.Apple.com/Enterprise/

    MDM - Mobile device management

    https://developer.Apple.com/videos/play/wwdc2015-301/

    For a comparison, see this page:

    http://www.enterpriseios.com/wiki/Comparison_MDM_Providers

    VPP - Volume purchase program

    http://www.Apple.com/business/VPP/

    http://www.Apple.com/education/it/VPP/

    Using the configurator to Apple 2

    Writeup ccsdtech see page 5

    See weinsteinbevit more Meraki MDM on page 5

    https://discussions.Apple.com/message/29798579?TSTART=0#29798579

    R

  • size of the thumbnail iMovie 10.11

    I use the El Capitan operating system and the version of iMovie 10.11 I found more or less functions equivalent to those that are present in previous versions. But, in the area of work-Assembly (lower part of the screen), the thumbnails are smaller than in the previous versions of the program - even though the timeline is extended to the maximum. Is it possible to make larger thumbnails, or at least the same size as in previous versions.

    In the current configuration, it is difficult to identify precisely to split a clip or make changes in the audio, given the narrowness of the size of the audio section under the thumbnails.

    There is a control to zoom (control + or-) to expand or compress thumbnails and timeline, but no way to make it bigger or (to the limit) to have thumbnails autour and complete various lines (as it can be done on the upper area.

    Thank you.

    You can adjust the size of the thumbnails in project by clicking on the 'Settings' top just above the timeline and adjusting the slider "size of Clip:

    Chronology of packaging is not available in iMovie 10.1.1.

    Geoff.

  • Is there any interface virtual native network for Mac OS

    Hello

    I'm trying to do something with the interface of virtual network on Mac, I need to operate directly on the device (similar to tun/tap) virtual network. As we know, tun hails from Linux, so it's good to use it under Linux. And I wonder if there are all these virtual network "native" Mac interfaces?

    Thanks in advance.

    There is a built-in driver called 'Amadou' which is functionally equivalent to "tun". It has been used to implement OpenVPN clients. You will need to look for more information. Nothing can "tap."

  • calculation of waveform

    Hi all

    I use NI 9401 as a digital output to control a switch in a simple circuit and using the NI 9205 module for measuring the voltage across a diode in the circuit. The control signal of the swith is a square wave. So what I do is to get two values of the voltage the diode: topic 10us before the falling edge of the waveform and 200us after the falling edge. Then I need to use both voltages to do a little math, let's say, add the two values and trace amount vs time. I am a starter of LabView and have no idea how to do that. Can someone help me?

    Hi wademao,

    You'll need to do is set up a trigger of reference (descending the wave front) and then read pre and posttrigger samples, something similar to the following illustration:

    Then according to the sampling frequency that you use to acquire your analog signal (i.e. voltage at the terminals of the diode) you can exteact predeclenche 10us samples and 200us sample taste samples posttriggered

    Can you give us some more details on your hardware configuration? The NI 9205 and NI 9401 in the same cDAQ chassis? What is the model number of your cDAQ? You can generate your relaxation with your NI 9401 (for example on DIO0 - pin 14) and then feed this entry PFI0 sigal (pine 28 or 36 depending on your module) of your NI 9205 module. Once finished with wiring to the top of your material, you can use the examples in the following article to set up your triggered post/pre acquisition:

    Tips and Techniques in Acquisition of data triggering - NOR-DAQmx

    However, if you are a beginner with LabVIEW I recommend you to read through the following items:

    Tutorial of Acquisition of comprehensive data

    Learn 10 functions in NOR-DAQmx and handle 80 percent of your Applications of Data Acquisition

  • IviScope vs niScope hierarchy

    I use LabWindows/CVI to add specific calls to instrument existing at an IviScope driver wrapper.  I use a NO-scope (specifically a PXI 5114).  Up til now all calls have been to IviScope_ functions and all attributes used (get/set) were inherent attributes (IVISCOPE_ * defined in iviScope.h).

    I now need to add an attribute specific to the instrument using (or is it an attribute defined by class?).  Specifically, I need NISCOPE_ATTR_MEAS_OTHER_CHANNEL, which must be set before the use of the specific call of the instrument to niScope_AddWaveformProcessing value.

    I'm confused about the hierarchy of IVI - C class driver calls vs instrument driver specific calls.  Is it true that all calls to the functions IviScope_ are "converted" to instrument specific calls in the engine of the IVI (via the Configuration of the IVI store)?  If there is a recall for a specific attribute of the intrument will still be executed if I call IviScope_Set...?

    Here are the specific example, but I would like to answer widespread in all cases if possible.

    Given that NISCOPE_ATTR_MEAS_OTHER_CHANNEL is defined as a compensation of IVI_SPECIFIC_PUBLIC_ATTR_BASE,

    This call is legal:

    IviScope_SetAttributeViString (session, "0", NISCOPE_ATTR_MEAS_OTHER_CHANNEL, "1");

    and functionally equivalent to:

    niScope_SetAttributeViString (cHandleSession, "0", NISCOPE_ATTR_MEAS_OTHER_CHANNEL, "1");

    That said, if there is a defined calllback for NISCOPE_ATTR_MEAS_OTHER_CHANNEL that makes something more as defined a specific memory location (and would be executed if niScope_SetAttributeViString is called), will run this recall if I set the attribute via IviScope_SetAttributeViString?

    More generally, can I use function calls IviScope_ to set the 'elements' are defined (in niScope.h) in terms of compensation to the IVI Foundation (IVI_SPECIFIC_PUBLIC_ATTR_BASE, IVISCOPE_VAL_TRIGGER_TYPE_SPECIFIC_EXT_BASE, IVISCOPE_VAL_TRIGGER_COUPLING_SPECIFIC_EXT_BASE, IVISCOPE_VAL_ACQUISITION_TYPE_SPECIFIC_EXT_BASE, IVISCOPE_VAL_MEASUREMENT_FUNCTION_SPECIFIC_EXT_BASE, etc.)?

    All of the examples I see online on the use of the IVI drivers, videos for DMM examples, show the use of the specific instrument to function calls, no calls from IviDMM_.  This seems misleading and confusing.  I've not seen anything that addresses the use of IVI drivers at this level.

    Thank you for your consideration.


Maybe you are looking for