Change an attribute value type

We rotate ContentServer 7.6.2 and would like to change the value of one of our attributes of string type to int. change the value of an attribute type of int to a string is allowed via the administration console, but conversely (string to int) is not allowed, probably because of the problem of data conversion. In my view, that it should be possible by performing the following database changes:

_A_EXTENSION table < attribute_type >, column TYPE to change to 'chain' to 'int '.

< content_asset_type > table _MUNGO, passage of STRINGVALUE to INTVALUE column for instances of the attribute, conversion of data type number as appropriate

Someone has tried this before, does it work? Or anyone who has used another method successfully?

Larissa.

Hello, Larissa,.

I have never tried something like this. What I have is:

Create a new attribute type int and add to the definition

Create a CSElement to recover the assets created by query for example.

With active taglib (inside a loop in the CSElement) get the old value (string) and save the new value (int) with the appropriate conversion. Record the asset.

Remove the attribute from the definition string.

This has worked for me several times and you can be sure that you do not lose the old data.

It will be useful,

Gerardo

Tags: Fusion Middleware

Similar Questions

  • ADF BC: Entity literal attribute value Type or an Expression

    Hello

    Please consider this scenario using JDeveloper 11 g (11.1.1.0.1):

    (1) create an application that uses the application model "Fusion Web Application (ADF)"
    (2) in the model project, the Wizard "Components Business of Tables" to create Dept and Emp on the SCOTT entity objects. DEP. and SCOTT. Tables EMP and also default DeptView and objects in view of EmpView, a Module of Application ScottService
    (3) in the objects of entity Emp Editor, select hiring date attribute, and the property inspector allows you to change the default value to "adf.currentDate" (see also Section 3.6, overview of Groovy support), do change not the Type of default value of Expression (keep the default 'literal' value)
    (4) in the ViewController project, create a new JSF page browseDept.jspx
    (5) in the data controls panel, drop DeptView1 on browseDept.jspx as "ADF unalterable form" page, check include Navigation controls
    (6) also in the data controls panel, delete EmpView2 on the browseDept.jspx as the 'ADF Table read-only' page
    (7) with the right button on the browseDept.jspx page and select run

    The result after that step (7) is a browser page that continues to display "Loading."... "and the tab of the Panel" running: DefaultServer - Log ' in JDeveloper illustrates this exception:
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getLastEventId(JUCtrlValueBinding.java:3642)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getLastADSEventId(FacesCtrlAttrsBinding.java:214)
         at oracle.adfinternal.view.faces.activedata.AttrsActiveDataModelImpl.getCurrentChangeCount(AttrsActiveDataModelImpl.java:139)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager._registerComponent(PageDataUpdateManager.java:281)
         at oracle.adfinternal.view.faces.activedata.PageDataUpdateManager.registerComponentForPPR(PageDataUpdateManager.java:155)
         Truncated. see log file for complete stacktrace
    If I use the Properties dialog box of the project on the ViewController project to set up '-Djbo.debugoutput = console "in the value the default run Configuration and run again the browseDept.jspx page, the journal watch JDeveloper tab panel also this exception:
    oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:adf.currentDate
         at oracle.jbo.domain.Date$1.convert(Date.java:119)
         at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:781)
    ...
    Caused by: java.lang.IllegalArgumentException
         at oracle.jbo.domain.Date.parseISO8601FormatString(Date.java:622)
         at oracle.jbo.domain.Date.toDate(Date.java:603)
         at oracle.jbo.domain.Date.<init>(Date.java:384)
         at oracle.jbo.domain.Date$1.convert(Date.java:110)
         ... 144 more
    After you have configured the Hiredate attribute in the entity object Emp with as default value Type Expression, things seem to work without exceptions.

    questions
    (q1) This is the behavior after the step (7) that saves only a NullPointerException intended behavior?
    (q2) Wouldn't be better to have the connected DataCreationException or even appear on the page?

    Thank you very much
    Jan Vervecken

    Hi Jan,

    I logged bug 8236479 for that matter.

    Kind regards

    Didier.

  • Change an attribute value in a table of the tree at all levels using the control button.

    Hi all

    I use JDeveloper Version 11.1.1.7.0.

    I have set up on my Table from the tree only when selected in the parent level also chooses the checkbox on the levels of the child associated with a checkbox, see my below base schema.

    My method to achieve this was to follow this guide... Andrejus Baranovskis Blog: box support in ADF tree Table different levels

    1. [Checkbox] status. Name | Employee ID

    -> 2 status [Checkbox] | Name | Employee ID | etc. | etc.

    -> 3 status [Checkbox] | Name | Employee ID | etc. | etc. | etc.

    What I want to do now, is once the box is checked at the parent level and all child nodes checkboxes are also selected, is on pressure of a command button, the value of my 'Status' column has changed through all the levels where the check box is checked.

    The default of my column 'State' is 'untrusted', it should be replaced by "Approved" once the Parent level checkbox is checked (which causes the child nodes also be checked) and you press a command button.

    I searched for some pointers on how to do so for some time,

    I was trying to think of a way to use the attribute of checkboxes that is a Boolean data type, there may be a way to create a method that checks if the Boolean attribute = true and where is the value of the Status column should be changed, the problem is to make it through all three levels of the table from the tree. But I can't understand it, any help would be greatly appreciated.

    Thank you

    Kind regards

    Jamie.

    Hi Jamie,

    I guess that you can apply the same idea that you used to update the Boolean attribute box of your iterator. This time you need to do is to iterate exactly same way but update the Status attribute. Have you tried to do this? So while the first course you'll hand over your boolean, check and update status accordingly.

    What keeps you from doing this?

    Concerning

  • LDAP attribute value types

    There is a class javax.naming.Attribute

    And I can put some values in there with javax.naming.Attribute.add (Object object);

    I want to ask

    These objects is perhaps only byte [] or String?

    If so it will be OK for me because then the choice standardized into two types (String and byte []) in a place I have to control the types of objects.


    I arrived at this point in the code of the method maptocontext of the Spring LDAP library


    Private Sub (input object, DirContextOperations context) {} mapToContext
    . MetaData metaData ObjectMetaData = getEntityData (entry.getClass ());

    Classes of objects are defined from the metadata obtained from the annotation @Entity
    int numOcs is metaData.getObjectClasses () .size ();.
    CaseIgnoreString [] metaDataObjectClasses is metaData.getObjectClasses () .toArray (new CaseIgnoreString [numOcs]);.

    String [] stringOcs = new String [numOcs];
    for (int ocIndex = 0; ocIndex < numOcs; ocIndex ++) {}
    stringOcs [ocIndex] is metaDataObjectClasses [ocIndex] m:System.NET.SocketAddress.ToString ();.
    }
    context.setAttributeValues (OBJECT_CLASS_ATTRIBUTE, stringOcs);

    Loop in each fields of the object to write to LDAP
    for (field: metadata) {}
    Retrieve the metadata for the current field
    AttributeMetaData attributeInfo = metaData.getAttribute (field);
    We have dealt with the object class field on and the DN is defined by the call to write the LDAP object
    If (! attributeInfo.isId () & &!) () {attributeInfo.isObjectClass (()))}
    try {}
    If it is a 'binary' object the JNDI expects a byte [] otherwise a string
    Class <>? targetClass = (attributeInfo.isBinary ())? Byte [] .class: String.class;
    Multiple values?
    If (! attributeInfo.isList ()) {}
    Only one value - get the value of the field
    Object fieldValue = (entry) field.get;
    Ignore null field values
    If (fieldValue! = null) {}
    Convert the field value to the required type and write this in the JNDI context
    context.setAttributeValue (attributeInfo.getName () m:System.NET.SocketAddress.ToString (), converterManager.convert (fieldValue,)
    attributeInfo.getSyntax (), targetClass));
    }
    } else {/ / multi-value}
    We must put in place a list of values
    < String > attributeValues list = new ArrayList < String > ();
    The list of values
    Collection <>? fieldValues can only be = field.get (entry) (Collection <>?);
    Ignore null lists
    If (fieldValues can only be! = null) {}
    for (last object o: fieldValues can only be) {}
    Ignore null values
    If (o! = null) {}
    attributeValues.add ((String) converterManager.convert (o, attributeInfo.getSyntax (),))
    targetClass));
    }
    }
    context.setAttributeValues (attributeInfo.getName () m:System.NET.SocketAddress.ToString (), attributeValues.toArray ());
    }
    }
    } catch (IllegalAccessException e) {}
    throw new InvalidEntryException (String.format ("can't set attribute %1$ s", attributeInfo.getName ()),)
    (e);
    }
    }
    }
    }

    These objects is perhaps only byte [] or String?

    Fix.

  • executeQuery tent get/set a different attribute to a blob type attribute value

    Hi all

    I use the p9172975_R12_GENERIC patch file.

    I have a customized OPS page and he is required to include a few more fields to the page, among them the paid one is to facilitate the download and upload of a file.

    To achieve this upload of file, I use messagefileUpload point of style and I am able to successfully create the folder with the file that is being stored in the blob column.

    When I try to update the record, it gives the error below

    ""oracle.jbo.domain.DataCreationException: Houston-25009: failed to create an object of type: oracle.jbo.domain.BlobDomain with value: 81".

    Here the 81 value belongs to another attribute (a column of data type number). When I checked the table, attribute values are registered in their corresponding columns.

    The error occurs when vo.executeQurey is called.

    Could you help me with this problem?

    Thank you

    K. Kumar

    Hi Johny,

    After seeing your reply, I figured that it would be incompatible index attribute in the VORowImpl.java, but could not identify any incompatibility comes from the VORowImpl.java file.

    So, I deleted the original Version and it created again, to my surprise its works very well!

    Thanks for your help.

    See you soon

    K. Kumar

  • When you change an item type only display in hidden element its value changes from any value in value null. Why?


    Dear reading

    When to change a display one item type in the hidden element its value changes from null value any value . Why?

    I would like to use the result of the query in the hidden item, as well as to display it in report footer.

    shortly the displayed element can read footer bu area hidden point cannot be viewved in the footer box. Why?

    footer

    & P11_DISPLAY_ONLY_ITEM.

    footer

    & P11_HIDDEN_ITEM.  )

    (site of apex.oracle.com Application Express 4.2.5.00.08)

    concerning

    Enformatik wrote:

    in the part of the properties point setting its source type as query retune unique value;

    but when you set its value to the calculation (before header) it works correctly.

    It is the expected behavior. The values defined in the properties of the Source element / by default are only put in the controls of the page displayed in the browser, not in session state. To refer to a session-state item value (as in a & P11_HIDDEN_ITEM. substitution of static text) then the value must be set in session state in a calculation or process that runs before the substitution reference is returned.

    Setting the value using a calculation is the right way to do it.

  • change the way dynamic link attribute value

    Is it possible to dynamically change the link of a workflow attribute value, attaching it to a configuration specific vCO (attribute) based on a drop-down menu in the presentation of the workflow?

    I'm looking for an easy way to maintain a minimal set of workflows and configurations for the provision of the ESX hosts based on the environment.  I have a unique set of workflows that manage commissioning, and multiple configurations of vCO defined by ESX hosting environment (i.e. values by default attributes/for DNS, AD, IP settings for laboratory, test, prod, site1, site2, etc..).  I would like to be able to select a hosting environment configuration given in a drop-down list when I start the workflow, which would then set some attributes of workflow to the value of their corresponding configuration attributes.

    Any ideas, or is there a better approach?

    You can check the object 'Server' script, there is a method to access the ConfigurationElementCategory and from there, you can get your ConfigurationElement.
    So, you can use the solution above, Martin and in access to script Action ConfigurationElement.

  • You cannot change the chart value axis when there are several types of graphics in a single diagram

    Illustrator can do graphics with bars and lines / columns, for example in the docs:

    http://help.adobe.com/en_US/illustrator/cs/using/images/gr_15.png

    http://help.Adobe.com/en_US/Illustrator/CS/using/WS3f28b00cc50711d9fc86fa8133b3ce158e-8000 .html

    However, when I create a chart like this, I seem to lose the ability to manually set the y-axis using 'override calculated values.

    To reproduce this problem:

    1. Create a chart as in the example, with bars and an axis on the left, lines and an axis on the right. Unlike the example, don't fix the numbers as well as the lines align perfectly - have a go until just less than 20, a up to a little less than 250, therefore it do not markers and the number of divisions on each side.
    2. Try to make the markers and numbers of divisions to the height, so in fact, the side that is going up 20 going up to 25 and has the same number of divisions on the other side.

    Everything I have tried does not work:

    • If I select the entire chart and go to the "Chart Type", I can not set the options for the value axis. In earlier versions, it's gray, in CS6 I can access, but clicking on 'OK' does nothing.
    • If I select the entire chart and chose the type of a chart, I can set options for the axis value, but that the selected chart type, and then applies the entire table.
    • If I use the direct Selection tool to select one of the series and open the "Chart Type" options, changing the options of the y-axis has no effect
    • If I use the direct Selection tool to select all series that share an axis and open the "Chart Type" options, changing the options of the y-axis always has no effect
    • If I use the direct Selection tool to select the Group of ticks axis itself, or the axis line and groups of ticks axis themselves, of axis labels, axis and graduations of the axis line, or axis labels, axis line, graduations of the axis and series of related data, etc., by changing the options of the axis also has no effect

    It seems that this feature is broken and it seems that the example in the manual has been carefully chosen to use a rare combination of numbers where it would actually look right.

    I thought about it. Like everything to do with the horrible ancient neglected graphic Illustrator tool, it is ridiculously clumsy and involves the caution around what is shamefully bad programming for a professional expensive product.

    It is timing - to do things in a sequence of rigid counterintuitive that seems not to work then meets at the end:

    1. Create the chart but, for now, keep all the same chart type. If you've already set to have different graphics types, put the same thing for now.
    2. Select the entire chart and in the main window of Chart Types, set the value to "Both sides" axis
    3. In the drop-down menu, there should be a left and right axis (or top and bottom...). Set the parameters of the value axis for these now. It will look like it does for a single axis, because it will not change the other axis - naked with her...
    4. Select the data series you want to use the other axis using group selection. Go to graph Type and the value of the y-axis to the other and set the chart type that you want. All of a sudden all be put in place.
    5. If you need to change the settings for the value axis, select the entire chart, set the whole chart type to a chart, change the appropriate value axis by choosing it from the menu drop down and the re - apply types of graph as above.

    (the bug is - it should not necessary to set the graphic object to only have only one chart of type in order to access the axis options of value for two different y-axis)

  • Change the default value of Type LOV in dependent window

    Hi all

    I want to change the default value in the Type of Contact LOV (dependent information window) of 'Contact' "External" when I run the form using the customization of the form. Can someone help me reach this goal?

    Kind regards
    Giele.

    Hello

    Please apply the following steps:

    In the status tab
    -----------------------

    Raises the event WHEN-NEW-FOLDER-Forum
    Trigger object = CON
    Condition =: SYSTEM. RECORD_STATUS = 'NEW '.
    Processing mode = not in Enter Query Mode

    In the Action tab
    -------------------

    Type = property
    Object name = Item
    Target the object = CON. USER_PERSON_TYPE
    Property = VALUE name
    Value = external

    Record. Hope it works very well.

    Ayaz

  • Startguidence - make a simple change in default values of an entity object

    Hi all!

    I want to do non-static values by default in some of the fields of an entity (ExtBankAccountsEO) object.

    I have JDeveloper on my pc, but not on the server where Oracle Financials is installed.

    So which is the best way to proceed?

    My first thought was to decompile ExtBankAccountsEO.class, add a create() method and then compile it on the server.

    But without changing ExtBankAccountsEO.java and compilation with

    javac - cp classes12.jar:classes ExtBankAccountsEOImpl.java

    I get an error of type

    ExtBankAccountsEOImpl.java:395: cannot find symbol

    symbol: class string

    location: oracle.apps.iby.schema.server.ExtBankAccountsEOImpl of the class

    public string getAttribute8()

    And similar to exception, subject, date and number.

    Am I missing something in the classpath or this is not possible?

    It comes to specific issue OA.

    Please close this thread and repost this in the space frame OA: OA Framework

    You should not change the standard evaluation office.  OA Framework gives you the flexibility of expansion.

    You can make extensions of EO/VO/AM/CO OPS.

    See the developer's Guide:

    Release of Oracle Application Framework 12.1.3 Developer's Guide (Doc ID 1107973.1)

    Release of Oracle Application Framework 12.2.4 Developer's Guide (Doc ID 1676216.1)

    See the section:

    Change the entity object default attribute values

    When you change standard files, there is a pervasive customization. He'll get scratched when a patch is applied which have this modified file.

    In rare cases, if we cannot get the specific critical functionality using customization, then we change the standard files WITH the APPROVAL of the CUSTOMER. (This is not supported by the Oracle Support)

    Also, the error message looks like SEO 'chain' rather than 'String. Check the line number ExtBankAccountsEOImpl.java:395

    See you soon

    AJ

  • Substitute label attribute values?

    Hello!

    I want to replace the default values to view label attribute and replace them with the translations that I receive a database table.

    I made custom classes TranslateViewDefImpl (overloaded function "getAttributeDefImpls"), which extends ViewDefImpl, TranslateViewObjectImpl ("getViewAttributeDefImpls" overloaded) extends from ViewObjectImpl, TranslateViewRowImpl ('createViewRowAttrHints' after this overloaded post) extends from ViewRowImpl where I try to substitute the attribute definitions.

    I used "setProperty" method on the definition of attribute to set the "AttributeHints.ATTRIBUTE_LABEL" and at first, everything seemed fine - the right of the attribute translation appeared. But the problem is when you have two or more clients with different locale by using the same page. In case of replacement methods using '(AttributeHints.ATTRIBUTE_LABEL, labelTranslation) adi.setProperty', label prepares for the right customer (a) local translation, but the problem is when another customer B with different regional settings accesses the same page. Initially, he sees the right translations, but when the first customer A refreshes the page, all attribute label translations are wrong locale (using the locale settings of client B). When client A refreshes the new page, labels are still in the local right, but when client B refreshes, it sees translations of customer locale.

    It seems that these overloaded classes are all static for the application and when a property is set, all clients use the same property, adi.getProperty (AttributeHints.ATTRIBUTE_LABEL) returns the same value for all clients using the application.

    Then I stumbled on this next post. At first, I thought I found the solution, but when I tried this approach, it did not work. This is the code:

    AttributeDefImpl at = (AttributeDefImpl) vo.getAttributeDef(0);  
    
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",   
                        "VEmployees.Id_LABEL");  
      
         at = (AttributeDefImpl) vo.getAttributeDef(1);  
         at.setProperty(AttributeDefImpl.ATTRIBUTE_LABEL +"_ResId",   
                        "VEmployees.LastName_LABEL");  
      
         ViewDefImpl viewDef = (ViewDefImpl) ((ViewObjectImpl) vo).getDef();  
         //Create custom properties bundle definition  
         PropertiesBundleDef rb = new PropertiesBundleDef(viewDef);  
         rb.setPropertiesFile("com.cs.blog.dynamicbundle.model.VEmployeesBundle");  
           
         viewDef.setResourceBundleDef(rb);  
    
    

    I can't find documentation anywhere using '_ResId' with AttributeDefImpl.ATTRIBUTE_LABEL and setting my own resource Pack (which pulls all the translations of a data source). When I use this approach, label attribute values are not changed and have their default value.

    Help, please. Is my approach far? How did did you translate see attribute labels using translations of the database?

    I use JDevelper 11.1.2.3.0

    Marko,

    All you need is:

    1. your EO to point to a ListResourceBundle class, instead of the boot of property by default, as I described above.

    2. each attribute EO have the right name for the label:

    <>

    Name = "CountryNo".

    Precision = "22".

    ColumnName = "CountryNo."

    SQLType = 'NUMBER '.

    Type = "Java.Math.BigDecimal"

    ColumnType = 'NUMBER '.

    IsPersistent = "false".

    IsUpdateable = "false" >

    <>

    ResId ="COUNTRY_NO_LABEL" / > ".

    <>

    ResId = "DefaultNumberFormatter_FMT_FORMATTER" / >

    <>

    ResId = "MASK_NUMBER_1" / >

    Here, you will need to COUNTRY_NO_LABEL either a key in your package of dynamic resource.

    As for my last comment, I'm just pointing out that if you add your labels through JDeveloper UI (thanks to the tab of the UI data), JDeveloper might try to change your class code ListResource. Is why better do it manually, I think.

    Hope this helps,

    Florin

  • Failed to retrieve attribute values when executing the validation on update

    IAM trying to do validation on user create and update operations:

    currently able to perform validations on iam create user operation
    (Note: my validations require organization name which iam get using form user act_key only)

    but when I try to trigger the same code for update, it do not recover key, infact the same code does not even get attribute values.
    given that I don't get any key of the organization. together to update validation failed.

    My EventHandler.xml looks like this:
    < eventhandlers xmlns = "http://www.oracle.com/schema/oim/platform/kernel" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.oracle.com/schema/oim/platform/kernel orchestration - handlers.xsd" >

    <!--> custom validation event handlers
    <-validation Manager
    Class = "test. IOM. EventHandler.UserFormFieldValidation ".
    entity-type = 'User '.
    operation = "CRΘER."
    name = "UserFormFieldValidation".
    order = "1000" / >

    <-validation Manager
    Class = "test. IOM. EventHandler.UserFormFieldValidation ".
    entity-type = 'User '.
    operation = 'CHANGE '.
    name = "UserFormFieldValidation".
    order = "1000" / >
    < / eventhandlers >

    Please suggest what needs to be done in this case.
    Note: iam using the same code for postings of these two operations (operation to create and update the operation of user profile)

    Thanks in advance

    as mentioned above:
    get the key of the user and then get the name of the organization.

    You can get the params modifed by using:
    HashMap orchVal = orch.getParameters ();

    You can use this to get the fields that you can still use to your validation.

    Note: If you change an attribute and do not send any value he always added to the card with the value null.

    It may be useful

  • Change the attribute to read-only by using ClientListener?

    Hello friends of the forum...

    I created a form with two INPUTTEXT and put them with read-ONLY using an EL made reference to a BEAN called GENERAL Manager

    < af:panelFormLayout binding = "#{backingBeanScope.backing_Layout2.panelFormLayout1}" id = "panelFormLayout1" > "
    < af:inputText value = "#{bindings." Modulo.inputValue}"binding =" #{backingBeanScope.backing_Layout2.inputText1} "id ="inputText1"* readOnly =" #{General.BLock} "* / >"
    < af:inputText value = "#{bindings." Proceso.inputValue}"binding =" #{backingBeanScope.backing_Layout2.inputText2} "id ="inputText2"* readOnly =" #{General.BLock} "* / >"
    * < af:clientListener type = "dblClick" method = "activate the" / > *.
    * < af:serverListener type = "activate the" method="#{backingBeanScope.backing_Layout2.activarBloque}"/ > *.
    < / af:panelFormLayout >


    ClientListener calling Javascript Fucntion:

    function Activar (event) {}
    AdfCustomEvent.queue (event.getSource (), "Activar", {operation: "Create"}, false);
    }


    ServerListener call the method to change the attribute Block of GENERAL bean and also try to update panelFormLayout...

    {} public void activarBloque (ClientEvent clientEvent)
    * General.Block = false; *
    General.Operacion = clientEvent.getParameters ().get("operacion").toString ();
    * AdfFacesContext.getCurrentInstance () .addPartialTarget (this.getPanelFormLayout1 ()); *
    }

    (the block is static attribute)

    After I do dbClick I see general.block change its value to false but inputText don't update!...


    So, how can I force it to refresh the components when actionListener is trigger?

    Hello

    I think that in this case, you must call

    AdfPage.PAGE.addPartialTargets ()

    in JavaScript

    Frank

  • change the default values of a secondary vi

    I want to initialize multiple devices connected via gpib using several secondary school (one for each device). Each type of device (temperature monitor, meter) has its own sub - VI (or better a vi model) for the configuration. The Subvi takes an address gpib only as a parameter. The vi is loaded in the secondary, the user is able to change the configuration via the controls on the front panel. Then he pulls the "init" button and the vi is executed (which writes the data to the front of the device).

    Currently, these config vi charge their default values for the file vi itself (current brand of default values). Is it possible to change this default value before running the Subvi, without losing flexibility?


  • Change the attributes of the camera with a .ini file

    Hello.

    I would change some attributes of camera through an INI file, before you run the User Interface.

    The problem is that when I view the values of the modified attributes, they are not changed: it's always the same values as in the case of camera NIMAX.

    In fact, I've logged IMAQdx with IMAQdxOpenCamera, then I loaded the Camera.ini value for the attributes of the camera, and finally, I closed the session with IMAQdxCloseCamera.

    I can't wait to see your ideas!

    Thomas1330

    Hello

    in fact, I solved the problem.

    I used the following function: IMAQdxReadAttribute (session id, ini_pathname)--> only the attributes in the .ini are changed in the file of the camera until I close my program

    Thomas1330

Maybe you are looking for