Display a sequence in sequenceview activx control with CVI

Hello,
I am trying to display a teststand sequence in an activX sequenceView control for an user interface made with CVI. I had a look on the example of national intrument  (...teststand\UserInterfaces\NI\Simple\CVI) but my application is not exactely the same because all buttons are not ActivX controls.
So I try to display the sequence with this command:
TSUI_SequenceFileViewMgrSetByRefSequenceFile
but when i execute i have an activx error : File was unloaded from the test stand engine.
Can someone help me or having some example to help me.
Thank you
Regards

Hi ,
There is another example on our web site (http://zone.ni.com/devzone/cda/epd/p/id/3550), with this one you can select on the menu the sequence, and after run it.
You can adapt it, if you seearch the funciton on the source code.
regards,
Christophe S.
FSE East of France І Certified LabVIEW Associate Developer І National Instruments France

Similar Messages

  • Display description & save code for a control with CFL

    Hi all,
        I have an edit text which is associated with a Choose From List(CFL). The CFL displays 2 fields viz. Code & Name. I need my edit text to display the 'Name' field but should save the Code field in the database.
        Combo box has this functionality of 'Display Description' that display the description but stores the corresponding Code. How do I achieve this functionality for CFL.
    Praveen.

    Hi Praveen,
    Here's code (based/generated on/through B1DE... I am sure you can "translate" it for your purposes) that does the trick:
    <B1Listener(BoEventTypes.et_ITEM_PRESSED, true)>  _
    Public Overridable Function OnBeforeItemPressed(ByVal pVal As ItemEvent) As Boolean
      Dim form As Form = B1Connections.theAppl.Forms.Item(pVal.FormUID)
      Dim item As Item = form.Items.Item("1")
      Dim button As Button = CType(item.Specific, Button)
      Dim oEdt As SAPbouiCOM.EditText
      Try
        oEdt = form.Items.Item("NMS_MyDescr").Specific
        Dim oDTab As SAPbouiCOM.DataTable
        If form.DataSources.DataTables.Count = 0 Then
          oDTab = form.DataSources.DataTables.Add("DummyDT")
        Else
          oDTab = form.DataSources.DataTables.Item("DummyDT")
        End If
        oDTab.ExecuteQuery("select U_MyCode from [@NMS_UDO_SDN] where U_MyDescr = '" & oEdt.String & "'")
        oEdt = form.Items.Item("NMS_MyCode").Specific
        oEdt.String = oDTab.GetValue("U_MyCode", 0).ToString()
      Catch ex As Exception
        B1Connections.theAppl.StatusBar.SetText(ex.Message, BoMessageTime.bmt_Short)
      End Try
      Return True
    End Function
    Regards,
    Frank
    Message was edited by:
            Frank Moebius
    To make it easier for me to compile a SQL for the DataTable I have the description in the UDT as well, but that doesn't have any impact on the trick...

  • Copy paste text from pdf exported from Microsoft.Reporting.WinForms.ReportViewer control with Czech specific characters produced box charactex or ?.

    Used Visual studio 2012. In our project there is used the Microsoft.Reporting.WinForms.ReportViewer control. In the report handled by the control are TextBoxs with a text with Czech specific characters e.g. (ř, ě, ...) . When exporting the report to pdf,
    characters are displayed correctly. However when the text with czech characters in the pdf if copied and  placed into the seach box in the pdf document only box characters are displayed. The TextBox in the report use the default font Arial. When the report
    is exported to Word, and then the Word document is saved as a pdf document, its ok. Coping a text with Czech charactes in the result pdf document and pasting into the search box displays again Czech characters not box characters.
    Also when in the report handled by the ReportViewer control are several Tex Boxes and some of the boxes contains Czech characters and some not, after exporting to a pdf document there is problem with text selection. When in the pdf document I'm trying to
    select several paragraphs, some with Czech characters and some without them, selection behaves strangely and jumps from one paragraph to another unexpectedly.

    Hi,
    did you managed to avoid those squares?
    BTW: if any such char. is encountered in a line, the entire line of text is grabbled.
    I've tried even the ReportViewer from MSSQL 2014, but got the same problem. When I've tried IL Spy, I found a code, where it is checked if the PDFFont is composite - depending on that a glyph is created. But that still only a guess.
    I've tried Telerik's reporting, they have similar problem (beside other), but not with the special characters. They produced scuares for some sequences like: ft, fi, tí.
    Please give any info you got.
    Until then my advices for you:
    a) try JasperReports (seems theyre most advanced, although it is java)
    b) Developer express has quiet quality reports - and it seems they got those special chars. right :D
    c) I created a ticket and waiting for Telerik's response (but if I had to choose reporting, I vould stick with a) or b)

  • How to delete the row in table control with respect to one field in module pool programming?

    Hi,
    Can I know the way to delete the row in table control with respect to one field in module pool programming
    Regards
    Darshan MS

    HI,
    I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
    I have written this code,
    module USER_COMMAND_9000 input.
    DATA OK_CODE TYPE SY-UCOMM.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE.
         WHEN 'DELETE'.
            LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
                APPEND LS_SOURCE TO LT_RESTORE.
                DELETE TABLE LT_SOURCE FROM LS_SOURCE.
                SOURCE-LINES = SOURCE-LINES - 1.
            ENDLOOP.
    But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
    So I thought of doing with respect to the field.

  • WP8 Map control with custom tiles

    I'm trying to display a map control in my app targeting Windows Phone 8 but I want to use custom tiles from open street map.
    I'm using this line :
    mapControl.TileSources.Add(new TileSource("http://a.tile.openstreetmap.org/{zoomLevel}/{x}/{y}.png"));
    When I launch the app the custom tiles are properly displayed, but there's still the default map tiles underneath them.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.
    I would like to know how I can remove those default tiles when loading custom tiles.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.

    Hi MakanWG,
    You have solved your question in here:
    http://stackoverflow.com/questions/27948331/wp8-map-control-with-custom-tiles .
    Good!
    Vote if help you

  • How to Populate a Dropdown field for a table control with different keys

    Hi All,
    I have Table control with abt eight columns (fields). Out of these eight field one field is with dropdown list. In table control Project ID is Primary key column. Depending upon this Project ID value, i have different values which is to be populated in dropdown boxes. In table control if there is only one project ID value say 'P000715' i can populate it but when i have more than one project ID (P000715, p000716, P000717.....) in display in rows of table control i want to have different values in my dropdown field corresponding to that row of project id. Experts please tell me how to achieve this functionality.
    Thankx in Advance
    Rizwan Ahmad Siddiqui

    The only way you may be able to do this is using
    MODULE PROCESS ON VALUE-REQUEST. User-programmer F4 help
    in your PAI routine.
    In this routine you would build the list and get the returned value to update the field.
    Something like this.
      DATA: BEGIN OF value_tab OCCURS 0,
        field1 TYPE zlmltype,
        field2 TYPE zltypex,
      END OF value_tab.
    * Drop down values
      REFRESH it_return_tab. CLEAR it_return_tab.
      REFRESH value_tab. CLEAR value_tab.
      SELECT ltype ltypex
        INTO TABLE value_tab
        FROM zlmltyp
        WHERE auth NE '9'.    "System Only
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield   = 'FIELD1'
                value_org  = 'S'
           TABLES
                value_tab  = value_tab[]
                return_tab = it_return_tab.
      READ TABLE it_return_tab INDEX 1 INTO wa_return_tab.
      CHECK sy-subrc EQ 0.
      p_pleadtyp = wa_return_tab-fieldval.

  • Duplicate entry check in Tb control with 6 same fields

    actualy i have made a table control with six same fields.
    batch1      batch2     batch3    batch4        batch5           batch6
    the data type of all fields is same.
    i want to assign a check for duplicate entries.
    the value entered in batch1 (say bgp000001). then it cannot be entered in any row or column of table control.that means this value bgp000001 cannot be entered again in entire table control.
    although i have been able to create a validation for table control current line.
    In PAI
    loop at i_packcase.
    FIELD I_PACKCASE-batch1 MODULE CHECK_CRTNO1_0107.
        FIELD I_PACKCASE-batch2 MODULE CHECK_CRTNO2_0107.
        FIELD I_PACKCASE-batch3 MODULE CHECK_CRTNO3_0107.
        FIELD I_PACKCASE-batch4 MODULE CHECK_CRTNO4_0107.
        FIELD I_PACKCASE-batch5 MODULE CHECK_CRTNO5_0107.
        FIELD I_PACKCASE-batch6 MODULE CHECK_CRTNO6_0107 .
    endloop.
    corresponding modules are coded as below:
    there is no check in field-batch1( as this is the first entry in table contrl)
    module check_crtno2_0107 input.
    if i_packcase-batch2 eq i_packcase-batch1.
       message v_duplicate type 'E' display like 'I'.
    endif.
    endmodule.
    module check_crtno3_0107 input.
    if i_packcase-batch3 eq i_packcase-batch2
            or i_packcase-batch3 eq i_packcase-batch1.
            concatenate 'CASE'  i_packcase-batch3
            ' ALREADY ENTERED' into v_duplicate.
            message v_duplicate type 'E' display like 'I'.
    endif.
    endmodule.
    similarly field-batch6 is checked against all previous 5 fields
    this works only for current line of table control.
    *now i want to extend this check to all lines of table control.

    Hi,
    Save the entries of each row and column into an internal table containing one field (fieldx)  the required data type. Delete adjacaent duplicates for the internal table. If successful, give error message as required.
    Loop at i_packcase.
    itab-fieldx = i_packcase-batch1.
    append itab.
    itab-fieldx = i_packcase-batch2.
    append itab.
    itab-fieldx = i_packcase-batch3.
    append itab.
    itab-fieldx = i_packcase-batch4.
    append itab.
    itab-fieldx = i_packcase-batch5.
    append itab.
    itab-fieldx = i_packcase-batch6.
    append itab.
    endloop.
    delete adjacent duplicates from itab comparing fieldx.
    if sy-subrc eq 0.
    ****appropriate error message****
    endif.
    Regards,
    Konda Sravanthi.

  • How to display the PPT, PDF, XL, DOC files with in the Windows store app?

    Hi,
    I would like to display the PPT, PDF, XL, DOC files with in the Windows store app? is there any controls provided by Microsoft to view these files with in the app?
    Or
    Any workaround to achieve the desired functionality?
    Kindly provide your inputs if any one has.
    Regards
    Prasad

    Hi Prasad,
    As I know currently there is no in-build functionality to display the PPT, XLS or DOC file directly on the Windows Store App, but you can always open these files by
    Launcher class
    However a good news is we can display PDF on Windows Store App by
    Windows.Data.Pdf class, see this for more information:
    https://code.msdn.microsoft.com/windowsapps/PDF-viewer-showcase-sample-39ced1e8/
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Tree control with Nodes in ALV

    Hi ABAP Gurus,
    I am trying to create tree control with nodes in ALV. I have referred to standard BCALV_TREE* programs but new to OO programming. Not sure as to how I can display my internal table data than the SFLIGHT information in these programs. Can you please let me know how this can be done or if I can use any ALV function modules for the node display.
    thanks,
    Chaitanya

    Maybe you could use this.  Call this VI from a Value Change event of the tree.
    Attachments:
    Check_Tree_Items.vi ‏28 KB

  • Table control with wizard in module pool

    Hi Gurus!!
    First I have an ztable for header and ztable for item of the purchase order. We have the requirement of first uploading the data into ztable and then perform bapi or bdc on it. So, before the data goes into the ztable we have to create screens to show the data,and if any error it should be corrected and then send it to the ztable.
    So,in the screen I created a table control using the wizard where I gave the internal table and work area I declared for the item ztable.
    Now, I need to give a condition to the table control such that only the details of a single vendor should be displayed in the table control but not all.
    Note: The vendor field in the item ztable is the value key and its check table is the header ztable.
    I am not able to give a condition in the PAI of the screen where the loop gets created for the table control.
    Could someone please help me with this issue.
    Thanks and Regards,
    Vishwa.

    Instead of putting a condition to the table control level u can do 1 thing ..create another internal table for ztable (lineitem). And based on ur condition populate this table from the main table and then display this table to the table control.
    Regards,
    Joy.

  • Automation unit control with LabVIEW

    I use LabVIEW 7.1 and NI FieldPoint devices (FP-1000) for educational
    purposes. I want to control a automation unit which has got 6 digital
    input and 6 digital output. Before I used the sequence structure, but
    actually I am not sure the solution whether true or not. How can I do
    like this control with LabVIEW?

    Duplicate.
    Try to take over the world!

  • HP 2000 Notebook PC -- Extended display monitor and built-in screen swapping with each other.

       I have an extended display monitor connected to my notebook and every so often without any warning the displays will flicker to black screens, and then quickly swap back and forth  with each other 2 - 3 times, usually resuming the way it began.  Entire event lasts maybe 10 - 15 seconds total but during that time I have no control of my PC.  Anyone know how to stop this from occuring or what is causing it to happen?   Thanks for any assistance with this issue .
    HP 2000 Notebook PC - Product # :  D1E80UA#ABA  -  AMD Radeon HD 6310 Graphics  Windows 8.1 64-bit system.

    I'll try helping,
    If the flickering is seen in the extended display
    I think the issue may be with driver then,
    First
    Uninstall the AMD graphic driver from Device manager - Display adapter , Control panel.
    shut down laptop
    then try a hard reset
    this might help you in that-
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01684768&cc=us&dlc=en&lc=en&jumpid=reg_r1002_us...
    then,
    Tap away at the ESC key as you power on the notebook again to launch the Start-up Menu and then select F10 to enter the bios menu.
    Press F5 to load the defaults (sometimes F9, the menu at the bottom will show the correct key )
    use the arrow keys to select 'Yes' and hit enter.
    Press F10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    Let Windows fully load - just let this complete.
    Then,
    download, saving & install the latest AMD HD Driver from your product website here:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4158&lc=en&cc=us&dlc=en&sw_lang=&product=5360...
    Restart the system
    Check the issue.
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • How Do You Populate A Spark List Control With An Array?

    Hello, all,
    Sorry to come accross so frustrated, but how in the name of God do you populate a Spark list control with the data in an array?  You used to be able to do this with the mx:List control, but the guys developing Flex just had to make things more difficult than they need to be!  I am more of a code purist and prefer doing things the way they have been done for decades, but apparently nothing can ever stay simple!
    I simply want to populate a list control with an array and this shouldn't be rocket science!  I found out that I must use a "collection" element, so I decided that an arrayCollection would be best.  However, after searching Adobe's documentation about arrayCollections, I am lost in a black hole of data binding, extra lines of code just to add a new element, the need to sort it, etc...!
    Here is my code:
    var pendingArray:ArrayCollection = new ArrayCollection();
    for ( var i:int = 0 ; i < queue.length ; i++ )
         var item:UserQueueItem = queue[i] as UserQueueItem ;
         if ( item.status == UserQueueItem.STATUS_PENDING )
         pendingArray.addItem({label:item.descriptor.displayName,descriptor:item.descriptor});
    Here is the relevant MXML:
    <s:VGroup>
         <s:List id="knockingList" width="110" height="100"/>              
    </s:VGroup>
    I'm not getting any errors, but the list is not populating.
    I have seen several examples where the arrayCollection is declared and populated in MXML:
            <mx:ArrayCollection id="myAC">
                <!-- Use an fx:Array tag to associate an id with the array. -->
                <fx:Array id="myArray">
                    <fx:Object label="MI" data="Lansing"/>
                    <fx:Object label="MO" data="Jefferson City"/>
                    <fx:Object label="MA" data="Boston"/>
                    etc...
               </fx:Array>
            </mx:ArrayCollection>
    That may be fine for an example, but I think this is a rare situation.  Most of the time I would image that the arrayCollection would be created and populated on the fly in ActionScript!  How can I do this?
    Thanks in advance for any help or advice anyone can give!
    Matt

    In your post it seemed like you were trying to take care of many considerations at once: optimization, design, architecture.  I would suggest you get something up and running and then worry about everything else.
    If I use data binding, then I will probably have to declare the  arrayCollection as a global variable and then I'll have to write 100 or  so extra lines of code to addItem(), removeItem(), sort(), etc...  It  just seems like too much overhead.
    I believe you may have some misconceptions about databinding in general.  You won't have to make it a global variable and you certainly won't need an extra 100 lines of code.  If you did this forum would be a very , very quiet place.
    I don't want to use data binding because the original array is refreshed  often and there is one function called by an event that re-declares the  arrayCollection each time, populates it with the array, and then sets  it as the list's dataprovider.
    That is the beauty of the ArrayCollection, it can handle the updates to its source Array. I don't know if you need to redeclare the ArrayCollection, resetting the source to the new Array allows everyone involved to keep their references so you don't have to worry about any "spooky" stuff going on.

  • Jabber and deskphone control with video

    Hi all,
    one of our clients has IM and presence 9.1 and jabber on windows 9.1.X and is integrating with Active directory for user synchronization and authentication.
    Q.
    why when we use deskphone control with jaber users have an audio in hardware phones but video in Jabber clients not working ?
    Note that the media service interface file  is installed.
    Help needed.
    Thanks in advance.

    you might want to have a look at this post 
    https://supportforums.cisco.com/thread/2160363
    =============================
    Please remember to rate useful posts, by clicking on the stars below. 
    =============================

  • Windows Phone - Cannot bind custom user controll with listview item source property

    It is Windows Phone 8.1 (runtime)
    I have some problem of binding custom user controll with list of data. I'll make it simple as I can.
    My problem is that somehow if I use DataBind {Binding Something} inside my custom controll it will not work.
    I need to transfer binded data (string) to custom controll.
    It is strange that if I do not use DataBind, it will work normally. Eg MyCustomControllParameter = "some string" (in my example 'BindingTextValue' property)
    Does anyone Know how to bind custom user controll with inside ListView with DataTemplate.
    Assume this:
    XAML Test-Main page
    <Grid  Background="Black">        <ListView x:Name="TestList" Background="#FFEAEAEA">                    <ListView.ItemTemplate>                <DataTemplate>                    <Grid Background="#FF727272">                        <local:TextBoxS BindingTextValue="{Binding Tag, FallbackValue='aSource'}" local:TextBoxS>                    </Grid>                </DataTemplate>            </ListView.ItemTemplate>        </ListView>    </Grid>
    XAML Test-Main page c#
    public sealed partial class MainPage : Page    {        List<TTag> tags = new List<TTag>();        public MainPage()        {            this.InitializeComponent();            this.NavigationCacheMode = NavigationCacheMode.Required;        }        public class TTag        {            public string Tag { get; set; }        }        private void InitializeAppData()        {            TTag tag = new TTag() { Tag = "hello world" };            tags.Add(tag);            tags.Add(tag);            tags.Add(tag);            TestList.ItemsSource = tags;        }             protected override void OnNavigatedTo(NavigationEventArgs e)        {            InitializeAppData();        }           }
    User Control XAML:
      <UserControl    x:Class="CustomControllTest.TextBoxS"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:local="using:CustomControllTest"    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d"    d:DesignHeight="300"    d:DesignWidth="400">      <Grid x:Name="LayoutRoot" Background="#FF4F4F4F"   >        <RichTextBlock x:Name="MyTestBlock">        </RichTextBlock>    </Grid></UserControl>
    User Control c#
    public TextBoxS()       {            this.InitializeComponent();            LayoutRoot.DataContext = this;        }        public static readonly DependencyProperty BindingTextValueProperty = DependencyProperty.Register(                                         "BindingTextValue",                                         typeof(string),                                         typeof(TextBoxS),                                         new PropertyMetadata(default(string)));        public string BindingTextValue        {            get            {                return GetValue(BindingTextValueProperty) as string;            }            set            {                SetValue(BindingTextValueProperty, value);                //This method adds some custom logic into RichTextBlock, pointed correctly                SetupBox(value);            }        }
    Thanks for helping ;)

    If you use a built-in control rather than your custom control, does binding work? You should verify that first.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

Maybe you are looking for