Vector SmartObjects: using as vector layer mask

Hello,
I have pasted a vector graphic from AI CS3 to PSP CS3 as SmartObject. Is it possible to use this vector graphic (without rasterizing) as the vector layer mask? If so, how to do this?

I don't think this is possible. You will have to copy&paste the outline path once more and then assign it as a mask.
Mylenium

Similar Messages

  • 3D Repoussé Could not complete the Layer Mask command

    Hello,
    I was studying this tutorial: http://www.netmagazine.com/tutorials/create-3d-gamepad-icon-photoshop-and-illustrator
    The first time I did it, I reached the result with no problem. But now, a little while later, when I tried to use:
    3D > Repoussé > Layer Mask (Step 5 - Tutorial)
    The following error message was delivered (image attached):
    Adobe Photoshop CS5.1 Extended
    (X) Could not complete the Layer Mask command . The selected path cannot be converted to Repoussé. It does not contain any closed sub-paths or has an unusable subpath.
    Does anyone had an idea of what is happening? Or how to solve it?
    Warm Regards,

    Hi,
    Thanks for pointing out that tutorial.
    I haven't walked thru it, but what the error is meant to tell you in this case is the path constructed in AI is an open path. Repoussé requires a closed path to generate meshes. Try going back to AI and making sure the mirrored path file is closed before copying into Ps. Or you can try to modify the path in Ps using the vector tools to make it closed.
    regards,
    steve

  • Why doesn't Photoshop always generate a layer mask

    I believe it was in CS4 that Adobe expanded the use of automatic layer masks ... perhaps it was with adjustment layers (I'm not quite sure)
    I don't know about others, but it would save me considerable time in the long run if every new layer, (whether it is generated as a copy, from a plug-in, as a cut, or as a new blank layer) recevied an automatic layer mask. It takes no file space, but more often than not I find myself needing one. It sure would be nice to jump right into masking rather than having to first create the layer mask. Why did they stop at adjustment layers?
    Am I alone in this?
    thanks

    Adding layers like Text, Raster and smart objects never have had automatic layers mask added.  Adding adjustment layers always came with an automatic layer mask until CS4.  Adode introduced bugs in CS4 when they added the adjustment panel these bugs have been carried forward into CS5 and CS6. Adobe added two options in the adjustment panels fly-out panel.  These options are designed to be global, not just adjustment panel options.  These options only work sometimes when changed from their default settings.  When changed from their default settings they try to change Photoshop historic default operation.  When you change Photoshop default operation Action, Scripts and Plug-ins that add adjustment layers may not work correctly.  Adobe should fix Photoshop and remove the two bad Adjustment Panel fly-out options. The Adjustment Panel fly-out menu option to not add Layer masks can not be safely set, same goes for the option to always clip added layer mask, if you use Actions, Scripts and Plug-ins that add adjustment layers.

  • Bug report: [layer mask] editing colors

    Sometimes it appears that the white/black color combination that is automatically selected in layer mask editing may override the selected color combination outside of layer mask editing.
    Example:
    1) Open Photoshop.
    2) Select two colors: white/white.
    3) Create two blank documents, each with an empty Layer 1.
    4) In one document, add a layer mask to Layer 1. The colors should have been automatically switched to black/white as the layer mask is selected.
    5) In this document, use the gradient tool to fill the layer mask with black/white.
    6) Switch to the other document, and notice that the color selection is again white/white.
    7) In this other document, use the gradient tool to fill Layer 1. Notice that the layer is filled with black/white instead of white/white as selected.
    Tested on: PS CS6, Windows 7, 64-bit.

    On further testing I think the issue may not be directly related to layer masks at all.
    Basically the issue is that the Gradient tool colors don't update to the 'default foreground/background colors' in cases where it seems that they should.
    One example of such a case (as illustrated in the original post) is when the Gradient tool keeps the black/white color combo used for a layer mask in a previous document after switching to the current document where a non-masked layer is targeted and the default fg/bg colors have correctly reverted to white/white.
    Example:
    layer mask targeted in doc1 - notice synchronised Gradient and default fg/bg colors
    after switching to non-masked layer in doc2, Gradient is still black/white although default fg/bg colors have reverted appropriately to white/white
    Bug or not, it's something I wanted to point out as it seems inconsistent.

  • Can you designate an image as a layer mask?

    I've been wondering if this is possible for a long time -- say I have an awesome grayscale image that I want to use as a layer mask for another layer. Is there a way to make that happen?

    Copy your image to the clipboard (i.e. Select All>Copy)
    Then Alt or Option click on the layer mask and Edit>Paste

  • Layer Mask and Vector Mask on the same layer

    Hello guys,
    maybe this is a stupid question, but i am having trouble understanding this one...
    If you make a selection on a layer and click the mask button, you create a mask...
    But if you hit the mask button one more time, Photoshop puts a vector mask on that layer,
    right beside the layer mask.
    To be honest I haven't been able to do much with that vector mask, i experimented with it, but i just
    can't figure out, how it interacts with the layer mask next to it (if it interacts that is).
    Can someone help me understand please?
    What's the usability of having a vector mask next to a layer mask on the same layer?
    An explanation with a paradigm would be nice!
    Thanks in advance.

    Hi,
    They both will mask the image. One will be pixel based, the other editable vector. Here is and example of round soft mask on Mona combined with a hard edged vector mask (on top of a still life by Frida!)
    How you can use this is up to you.

  • Is it possible to use a vector filter mask for smart filters?

    Hello
    I have a very specific question. With smart objects, you can use smart filters and you can use a smart filter mask to define the filter effect area. Now, the filter mask is like a regular layer mask, in that its effectively a raster image. I'm wondering if it's possible to use a vector filter mask as well? I haven't yet found an option to do so. Any help would be greatly appreciated.
    I'm using Photoshop CS5.
    Thank you
    R. Kroll

    I'm wondering if it's possible to use a vector filter mask as well?
    Not to the best of my knowledge.
    A possible workaround (depending on the SO) might be to duplicate it, apply the Filter and apply the Vector Mask to the SO itself.

  • Can anybody say why In the layer menu the background color is white when opening a layer mask, and why does it automatically turns black by simply opening the layer mask properties menu? The vector mask is white anyway.

    Can anybody say why In the layer menu, the background color is white when opening a layer mask, and why does it automatically turns black by simply opening the layer mask properties menu? The vector mask is white anyway.

    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.
    A lot more information about your hardware and software is needed.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    a screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Using a vector graphic for a button

    Adobe Photoshop, Illustrator, and Encore CS5, everything is patched, Windows 7 64-bit
    I have been reading various posts, and either not seeing or not understanding something about using a vector graphic as a button on a menu.
    I drew a one-color shape in Illustrator, saved it as EPS and PNG and used it in a menu designed in Photoshop. When I preview it in Encore or burn a DVD, the graphic looks awful. And I'd like to use highlighting with it so it changes color when selected but that is another problem....
    To start the menu, I used the Photoshop preset NTSC DV Widescreen which has a pixel aspect ratio of 1.21. Then I added background graphics and so on. Each button is contained in a layer group named (+)PlayAll, etc. In each layer group is a text layer that doesn't have a prefix (e.g., Play All) and another layer with the vector or PNG named (=1)kv, which is the name of the EPS or PNG file.
    The behavior is fine. The graphic moves to indicate which menu item is selected, the text is constant, never changes.
    In Photoshop, the graphic looks fine but when I preview it in Encore it looks crappy and pixelated. What do I do?

    Part of the problem is I have no idea what some of these terms mean ... "2-bit indexed", ... The first one might mean an object that has one color,
    It is not the same as one color, and yes, it probably means more than any of us intend.  See  Encore help regarding button subpictures, in particular the part regarding using Photoshop to create button subpictures.
    The latter includes "(Technically, the subpicture overlay is a two‑bit indexed image.)," but you don't need to understand the technical meaning (they don't explain it anyway).  You do need to understand the liimitations they explain there,  For example, under "solid colors only," they say "Elements on these layers must use solid colors and sharp edges. Use one solid color per layer. Do not use gradients, feathering, or anti-aliasing on the subpicture layers. Color gradations are not possible in subpictures."
    "sub-picture highlight" ... the second one is probably made up.
    Heh, heh.  Searching that in Encore help (which I often find lacking) finds the page on Button Subpictures.  I agree that some of the terms, whether they are from the DVD specs or Sonic's applications (on which Encore is based), can make it difficult to look things up.
    "vector layer".... I searched Photoshop help for "vector layer" and got nothing. There is such a thing as a vector mask on a layer but I have no clue what a vector layer is.
    You're correct - vector mask.  Within a button group, the vector mask will be part of a layer, so I think of it as the button group "vector mask" layer.  That's part of why I pointed to using a library menu and editing in photoshop so you could compare what you have to what a template looks like.
    Please suggest which Encore library menu I can try. I opened a couple and couldn't figure out how they worked.
    In the General set, pick the Sunset menu.  Edit in Photoshop.  Expand the "(+) play movie" layer.  The "button vector mask" (the dark area) is in the layer called "button."  Notice that it does not have a (=1) or other indicator that it is a highlight.  In other words, it will just sit there, in whatever color is defined, and will not be a highlight.  If you put it in a layer that has one of the highlight indicators (the =1, =2 etc), it will then be subject to the subpicture highlight limitations.
    You might try your graphic in such a non-subpicture layer, and compare its appearance to putting it in a subpicture layer.
    Jeff Bellune's book (he's a moderator here) is still very applicable.  While some things have change, the basics haven't.
    But, hey, Jeff.  Why haven't you updated your book yet?  Inquiring minds want to know!

  • Get vector points out of shape layer

    Hi,
    I need to write a script which (also) saves the vector paths given as/in shape layers (Photoshop).
    What the script should provide is:
    1. Loop over all Layers
    2. Look if there is a boundary shape layer within that (main) layer with the name "mask"
    3. If so, not only save the content of this main layer (within its given rectangular bounds) as an png, but...
    4. also so save the anchor points (may not be bezier, only path of strait line segments) of the shape within the sibling shape layer "mask"
    (optional:
    also:
    5. look at a text layer "config", make it invisible before image export of the main layer (in which it is layered)
    6. save the text from this text layer in a separate text file (corresponding to the save png file)
    Many thanks for any help.
    Kind regards
    Joe

    I had made some mistakes in the Script – more than one »Bitmap X« layers in the LayerSet would have been ignored and if the order of the »Bounding Shape« and »Image« LayerSets were switched it would result in erroneous output …
    Hopefully this version is more thorough:
    // saves clipped pngs of certain layers and the vector path info of certain other layers;
    // bitmap layers have to be named »Bitmap« + number, and reside in »Image« in »Object« + number;
    // vector layers have to be named »Form« + number, and reside in »Bounding Shape« in »Object« + number;
    // 2011, use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    var originalRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.POINTS;
    // thanks to xbytor;
    var docName = myDocument.name;
    if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
    else {var basename = docName};
    try {var docPath = myDocument.path}
    catch (e) {var docPath = "~/Desktop"};
    // png options;
    var webOptions = new ExportOptionsSaveForWeb();
    webOptions.format = SaveDocumentType.PNG;
    webOptions.PNG8 = false;
    webOptions.transparency = true;
    webOptions.includeProfile = false;
    webOptions.optimized = true;
    // duplicate image;
    var theCopy = myDocument.duplicate ("copy", false);
    // get the layers;
    var theLayers = collectSpecialLayersB(theCopy);
    // create array for bounds;
    var theBoundsArray = new Array;
    // process the layers;
    for (var m = 0; m < theLayers.length; m++) {
         var theArray = theLayers[m];
    // process the bitmap layers;
         for (var n = 0; n < theArray[1].length; n++) {
              var theLayerSet = theArray[0];
              var theBitmapLayer = theArray[1][n];
              var theNumber = theBitmapLayer.name.slice(7, theBitmapLayer.name.length);
              theBoundsArray.push([theBitmapLayer.name, theBitmapLayer.bounds]);
              theBitmapLayer.visible = true;
              var theParent = theBitmapLayer.parent;
              while (theParent != theCopy) {
                   theParent.visible = true;
                   theParent = theParent.parent
              theCopy.activeLayer = theBitmapLayer;
              hideOtherLayers();
              theCopy.trim();
    // save png;
              var theFile = new File(docPath+"/"+basename+"_"+theLayerSet.name+"_"+theBitmapLayer.name+".png");
              theCopy.exportDocument(theFile, ExportType.SAVEFORWEB, webOptions);
    // check for a form-layer with the corresponding number;
              for (var p = 0; p < theArray[2].length; p++) {
                   try {
                        var pathLayer = theArray[2][p];
                        var thisNumber = pathLayer.name.slice(5, pathLayer.name.length);
                        if (Number(theNumber) == Number(thisNumber)) {
    // get the path info;
                             theCopy.activeLayer = pathLayer;
                             var thePath = theCopy.pathItems[theCopy.pathItems.length - 1];
                             var thePathArray = collectPathInfo (theCopy, thePath);
    // save path-info;
                             writePref(thePathArray, docPath+"/"+basename+"_"+theLayerSet.name.replace(" ", "-")+"_"+pathLayer.name+"_path.txt");
                   catch (e) {};
              theCopy.activeHistoryState = theCopy.historyStates[0];
    alert (theBoundsArray.join("\n\n"));
    // close the opy;
    theCopy.close(SaveOptions.DONOTSAVECHANGES);
    app.preferences.rulerUnits = originalRulerUnits;
    ////// function to collect path-info as text //////
    function collectPathInfo (myDocument, thePath) {
    var originalRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.POINTS;
    var theArray = [];
    for (var b = 0; b < thePath.subPathItems.length; b++) {
         theArray[b] = [];
         for (var c = 0; c < thePath.subPathItems[b].pathPoints.length; c++) {
              var pointsNumber = thePath.subPathItems[b].pathPoints.length;
              var theAnchor = thePath.subPathItems[b].pathPoints[c].anchor;
    //          var theLeft = thePath.subPathItems[b].pathPoints[c].leftDirection;
    //          var theRight = thePath.subPathItems[b].pathPoints[c].rightDirection;
    //          var theKind = thePath.subPathItems[b].pathPoints[c].kind;
    //          theArray[b][c] = [theAnchor, theLeft, theRight, theKind];
              theArray[b][c] = [theAnchor];
    //     var theClose = thePath.subPathItems[b].closed;
    //     theArray = theArray.concat(String(theClose))
    app.preferences.rulerUnits = originalRulerUnits;
    return theArray
    ////// function to write a preference-file storing a text //////
    function writePref (theText, thePath) {
      try {
        var thePrefFile = new File(thePath);
        thePrefFile.open("w");
        for (var m = 0; m < theText.length; m ++) {
          thePrefFile.write(theText[m])
        thePrefFile.close()
      catch (e) {};
    ////// hide other layers //////
    function hideOtherLayers () {
    // =======================================================
    var idShw = charIDToTypeID( "Shw " );
        var desc2 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var list1 = new ActionList();
                var ref1 = new ActionReference();
                var idLyr = charIDToTypeID( "Lyr " );
                var idOrdn = charIDToTypeID( "Ordn" );
                var idTrgt = charIDToTypeID( "Trgt" );
                ref1.putEnumerated( idLyr, idOrdn, idTrgt );
            list1.putReference( ref1 );
        desc2.putList( idnull, list1 );
        var idTglO = charIDToTypeID( "TglO" );
        desc2.putBoolean( idTglO, true );
    executeAction( idShw, desc2, DialogModes.NO );
    ////// function to collect special layers //////
    function collectSpecialLayersB (theParent, allLayers) {
         if (!allLayers) {var allLayers = new Array};
         for (var m = theParent.layers.length - 1; m >= 0;m--) {
              var theLayer = theParent.layers[m];
    // apply the function to layersets;
              if (theLayer.typename == "ArtLayer") {
    // get the bitmap-layers;
                   if (theLayer.name.match(new RegExp('^bitmap '+'[0-9]{1,3}','i')) && theLayer.parent.name == "Image"  && theLayer.parent.parent.name.match(new RegExp('^object '+'[0-9]{1,3}','i'))) {
                        allLayers[allLayers.length - 1][1].push(theLayer);
    // get the form-layers;
                   if (theLayer.name.match(new RegExp('^form '+'[0-9]{1,3}','i')) && theLayer.parent.name == "Bounding Shape" && theLayer.parent.parent.name.match(new RegExp('^object '+'[0-9]{1,3}','i'))) {
                        allLayers[allLayers.length - 1][2].push(theLayer);
    // process layersets;
              else {
                   if (theLayer.name.match(new RegExp('^object '+'[0-9]{1,3}','i'))) {
                        allLayers.push([theLayer, [], []]);
                   allLayers = collectSpecialLayersB(theLayer, allLayers)
         return allLayers

  • How do I edit individual vector graphics on a background layer?

    I am using Photoshop CS6.  I have a .psd file with a background layer that has a sublayer called "bitmap". 
    I want to resize the rectangles on the background layer, and add additional "button" graphics, but am unable to edit any one shape.

    I was a bit confused as there were vector masks and layer masks that I was able to reveal from the Layer menu.

  • Recommended tutorials for using paths/vector art in Photoshop?

    Hi all!
    Can you recommend any good tutorials for using paths/vector art in Photoshop?
    Honestly, I've had a good look for even one - without much success.
    I Have lots of experience with paths/vector art in Illustrator, Fireworks and InDesign but I believe you really can do great things with them in Photoshop now for illustration work.
    i'm just baffled by it. I can fill and stroke and edit a vector shape in PS - but if I custom DRAW a vector path or shape, things get confusing!
    Hoping someone can point me in a helpful direction
    John

    John,
    I wouldn't claim to know everything there is to know, but I'm reasonably certain it hasn't changed.
    Are the 'shapes' just vector masks with a raster element inside?
    Yes. That's an accurate enough description.
    And if you apply a colour to a path that you've drawn - does it rasterise?
    It doesn't have to rasterize. If you see color, it's pixels.
    I was definitely of the impression that a lot more could be done in PS these days that might formerly have been done in ILLUSTRATOR.
    The shape/path tools in Photoshop have been enhanced and improved in recent years, but the product of their use still differs from Illustrator's true vector output.

  • How to create spark skins using fxg vector graphics&how to switch b/w spark skins at runtime/via XML

    Hi,
    I want to create a number of Spark Skins using some vector images that I have with me. I can obtain the vector images in FXG format-- but what I am looking for is some way to quickly create multiple skins for various UI elements like buttons, menus, radio button, checkboxes, etc -- not by converting the fxg->mxml but by using fxg files directly (after including them in the skins project in Flash Builder 4.6). Since I want to create many such skins (atleast 8-10) what is the fastest way of accomplishing this?
    Also, once I create multiple Spark Skins, how do I switch from one skin to another, in a running app? -- something like a template switcher, where the user viewing the flex app chooses a color, and the spark skin is immediately changed to the skin of that color (I would have already created the skin...). And can I store this skin template value in an XML? So that the end user can simply change this param in XML to change the design of the flex app?
    Arvind.

    Follow-up:
    Out of pure wishful thinking I decided I would just see what happened if I pretended 'exportFXG' was already a part of JSFL. Based on the signature of 'exportPNG', i tried the following lines:
      var success = fl.getDocumentDOM().exportFXG("file:///C:/mySymbol.fxg"); 
      fl.trace("success:"+success); // output: success:true 
    It worked! Fantastic! I'm not sure if exportFXG is considered still in "beta" and therefore intentionally excluded from the docs, or if it was just an oversight. But at least it gives us something to experiment with.

  • Use of Vector in undo operation ?

    Hello,
    I am developing simple paint program. And want to use undo redo operation for drawing in drawing canvas. Actually I have done it with the help of Vector. But the problem is that it is not working properly. The first drawn shape is not removing with this operation and also the problem is that When i am using CTRL+Z for undoing last drawing. It is not removing last drawn shape with first undo operation. Let me know that what is the exact problem in my coding. I am not fully java programmer. So please tell me what to do for that. I want to draw n level of drawing on drawing canvas and also want to perform n level (first drawn shape) undo actions. And also want to know how to make redo button for same coding only use of Vector or ArrayList.
    My code is here:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    import java.util.*;
    public class PaintUndo extends JFrame
         Display pan = new Display();
    public PaintUndo()
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);}});
         getContentPane().add("Center",pan);
           setBounds(1,1,600,400);
         JMenuBar  menu = new JMenuBar();;
         JMenu     submenu;
         JMenuItem item, redo;
         submenu = new JMenu("Edit");     
         item = new JMenuItem("UnDo");
        item.setMnemonic(KeyEvent.VK_Z);
            item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z, ActionEvent.CTRL_MASK));
         item.addActionListener((ActionListener)pan);
         submenu.add(item);   
         menu.add(submenu);
         getContentPane().add("North",menu);
         setVisible(true);
    public class Display extends JComponent implements MouseMotionListener, MouseListener, ActionListener
         Vector   saves = new Vector();
         BufferedImage image = null;
         Graphics ig;
         Graphics pg;
         Point point;
        int x1=0;
        int y1=0;
    public Display()
         setBackground(Color.pink);
         addMouseMotionListener(this);
        addMouseListener(this);
    public void paintComponent(Graphics g)
         if (image == null)
              image = (BufferedImage) createImage(800,600);
              ig = image.createGraphics();
              ig.setColor(Color.white);
              ig.fillRect(0,0,800,600);
              ig.setColor(Color.blue);
              pg = getGraphics();
              pg.setColor(Color.blue);
         g.drawImage(image,0,0,this);
    public void mouseDragged(MouseEvent e)
            int x2 = e.getX(); int y2 = e.getY();
                Graphics gr = image.getGraphics();
                   gr.drawLine(x1, y1, x2, y2);
                repaint();
                x1 = x2; y1 = y2;
    public void mouseMoved(MouseEvent e)
    public void actionPerformed(ActionEvent a)
         if (a.getActionCommand().equals("UnDo") && saves.size() > 0)
              ig.drawImage((Image)saves.remove(saves.size()-1),0,0,null);
              repaint();
            public void mouseClicked(MouseEvent e) {
                System.out.println("mouse clicked....");
            public void mousePressed(MouseEvent e) {
                System.out.println("mouse pressed....");
                x1 = e.getX();
                   y1 = e.getY();
            public void mouseReleased(MouseEvent e) {
                System.out.println("mouse released....");
               Image tmg = createImage(800,600);
              Graphics tg = tmg.getGraphics();
              tg.drawImage(image,0,0,null);
              saves.add(tmg);
            public void mouseEntered(MouseEvent e) {
            public void mouseExited(MouseEvent e) {
    public static void main (String[] args)
         new PaintUndo();
    }This is complete code for undoing.
    Any help will be appreciated.
    Thanks in advance.
    Manveer

    The example code is set up for a protocol completely different than what you are doing, so you can't simply copy it and hope it works.  The example code expects that the other side will send a 4-byte header containing the number of data bytes that follow, then send the data.  The example code first reads that 4-byte header, casts it to an integer, and reads that number of bytes (the second Bluetooth Read).
    When you run this with your device, the first read gets your 4 bytes - FF FF 22 33 - and converts that to an integer.  0xFFFF2233 is decimal 4294910515.  So you then try to read this huge number of bytes and you get an error - looks like error 1, an input parameter is invalid, because you can't read 4GB at once.  You can probably get your code working with a single Bluetooth Read, with a 1 second timeout (because you have a 1 second delay between packets).  You'll want to wire in some number of bytes to read that is at least the size of the largest packet you ever expect, but don't use a ridiculously huge number that generates an error.  LabVIEW will return as many bytes as are available when the timeout expires, even if it isn't as many as you asked to read (you might also get a timeout error, though, which you'll need to clear).  You can then do whatever you need to do with that data - search for FF FF, typecast anything after that to array of U16, display it. 
    The output of the Bluetooth Read is a string, but it's not text - it's exactly the bytes that were sent.  The Y with the dots over it is the way ASCII 255 (0xFF) displays (at least in that font).  ASCII 34 (0x22) is ", and ASCII 51 (0x33) is the number 3.

  • Problem using Brush tool with layer mask in Photoshop CC.

    Using Photoshop CC, working on a layer mask.  Using the Brush tool to paint white to show the effect works like normal.  Painting black has no effect.  Just started doing this in the last two days.

    Check you Brush blending mode setting in the tools option bar.

Maybe you are looking for