How can I add cursor attribute values or change the size?

I am using the SetCursorAttribute and would like to create and add additional cursor attribute values insteasd of the current 24 that are available. In particular, I would like to number each cursor in my list to each cursor on a graph so it can be identified easily by the user. Making each cursor a different value from the available 24 Attribute Value's is not desired since they are not easily identified due to the size of the cursor. (it's hard to discern a square box to a square box with an X).
OR
Another possiblity could be to allow for modification of the current size of the Attribute Values, is this possible?

Hi Dennis,
Unfortunately there is currently no way to change the size of a graph cursor, or to beyond the 24 point styles you mentioned. However, there are many other ways to differentiate cursors beyond point style. You can use differing crosshair styles and colors. Additionally, you can use "PlotBitmap(...)" to plot a bitmap image to the control using relative X and Y coordinates. With a little creative programming, you can use this function to simulate a graph cursor.
regards,
Eric Meyer
Applications Engineer
National Instruments

Similar Messages

  • How can I add an attribute to a node?

    Hi,
    How can I add an attribute to a node of a DOM Document?
    I want to add attribute Maximum="6" for all Grade node as <Grade Maximum="6">.
    Grade is a third level node in my document.
    Thanks

    Hi,
    How can I add an attribute to a node of a DOM
    Document?
    I want to add attribute Maximum="6" for all Grade node
    as <Grade Maximum="6">.
    Grade is a third level node in my document.
    ThanksGet the father of "Grade" elements as an element. Then get all elements named "Grade", and for each one set attribute "Maximum" with value "6". If you read api documentation you will know which methods to use.
    But for helping you in getting the "Grade" parent.
    1) get the root element of the Dom Doc
    2)get the father of the "Grade" father: getElementsBytagName("his name") -> it will return a Node List get the first element casting as Element if there's only one, or elese if not case
    3)the same method in 2 get the "Grade" father
    4)getElementByTagName("Grade") over the "Grade" father -> for each "grade" element on nodelist do whatever you need
    i hope u understood...

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • IF_IXML : How can i add encoding with value UTF-8 to the document object??

    Hi
    i want to create a xml file with the following content:
    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    i did this with the if_ixml interface and rendered the content in a file 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml
    <?xml version="1.0"?>
    <OpenSearchDescription xmlns="http://...."> 
    </OpenSearchDescription>
    BUT the document attribut(?) encoding="UTF-8"?> is missing!
    How can i add encoding with value UTF-8 to the document object?? it should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    *here is my coding.
    TYPE-POOLS: ixml.
    CLASS cl_ixml DEFINITION LOAD.
    DATA: lo_ixml           TYPE REF TO if_ixml,
          lo_streamfactory  TYPE REF TO if_ixml_stream_factory,
          lo_document       TYPE REF TO if_ixml_document,
          lo_parent         TYPE REF TO if_ixml_element,
          lo_ostream        TYPE REF TO if_ixml_ostream,
          lo_renderer       TYPE REF TO if_ixml_renderer,
         lv_rc           TYPE i.
    lo_ixml = cl_ixml=>create( ).
    lo_streamfactory = lo_ixml->create_stream_factory( ).
    lo_document = lo_ixml->create_document( ).
    lo_parent = lo_document->create_simple_element( name   = 'OpenSearchDescription'  "root node
                                                    parent = lo_document ).
    lo_parent->set_attribute_ns( name   =  'xmlns'
                                 value  = 'http://....' ).
    *rausrendern in file
    lo_ostream = lo_streamfactory->create_ostream_uri( system_id = 'D:\usr\sap\IFD\DVEBMGS01\log\TEST_out.xml' ).
    lo_renderer = lo_ixml->create_renderer( ostream  = lo_ostream
                                            document = lo_document ).
    lv_rc = lo_renderer->render( ).
    Thanks for help
    Britta

    Use the following code:
    set an document encoding
      l_encoding = l_ixml->create_encoding( character_set = 'UTF-8'
                                            byte_order = if_ixml_encoding=>co_none ).
      l_success  = l_ostream->set_encoding( encoding = l_encoding ).
    create a xml renderer
      l_renderer = l_ixml->create_renderer( document = l_doc ostream  = l_ostream ).

  • How can I add a blank value in a standard drop down list

    Hello,
    I have a requirement to add a blank value into the standard drop down list of for i.e. the search criteria
    "created on" -> (values are: yesterday/today/last week etc).
    The problem is, that this field has always the default value "yesterday" but our customer wants to have a blank field as default.
    Can anybody provide me steps how can I add this blank value ?
    Many thanks in advance

    Hi Bernard,
    thanks for your reply.
    Its for quotation.
    Could you give me still some further detail steps, please ?
    Many thanks
    Andreas

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

  • I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    Thanks for your quick response. I thought I had tried that but I must not have because it worked perfectly.

  • How can I add a dip to white at the beginning of a clip?

    How can I add a dip to white at the beginning of a clip?  I know where to find it on Pr, but I'm new to AE.  I have 2 clips that need to transition one to the other.  The first clip ends by dipping to white; therefore, I need to either dip to white at the beginning of the 2nd clip & line them up so they overlap well, OR I need to find a white transition to place between them like in Pr.

    Make a whote solid.  Animate its opacity from 0 to 100 and back again.
    You'll use couple-three layers -- no automatic transitions in AE.  That's what Premiere's for.

  • How can i add an Engraving after i order the ipad ( add, not edit)

    how can i add an Engraving after i order the ipad ( add, not edit)

    Sorry, I don't mean to appear rude, but I don't understand the question. What do you mean "how do you call"? You pick up the telphone and call the store's number, just as you would any other person or company.
    None of the Apple Stores have on-line chat.
    Regards.

  • How can I add "Edit with Photoshop CS5" to the Edit With options?

    How can I add "Edit with Photoshop CS5" to the Edit With options?

    I think it has something to do with the order in which the PSE and PS are installed on your machine.
    For me, I can see option for editing in photoshop both in edit menu and from the action bar. I probably had Photoshop installed on my system before PSE

  • My Hard Disk setting has been changed into no access for everyone and i can't open my mac. please tell me how can i login as an admin to change the setting cause i have a lot of date in my hard drive.

    My Hard Disk setting has been changed into no access for everyone and i can't open my mac. please tell me how can i login as an admin to change the setting cause i have a lot of date in my hard drive.

    Read and follow Apple Support Communities contributor Niel's User Tip: kmosx: I accidentally set a disk's permissions to No Access

  • Just downloaded Mountain Lion and want to remove natural scrolling; I went to system preferences, but I don't have a mouse. How can I get that to open to change the scrolling?

    Just downloaded Mountain Lion and want to remove natural scrolling; I went to system preferences, but I don't have a mouse. How can I get that to open to change the scrolling?

    Trackpad System Prefs, Scroll & Zoom

  • How can I customize my status bar to change the color?

    Hello:
    How can I customize my status bar to change the color?
    Thanks

    On which phone model? Either way, modifying the notification bar text color usually isn't something you can do with a standard stock phone.

  • I updated iTunes to 10.4 version and now it doesn't start and sen a messages "iTunes has detected an error and must be closed". Someone have the same problem and how can we repair our installation insted of change the windows XP installation? Best regard

    I updated iTunes to 10.4 version and now it doesn't start and send a messages "iTunes has detected an error and must be closed". Someone have the same problem and how can we repair our installation insted of change the windows XP installation? Best regards

    Only way to get iMac starting again was to re-install 10.4.4 from DVD, and then update it into 10.4.6. For a while it worked perfectly, just as before.
    Then I tried to print to CD with my EPSON Stylus Photo 950 from Adobe Photoshop Elements (2.0). It didn't print anything, but printer started flashing all lights. The print job was not performed, so I did remove it from the Printer Utility. After that the iMac started "ticking" again, same noise than before, after 10.4.7 installation. I did re-boot iMac. It never started, it does stuck on gray screen (gray block running clockwise). HW test from DVD didn't find any problems (extended search looping 3 times). But Disk Utility found hard drive to have inaccurate node structure, it could not fix it.
    Apple support recommended to use DiskWarrior. However, it does not support (yet) Intel Macs. I haven't got TechTool Pro 4.5.1 anywhere. iMac does start on to FireWire mode (T at boot), but I cannot see the disk from 10.2.8 iMac.
    So, obvisously the problem is not 10.4.7. I believe it to be ESPON printer driver compatibility on Mac OSX. This does not suprise me, EPSON printers *****, I shall never purchase one again. However, disk catalog structure should not get messed by one faulty printer driver!

  • How can I add photos from Camera Roll to the Photo Stream album?

    How can I add photos taken during the past month from my Camera Roll to the Photo Stream album?

    Hi,
    It's easy to do in iPhoto11 (click on a photo in iphoto and select share in the bottom right corner, then select Photo Stream), I'm not sure you can do this on the iphone.
    Regards
    Keith

Maybe you are looking for