generate two different number

How can I generate two different number? The first should always be greater than the second.

Only itegers or also fractional/decimal numbers?  Any real range of values that you can use?

I just generates two numbers (based on the settings you can have) and then use Max & Min to sort them.

Tags: NI Software

Similar Questions

  • How to generate two different analog signals in two different screws

    I use a card PCIe-6321 and a block of connection SCB-68. As it has two analog outputs, I use one of these outputs in a Vi to generate a square wave, and the other in an another VI to generate a sinusoidal output waveform. Each VI perfectly work separately, but if I run one then the other, the other sends no signal. Because I don't want to merge the two screws (it is more convenient to use them separately), how can I find out so that they work together (sometimes).

    Of course, independent maps with timing motors, controlled by the works of independent screws.

    Christian

  • the same sms arrive at two different iphone5

    Why the same sms arrive at two different iphone5?

    SMS or iMessage?   If he were iMessage I guess you share your address Applid or email on 2 phones.  The sender uses one of these identities to send their message instead of your unique phone number.

  • How to generate two pulses per cycle? PCI-6251/6255

    Hello. I want to generate two or more pulses per cycle like the timming diagram. This pulse will be used to trigger the sampling data.

    I am ussing the PCI-6251. The VI examples to counter outputs can easily generate the first line, but the second I have no idea. All information can help.

    Another problem could be the synchronization of this lines and data acquisition.

    Concerning

    Ivan C.

    I would like to use the digital outputs for this - just generate a continuous at 1 MHz clock using one of the counters and write the following in your digital output lines:

    H H H L L L L L L L

    H L H L L L L L L L

    If you want to use these signals to pick a different spot on the 625 x, you the output of wire in a PFI lines.

    Best regards

  • 6602 synchronized with a different number of pulses per channel pulse generation

    Hello

    I try to use counters NI 6602 to generate 4 pulse trains that begin together but then proceed with each counter producing its own number of pulses (over mode) with its own frequency.

    It seems that each of the 4 channels of wiring at the same special teams each channel to produce the same number of pulses based, apparently, on which channel was recently with the specified NumPulses value so that it is the (implicit) VI DAQMx Timing.

    I tried to use separate tasks for each channel, but it seems that the there is much more uncertainty in the initial start of the train of impulses on each channel: unique task ~ 13us (coherent) delay between channels, a task for each channel (variable)... Although I'm not entirely confident in these temporal measures (estimates of the oscilloscope) +-15us. So it seems I'm sacrificing some synchronization to produce a different number of impulses for each channel?

    Is it true, or is there another way to match the beginning of the independent pulse trains.

    Vadim

    You should be able to synchronize the start of 4 separate meter output tasks by having all the

    looking for a common startup trigger signal.  You can easily do yourself the trigger signal on

    (for example) PFI_0 using a digital task rocking DIO_0.

    -Kevin P

  • Play two sound waves through two different sound cards at the same time?

    Hi all.

    With the help of old ship poles and the example of screw provided with Labview 2009 SP1, I could get a part of the path.

    The goal is to simultaneously play two .wav files, to two different sound cards. So far:

    (1) I can play a wav file for each sound card

    (2) I can generate two sinusoidal waves of different tones and put each two cards separately at the same time.

    But when I replace these two tones of #2 with .wav files, wave files play in turn. If wav_1 plays sound_card_1, THEN wav_2 plays sound_card_2, not simultaneously.

    It is even possible to play 2 wav files simultaneously on different maps?

    I've included a VI of the attempt to #2 above. WARNING: my labview skills are minimal and this vi was very experimental is probably terrible form.

    Why do you want to do this. Many modern sound cards have 5 channals output

  • The way of writing to a wireless bridge between two different routers.1:broadband and dir 2:dlink 605 l

    I want to bridge.and wireless I can't do that... Please send me how to write to a wireless bridge between two different routers.

    1:broadband
    and
    2:Dlink dir 605 l,

    Hi Mohammed Ehsan Jourah,.

    Thanks for posting the request in the Microsoft community forums.
    I understand that you need to know how to make a wireless bridge between two different routers

    What version of the operating system is installed on the computer?

    To connect multiple computers, install a network adapter in each and run a network CAT5 cabling to connect each one to a hub (and thus the other.) The computer that will serve as a transition will have a standard network card for wired and a wireless network adapter that will connect to the wireless (WAP) access point or gateway on the second network.

    A network bridge is software or hardware that connects two networks or more so that they can communicate. You can create only a single bridge network on a computer, but a bridge can handle any number of network connections.

    You can try the steps at the bridge between two different routers wireless.
    a. determine the coverage area. When using two or more routers, the coverage area should be divided, and each router should be placed in a central location in each subdivision. If you add a wireless router to an existing network, this may mean moving the first router.
    b. decide which router is the main router. The main router is connected to the Internet, a LAN cable or other networks. It should be as close to the wired network connections or who has the best line of sight to another wireless network. In addition, the main router should be a high range router, allowing large tables of State and more users.
    c. buy a spare antenna, as the antennas that come with most routers do not have very good range. Quality omnidirectional antennas can push the range and signal strength of each of the routers, which, in turn, will reduce the cost by allowing routers less cover more space overall.
    d. deploy the primary router carefully. This router is the most important and requires most of the time of installation and options. Set the WEP (Protocol) encryption Service Set Identifier (SSID) and wireless, set up the Internet connection and test the router with some clients (computers). Once you get the main router deployed, deploy other routers should be easy.
    e. deploy the secondary routers, which must be configured to operate in "mode of transition." Secondary routers should be deployed around the perimeter of a large area or 'hot spots' where users placed - for example, will convene a bench Park or the table.

    Links:
    Create a network bridge:
    http://Windows.Microsoft.com/en-us/Windows7/create-a-network-bridge

    Add a connection to a network bridge:
    http://Windows.Microsoft.com/en-us/Windows7/add-a-connection-to-a-network-bridge

    Hope this information helps you. If you need to get help or information with decision-making wireless bridge between two different routers, I'll be happy to help you.

  • EqualLogic GroupManager displays a different number of replicas, 2 outgoing and incoming 1.

    GroupManager displays a different number of replicas, 2 outgoing and incoming 1.  Is this a normal behavior?

    I raise this question to technical assistance from Dell.  They checked with their lab environment and confirmed the same behavior.  There is no functional cause whose status is displayed like this.  Two points, they said:

    (1) the number of the line leaving includes the history of replication.   It will show you an extra line in addition to the number configured in the replica set. (in my case, it's 1 (configured) + 1 (extra), so 2 total)

    (2) the number of the replica by entering the real number of replica set used for the function of data redundancy.

  • Use of two different MAC addresses EX60

    Hello outthere.

    I use an EX60 for testing. Everything works fine, but my colleagues told me that endpoint uses two different MAC addresses. These addresses are seen on the switch will remain the ex60 ist connected.

    The situation has not changed after doing a factory default.

    It's a kind of Mystic, because my ex90 do not use two MAC addresses.

    So the question is, what is the diffrence between ex60 and ex90? Is this a normal behavior on ex60?

    I hope someone can help me!

    Greetings from the Austria

    Martin

    Hello

    Using a touchscreen on the EX60? I think that the 2nd MAC address will probably be that of the touchscreen attached. How to check? The MAC address of the EX60 can be verified using the API. SSH into the EX60 and run:

    XStatus network //Mac

    * s network 1 Ethernet MacAddress: "00:50:60:05:52:BA."

    * end

    Ok

    The MAC address of the button can be controlled via access root for the codec.

    SystemTools rootsettings on

    [dderidde-ex90-desktop: ~] $ arp - a

    ARM3. LocalNet (169.254.0.13) to 00:e0:0 c: 00:8 c: 43 [ether] on eth1

    arm0. LocalNet (169.254.0.10) to 00:e0:0 c: 00:8 c: 40 [ether] on eth1

    ARM2. LocalNet (169.254.0.12) to 00:e0:0 c: 00:8 c: 42 [ether] on eth1

    HSRP-10-48-2 - 1.cisco.com (10.48.2.1) at 00:00: 0C: 07:ac: 00 [ether] on eth0

    ARM1. LocalNet (169.254.0.11) to 00:e0:0 c: 00:8 c: 41 [ether] on eth1

    Arm4.LocalNet (169.254.0.14) to 00:e0:0 c: 00:8 c: 44 [ether] on eth1

    [dderidde-ex90-desktop: ~] $

    My contact is not directly connected, so can't see here, only the gateway address MAC address. But you should see the touch directly connected.

    Otherwise, there is a sticker on the back of touch with serial number, and I think, MAC also.

    We have a DDT open for this behavior.

    CSCtz86298 - 802. 1 x is not handled properly on device with PC port and / or Touch

    Greetings from Belgium.

    Danny.

  • Definition of different number of REB for each key

    Hello

    Assuming I have the following tables and sample data:

    create table test_tbl_aa
    (aa number(2));
    
    insert all into test_tbl_aa(aa) values(aa)
    select level aa
       from dual
       connect by level<=4;
       
    create table test_tbl_aa_n
    (aa number(2), n number(1));
    
    insert all into test_tbl_aa_n(aa, n)
      select aa, lv
        from test_tbl_aa
        cross join (select level lv
                    from dual
                    connect by level<= trunc(dbms_random.value(1,3))
                    ) v;
    

    For example, running the stmt insert in the table test_tbl_n the inserted rows are:

    AA    N
    --------
    1     1
    1     2
    2     1
    2     2
    3     1
    3     2
    4     1
    4     2
    

    In the example above defined result a stable set of records for each aa (for each series).

    Is it possible to generate different number or records in the table for each data value test_tbl_n

    column aa?

    For example for:

    AA    N
    --------
    1     1
    1     2
    2     1
    3     1
    4     1
    4     2
    

    Note: Oracle db 11g. v2

    Thank you very much

    SIM

    Do you mean like this?

    SQL > insert while test_tbl_aa_n (aa, n)
    2 Select aa, level
    test_tbl_aa 3
    4. connect by level<=>
    5 and aa = aa prior
    sys_guid() 6 and prior is not null
    7.

    6 rows created.

    SQL > select * from test_tbl_aa_n;
    AA N
    ---------- ----------
    1          1
    1          2
    2          1
    2          2
    3          1
    4          1

    6 selected lines.

  • Two constraints of primary key of a table with two different constraint name

    Hi guys

    I am creating the table below

    Table name: TITLE_COPY

    Column name Copy_id Title_id Status

    Key type

    PKPK, FK
    UniqueNN, UNN, UNN
    CheckAvailable, destroyed, leased, reserved
    Table Ref FKTitle
    FK Ref ColTitle_id
    Data typeNumberNumberVarchar2
    Length101015

    The SQL statement below can create it

    CREATE TABLE title_copy (copy_id NUMBER (10),)

    title_id CONSTRAINT NUMBER (10) title_copy_title_id_fk title (title_id) REFERENCES.

    primary key constraint title_copy_title_id_pk title_id (copy_id)

    status VARCHAR2 (15) NOT NULL CONSTRAINT status_ck CHECK (status IN ('AVAILABLE', 'DESTROYED', 'RENTAL', 'RESERVED'))

    );

    Two primary keys (title_id, copy_id) are created with the same name of constraint (title_copy_title_id_pk) (-> table-level constraint). What happens if I want to have two different names of the primary key constraint, say title_copy_title_id_pk for the title_id column and title_copy_copy_id_pk for the copy_id column?

    I can do that with a column-level constraint? Something like below (complains about the additional primary key)

    CREATE TABLE title_copy (copy_id NUMBER (10) CONSTRAINT title_copy_copy_id_pk PRIMARY KEY,)

    constraint title_copy_title_id_pk primary key (title_id).

    title_id CONSTRAINT NUMBER (10) title_copy_title_id_fk title (title_id) REFERENCES.

    status VARCHAR2 (15) NOT NULL CONSTRAINT status_ck CHECK (status IN ('AVAILABLE', 'DESTROYED', 'RENTAL', 'RESERVED'))

    );

    In summary, I can define two primary keys with the name of different constraint in a column-level constraint?

    There are no two primary keys. There is a primary key made up of two columns - also called a composite key.

    A table can have at least a primary key. You can, if you wish, create a unique constraint on a different set of columns.

  • Concatenate the date and time that are stored in two different date columns

    Hello

    I have to select date two columns from two different tables a date and another over time.

    I want to concatenate these two columns and format the result form dd/mm/yyyy hh24

    But I get error invalid number

    For example

    create table as datetime

    (select to_date (' 21/01/2014 ',' dd/mm/yyyy') as dt, to_date('08:00','hh24:mi') like double MC

    )

    Select to_char(dt||) TM, "dd/mm/yyyy hh24") of datetime

    I use oracle 10 g

    Help, please.

    Hello

    Roger wrote:

    ... If you need to take the party date to a date column and the time of anonther part, then you must first convert them to a string, concatenate them and convert them to date.

    You don't need to do this.  What you have described is a way to do it, but this isn't the only way.

    If d1 and d2 are the two DATEs, you can get year, month and day of d1 combined with hours, minutes, and seconds from d2 liike this:

    TRUNC (d1) and (d2 - TRUNC (d2))

    Nesting TO_DATE and TO_CHAR in Oracle, is almost never the best way to do anything.  Oracle provides many functions (for example, TRUNC) to manipulate dates, but also of DATE arithmetic.

  • I already have 5 Lightroom and installed on my PC. Yesterday, I bought a Macbook Pro and I would like to install my Lightroom 5 in my new Macbook Pro. Is it possible to install on two different computers? If so, how is it possible to install by Inter

    I already have 5 Lightroom and installed on my PC. Yesterday, I bought a Macbook Pro and I would like to install my Lightroom 5 in my new Macbook Pro. Is it possible to install on two different computers? If Yes, how is it possible to install via the Internet, like my Macbook Pro doesn't have CD Driver. Thank you very much for your support. Hope.

    Hello

    You can install and activate the perpetual software (purchased) two computers, as long as you don't use it on one at a time.

    To load the software on another computer, download and install it as you did on the first computer. Then enter your serial number to activate it.

    Please find the link below to download:-Download Photoshop Lightroom

  • How to use two different versions of the stub of Web Services SDK files in a single project (5.5 and 6.0)

    Hello

    I have a project that uses the vSphere 5.5 management SDK (I built the stub files according to the documentation) and have these in my c# Solution. Everything works beautifully. My class files that interact with vSphere all have a use statement as follows:

    using Vim25Api;

    All fine so far.

    Now, I want to be able to provide support for a user to connect to vSphere 5.5 and 6.0 vSphere environments. I built the stub files for vSphere Management 6.0 SDK and those in my solution presented in a separate project. Each project is based on a different class library and I have each set of files for each version of vSphere stub in different NuGet packages. However, when I select to use a vSphere 5.5 connection, it seems that internally the 6.0 files stub are used, or vice versa.

    I tried to separate things out by giving the Vim25Service.dll and Vim25Service.XmlSerializers.dll files for each version of alias names (alias by default for all assemblies is "global", but I changed it to vSphere5 and vSphere6 for each version. Then at the top of each class file before all with what I'm doing:

    extern alias vSphere5;

    or

    extern alias vSphere6

    (According to what project I'm in). Then, use the using statement for each class file that interacts with vSphere using vSphere5::Vim25Api; or using vSphere6::Vim25Api; to use the files to correct/stub namespace for each version I support.

    However this still doesn't seem to work, and things seem to be getting confused upwards somehow. I take a guess that internal files make calls and somehow have crossed.

    Is it possible to use two stub version of vSphere together different files in the same project? How should I handle my script? I thought of just upgrading to use the version of vSphere 6 (I can always connect to vCenter 5.5 using these, but some of the properties on the object have changed, (for example some dynamic properties on AlarmObjects and other items have been removed and code breaks if I delete the references to the stub vSphere 5.5 files.) So, I want to keep two different versions and use each of them separately in the same solution, so I support vSphere 5.5 and vSphere 6.

    Solved - this using wsdl.exe and just by specifying a different namespace to use in the proxy class that is generated by using the /n switch.

    for example using PowerShell to build automatically, the value $VimApi and do:

    WSDL.exe/n:$ VimApi...

  • Left join between two tables using two different conditions

    I have following three tables with their data, as shown below.

    CREATE TABLE TIREMASTERPROCESS_TEMP
    (
    PRODUCTIONCODE TANK (12 BYTES),
    FIELDNAME CHAR (12 BYTES),
    DATACHR VARCHAR2 (60 BYTE),
    REVISIONNO TANK (3 BYTES),
    DATANUM NUMBER (9.4)
    )
    Whether the table c. and its sample data are like

    FIELDNAME DATACHR REVISIONNO DATANUM PRODUCTIONCODE
    AB No. Nch 1 100 0
    AB No. Nch 1 108 0
    AB No.-of-Nch 1 1 0
    Ass42 teased dishes 1 0
    Ass42 BTDrumNo1 BTD-051 1 0
    AB53 BTDrumNo1 BTD-051 104 0


    CREATE TABLE materialcode
    (
    UPPERMATERIALCODE CHAR (20),
    PROCESSNO TANK (3),
    PROCESSADOPTDATE TANK (9)

    )
    Whether the table b. and its sample data are like

    UPPERMATERIALCODE PROCESSNO PROCESSADOPTDATE
    Ass42 1 20120717
    AB53 108 20121121
    111 20111104 AS05
    104 20120928 AS30


    CREATE TABLE BUILDINGSCHEDULEMASTER
    (
    BUILDINGSIZE TANK (5 BYTES),
    GTCODE FLOAT (4 BYTES),
    TIREPERCART NUMBER (3.0).
    BUILDINGLOT NUMBER (3.0)
    )
    Whether table and its sample data are like

    BUILDINGSIZE GTCODE TIREPERCART BUILDINGLOT
    AB42A 4 12 ass42
    AB53A 4 88 AB53
    AS30A AS30 4 80
    BF03A 1 90 BF03


    Now, I need to get some data in these fields by using the suite of mappings.

    « PR_ » || Trim (a.BUILDINGSIZE) | ' / MPL2' Processid,--PRIMARY KEY
    TO_DATE (substr (NVL(b.PROCESSADOPTDATE,'19800101'), 7, 2) |) » /'|| SUBSTR (NVL(b.PROCESSADOPTDATE,'19800101'), 5, 2) | » /'|| SUBSTR (NVL(b.PROCESSADOPTDATE,'19800101'), 1, 4). (' 01:00:00 ',' dd-mm-yyyy hh24:mi:ss') starteff, to_date (SUBSTR (NVL(b.PROCESSADOPTDATE,'19800101'), 7, 2) |) » /'|| SUBSTR (NVL(b.PROCESSADOPTDATE,'19800101'), 5, 2) | » /'|| SUBSTR (NVL(b.PROCESSADOPTDATE,'19800101'), 1, 4). (' 01:00:00 ',' dd-mm-yyyy hh24:mi:ss') startDate.
    b.PROCESSNO revisioncodeid,
    a.BUILDINGLOT tirepercart ,
    CASE WHEN c.FIELDNAME = 'BTDrumNo1' then c.DATACHR end drumtype1.
    BOX WHEN (trim (C.DATACHR) = '1' and trim (C.FIELDNAME) = "No. Nch") and THEN click 'YES '.
    ANOTHER 'NO '.
    END may-BUG,
    case
    When c.FIELDNAME = 'Wavy'
    AND c.DATACHR = 'Use' THEN on 'YES '.
    When c.FIELDNAME = 'Wavy'
    AND c.DATACHR <>'Use' THEN 'NO '.
    fine wavy


    Now for the tables A and B I have the simple join as condition

    a.GTCODE = b.UPPERMATERIALCODE

    But I have to use two different left join conditions to join the table B and C to calculate the RESP fields according to the condition.
    Now, I have to use

    (trim (b.UPPERMATERIALCODE)). » -'|| Trim (b.PROCESSNO) = Trim (c.PRODUCTIONCODE) | » -'|| Trim (c.REVISIONNO)

    condition to get the data for the WAVY and DRUMTYPE1 fields.

    But at the same time, I have to use

    substr (Trim (b.UPPERMATERIALCODE), 1, 2). » -'|| Trim (b.PROCESSNO) = Trim (c.PRODUCTIONCODE) | » -'|| Trim (c.REVISIONNO)

    conition to derive the CHAFER field.

    And for this reason I am come so many duplicates and do not correct results for JUNEBUG, WAVY, DRUMTYPE1, and STARTDATE field.

    I need some advice as how can I do so that I get the correct results without duplicates for the PRIMARY KEY.

    Thank you

    Mahesh

    It would have been easier to answer if you gave us your example query that gives incorrect results - which both show us what you are doing and give us a starting point.
    Insert instructions for data, rather than only the data would have helped too, making it more quick to test this point.
    You do not show what you have done with your two outer join criteria, but I think you need to list TIREMASTERPROCESS_TEMP in your query twice, with alias names. Here's what I did:

    select a.BUILDINGSIZE, a.GTCODE, b.PROCESSNO ,  c1.FIELDNAME, c1.DATACHR, C2.FIELDNAME, C2.DATACHR
    , CASE WHEN c1.FIELDNAME='BTDrumNo1' then c1.DATACHR end drumtype1
    , CASE WHEN (trim(c2.DATACHR) = '1' and trim(c2.FIELDNAME) = 'No-of-Nch') THEN 'YES' ELSE 'NO' END CHAFER
    , case when c1.FIELDNAME='Wavy' AND c1.DATACHR='Use' THEN 'YES'
           when c1.FIELDNAME='Wavy' then 'NO' else null end wavy
    from BUILDINGSCHEDULEMASTER        A
    join materialcode b on a.GTCODE=b.UPPERMATERIALCODE
    left outer join TIREMASTERPROCESS_TEMP c1
       ON trim(b.UPPERMATERIALCODE)||'-'||trim(b.PROCESSNO) = trim(c1.PRODUCTIONCODE)||'-'||trim(c1.REVISIONNO)
    left outer join TIREMASTERPROCESS_TEMP c2
       ON substr(trim(b.UPPERMATERIALCODE),1,2)||'-'||trim(b.PROCESSNO) = trim(c2.PRODUCTIONCODE)||'-'||trim(c2.REVISIONNO)
    

    C1 is an alias for the TIREMASTERPROCESS_TEMP line which is necessary for drumtype1 and wavy, c2 is an alias for the TIREMASTERPROCESS_TEMP line required for JuneBug. There was some minor errors in your calculations of field I tried to correct.

    The results are:

    BUILD GTCO PRO FIELDNAME    DATACHR    FIELDNAME    DATACHR    DRUMTYPE1  CHA WAV
    ----- ---- --- ------------ ---------- ------------ ---------- ---------- --- ---
    AB53A AB53 108                         No-of-Nch    1                     YES
    AB42A AB42 1   BTDrumNo1    BTD-051    No-of-Nch    1          BTD-051    YES
    AB42A AB42 1   Wavy         NotUse     No-of-Nch    1                     YES NO
    AS30A AS30 104                                                            NO
    

    Hope this helps,
    David

Maybe you are looking for

  • LapDock 100 w/Webtop 3.0, RazrMaxx and me

    As a new convert to my original Droid for the Maxx, I have really not the ins and outs like I did once. Not the time to really learn it. Now, I'm done accedently Hi bid on a 100 Lapdock and get a new toy. These things seem to be very buggy. I read th

  • LTE - now it's 4G!

    Fan of Atrix date long, but as soon as you taste LTE - you will find that the original Atrix 4G really was 3.2 G. So let's compare true 4G notes. If you just want to give time to ping, download and download without a peak, it is fine. But be prepared

  • IMessage no sync'ing with iphone

    I think it happened because I updated my password and now imessage on my Macbook and imessage on my iphone are out of sync. Whenever I someone message from my Mac, it appears as "iCloud" and not my name, they kept in their phone. I have connected to

  • I can't date MY SYSTEM, I GET a CODE of ERROR 'WindowsUpdate_8024D00A '.

    I can't date MY SYSTEM, I GET a CODE of ERROR 'WindowsUpdate_8024D00A '.

  • Unable to delete the file, get the error 'cannot delete file access denied. "

    See the error will not remove the file: cannot delete file access is denied. Make sure that the disk is full or write-protected and that the file is not currently in use * original title - not delete the file show error *.