Why does not  open(fileObj,rawOpt); work properly?

Hi!
I'm trying to open a RAW file without header, so I want to say to Photoshop what dimensions I want. This is my idea:
var filename = File.openDialog("RAW");
if (filename) {
var rawOpt = new CameraRAWOpenOptions();
rawOpt.settings = CameraRAWSettingsType.CAMERA;
var fileObj = new File(filename);
rawOpt.bitsPerChannel = BitsPerChannelType.EIGHT;
rawOpt.width=30;
rawOpt.height=1000;
rawOpt.channelNumber=3;
docRef = open(fileObj,rawOpt);
But my Photoshop CS2 fails telling me that docRef = open(fileObj,rawOpt); is not implented.
However, if I use open(fileObj) it works, but it shows me a dialog to insert dimensions and I don't like that.
Any idea/suggestion?
Thanks a lot for your time.
BTW. I inserted this question in the wrong forum before, so now I put it here. Sorry for any inconvenience.

Thank you for your reply.
The "does not work" means that the motor doesn't move with servo type.
In MAX, there is no error when a target position is less than 999 in 1-D Interactive, but doesn't move. When the target position is more than 1000 and I click "Apply" and "Start", error ramps of "Motor off" and "Following error occurred" are red. And the motor doesn't move.
I thought that firstly signals of encorder have been wrong because the motor have not moved with stepper mode of closed-loop and feedback of encorder.
So I would connect correctly wiring of encorders, but the motor doesn't move.
Wiring of all is "STEP", "DIR", "AO", "ENC A, B and Index bar" respectively. In MAX, type is servo mode, feedback is encorder, kinds of limit switch are not used.
I supply it if you need the other setup of wiring or information.
Regards,
Megumi

Similar Messages

  • Madison Square Garden web site opens but when I click on view all concerts tab at the MSG site it does not open. It works with AOL but not Firefox

    I go to '''www.thegarden.com''' I click on the tab '''View Full Calendar'''. It does not open. It works on AOL but not Firefox. And for some reason it also does not work when I use Internet Explorer. The majority of times when I click on that tab (in Firefox) it does not work. On a rare occasion it will open. I am not doing anything differently either time.
    Any help would be greatly appreciated.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Why does my n81 doesn't work properly in Vodafone ...

    Why does my n81 doesn't work properly in Vodafone Live?? I can't download....etc

    Hi,
    I'm sorry to hear that you're having problems downloading from Vodafone Live.
    If you're able to access the pages of Vodafone Live then the settings in your handset are correct else you wouldn't get that far.
    It's possible that there's a problem with your account that’s restricting you from downloading which will need to be looked into. Rather then transferring your account details on the forum would it be possible for you to contact me via email by completing Vodafone Online Contact Forum following the link below.
    https://online.vodafone.co.uk/dispatch/Portal/appmanager/vodafone/wrp?_nfpb=true&_pageLabel=Page_Hel...
    Please fill in all the fields and include the code FIT135 to ensure that the email is directed to the forum Team.
    As soon as we receive your email we can look into this further for you.
    I look forward to hearing from you.
    Techgirl
    Vodafone UK

  • Why does not my servo motor work?

    Hello all,
    I can work my servo motors, so I have two questions.
    Firstly, I'm using PXI-7340 & UMI 7764 to control AC motor on servo motor (TAMAGAWA SEIKI co.),
    But in MAX, motor doesn't work with servo type.And there is no signal between AnalogOutput and AnalogOutputGround.
    Can I connect UMI to the motor correctly?
    Now, I connect encorder signals with changing differential line driver (motor driver) to TTL (UMI) using quadruple differential line receiver.
    Is it right?
    If it is right, why does the motor work?
    Secondarily, when I use stepper type in MAX, the motor work with open-loop. But when I use stepper type in MAX, the motor doesn't work with cloosed-loop.Why?
    Polarities of encorders(A, B, Index) make matches my servo motors by setting in MAX.
    Why?
    Thanks,
    megumi
    Attachments:
    TAMAGAWA SEIKI motor&driver.pdf ‏3063 KB

    Thank you for your reply.
    The "does not work" means that the motor doesn't move with servo type.
    In MAX, there is no error when a target position is less than 999 in 1-D Interactive, but doesn't move. When the target position is more than 1000 and I click "Apply" and "Start", error ramps of "Motor off" and "Following error occurred" are red. And the motor doesn't move.
    I thought that firstly signals of encorder have been wrong because the motor have not moved with stepper mode of closed-loop and feedback of encorder.
    So I would connect correctly wiring of encorders, but the motor doesn't move.
    Wiring of all is "STEP", "DIR", "AO", "ENC A, B and Index bar" respectively. In MAX, type is servo mode, feedback is encorder, kinds of limit switch are not used.
    I supply it if you need the other setup of wiring or information.
    Regards,
    Megumi

  • Why does not USB flash card work?

    MacBook Pro 13' (late 2011)
    OS X Yosemite 10.10
    My USB hub does not see any flash card, but it works when I use my iPhone.
    What have I done: I tried to open my flash card. Then, I cleaned my flash card with Disk Utility and tried to connect to Mac again. I also tried to use different flash cards. But there was no effect.

    Thank you for your reply.
    The "does not work" means that the motor doesn't move with servo type.
    In MAX, there is no error when a target position is less than 999 in 1-D Interactive, but doesn't move. When the target position is more than 1000 and I click "Apply" and "Start", error ramps of "Motor off" and "Following error occurred" are red. And the motor doesn't move.
    I thought that firstly signals of encorder have been wrong because the motor have not moved with stepper mode of closed-loop and feedback of encorder.
    So I would connect correctly wiring of encorders, but the motor doesn't move.
    Wiring of all is "STEP", "DIR", "AO", "ENC A, B and Index bar" respectively. In MAX, type is servo mode, feedback is encorder, kinds of limit switch are not used.
    I supply it if you need the other setup of wiring or information.
    Regards,
    Megumi

  • Why does not my iPhone 5S work on LTE of Plus GSM network in Poland although my model supports LTE Band 3?

    am My iPhone 5S does not support LTE of the Plus GSM network in Poland? It works in Band 3 and my model supports that band but it is not possible to use LTE although it works on my other Android phone. The network operator suggested contacting Apple.

    Thank yo Tim, but actually I beg to disagree with you about that I chose to use the wrong carrier. But I have not given all details of the story:
    When I was buying the iPhone at an Apple store in the US I explicitly asked whether LTE would work on my network in Poland,which uses LTE Band 3. She was very nice and checked something in the specifications and said that the model I would buy supports this band so that everything would be fine.
    Unfortunately back in the country it turns out it does not work not and I expect Apple to take a stand on that. I have already filed a complaint on Apple helpline. I hope they will solve the problem...

  • HT1665 Why does my ihome no longer work properly since my iPod update

    My ihome no longer works properly since I updated my iPod to the most current software update. Is there a fix?

    Sometimes thisworks:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    However,sometimes an iOS update breaks compatibility and you have to wait for either an iOS update or and update to the iHome firmware. Go to iHome's support site

  • Why does not my Pages app work?

    I have got a problem with Pages. Since I have been using the IWork for many years,  I am aware how to do it. Now I updated the apps and I can not open it when I turn on the ICloud. There is no problem with Keynote and numbers. Only the Pages.
    When I try to open it, disappears.
    Thanks

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • Why does not my hdmi kabel work from my iMac to my receiver?

    I have bought a new HDMI kabel, the last one worked fine. But i needed a longer one this time. And now I dont get picture nor sound on my TV??? Help!

    Apparently an HDMI cable over 50 feet in length will begin to suffer signal degradation.  Does this apply in your case?
    Hope this helps

  • AME rules does not seem to be working properly

    Hi ,
    Product : EBS --11.5.10.2 AME B rollup 2 .
    In AME B Transaction type -Purchase Requisition Approval.
    I created custom attribute :Line Item : Calc_reqline_total :
    Calculate requisition line total group by category segment1 and attribute7 as below
    select suma from
    select sum(prl.unit_price * prl.quantity) suma,prl.attribute7 attr,mck.segment1 cat1
    from mtl_categories_b_kfv mck,
    po_requisition_lines_all prl ,
    po_req_distributions_all prd
    where mck.category_id = prl.category_id and
    prl.requisition_header_id = po_ame_setup_pvt.get_new_req_header_id(:transactionId)
    and prl.requisition_line_id = prd.requisition_line_id
    group by prl.attribute7,mck.segment1
    po_requisition_lines_all prl1,
    mtl_categories_b_kfv mck1
    where prl1.requisition_header_id =po_ame_setup_pvt.get_new_req_header_id(:transactionId)
    and prl1.attribute7 = attr
    and mck1.category_id = prl1.category_id
    and mck1.segment1 = cat1
    order by prl1.requisition_line_id
    No I defined condition : Category Segment1 in "Med Supplies"
    Category Segment1 in " Furniture"
    30,000=<Requisition total =<50,000
    30,000=<Calc_reqline_total =<50,000
    1000 =<Calc_reqline_total=<5,000
    1000 =<Requisition total =<5,000
    Approval Group : Approver 1 --
    Approver 2.
    Created Rules :
    List Creation : Rule 1 for Header: Requsition_total >30K and has Line item : Med supplies as segment1 and has Line Item : Calc_reqline_total> 30K --Add approver 1
    List creation : Rule 2 for header :requisition >1K and has Line Item "Furniture" as segment1 of cat and has Line Item :calc_reqline_total > 1K--Add approver 2
    When I create a requisition with multiple line
    3 Lines have Category segment1 as Med Supplies-- Sum of all the line amounts for these lines 32,400
    2 Lines have category segment1 as Furniture --sum of all the line amounts for these lines is 600 which is less then 1K limit .
    and Requisition total is 33K
    When i see the final result -- Approver 1, Approver 2 are getting added to the list .
    I can see the Calc_reqline_total populated properly against each line ...but when the rules are getting applied I feel its not considering this value ..
    Actually speaking if the line amount grouped total is > 30K and Med Supplies is the line amount then it should add approver 1
    But it is looking at Furniture also and even thogh the line grouped total is < 1K it some how is adding the approver 2 .
    How shuld i Define the rule so that I get only Approver 1 when my custom attribute as in query at line level should be considered for Approver addition .
    Please let me know if you wanted any clarification so that I can send sceen shots to your email if you could help.
    --Chandra
    Edited by: user615883 on Jun 17, 2009 11:35 AM

    I figured out a way to do this ....do all the custom related checks in the approval code rather than in conditions ...to keep it simple.

  • Why does not drag and drop work?!

    Hello,
    I am trying to implent a drag and drop from a table to an icon representing a trash.
    The drop handler fails in converting the selected rows to a list:
    com.sun.el.MethodExpressionImpl@87d9c00d javax.el.ELException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
    Could you help me to understand why? Below are the details.
    This is the af:table:
    <af:table var="row" rowBandingInterval="0" id="t1"
    value="#{bindings.MyView1.collectionModel}"
    rowSelection="multiple"
    columnStretching="last"
    horizontalGridVisible="false"
    verticalGridVisible="false" fetchSize="-1"
    autoHeightRows="6" width="190"
    disableColumnReordering="true">
    <af:column sortable="true" headerText="Entry" id="c1"
    align="start">
    <af:outputText value="#{row.Description}" id="ot1"/>
    </af:column>
    <af:dragSource actions="MOVE" defaultAction="MOVE"
    discriminant="delete"/>
    </af:table>
    This is the drop area:
    <af:image source="Images/empty_trash_32.png" id="i2">
    <af:dropTarget dropListener="#{backingBeanScope.DropHandlerBean.dropHandler}"
    actions="MOVE">
    <af:dataFlavor flavorClass="org.apache.myfaces.trinidad.model.RowKeySet"
    discriminant="delete"/>
    </af:dropTarget>
    </af:image>
    This is the failing listener listener (the failing point is bold):
    public DnDAction dropHandler(DropEvent dropEvent) {
    DnDAction dnda = DnDAction.NONE;
    if (dropEvent.getProposedAction() == DnDAction.MOVE) { // delete
    RichTable table = (RichTable)dropEvent.getDragComponent();
    //determine the rows that are dragged over
    Transferable t = dropEvent.getTransferable();
    //when looking for data, use the same discriminator as defined
    //on the drag source
    DataFlavor<RowKeySet> df =
    DataFlavor.getDataFlavor(RowKeySet.class, "delete");
    RowKeySet rks = t.getData(df);
    if (rks == null) {
    return DnDAction.NONE;
    Iterator iter = rks.iterator();
    while (iter.hasNext()) {
    //get next selected row key
    System.out.println(rks.toArray().length); // the number of selected rows is ok
    List key = (List)iter.next(); // here gives: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List
    //make row current so we can access it
    table.setRowKey(key);
    //the table model represents its row by the ADF binding class,
    //which is JUCtrlHierNodeBinding
    JUCtrlHierNodeBinding rowBinding =
    (JUCtrlHierNodeBinding)table.getRowData();
    Row row = (Row)rowBinding.getRow();
    //delete row;
    row.remove();
    //activate animation
    dnda = DnDAction.MOVE;
    return dnda;
    thanks.

    I did try, I obtained this:
    java.lang.NullPointerException
    Why NullPointerException?
    I don't know if this helps, but consider that the collection model comes from a ViewObject built on three EOs with many fields, although the table only shows one column.
    This is the Iterator in my pageDef:
    <table IterBinding="MyView1Iterator" id="MyView1">
    <AttrNames>
    <Item Value="Cod1"/>
    <Item Value="Cod2"/>
    <Item Value="Cod3"/>
    <Item Value="Cod4"/>
    <Item Value="Description"/>
    <Item Value="Cod5"/>
    </AttrNames>
    </table>
    Any idea?
    I will see the Key content with the debugger.

  • CD drive does not appear to be working properly

    I loaded a CD to install some software and the drive never gets up to speed. The disk is also not displayed on the screen. All preferences seem to be set correctly.

    Same problem here, I'm guessing there is a bad batch of drives. Had this Mac since Jan. '07, no problems since then. I'm calling Apple as soon as I have freetime (and an hour, lol).
    I suggest you do the same if you r under the one year warranty, or Apple Care.

  • Why does not photo e-mail work in Photoshop elements 12 and Windows 8.1?

    I've tried to send photo e-mail with my new computer. We have used this function for many years with Elements 5 and Windows XP,

    More info: First time I got a message to confirm my e.mail address returning an answere and a code, The problem is that I've got no e-mail. I have tried both my two e-post programs, Thunderbird and Outlook (within Windows8) and I hav tried them both to bi 'Standard program'.

  • CS5: double-click on file does not open the file

    If Photoshop is closed, double-click on a file will always successfully launch Photoshop and open the picture.
    If Photoshop is running, double-clicking on a file will activate Photoshop, but very often the file does not open. It works from time to time though, and that seems to be on a random basis.
    Opening a file through the Open command will always work.
    I am working with 10.6.3 on a loaded Mac Pro.
    Did anybody experience this difficulty? Any help would be appreciated, before I take more drastic measures like reinstalling the software of worse than that. I've already done the usual maintenance operations.

    Marian Driscoll wrote:
    Caustic waltz, while brief, may have hit the nail on the head. If you do not want to continue this thread, you can search the forum for existing posts about Snow Leopard and file-program association confusion. Snow Leopard changed some things and that might be your issue.
    More simply, do your image files have extensions? (.PSD, .JPG, etc...)
    Hello Marian:
    While browsing through my Adobe account, I saw that you took the time to leave a comment two days ago. While it did not solve my problem, I will mark your comment as "helpful" for several reasons. It could have been a cause. And I will add politeness, courtesy and language precision. I'm an old guy and I quite value those elements.
    True, Snow Leopard changed changed the way files are associated to applications. Thank God! Here in our small office, we do a lot of cross-platform transfers and finally it works seamlessly. A good description of the new file identification system can be found here.
    Now, here are the reasons why Snow Leopard cannot be put at fault in my case:
    • If Photoshop CS5 is not launched, double-clicking on any psd, tiff or jpeg file will launch it and open properly.
    • If Photoshop CS5 is already running, double-clicking on any psd, tiff, or jpeg file will activate Photoshop CS5 but will not open.
    This points at either a bug or damaged Photoshop CS5, or maybe a damaged OS. Don't forget that out of maybe a hundred apps, this is the first time I meet with that problem. Of course, the easier course, but by no means guaranteed to work, is to presume that Photoshop CS5 is damaged or that its installation did not work properly. So I did the following things:
    • I deactivated Photoshop CS5 and uninstalled it.
    • I ditched all remaining files related to CS5, CS4, CS3, CS2, CS... yes I know, but then you know as well as I do0 that getting really rid of Photoshop is a daunting task. It took me almost two hours, but I am reasonably sure that the cleaning job was complete.
    • I reinstalled Photoshop CS5.
    Now everything works just fine at least for the time being. Time will tell, of course, but I think that the problem is solved.
    Regards

  • My operating system does not seem to be working

    My operating system does not seem to be working properly.  The system preferences cannot be accessed and itunes won't work either.
    My mac is OS X Version 10.4.11 so is quite old.

    Hello,
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Let us know if that helps or not, or any other problems.

Maybe you are looking for