How to record a bit 2D array in .bmp file?

Hello

I'm new to LabVIEW...

I have a 2D binary table and I want to record to file .bmp. The .bmp file must be 1-bit bit depth in order to satisfy the devide requriement.

I tried to use flatten pixmap , but there only 4-, 8 - and 24-bit pixmap options for table 2D. 1-bit pixmap is for Boolean table entry.

I don't know how to convert the bit 2D array in the array of Boolean or any other method to resolve this problem.

Thank you are to help.

Thank you

Jinyang

Hi Jinyang,

don't know what you mean by '2d binary picture', but I would say something like this:

Tags: NI Software

Similar Questions

  • How to record the VISA information in a configuration file

    Hi guys,.

    I have a problem I can not quite understand and I'm sure someone else has done this, but I searched the forums and didn't find anything appropriate myself.

    I am trying to record configuration for my program files and then reload hide them in so that I can get the same State of the controls.  One of the controls that I save in the configuration file is a VISA control.  someone has understood how to save it in configuration files?  I know that OpenG has a write to config, but I'd like variant stay away from 3rd stuff away as much as possible.  Does anyone have suggestions on how to get around this problem?

    Thank you

    Brent

    There's nothing to move. Associate the name of resource entry VISA personalized key to write it and that's it. Wire upward the result of reading to the resource key any function entry VISA and that's it. It will be saved as a string, and strings are legitimate entries for work VISA.

    p.s. Next time you have a similar question, you can post the Commission to control the Instrument or LabVIEW.

  • How to record just the active bookmarks in a file?

    I'm used to be able to save only the active bookmarks in an external file. With the current version, it seems to be possible. Is there a way to do this?

    Do you mean to bookmark all open tabs?

    Some menu entries in the main menu bar are hidden if you are using the mouse and only appear if you use the keyboard to open the menu (Bug 626825).

    You can see the difference if you use Alt + F to open the file menu and other menus such as the Edit (Alt + E) menu and the menu bookmark (Alt + B) and compare that to what you see, if you use the mouse to open the menu after the bar of menus visible by typing Alt or by pressing F10.

    • "To bookmark all tabs" (Shift + Ctrl + D) is no longer present in the menu bookmarks unless you open the bookmarks menu via the keyboard (Alt + B).
    • "To bookmark all tabs" are available through the context menu of a tab on the tab bar.
  • How to record a specific image in a .tif file?

    Hello, I have a big .tif file contains some images. How can I save an image to a specific layer, to a .jpg or .png file?

    You can turn off the layers and leave the only layer you want to save.

  • How to record my browsing history in a separate file, before you clean my memory cache

    I have a Windows based 30.0 on a desk. I want to 'clean up' my cache, but save my browsing history in a separate file is available for me in the future for reference. I don't know where this information is stored and it doesn't seem to be a menu item to save it like you can with bookmarks.

    Glad we helped, thanks for posting back.

    I scored cor - el's response as the solution.

    May be useful to recall that the nirsoft utilities gives you access to a list of history, but this is no will create or recreate the history of Firefox as for example used for the display of the results in the address bar

  • How can I change a photo in .jpeg .bmp file?

    I want to upload a photo in "my pictures" on Facebook, but it is said that he does not have a .bmp file.  Is there a way I can change it to .jpeg.  Sorry, little (lot) ignorant of these things!

    Right-click the photo and choose the menu... Open with / painting...

    In painting... go... File / save as...

    Choose a folder...

    Enter a name for the file...

    Choose a format... JPEG...

    On the left, click on the "Save" button...

  • How can I control the size of the BMP file created by freeze frame tool?

    I use the first 13 items on Windows 7

    When I run the tool freeze frame it creates a still image (bmp file) from an image in my video clip.

    The bmp file size can vary from 6076 KB, 2701 KB or KB 1013 and seems to be independent of the type of item (MPEG, MOV, AVI), size (1366 x 768, 1280 x 720, 1920 x 1080, 320 x 180, 720 x 480) or rate (29.97, 29,55. (29.04 25.00, 24.00) video.

    The size of the image seems to depend on the project folder, in which it was created.  The same clip can produce a 6076 bmp or bmp file 2701 whereby one project (prel) the tool Freeze Frame files was performed.


    I searched everywhere for a project setting that could establish a size by default files for output, but it seems not to be.


    Is it possible to control the size of the bmp file generated by freeze frame?   I need consistency,


    Thank you.

    David_F wrote:

    ..... For example, text on a 2701 KB file annotations appear more important than those on the 6071 KB file when clips of two different subprojects are combined in the master.

    .. .dimensions of image file 6076 KB (20 x 11/5 inches)

    Re thinking, try a few things and this sentence convinces me that you mix dimensions of the image in pixels and the size of the file in KB.   In addition, digital images have in. up to put on paper or screen.  All they have is the pixel dimensions.  Each pixel can have a lot or little information based on the color, brightness, etc. so the KB of size can vary even if the pixel dimensions only.

    I've set up a project in 640 x 480, put in a clip and freeze box a. BMP.  If you look at a file in Explorer and you pass the mouse over it, you get a date, size in pixels and size KB.  The result (you can see in the picture as an attachment) is the file with an image of 640 x 480, as the setting for the project.  In this case, a 900KO file size was necessary to store the data of this particular framework.

    If Visio is happy with JPEG files, there is a way through the publication & share > Image to better control the dimensions in pixels with settings under the Advanced button.  Using this method, I made a jpeg from the same exact with 1920 x 1080 pixel frame and 1,2 MB in file size.

    I am convinced that your changes in the size of the text are due to dimensions in pixels and have nothing to do with the size of the file.  Of course I was wrong more than once and tips can be useful what you actually pay!

  • An associative array, how the records using the loop counter?

    In the associative array, how the records using the loop counter? for example
    declare
        type population is table of number index by varchar2(64);
        city_population population;   
    begin
        city_population('Samillve') := 200;
        city_population('Lindenhurst') := 300;    
        
        for i in 1 .. city_population.count
        loop
            dbms_output.put_line(city_population(i)); -- compiler error
        end loop;
    end;
    /

    That would look like

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2      type population is table of number index by varchar2(64);
      3      city_population population;
      4      l_index varchar2(64);
      5  begin
      6      city_population('Samillve') := 200;
      7      city_population('Lindenhurst') := 300;
      8      l_index := city_population.first;
      9      while( l_index IS NOT NULL )
     10      loop
     11          dbms_output.put_line(city_population(l_index ));
     12          l_index := city_population.next(l_index);
     13      end loop;
     14* end;
    SQL> /
    300
    200
    
    PL/SQL procedure successfully completed.
    

    Justin

  • Qosmio F10: How to record audio and video and use QosmioPlayer

    I am owner of a Qosmio F10-122 with TV tuner and I really need HELP. I'm Italian.

    The questions are:
    1 QosmioPlayer version 4.0.1 (2005022812) (according to the procedure of the forum) has installed fine but the sensitivity is poor; in any case the question is: is is possible to record videos? Also is it possible to record audio?

    2 input and video output are stupid; I can see Windows and QosmioTV on HDTV via DVI/SCART but I can't input in MCE TV or QosmioPlayer any signal IN Composite; so the question is once again how can record AUDIO from my Home stereo or VCR VHS VIDEO?

    3. I only use VIDEO IN to WATCH is not to save: where is my fault?

    Thanks, Marco

    Hello Marco

    I did some testing and I can tell you about my experience on Qosmio G20.

    1. as far as I know early versions of Qosmioplayer did not have the registration option but now I hope that your preinstalled version has REC option. If so, please be sure that you have about 5 GB of free space for the recorded material.

    It is not important what signal is sent to your Qosmio (TV or VCR VHS-connected) you can find it if you look at the channels. With REC option, you can save what you want. I tested it with my VCR VHS and I recorded some old movies. This material was recorder und great quality was the same as on cassettes. After recording, I started Windows MCE and transferred the material recorded in Windows using Qosmio player utility.

    I have not tried, but I put t think you will be able to record audio using only Qosmioplayer.
    2. you can record movies VHS if you connect your VCR VHS on the Qosmio using the antenna cable. Launch Media center Edition (TV option) and scan channels. In my case, I could watch movies VHS on MCE on channel 31. Using REC option you can save all documents of video cassettes. Later, you can change the recorded material and create own DVDs. It really isn't a problem.

    Your audio Home Audio recording can be a bit more problematic, and if you want it to be on the professional path you will need a device external and of course some professional recording software.
    3. I don't know what to write here. Just try to do what I already descriebed under 1 and 2.

    Good bye

  • How to record the recovery of BitLocker on USB key code?

    How to record the recovery of bitlocker on my USB key code?

    Original thread: BitLocker

    Hi, nurse,.

    If I understand correctly you want to activate the Bit locker on your computer and save the recovery on USB code.

    Please follow the steps below to do so:

    1. Press Windows + X, and then select Control Panel.
    2. Click system and security, and then click BitLocker Drive encryption.
    3. Click on turn on BitLocker for the operating system disk. BitLocker will scan your computer to make sure that it meets the requirements of system for BitLocker. If your computer meets the requirements, BitLocker informs you of the next steps that should be adopted to enable BitLocker, such as preparation by car, turn on the TPM module and encrypt the drive.
    4. Secure once the TPM is initialized, the BitLocker Setup Wizard prompts you to pick how to store the recovery key. You can choose 'Save the recovery on a USB flash drive key' and follow the instructions on the screen.

    Hope this information is useful. Please let us know if you need more help with Windows, we will be happy to help you.

  • How to record sound with 176, 4 kHz, and 192 kHz with hearing?

    How to record sound with 176, 4 kHz and 192 kHz with hearing on a MacBook Pro (Late2011, OS 10.10)?

    I bought an ADICON SSB audio analog digital converter (ssb-SEO).

    This device supports 44.1, 48, 88.2, 96, 176,4 and 192 kHz 24 Bit Audio sample class 2.0.

    Sampling by hearing works perfectly between 44.1 and 96 kHz. Soon, I have try 176,4 or higher, hearing said that the input and output device is not the same sampling frequency.

    Saying this, the Mac output device is the build in audio and is limited to 96 kHz. In my case, I do need nit an output device, because I want only to save my music in the highest available sample rates, transfer to the PONO of Neil Young player and want to be happy.

    Can someone help me solve this problem?

    Thanks a lot for your answer. Products like AUDACITY can enjoy Audio with 192,000 Hz and they also support listen-true. I'm a fan of ADOBE and do not want to throw my up-front investments.

    Hope you understand what I mean.

    BTW:, I'm an actor PONO and work with files without loss. Sample notes 192 kHz 24 bit and love the freedom to hear music.

  • How to record a video cut like a new video file for later use in other projects

    Hello.  I am new to Adobe Premiere and this might be a really stupid question, but it is possible to take a slice of video, a piece out of it and record this song like a new video file to use in several sequences?  For example, I have a videotape of interviews with a 100th birthday that I have attended and I would like to connect different comments in different parts of a video that I do.  But I would like to create splices of all comments I recorded, consider each comment and then organize the comments on the paper and then go back and put the clips of commentary in different parts of the video master.  How to connect the original video into smaller pieces and set them aside so I can embed clips at a later date?  I know I can cut video and leave it in my main video but I really want to put aside.  A bit like cropping of a picture and make a backup from the cropped image under a different name, so I can create a collage of pictures that result later, I crop.

    If all goes well, that makes sense.  I have until December to finish this video wife of Grandpa will celebrate HIS 100th and I would like to have this video to see the family.

    Thanks in advance.

    Mike

    Since you have until December, it will be worth your time

    to familiarize yourself with the use of "Sub-elements" in first.

    Tutorial

    https://helpx.Adobe.com/Premiere-Pro/how-to/create-subclips-premiere-cc.html

    Tutorial

    https://helpx.Adobe.com/Premiere-Pro/how-to/PremierePro-soft-subclips-cc.html

    Reference

    https://helpx.Adobe.com/Premiere-Pro/using/creating-playing-clips.html#creating_subclips

  • How to record draws lines?

    Hello

    My goal is to make a flash application that can do these things:

    -drawing application database (I can handle this part)

    -Save the user features

    -save data that record each moves in a single file, let's call my-design-data file

    -load my-design-data file into the flash application

    -reading my-design-data file in order to watch a kind of movie that shows the drawing who 'draw' itself

    A good example of this application can be found on drawingnow.com. So I know it's possible but how...?

    Any ideas how they do?

    Hello

    Here is a very rough idea on how to record and playback of drawing.

    Capture the drawing:

    -drawing points are stored in a table "_pointArray".

    -the "_pointArray" coded JSON is published on the server.

    -Next - server, save the string in a file or a database.

              private function mouseDownHandler(e:MouseEvent):void{
    
                   //start new segment
                   moveTo(stage.mouseX,stage.mouseY);
    
                   //mark the point as starting point , "newline=true"
                   _pointArray.push({x:stage.mouseX, y:stage.mouseY, time:getTimer(), newline:true});
    
              }
    
              private function mouseMoveHandler(e:MouseEvent):void{
                   if(e.buttonDown){
    
                        //draw line
                        drawLine(stage.mouseX, stage.mouseY);
    
                        //record the points
                        _pointArray.push({x:stage.mouseX, y:stage.mouseY, time:getTimer()});
    
                   }
              }
    
              private function moveTo(x:Number, y:Number):void{
                   this.graphics.moveTo(x,y);
              }
    
              private function drawLine(x:Number, y:Number):void{
                   this.graphics.lineTo(x,y);
              }
    
              private function saveData():void{
                   var json:JSONEncoder = new JSONEncoder(_pointArray);
                   var urlVariable:URLVariables = new URLVariables();
                   var urlRequest:URLRequest = new URLRequest('{URL_TO_POST_AND_SAVE_POINTS}');
    
                   urlVariable.points = json.getString();
                   urlRequest.method = URLRequestMethod.POST;
                   urlRequest.data = urlVariable;
    
                   var urlLoader:URLLoader = new URLLoader();
    
                   urlLoader.load(urlRequest);
                   urlLoader.addEventListener(Event.COMPLETE, saveCompleteHandler);
    
              }
    
              private function saveCompleteHandler(e:Event):void{
                   trace("Saved the animation");
              }
    

    Load and replay the animation:

    -load the json string

    -Decode the json string to array

    -Playback of the animation

                             private function loadData():void{
                        var urlRequest:URLRequest = new URLRequest('{REQUEST_URL_TO_LOAD_POINTS}');
                        var urlLoader:URLLoader = new URLLoader();
                        urlLoader.addEventListener(Event.COMPLETE,loadCompleteHandler);
                        urlLoader.load(urlRequest);
                   }
    
                   private function loadCompleteHandler(e:Event):void{
                        var loader:URLLoader = e.target as URLLoader;
                        var json:JSONDecoder = new JSONDecoder(loader.data as String);
                        _pointArray = json.getValue() as Array;
    
                        //start the animation
                        playAnimation();
                   }
    
                   //Playback the drawing on an EnterFrame/Timer event
                   private function playBackHandler(e:Event):void{
                        var nextPoint:Object = _pointArray[_currentIndex];
                        var nextMilliSec:Number =  nextPoint.time;
                        var timeLapsed:Number = getTimer() - _startTime;
    
                        while(timeLapsed >= nextMilliSec){
                             if(nextPoint.newline){
                                  //stating point
                                  moveTo(nextPoint.x, nextPoint.y);
                             }else{
                                  //draw line
                                  drawLine(nextPoint.x, nextPoint.y);
                             }
    
                             //next array index
                             _currentIndex++;
    
                             //reached the end?
                             if(_currentIndex >= _pointArray.length){
                                  stopPlayBack();
                                  break;
                             }else{
                                  nextPoint = _pointArray[_currentIndex];
                                  nextMilliSec =  nextPoint.time;
                             }
    
                        }
                   }
    

    Kadiatou

  • How to record the addresses of email on my iPad

    Hello

    How to record the addresses of e-mail of others and mine on my iPad?

    Thank you

    One way to do this is to go to Contacts and click on the sign more. You can then type a name for your contact and then press 'Add an email' to display the email field. In addition, if you are on iOS 9 on your iPad (settings > general > about and check the Version) you can add email to the Contacts directly from Mail addresses. When Mail detects a new contact it shows a small banner at the top of the message, and if you type you have the option to create a new contact or to add the new e-mail address for an existing contact.

  • How to record the line with mbp and el capitan

    How can I burn online with a MBP 15 beginning and El Capitan?

    Set the audio input of your computer...

    How to record audio on Mac OS X EL Capitan

Maybe you are looking for