String Tag Types + History Mode - xMII 12.0.1

Hi all,
I'm really newbie in Tags but i'm with the following problem:
I'm trying to access value from a specified data range in a Tag that returns just string to me,   but I can't use the HistoryEvent Mode like I was doing for Tag Queries that return me number, I would like to know how to retrieve "non-current" string data from a Tag Query.
Thanks in advance.
Pedro Sena
www.neoris.com

Sam, is this that you are looking for? :
Connector InSQL
ConnectorID  
ConnectorType TAG
DatePrefix '
DateSuffix '
DaysRetention 7
Description ---
Enabled T
InternalDateFormat MM-dd-yyyy HH:mm:ss
JDBCDriver com.inet.tds.TdsDriver
MaxRetryCount 5
Name Alicorp_InSQL
PoolMax 100
PoolSize 1
RetryInterval 60000
ServerPackage com.sap.xmii.Illuminator.connectors.InSQL
ServerURL jdbc:inetdae:aliargsql1:1433?database=Runtime&sql7=true
Timeout 15
UseCount 256
UseOLEDB true
UserName wwAdmin
ValidationQuery SELECT GETDATE()
WaitTime 30
Tnx

Similar Messages

  • Tag Query History mode returning too many rows of data

    I am running a Tag Query from HQ to a plant site and want to limit the amount of data that returns to the minimum required to display trends on a chart.  The minimum required is subjective, but will be somewhere between 22 and 169 data points for a weeks data.  Testing and viewing the result is needed to determine what is an acceptable minimum. 
    I build a Tag Query with a single tag and set it to History Mode.  I set a seven day period going midnight to midnight.  And I set the row count to 22.  When I execute the query it returns 22 data points.  But when I go to visualization, I get 565 datapoints.  So obviously that is not what I want as I want a very slim dataset coming back from the IP21 server (to minimize the load on the pipe). 
    Any suggestions?

    Hi Michael,
    it looks to me like you have enabled the "Use Screen Resolution" option in your display template or in the applet HTML. Setting this option makes the display template fetch as many rows as there are pixels in the chart area. Like setting a rowcount in the applet HTML as a param, this will override any rowcount limitations you have set at the Query Template level...
    Hope this helps,
    Sascha

  • Using Bridgeview with the IAK/IAS Server, I was able to read and write several registers using a string tag. In DSC using the Lookout Protocal Driver, I do not see a way to read/write string tags.

    In the tag configuration I can select for a string tag, but I do not see a way to set up the Lookout Protocal Driver for a string tag.

    That's right - The old IAK/IAS Servers from National Instruments were a tighten developement with BridgeVIEW together - so that they implement the string data type. Since NI recommends to use the LPD drivers instead of the IAK Servers there is no way to configure string tags in the Lookout protocol drivers. The LPDs or Lookout does not really handle arrays/strings at all - that's a limitation for the Lookout protocol drivers.
    Roland

  • Tag Query - History 12.0.2

    Has anyone run into a problem with using the History mode of a Tag Query?
    I am connected to an IP21 data source.  I can get HistoryEvent data and Current data back, but when I run in History mode, I get a blank HTML.  Running in XML mode, I receive the following back:
    <?xml version="1.0" encoding="UTF-8" ?>
      <Rowsets DateCreated="2008-02-25T13:17:36" EndDate="2008-02-25T13:17:28" StartDate="2008-02-25T12:17:28" Version="12.0.2 Build(88)" />
    I have an 11.5 instance and the same tag and data source does return the expected values, so the problem does not appear to be in the data source.
    I am going to initiate a ticket for this.
    Thanks,
    Mike

    Never mind.  Turns out it was pointing to incorrectly configured local data server.  Configuration fixed and then it works fine.

  • Error  to the past in the Eclipse - List String tags = Arrays.asList("Hello", "Tutorial"); in

    Hi,
    When I past the Setting properties List<String> tags = Arrays.asList("Hello", "Tutorial"); in the Eclipse I have this error:
    The type List is not generic; it cannot be parameterized with arguments <String>            HelloWorldServlet.java      /hello-world/src/com/sap/cloud/sample/helloworld      line 98           Java Problem
    Why?
    Weides

    Hi Weides...
    Maybe, accidently, when you first hit "organize imports" after you pasted that code fragment, and you were asked which "List" you want to import most probably you selected java.awt.List (In java you have at least the awt list and the java.util.List)
    Now... do the following:
    1. Delete the import statement of import java.awt.List and delete the import java.util.List
    2. Put back List<String>
    3. Then, Organize Imports again , and when it prompted for the choice, choose java.util.List.
    I hope that works for you.
    Regards.
    (PD. Useful checks will be appreciated)

  • Pass String[] (String Array) type to a parameter in "Edit Action Binding"

    Hi
    Hope you are doing fine. This is very important to me, kindly help me in this regad.
    I have a scenario where I need to pass in a parameter of type String[] that has only one value {"Name"} to a webservice that returns some values.
    I've created a WS datacontrol, dragged and dropped the return value on to a jspx, then it asks me to give the input value
    How do I pass it to the Parameter in "Edit Action Binding"?
    When I say new String[]{"Name"}, it gives me the following error
    Cannot create an object of type:[Ljava.lang.String; from type:java.lang.String with value:new String[]{"Name"}
    Similarly, I hardcoded this value in a managedBean, added it to requestScope/applicationScope and queried it using #{applicationScope.AppCreationBean.epsName}
    But this time, it says, the value is null. I guess the value is not getting initialized properly. But if i hardcode the value in the getter method, I'm again getting the error as above.
    Would some one tell me how to pass an array of type String (ie, String[]) with a value "Name" in the "Edit Action Binding" wizard itself?
    Regards
    RaviKiran

    Hi Frank
    Thanks for the reply.
    Issue resolved by initializing it in the ManagedBean.
    For some reason, when I put it in request/application scopes, it was coming as null, but when I registered the Bean in PageFlowScope, it was working!
    Regards
    RaviKiran

  • In report layout, can format a long string display as Column mode?

    Hi,
    Just want to check in report builder any way can format a long string into a column mode?
    Example: I have a field to hold 8000 character, and would like to print
    30 character in each line, when reach 50 line, then print in column i/o to print next page?
    Any idea ? Thanks a lot if you can share your experience with me.
    best Regards,
    Klnghau

    hi let say your field name is x
    then if your want it word wrap then it's simple just get one field and make it's vertical
    elasticity variable. and asign the field to it..
    but if you want your field to be displayed as
    first colunm and then beside continuation of that column but in 2nd one...
    then create 2 formula columns make your field legth been distributed half in each.
    so cf_1 is:
    decalre
    t varchar2(1510);
    begin
    if length(:x) > 1500
    t := substr(x, 1, 1500); -- as 30 x 50 = 1500
    else
    t := :x;
    end if;
    return t;
    so cf_2 is:
    decalre
    t varchar2(1510);
    begin
    if length(:x) > 1500
    t := substr(x, 1500, length(:x)-1500); -- as 30 x 50 = 1500
    else
    t := '';
    end if;
    return t;
    and then in design view
    field1 field2
    for field1 source is cf_1 and
    for field2 source is cf_2
    that's all
    Enjoy Oracle...

  • Dynamic structure of "string" data type. Please help.

    ABAPers,
    I am calling cl_alv_table_create=>create_dynamic_table method to dynamically create a structure. The input structure definition is as follows:
    data: xfc type lvc_s_fcat.
    data: ifc type lvc_t_fcat.
    * define Fld1
    clear xfc.
    xfc-fieldname = 'Fld1'.
    xfc-datatype = 'string'.
    append xfc to ifc.
    * define Fld2
    clear xfc.
    xfc-fieldname = 'Fld2'.
    xfc-datatype = 'string'.
    append xfc to ifc.
    Although the call to create_dynamic_table does not throw any exceptions, it appears Fld1 and Fld2 are not of "string" data type. I don't know of a way to see what type they are. However, they do have a length limit of 10 characters.
    After some experimenting, it turns out that the method simply ignores "datatype" value if it doesn't understand it and creates the field with some default data type.
    I would appreciate it if someone can show me how to create fields of "string" data type.
    Thank you in advance for your help.
    Pradeep

    That's right, use STRG as the datatype.  Please see the example program.
    report zrich_0003.
    type-pools: slis.
    data: new_table type ref to data,
          new_line  type ref to data.
    data:  xfc type lvc_s_fcat,
           ifc type lvc_t_fcat.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <fs>.
    start-of-selection.
      clear xfc.
      xfc-fieldname = 'Field1' .
      xfc-datatype = 'STRG'.
      append xfc to ifc .
      clear xfc.
      xfc-fieldname = 'Field2' .
      xfc-datatype = 'STRG'.
      append xfc to ifc .
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
        exporting
          it_fieldcatalog = ifc
        importing
          ep_table        = new_table.
      assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data new_line like line of <dyn_table>.
      assign new_line->* to <dyn_wa>.
      assign component 1 of structure <dyn_wa> to <fs>.
      <fs> = 'This is string 1'.
      assign component 2 of structure <dyn_wa> to <fs>.
      <fs> = 'This is string 2'.
      append <dyn_wa> to <dyn_table>.
    * Write the values of internal table.
      loop at <dyn_table> into <dyn_wa>.
        do.
          assign component sy-index of structure <dyn_wa> to <fs>.
          if sy-subrc <> 0.
            exit.
          endif.
          write:/ <fs>.
        enddo.
      endloop.
    REgards,
    Rich Heilman

  • About string data type

    Hi
    Maximum number of characters that a string data type accepts in Java.
    Thanks..

    The next may give a rough test.
    public static void main(String[] args) throws Exception{
    int factor= Integer.parseInt(args[0]);
    char[] data = new char[Integer.MAX_VALUE/factor];// note: integer division
    for(int k=0;k<data.length;k++)  data[k]=(char)0x30;
    String s=new String(data);
    System.out.println(Integer.toString(s.length()));
    }

  • Single string tag expanded into 100 plc register values

    I found a way to read 100 registers of plc data with a single string tag, if you can guarantee that none of the plc registers are zero. A register value of zero acts like a Null ascii terminator and truncates the string. Define the string tag as 200 bytes and uncheck the text data only box. Use the code in the attached picture to convert the string bytes back into decimal register values.
    Attachments:
    string tag to 100 U16 values.gif ‏2 KB

    Ins't that code exactly the same as typecasting to an U16 Array?
    Message Edited by altenbach on 05-19-2005 07:24 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CastingU16.gif ‏3 KB

  • Re: String data type

    the string scalar type doesn't have that functionality, but if you use a
    TextData it has the methods you are looking for.
    Anthony N wrote:
    >
    Hi
    Is there a built-in function/method to perform substring on an input
    string?
    If there is no such method, what is the quick and easy way to do
    substring on a string?
    Thanks
    Anthony
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>--
    Paul Monax
    Senior Consultant
    Sage IT Partners
    303.779.3309 x204
    [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    There is a Std FM RFC_GET_TABLE_ENTRIES available to read the entries using the RFC destination. This FM returns the output in the flat structure. You need to transform this flat structure to your specific structure.
    You mentioned:
    PS: I know I could transform each DB field into a String, transfer it via RFC, and then re-transform this String back into the original data type. However, I would like to avoid this data transformation if possible.
    What are the reasons you want to avoid this?
    Regards,
    Naimesh Patel

  • The swf tag spec for tag type 41 and 63?

    Hi.
    Where can I find the swf tag spec for tag type 41, 63?
    I made the tag type list by reading the SWF file format
    specification
    http://www.adobe.com/devnet/swf/pdf/swf_file_format_spec_v9.pdf
    tag type:
    0: End
    1: ShowFrame
    2: DefineShape
    4: PlaceObject
    5: RemoveObject
    6: DefineBits
    7: DefineButton
    8: JPEGTables
    9: SetBackgroundColor
    10: DefineFont
    11: DefineText
    12: DoAction
    13: DefineFontInfo
    14: DefineSound
    15: StartSound
    17: DefineButtonSound
    18: SoundStreamHead
    19: SoundStreamBlock
    20: DefineBitsLossless
    21: DefineBitsJPEG2
    22: DefineShape2
    23: DefineButtonCxform
    24: Protect
    26: PlaceObject2
    28: RemoveObject2
    32: DefineShape3
    33: DefineText2
    34: DefineButton2
    35: DefineBitsJPEG3
    36: DefineBitsLossless2
    37: DefineEditText
    39: DefineSprite
    43: FrameLabel
    45: SoundStreamHead2
    46: DefineMorphShape
    48: DefineFont2
    56: ExportAssets
    57: ImportAssets
    58: EnableDebugger
    59: DoInitAction
    60: DefineVideoStream
    61: VideoFrame
    62: DefineFontInfo2
    64: EnableDebugger2
    65: ScriptLimits
    66: SetTabIndex
    69: FileAttributes
    70: PlaceObject3
    71: ImportAssets2
    73: DefineFontAlignZones
    74: CSMTextSettings
    75: DefineFont3
    76: SymbolClass
    77: Metadata
    78: DefineScaleGrid
    82: DoABC
    83: DefineShape4
    84: DefineMorphShape2
    86: DefineSceneAndFrameLabelData
    87: DefineBinaryData
    88: DefineFontName
    89: StartSound2
    And I found there are some unexplained tag types.
    Escpecially, I need the spec for tag type 41 and 63
    because those tag types exists in air files of my application
    which I built with the Flex Builder 3.
    Thanks in advance.

    I've found this: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/modules/swfutils/src/java/flash/ swf/TagValues.java

  • Conversion from string "" to type 'Double' is not valid

    We're using BPC 7.5 MS and on patch level 111.02
    There's two front-end servers and one back-end.  we have about 100 users but concurrency is likely in the 50 range.
    We've been running extremely well for about 4 years but are now starting to run into problems.
    There are about 5-6 applications but none greater than 10 million records.  We optimize regularly.
    However over the past two months admin processes seem to take a lot longer.  Optimization now times out after about 1.25 hours and none used to take greater than 15 minutes.
    Today after processing dimensions we checked the application status and we were not able to check if it was available or not.  We got a pop up box saying
    conversion from string "" to type 'Double' is not valid
    I've processed dimensions and applications since and still this error persists.
    We're attempting a reboot to see if that helps but I've never seen this before and in combination with the slower admin processing I'm wondering if there's something drastic going to happen.
    Michael

    Hi Michael,
    for the poor performances you have to check the guides about performance on bpc if you have scheduled regurarly optimize during day and night (just verify that never factwb reach 50.000 and fac2 500.000 records) maybe you need to change some parameter on the server as MaxThreads.
    For the conversion string error on admin console see please this note 1803092 - Set application set status error
    Regards
         Roberto

  • Building a table with a string data type

    I am using the Build Table function and I would like to be able to label my columns on the first iteration with a string data type, which doesn't seem to be an acceptable signal for the Build Table function. However, the express table is located under "text indicators" on the front panel, so it seems like there should be a way to do this..

    Ah, the "Build Table" Express VI. I hate Express VIs.
    That Express VI is nothing more than a really complicated way of creating a 2D array of strings. The Express VI has no inputs for the row and column headers, so you need to add them in yourself. The same would be true for a regular table control/indicator. Here's what you need to do:
    Right-click on the table indicator and select Visible Items -> Column Headers.
    Right-click on the table indicator and select Create -> Property Node -> Column Header Strings[]. LabVIEW will attach a property node to the cursor and switch to the block diagram. Plop down the property node on the block diagram.
    Right-click on the property node on the block diagram and select "Change All to Write".
    Right-click on the property node and select "Create -> Constant". This will give you an array of strings, and you can enter the column headers in each array element.
    Wire the array to the property node.
    Connect the property node to the Build Table Express VI using the error clusters.
    Message Edited by smercurio_fc on 07-02-2008 09:25 AM
    Attachments:
    Example_VI_BD6.png ‏3 KB

  • SSIS Package : While Extracting Sharepoint Lookup column, getting error 'Cannnot convert between unicode and non-unicode string data types'

    Hello,
    I am working on one project and there is need to extract Sharepoint list data and import them to SQL Server table. I have few lookup columns in the list.
    Steps in my Data Flow :
    Sharepoint List Source
    Derived Column
    its formula : SUBSTRING([BusinessUnit],FINDSTRING([BusinessUnit],"#",1)+1,LEN([BusinessUnit])-FINDSTRING([BusinessUnit],"#",1))
    Data Conversion
    OLE DB Destination
    But I am getting the error of not converting between unicode and non-unicode string data types.
    I am not sure what I am missing here.
    In Data Conversion, what should be the Data Type for the Look up column?
    Please suggest here.
    Thank you,
    Mittal.

    You have a data conversion transformation.  Now, in the destination are you assigning the results of the derived column transformation or the data conversion transformation.  To avoid this error you need use the data conversion output.
    You can eliminate the need for the data conversion with the following in the derived column (creating a new column):
    (DT_STR,100,1252)(SUBSTRING([BusinessUnit],FINDSTRING([BusinessUnit],"#",1)+1,LEN([BusinessUnit])-FINDSTRING([BusinessUnit],"#",1)))
    The 100 is the length and 1252 is the code page (I almost always use 1252) for interpreting the string.
    Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

Maybe you are looking for

  • In j1iin in balances column ECS balance is not appearing

    Hi all, In J1iin  we have balance column, in which we can see the excise balances available for BED . ECS, SECS etc., Here BED , SECS balances are seen, but ECS balance is not appearing. Please update whether any note has to be updated

  • Search So based on PR

    Hello frnds , Can anyone please tell me where the relation between a sales order and a purchase requisition is maintained . I have to pass the item level text of a sales order to the Purchase order item level which are created from the Purchase requi

  • Deploying Sun Java - and controlling settings centrally

    Hello. We are trying to deploy Sun Java to corporate PCs (XPsp2) silently and also to ensure the settings are correct for our environment. Deploying silently is easy (documented here and using SMS). Some settings appear to be stored in the registry,

  • Trouble with seperate audio/video files in DVDSP -- please help!

    When I import my quicktime files into DVDSP, they are automatically segmented into seperate files, and are both the same file size. So essentially my file is doubled, and this causes the total file size to be too large and will not burn. Has anyone e

  • Modeling and Prediction VI difference from SI analysis VI

    I found another function in the Advanced Signal Processing Toolkit under the pallet Signal Processing/Time Series Analysis/Modeling and Prediction, there are the functions TSA AR Modeling, TSA ARMA Modeling, TSA ARMA Prediction, etc. What's the diffe