FGV with two types of variables

It goes something like this

I want the FGV having a cluster of two tables 1 d of double (which will be the variable of the FGV). and the data that I am 'Add' is a double issue / constant (whatever), it will be the additional variable.

the main idea is that I want to be able to choose to which one of the two i added the extra number and I think that it is quite easy to achieve with a simple Boolean control (reference) and the structure of the case, that's what I did.

the problem is that if I what that it either does not connect the FGV labview shift register does recognize as the FGV variable, that I have just described, and if I do, it's an extra entry which I don't want to use it later.

in theory, I can do my extra variable to be also a cluster with two tables 1 d of type double, however, given that my entry has a single issue, I do not know how to accomplish it.

Thanks in advance.

It would be good to know if something like this is even possible. (first option)


Tags: NI Software

Similar Questions

  • problem with the type of local and global

    Hi the gems...

    I have a plsql package. In the package, I defined a proc that takes two input parameters of type simple number and a parameter of a type of output collection.

    create or replace package pack_1 as body
    procedure proc_1 (p_number1 in number, p_number2 number, p_tt_table to tt_table) as
    v_tt_table tt_table:=tt_table();
    type c_ref_cursor is ref_cursor;
    v_c_ref_cursor c_ref_cursor;
    v_sql varchar2 (20000): = < a large sql using bind variables p_number1 and p_number2 >

    Start
    Open the v_c_ref_cursor for v_sql using p_number1, p_number2;
    loop
    extract the v_c_ref_cursor in v_tt_table;
    When the output v_tt_table.count = 0;
    for idx in 1.v_tt_table.count
    loop
    < business logic >
    end of loop
    end loop;
    close v_c_ref_cursor;
    < excpetion_block >;
    end;

    < several codes for the rest of the package >



    When I execute the proc_1 then he throws me error of data type incosistent while to fetch the v_c_ref_cursor of cursor in the v_tt_table variable.
    ORA-00932: inconsistent data types: expected - was -.
    But I have checked that the output of the query is similar with the type of variable.

    Now, a few facts: the tt_table of the user-defined table type is made from ot_table (create or replace tt_table to ot_table Board).
    The parent type i.e. ot_table has the same columns of this query in v_sql my proc.
    The ot_table and the tt_table are global types.

    But when I did these two types as local types, then the proc works very well. But I need them as global types only according to the condition in java.

    Please help me. The database is 11 GR 2.

    Thanks in advance.

    user12780416 wrote:

    I'm trying to keep it in the simplest form... Please take a look...

    Ah... Easy to solve.

    The projection of SQL must be an object of type ot_test_type for extraction in bulk work.

    Your projection of SQL look like this:
    cursor c1 is select object_name from user_objects;

    object_name is a string - it is not of type ot_test_type.

    You must change the projection to return ot_test_type. This is done by using the default constructor for that type of object.

    For example
    cursor c1 is ot_test_type (object_name) select as the user_objects OBJECT;

    He may now be in bulk recovered in tt_test_type.

  • variable with two digits after the point

    Hi all

    How can I specify variable to work with two numbers (one, three) after the point?

    e.q.

    Set one to 3.14159265358 like (lack of knowledge here)

    return a

    3.14 returned must

    It is a two-step process:

    Set A to 3.14159265358

    Set A (round (A * 100)) / 100

    The 100 can be changed as needed.

    (144176)

  • Problem with BULK collect and variable of Table type

    Hi all
    I defined a record type and then set an index - by table of this record type and in bulk has collected the data as shown in the code below. All this was done in an anonymous block.

    Then when I tried to set the record as an object type and not the above activities type, I got the below error:

    ORA-06550: line 34, column 6:
    PL/SQL: ORA-00947: not enough values
    ORA-06550: line 31, column 4:
    PL/SQL: SQL statement ignored

    Could you help me get the result of the first scenario with record type defined as an object?
    /* Formatted on 2009/08/03 17:01 (Formatter Plus v4.8.8) */
    DECLARE
       TYPE obj_attrib IS TABLE OF num_char_object_1
          INDEX BY PLS_INTEGER;
    
       obj_var   obj_attrib;
    
       TYPE num_char_record IS RECORD (
          char_attrib   VARCHAR2 (100),
          num_attrib    NUMBER
       );
    
       TYPE rec_attrib IS TABLE OF num_char_record
          INDEX BY PLS_INTEGER;
    
       rec_var   rec_attrib;
    BEGIN
       SELECT first_name,
              employee_id
       BULK COLLECT INTO rec_var
         FROM employees
        WHERE ROWNUM <= 10;
    
       FOR iloop IN rec_var.FIRST .. rec_var.LAST
       LOOP
          DBMS_OUTPUT.put_line (
             'Loop.' || iloop || rec_var (iloop).char_attrib || '###'
             || rec_var (iloop).num_attrib
          );
       END LOOP;
    
       SELECT first_name,
              employee_id
       BULK COLLECT INTO obj_var
         FROM employees
        WHERE ROWNUM <= 10;
    END;
    Here's the code for num_char_object_1
    CREATE OR REPLACE TYPE NUM_CHAR_OBJECt_1 IS OBJECT (
       char_attrib   VARCHAR2 (100),
       num_attrib    NUMBER
    );

    Welcome to the forum!

    You should be collecting objects in bulk, something like

    SELECT NUM_CHAR_OBJECt_1  (first_name,
              employee_id)
       BULK COLLECT INTO obj_var
         FROM emp
        WHERE ROWNUM <= 10;
    
  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • What is the right way to extend a network with two stations 80211ac wireless fixed extreme apple via ethernet?

    I my house wired with ethernet and have logged as many devices via cat5e as possible. My problem is when I try to connect together the two apple airport extreme base stations and use the second to extend my network I lose the internet connection.  I am able to extend without problems via radio, but since I plugged in the House tried to take advantage of the fastest method by cable.

    Here's my network setup in a nut shell.

    In the basement, I have my router from Verizon Fios (gateway 80211n) currently configured to provide all the space an Ip address via dhcp (disabled wireless)

    Gigabit ethernet port 8 wired via gigabit switch through the cable between the bridge Fios and port 1 of the switch.

    two iMacs wired directly the fios gateway ports 2 and 3

    Base station extreme elementary apple (call it down at the moment) connected to the Fios bridge

    Extreme basestation secondary apple related to extreme primary apple base station

    Cable to switch TV

    Nintendo Wii connected to the switch U

    Apple TV connected to the switch

    Drive Blu - ray connected to the switch

    My mainly the Airport extreme is configured as follows

    connect via DHCP

    Address of the router is set to the Fios router

    FOR DNS, I used back free servers like Google, and level 3

    Wireless is set to create a wireless network

    Security is set to WPA2 Personal

    Turned on 5 GHz and 2.4 and 5 ghz are set to automatic

    Router mode is set to bridge mode off

    Second or first floor Airport extreme config

    Connect using dhcp

    Address of the router is also the Fios router

    Servers DNS is empty

    Wireless settings

    Network is set to extend a wireless network

    the wireless network name reflects my network

    wpa2 personal wireless security game

    Network

    Router mode is grayed out and pondered or bridge mode

    Second or first floor Airport extreme config...

    .. . Network is set to extend a wireless network

    Given that all routers are interconnected by Ethernet, you don't want to configure AirPort Extreme to "Extend a wireless network." This option should be used only if the connection between the wireless base stations. Instead, the two base stations must be configured to "create a wireless network.  This is because that, with them all connected by Ethernet, you have the basis for a network of mobile type.

    With this type of network, each router will broadcast their own Wi - Fi network, but because they will all use the same network name (SSID) and use the same type of wireless security and the password, all the wireless clients will see them as network «one»

  • Can I use with two-step verification account recovery?

    I was reading about how you can use regain access to your account with two-factor authentication.

    Regain access to your Apple ID with two factor authentication - Apple Support account recovery

    Given that two-factor authentication is not yet available for my account, I was looking for to put in place the two-step verification.

    Any type of account recovery is available for users of two-step verification?

    Or this option is available only for users of two-factor authentication?

    Want to add more security to my account, I would like firstly to determine what are the dining options.

    From my understanding, there is not a recovery option to account for users of two-step verification.

    If someone could confirm please would be great.

    "Recovery"?  What are exactly are you afraid to lose and need to recover?  Your password?  No, two-step verification can help.  The approach is quite different from two-factor authentication:

    Frequently asked questions about the audit in two steps for Apple ID - Apple Support

  • read the type of variable and the value of LabView

    With the help of the TS. Class sequence that I try to get the type of variable and the values of local variables, parameter, fileglobal and stationglobal. Unfortunately I'm not able to find the right function. Hope someone can help me.

    Kind regards

    Lars

    Hello

    Maybe this simple TestStand example will help you.

    The API calls for LabView are the same...

    Hope that helps

    Jürgen

  • Display problems with all types of terrain and graphic

    Hello

    I have display problems general with all types of chart, graph or plot that I try to use, on two different machines, both with NVIDIA graphics cards.  A machine is a MacBook under XP SP2 in bootcamp and the other a Dell T3400 workstation (or something similar) under XP SP3.

    I posted this thread earlier which Ben replies to the weird graphic behavior.  Ben suggested that I try to simplify my code as much as possible while keeping the bad behavior and by submitting to the NC and the forum, because it is others have had problems of graph.  I tried, but in vain.  Display problem continues and continues and continues and then they just go and I can't get back by unscrewing the last stage of reduction or simplification of code.  But at some point during the reconstruction of the code, which I cannot determine, returns the bad behavior.

    So, I was set up with graphics looking for shit, until recently, when I thought I'd try some suggestions of other messages to a XY-plot function as a graph by creating a buffer and using nodes of ownership of land for the range control.  Things seemed promising, until my "XY table" started getting shit, too.  This time, the issue was with the grid lines becomes all chopped, attached images.

    I am out of resources here.  I think I'm running out of options to display graphic data in an acceptable manner.  Do I have to display data by using an Excel chart in an ActiveX container in Labview?  I'm not skilled enough to do it again.  I like Labview, it is the only programming language that I am competent even remotely help, but it's just inferiorating.

    Any suggestions would be much appreciated.  Thanks for reading.

    -Greg

    Greg,

    is there a particular reason why you use the bar plots - view superior graphic style? Try activating the legend of the plot, go to the bar plots and select the first track of the Bar Style. Your chart is displayed very well after that.

    See you soon,.

    Cerati

  • How to upgrade a shift with two independent loops while register?

    Hello everyone, I have a panel with two clusters with indicators control... a left and a right. I have messages from serial port, and I'm currently updating the left and the right within their own while loops. I have a single variable, which must be updated based on updates on both sides. Basically, I need follow the last selection update on each side... If I had 1, 2 and 4 on the left side and 3 on the right side... I would need to follow 4 was the latest updated the register shift variable for uses more in my vi. Can someone give me an idea how to upgrade this a variable based on two while loops that run independently in the same sequence context? Thanks in advance, cayenne

    Thank you both of you for the suggestion.

    I managed to find a way to get the values that I needed without EI... but I read the link to the Nugget in their subject, and I can't expect a use for them in the future.

    Cayenne

  • When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I use Vista 32 bit. I started to see this problem when I recently copy photos from an SD card.

    When you add pictures to the Vista image folder it creates a folder HIDDEN of the same name with two copies of the same image inside

    I saw hidden files enabled in folder options.

    Any help is appreciated.

    Hey guys... I found the answer... Problem is with the software vaio content analyzer that comes with the vaio...

    It just search for Vaio Content Analyzer (parameters) and deselect

    Video analysis
    image analysis
    analysis of the music

    I went looking for this crazy thing... used almost all types of online scan, and finally to find that it is caused by an internal software only...
    anyway thanks to all... Hope it helps someone in the future :)
  • Problem setting up Port Forwarding with two routers.

    I can't set up by Linksys RT31P2 and routers port forwarding WRT160Nv3.

    My setup is Webstar Modem = RT31P2 = WRT160N = Mac OS 10.6.5. (No configurable modem and ISP do not prevent port forwarding. It comes with two Linksys routers).

    I had a Monty Python-going around with the support of Cisco cat; and follow up with telephone assistance in which the agent knew nothing about port forwarding and his supervisor expressed the view that it was not possible with two routers. Sigh.

    If anyone can help me with step by step specific and simple instructions to configure routers. I know that the basic procedures. I'm not clear, what exactly changes on routers.

    I read that portforward.com has to say and it does not work so I must be misunderstanding something.

    The ip address of my computer is 192.168.1.103.  Are the last three digits of this speech concluded the two routers in the area on the port forwarding page? What other changes should be done what router?

    I know the port numbers that I use are OK because I can implement successfully if I connect to one or other of the routers (but not both), and my software of p2p shows port are open.

    Any help and suggestions most welcome.

    If you set up as I have suggested that you have only a single LAN that will be using in your addresses * 192.168.15 case. So in your case:

    1. change the address LAN IP of 192.168.1.1 to 192.168.15.2 WRT.
    2 disable the DHCP server.
    3. connect the LAN of the WRT port to port LAN of the RT.

    That's all. Disable the DHCP server will not affect whatever it is that you're connected LAN - LAN and DHCP server on the RT is still operational.

    After the change, previously the WRT computers may require a reboot to get a new address 192.168.15. *.

    Your computer to which you are transferring must have an IP static and not dynamic (or variable). Check the current IP information on this computer. It must have an IP address like 192.168.15.103, mask 255.255.255.0, gateway 192.168.15.1 subnet and DNS 192.168.15.1 server or maybe two other IP addresses instead. Note DNS servers if you do not 192.168.15.1.

    Then configure a static IP address on the computer. Use something like 192.168.15.10, 255.255.255.0 gateway 192.168.15.1 and the DNS servers you found before.

    After this implement 192.168.15.10 port forwarding.

  • ASA with two internet connections

    Hello

    I want to connect an ASA with two ISPS for internet traffic, one for the VPN S2S, there is a router VPN dedicatet on the second link.

    In case of failure of the first link, the second must be enabled.

    route outside 0.0.0.0 0.0.0.0 10.20.20.1 1 track 1route backup 0.0.0.0 0.0.0.0 10.20.30.1 254
    route backup 192.168.0.0 255.255.0.0 10.20.30.1

    Is this configuration working??

    Hello

    You need to configure the 'als' monitor configuration to monitor some destination on the main IP address ISP for the ASA whether the connection works. Probably an IP address on the public network.

    SLA 1 monitor

    type echo protocol ipIcmpEcho outside interface

    NUM-packages

    timeout

    frequency

    SLA monitor Appendix 1 point of life to always start-time now

    You will also need a configuration related to 'track' of the order

    track 1 rtr 1 accessibility

    Route outside 0.0.0.0 0.0.0.0 10.20.20.1 track 1

    Backup route 0.0.0.0 0.0.0.0 10.20.30.1 254

    The above combined with the routes you mention should be enough about the delivery. Naturally for each remote VPN L2L network you will always need a specific static route on the SAA to the backup ISP device.

    Also you must naturally maintain the translations on the SAA. Seems that your ISP links have in mind a separate device that contains public IP addresses. So am I right in assuming you pass all traffic from the LAN links for links to PSI via the ASA without any type of NAT, and leave these routers from the private to the public NAT?

    -Jouni

  • Using the same value of the column with two conditions as different results

    Hi all

    Maybe it's easy to answer what I'm trying to do now, but my brain really stop and I need your opinion. I have a table of account which has values like below

    Account Fairy OBJ type of Unit year
    11500196AA130

    20

    12000196AA1302012000-196AA1302011000-196AA1302023000196AA1302024500-196AA13020

    If I can get flow and receiveable with two different query sql like underneath, but I can't get the flow and the reciveable with the sum in a row and sql. Please give me some opinions to go.

    Thank you

    SELECT

    To_char (Trim (Account)) Account_no,

    (select accountname in AddressBook where accountname addid = TO_CHAR (TRIM (account))),

    Sum(Fee/100) flow

    Of

    account tb1

    where

    obj in ('196') and tb1.type = 'AA' and TO_CHAR (TRIM (unit)) = "130".

    and year = '20'

    and tax > 0

    Group

    account

    order by

    account;

    SELECT

    To_char (Trim (Account)) Account_no,

    (select accountname in AddressBook where accountname addid = TO_CHAR (TRIM (account))),

    Sum(Fee/100) reciveable

    Of

    account tb1

    where

    obj in ('196') and tb1.type = 'AA' and TO_CHAR (TRIM (unit)) = "130".

    and year = '20'

    and tax < 0

    Group

    account

    order by

    account;

    SELECT

    Trim (Account) Account_no,

    (select accountname in AddressBook where accountname addid = TRIM (account)),

    Sum (case when fairy< 0="" then="" fee/100="" else="" 0="" end)="">

    sum (case where fees > 0 then charge/100 0 otherwise end) flow

    Of

    account tb1

    where

    obj in ('196') and tb1.type = 'AA' and TO_CHAR (TRIM (unit)) = "130".

    and year = '20'

    Group

    account

    order by

    account;

  • After the failure of left installation with two boot options

    After a failed installation, I find myself with two boot options when starting Windows install & windows 8 How can I clear down the unwanted version.
    Windows 8 is in place and works ok.
    Just at the start, you get a request as to which version you want to start...

    Option 1:

    Press the Windows key + X

    Click System

    Click on advanced system settings

    On the Advanced tab > Start up and recovery, click settings


    Under system startup, click on in the default operating system: list box

    Select Windows 8


    Uncheck the box "time to display list of operating systems".


    or


    Press Windows key + R

    Type: MSCONFIG

    Click on the Startup tab

    Remove the unwanted entry.

    or

    Use EasyBCD:

    EasyBCD by NeoSmart Technologies would be your answer, it provides a graphical front-end to the BCDEdit Command line that makes it easy for you to set the boot settings and change the entries start on the new Windows Boot Manager. http://NeoSmart.NET/DL.php?id=1

Maybe you are looking for

  • High temperature of Toshiba SSDH Toshiba MQ01ABF050H

    I bought this hard drive to laptop, a week later he began to strongly warming, more than the previous - maximum of 38 c that bathed, waiting for 4 hours - 49 c, common mode 42-46, and sometimes, when I play games or surf the internet (common mode) -

  • Where can I find the files of the OS to create a restore CD?

    Dear Sirs, I want to reinstall the laptop. Where can I find the windows (to burn) files on the hard drive?I only find the Toshiba Tools CD.But no matter which folder on the operating system Maybe someone can help me Greetings Patrick

  • Satellite U200-179 often does not start after the installation of Ubuntu Live CD

    I'm installing Ubuntu edgy on my new computer toshiba laptop U200-179.I install linux without problems from the live CD, but when I try to restart the pc, often it does not start. During booting linux runs the utility to check the file system, althou

  • Officejet Pro 8610:8610 wireless printing

    New printer, implemented to print wireless, and wired works well.  Had internet upgrade with the new router, etc., and added the password to the network.  Printer now not working wireless, flashing bright blue.  Not a Curmudgeon, but guess maybe some

  • Is the function of the regular Expression

    Hi guys, using this model, I got this error: -4600 error has occurred during the regular expression match. I have attached the VI. can you help me? Thank you