Change the colour of lines in the same string indicator.

Hi everybody,
I'm getting crazy, because I'm looking for the way to change the colour of
the lines I want in the same string indicator.
I'm doing an application to control an instrument by serial port, and I'm
concatenating the lines that this instrument gives me, but there is some
line that I would want to change its colour, because there has been an alarm,
for instance. And I only can change all the string.
Is there any way to do this? I don't know.
Could you please help me?

Thank You Very Much.
The fourth step is a little bit difficult to understand, but what I've done
is all the three first steps, and in the fourth one I've made an array (I32)
of the lines that I don't want to highlight and connect it to Disabled �tems.
Do you think this is a good solution?
Thank you again for your help. I really needed someone to help me, because
if not I would still be with the STRING INDICATOR.
Timothy John Streeter wrote:
>Hi Carlos>>I'm sorry for being too brief with the last email.>>1) Place
an 'Multiple Selection Listbox' on your front panel.>>2) Create an attribute
node. Make the attribute 'Item Names'.>>3) Put every completed line into
the last element of an array, and then pass the array
>to the attibute node. (This build the list>of strings in the Listbox).>>4)
To highlight a line, make an array containing the line numbers (I32) that
you want
>highlighted and pass it the terminal of the>Listbox.>>Hope this is more
helpful>>Tim>>Carlos Jorge wrote>> Thank you for your help, but I don't
understand what you have told me. What>> I have to pass to the indicator
node, and what is this indicator node? My>> problem now is the last thing
I have to do.>>>> Could you please explain my doubt with more detail?>>>>
Thank you a lot.>> Timothy John Streeter wrote>
>Hi Carlos>>Try using a 'Multiple Selection List Box' indicator instead of>>
a string indicator. You>> >can highlight a line by adding the line>number
to an array and pass it to>> the indicator node.>>Tim>>Carlos Jorge Granadino
wrote>> Hi everybody,>>>>>> I'm getting crazy, because I'm looking for
the way to change the colour of>>>> the lines I want in the same string indicator.>>
I'm doing an application>> to control an instrument by serial port, and I'm>>
concatenating the lines>> that this instrument gives me, but there is some>>
line that I would want>> to change its colour, because there has been an
alarm,>> for instance. And>> I only can change all the string.>> Is there
any way to do this? I don't>> know.>>>> Could you please help me?>>

Similar Messages

  • Using same string indicator in different stacked sequences

    Hi guys, I want to use the same string indicator in different stacked sequences. I tried to wire the output of every string constant through the sequence to my string indicator outside the sequence block but then I get an 'Wire connected to an undirected tunnel' error. What is the best way to use the same indicator for all the sequences?
    Solved!
    Go to Solution.

    GerdW wrote:
    GerdW wrote:
    @TiTou:
    Problems with copy&paste?
    not even :-o
    GerdW wrote:
    @TiTou:
    Problems with copy&paste?
    not even :-o
    see : http://forums.ni.com/t5/Feedback-on-NI-Discussion-Forums/Text-lines-and-images-get-duplicated-when-I...
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Vtok on iphone4: i changed my gmail password and changed the same on my phone, but vtok wont respond and wont open at all! tell me what to do?

    i changed my password in gmail. then i changed the same in my iphone too. but vtok is not responding. i mea, its just not opening, giving a small flash n off! what am i supposed to do! do i have to delete n reinstall vtok everytime i change password!! or is it some bug in this app?

    If the old ID is your ID, and if your new ID was created by editing the details of this old ID (rather than being an entirely new ID), go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Can't change the connection string of SSIS package with derived columns?

    We upgraded SQL server 2008 to 2012, copied and converted all SSIS packages from Visual Studio 2008 to 2010.  When I opened a package in VS 2010 and tried to change the connection string, in the local connection managers, if the data source is another
    SSIS package B(.dtsx file) with derived columns, I can't change the connection string of package B. When I opened the file connection manager editor for package B and tried to locate a dtsx file in another location, saved the change, reopened the project.
    Package B still pointed to previous file.  Other packages without derived columns work fine. Any thoughts?

    We are using the package deployment model and refer to other packages in the same project. If
    we changed the path of package B (with derived columns) to "D:\Visual Studio 2010\xxxx", and refer it in package A, in the A's connection manager, the connection string of package B is still its previous location  "D:\Visual
    Studio 2008\xxxx". When we ran the package A in the SQL server agent, the data source is still
     "D:\Visual
    Studio 2008\xxxx", so how can I change it to "D:\Visual
    Studio 2010\xxxx"? Why has the package C (without derived columns) no such problem? thanks.

  • Cs-mars changing the community string on multiple devices

    Hello,
    We've changed the snmp v2 community strings on all the network devices.
    Is it possible in cs-mars to change the community string on multiple devices?
    When I select edit in admin>security and monitor devices> and select several devices and click edit the message "please select only one device to edit"
    What's the best way to do this, and is this absoluteley nessecary?
    Many thanks for all the help......

    > Is it possible in cs-mars to change the community string on multiple devices?
    Yes, it's possible for some device types.  The SNMP community string(s) can be bulk updated using a seed file, but only for the following device types: PIX, PIX 7.x, ASA, IOS, and SWITCH-IOS.  Any other device types have to be updated manually.  The details are on page 1-46 of the Device Configuration Guide.  You will also need the details for using a seed file, from the same document.
    > is this absoluteley necessary?
    If you want to communicate with the devices via SNMP, then yes, you need to update the strings.  This is especially the case if you don't use any other communications protocols such as SSH, Telnet, or FTP.  Also, without the updated SNMP strings, MARS can't fully discover the Layer 2 topology from the device.
    Unfortunately, the SNMP string bulk update is only available for SNMPv1 (or v2 with no encryption) credentials.  If you're using SNMPv3, each device has to be edited manually.

  • Changing the Host String in Oracle 10.2.0.4

    Hi,
    Can you please let me know how to change the Host String from ORCL to "production".
    I login now using the details below,
    UN: system
    PWD: production
    Host String: orcl
    Any help would be highly appreciated.

    Pravin wrote:
    Hi,
    I tried it but doesnt seem to work. Anyhow, i created a new database with my requirements and thus issue got resolved.
    Maybe you should have provided a bit of detail to "doesn't seem to work".
    I hope you didn't build a whole new house just because you couldn't get the key fit the front door . . .
    Thanks for your response. Appreciate it.Edited by: EdStevens on Sep 27, 2010 3:43 PM

  • User exit to change the storage section indicator (MLVS-LGBKZ)

    Hi.
    I'm looking for a user exit which be able to change the storage section indicator (field MLVS-LGBKZ) proposed by the material master data in the process of creating a TO (transaction LT06). I haven't found any user exit for this. Do you know any user exit to change this value?
    Thanks in advance

    hi,
    thank you for your response.
    whatever the exit which you have been provided, not calling when i creating PR through MD50.
    i need an exit which will trigger when we create PR through MD50.
    Many thanks,
    Regards,
    kiran

  • I want to take a series of hex characters in a string control and produce an HDLC string indicator for example if the data string control is 3F27 then the HDLC string indicator is 7E003F2700B57E

    I want to take a series of hex characters in a string control and produce an HDLC string indicator for example if the data string control is 3F27 then the HDLC string indicator is 7E003F2700B57E

    "thanks for your help "
    Does that mean you figured it out already?
    If not, see this thread for some HDLC related code.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=146859&query.id=3388#M146859
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • After Getting Error on Screen Changing the same screen data

    Hi,
    I am populating error message  in module pool program . I want to edit the fields in the same screen currently it is nor allowing .
    I use the CHAIN  and ENDCHAIN also .
    In my module pool screen i selecting some records if records contains different data the it is populating the error after that in the same screen i want to change the data .
    Regrads
    Nandan.N

    Hi Srihari,
    In this case follow the following code,
    PROCESS AFTER INPUT.
    CHAIN.
      FIELD: FIELD_01 MODULE CHECK_FIELD_01,
                 FIELD_02 MODULE CHECK_FIELD_02,
                 FIELD_03 MODULE CHECK_FIELD_03,
                 FIELD_04 MODULE CHECK_FIELD_04.
    ENDCHAIN.
    Write your validations for the screen FIELD_01 in the MODULE CHECK_FIELD_01
    so when you enter data in this field it enters this Module and checks the validations, if value passes the validation then the cursor moves to the next field (i.e. Field_02) otherwise if it fails the validation & you have specified the message type as 'E' then it waits on the same field of the screen till a correct value is entered.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • How to change the same cell in multiple tables at the same time

    help if you can,
    i have a workbook
    workbook has 10 sheets
    each sheet has 1 table
    when in excel you were able to select a sheet then hold control and select another, this would group the sheet as if to make them the same. change a single cell in one of the sheets and this changed cell would be also be changed in all grouped sheets. is there the same functionality in numbers?

    It's funny.
    This question was asked several times in the last ten days.
    The feature is unavailable.
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    Yvan KOENIG (VALLAURIS, France) jeudi 8 octobre 2009 18:57:14

  • Batch change the same property of some steps in Teststand3.1

        In Teststand, Test steps like "numeric test","pass/fail test". There's a "run option" in their property dialog, which enable or disable to record results. Sometimes, I need to diable/enable its function together with several steps. I prefer to see a batch method, that is to say, select multiple stpes, then open property dialog and diable them. Unfortunately, current Teststand could not do this only once, but have to slect one and disable one. Is there any better ideas?
      Thanks
      Jacky

    Hi,
    All you need is a sequence, set up in you Tools menu, to pick up the selected steps and change the each of the selected step's proeperty for the reports (Step.TS.NoResults).
    You would look at the RunState.InitialSelection.SelectedSteps which is an array, the size of which will give you the number of selected step. Then loop through the array changing the Step.TS.NoResults.
    There are examples on the NI Website that loop through a sequence, eg http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EE5556A4E034080020E74861&p_...
    (which gets the step name)
    There are application notes for setting up the Tools menu.
    Hope this gets you going.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • String objects with the same string pointing to the same place but?

    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????
    Thanks!

    Maria1990 wrote:
    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?Correct.
    Maria1990 wrote:
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????Because str2 is pointing to the same "a", but it is not pointing to str1.
    This is what happens:
    String str1 = "a";
    /*                 +---+
             str1 ---->| a |
                       +---+
    String str2 = "a";
    /*                 +---+
             str1 --+->| a |
                    |  +---+
                    |
             str2 --+
    NOT:
                       +---+
         +-> str1 ---->| a |
         |             +---+
         |
         +- str2
    str1 = "b";
                       +---+
                 +---->| b |
                 |     +---+
                 |
                 |     +---+
            str1-+  +->| a |
                    |  +---+
                    |
             str2 --+
    */

  • ComWrt randomly send twice the same string

    Dear all,
    I have recently ported to a Windows 7 machine an old program which communicates with an Arduino board through (virtual) serial port; the problem is that sometimes (once every about 10 times) the ComWrt function sends the same command to the Arduino board twice; I repeat: in debug mode I "step over" to a call to ComWrt once and I see on the serial line that the string is sent twice! I tried many combination of computers/cvi versions and it seems that the culprit is Windows 7, in fact the exact same program running in two different old xp machines does not show this behaviour and ComWrt seems to run smoothly. Any ideas?
    Thanks and best regards!
    Nicola

    Hi all, now I can update about my problem and its unexpected solution; in the same time I will answer to the last question.
    In order to simplify the problem, and following the first suggestion, I put the Arduino board in loopback configuration (no program running in the board, hardware shortcut of RX-TX pin on the borad) and I run the following code:
    int main (int argc, char *argv[])
    char buffer[30];
    int i;
    if (InitCVIRTE (0, argv, 0) == 0)
    return -1; /* out of memory */
    OpenComConfig(3,"",9600,0,8,1,0,0);
    for (i=0; i<1000; i++)
    DebugPrintf("Run no. %i\n", i);
    ComWrt(3, "\r", 1);
    ComRdTerm(3, buffer, 20, '\r');
    Delay(.1);
    if (GetInQLen(3)>0)
    DebugPrintf("Fail!\n");
    return 1;
    return 0;
    I connected the Arduino board by means of its USB port (which is seen by the computer as a virtual serial port), and it fails. I took also a USB-serial adapter, with pin 2-3 shotcut, and in this case the program runs smoothly: so I can state that it is a problem in Arduino serial port driver (note: I have tried both the last driver 1.6.0 and an old one 1.0.0, but nothing). I tried than to do the same thing with LabView but I used instead the VISA system (because I think it is the only way to use serial port in LW, I'm not expert) and it works! So I can also state that the problem is in the way that ComWrt interacts with the arduino driver in Win7. Than I have also tried using VISA system in LabWindows with the following code:
    int main (int argc, char *argv[])
    ViStatus status;
    ViSession defaultRM, instr;
    ViUInt32 retCount;
    ViChar buffer[MAX_CNT];
    int i;
    if (InitCVIRTE (0, argv, 0) == 0)
    return -1; /* out of memory */
    status = viOpenDefaultRM(&defaultRM);
    status = viOpen(defaultRM, "COM3", VI_NULL, VI_NULL, &instr);
    for (i=0; i<10000; i++) {
    DebugPrintf("Run no %i\n", i);
    status = viWrite(instr, "Test\n", 5, &retCount);
    Delay(0.100);
    status = viRead(instr, buffer, MAX_CNT, &retCount);
    if (retCount>5) {
    DebugPrintf("Fail!\n");
    break;
    status = viClose(instr);
    status = viClose(defaultRM);
    return 0;
    And, surprise!, it works also with the arduino board. So I understand that VISA and ComWrt use the serial port in a very different way!
    To conclude, the initial problem remains unsolved and it seems that the combination LabWindows(ComWrt)+Win7+Arduino is bad; good solutions are: (1) XP instead of 7, (2) USB-serial adapter instead of direct USB connection with Arduino, (3) VISA system instead of direct ComWrt function. The latter seems to me the best alternative.
    Best regards,
    Nicola

  • Changing the selector string for durable subscribers

    Hi,
    I have the following scenario:
    A durable subscriber registers with Selector A.
    A publisher sends messages, some match selector A and some not.
    The durable subscriber shuts down without unsubscribing.
    After a few minutes the same durable subscriber (with the same ID)reconnects, but with a different Selector: B.
    What should happen in this scenario?
    Should the durable subscriber continue to receive the messages that match Selector A or only those that match Selector B?
    Thank you for you help.
    Shai

    If a durable subscriber changes its subscription (such as using a different topic or selector) then its the equivalent of closing the previous subscription and creating a brand new subscription.
    So the short answer is no, it should only receive those that match B.
    James
    http://logicblaze.com/

  • [SOLVED]How do I change the title string of XFCE Terminal App.

    Hi,
    I'd like to change the window title string of XFCE Terminal Application to "current directory path string"
    What is the configuration file?
    Regards.
    Last edited by koro (2007-06-13 03:11:33)

    Thank you ataraxia,
    With your advice, I went to google, and I could find a topic about escape sequence of  bash.
    That was almost same as your zsh script.
    First, I edited my .bashrc file:
    export PROMPT_COMMAND='echo -ne "\033]0; $HOSTNAME: $PWD\007" '
    It was fine.
    Next, I wrote your script in my.bashrc file .
    It was fine, too.
    Now I could change title string of my terminal application.
    Thank you very much.
    Best regards.

Maybe you are looking for

  • Customer exit for tab 'Billing Plan' at item level in VA02

    Hi gurus, is there any customer or user exit for tab 'billing plan' in va02 where we find other tab like SALE A, SALES B, SHIPPING etc, i allready tried mv45afzz (userexit_field_modification) and exit V60F0001( Cmod). the requirement is to suppress f

  • Bluetooth not working after upgrading to Vista

    Hi All, I called tech support and they pretty much informed me that I'm s.o.l. so I thought I'd turn here.  I'm running a T60 (model 8744).  I was running Win XP and getting blue screened to death.  So I upgraded to Vista Business.  I now have everyt

  • How do I find a form's URL?

    I have ten forms that we would like to distribute to 3000 employees.  We would like to publish the link to the forms instead of e-mailing the forms directly. How do we find the URL for our forms? Thank you!

  • Error in extracting data

    Hi All, I am checking data for a custom defined datasource in RSA3.error is "Please, select ABTEI with just one request"  where ABTEI is field of the datasource . what could be the reason? regards murali.

  • Bean doesn't return instance!!!! Help me

    I am using oracle's CacheConnBean and trying to set the bean when my application loads, like <jsp:useBean id="ccbean" class="oracle.jsp.dbutil.ConnCacheBean" scope="application"> and I am setting its properties i.e. username, password and url On succ