How do I convert an 8 bit serial data string I have received (say 01110101) into decimal format??

I am having a hard time finding a function that will help me convert an 8 bit serial data string I have received (say 01110101) into decimal format.

When you have your front panel displayed, you should a whole palette of controls that you can place on the front panel. If the palette is not displayed, thne just right click on your mouse and it should appear. The upper left most set of controls on the palette is Numeric. Go there and select Numeric Indicator to display a numeric output. On the diagram, you can also right click the output 1 and select Create>Indicator. The format string is %b (as in boy) for a binary string. As I said, this should be the value for the format string input. You can right click on the Scan From String and select Edit Scan String. This will bring up a dialog box in which you pick what you want to do (Scan Number) and how you want to do it (Scan Binary Integer
It sounds like you really need to take a course in LabVIEW programming. There are are links here to NI classes and some on-line tutorials.

Similar Messages

  • How do i convert to 32-bit mode on the computer for a plugin

    How do i convert to 32-bit mode for a plugin

    For what application or do you mean altogether? For a single application select it. Press COMMAND-I to open the Get Info window. Check the box labeled "Open in 32-bit mode."

  • How can I convert the variable expression stored as string back to variable expression

    How can I convert the variable expression stored as string back to variable expression?
    I am storing the expression enterd in the TSExpresssionEditControl as simple string and want to convert back to expression since I want to get the data type of that expression.

    pritam,
    I'm not sure what you're trying to do exactly. If you are trying to get the value of a variable and you only have the name of value in a string, then you can use Evaluate() to get its value. If you want the data type, my advise is to use the GetPropertyObject() API method and just pass in the loop up string. Then you'll have a handle to the data object and then proceed from there.
    Regards,
    Song D
    Application Engineer
    National Instrument
    Regards,
    Song Du
    Systems Software
    National Instruments R&D

  • How can I see in my address book all contaacts that have not been placed into groups?

    How can I see in my address book the contacts that have not been put into groups?

    The best way to do that is create a new "smart group" with the following:
    This way you can identify those without a group and drag them to one.
    Regards,
    Captfred

  • How do you convert a higher bit rate music to 128 kbps AAC?

    How do convert a higher bit rate music to 128 kbps AAC?

    Select "Convert higher bitrate songs to 128 kbps AAC" - http://forums.macrumors.com/showthread.php?t=303772 - discussion from 2007

  • How do I convert a 14 bit image to an 8 bit image in Elements 3 ?

    One person had mentioned to me that after scanning, they would do some basic color/highlight/shadow changes in Elements, in 14 bit and then change it to 8 bit to do any further editing. How do I go about converting a 14 image to 8 bit?
    Thanks

    Under the menu Image>Mode there will be an option to convert to 8 bits per
    channel.

  • How do i convert 196/24 bit aiff files to play on my ipod?

    how can I convert 196hz/24bit aifff iles to play on ipod classic?

    Hi there,
    You may find the article below helpful.
    iTunes: How to convert a song to a different file format
    http://support.apple.com/kb/HT1550
    -Griff W.

  • How do I convert a VLC file to imovie. I have managed to download the mini dvd disc from the video camera onto a USB and have saved the file on my desktop but have no clue how to get it into iMovie so I can edit and send via email. Any ideas!!!

    How do I convert a VLC file to iMovie.
    I've managed to download the mini dvd from the video camera onto a USB and have save onto my Desktop.
    But have no idea how to convert to iMovie so I can edit and attach video to an email and Facebook.

    Edit WMV
    http://www.microsoft.com/windowsxp/using/moviemaker/getstarted/default.mspx
    and http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx
    Also... I have NOT used those products, I only forward due to other mentions
    Convert http://premierepro.wikia.com/wiki/FAQ:How_do_I_convert_my_files%3F
    Edit Vob http://premierepro.wikia.com/wiki/FAQ:How_do_I_import_VOB_files_/_edit_a_DVD%3F
    $99 http://www.corel.com/servlet/Satellite/us/en/Product/1175714228541#tabview=tab0
    $99 http://www.womble.com/products/mvw.html
    $80 http://www.nchsoftware.com/prism/index.html
    $75 http://www.videoredo.com/en/index.htm
    $75 http://www.magix.com/us/movie-edit-pro/
    $70 http://www.nchsoftware.com/prism/index.html Converter
    $40 http://www.daniusoft.com/dvd-ripper.html#135
    $40 http://www.deskshare.com/dmc.aspx Digital Media Converter
    $00 http://www.squared5.com/ MPEG Streamclip Converter
    $00 http://www.erightsoft.com/SUPER.html Multi-Converter
    $00 http://www.virtualdub.org/ Mpeg to AVI Converter

  • 16 bit serial data transfer

    Hello, i am working on a project in which i want to transfer 16 bits serially through RS232 to the computer. I tried many techniques but didnt got the result. Anyone here can send the solution or the Code of it.
    Thanks

    Intelligent wrote:
    I want to plot these data on waveform chart. Basically these will be representing a signal, which to be plotted in the chart.
    I am sending them from microcontroller 8052.
    thnaks
    Since you are Intelligent I do not want to take the joy of programming from you. But take a look at this palette. You will find many useful functions here. If you transfer the MSB and LSB in correct order you may use the cast function and cast the string directly to an array of I16 (or U16).
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How do I convert Ineligible (low bit rate, language lesions) to be eligible

    I have a huge amount of language lessions that are 64kb encodings.  They are absolutely fine for my use.
    But my paid iTunes Match subscription refuses to upload them.  I tried converting one to AAC but that did not help.
    As I understand it, there are two problems: the low bit rate, and the genre is Books & Spoken .. both of which are not uploaded.
    The genre is fine, I can change that to something that is "eligible".  But the bit rate is a problem.
    So how do I manage these language lessions so that the ones I want in iTunes match are elegible?  I don't have all the original CDs and certainly don't want to re-rip them anyway, there are too many!
    My guess is that I have to find an audio converter program and have them upgraded to whatever bitrate iTunes Match needs, and to change the genre to an elegible name, right?

    Thanks guys.  It apparently works to simply convert to AAC 128kbs.  The genre lable seems to be OK as Books & Spoken.
    There were some bumps along the way, ending up with 3 of each lesson at one point! .. But I think this is all going to work just fine.
    It does seem bizzare that this rule is in place, and certainly is going to end up with a LOT of unhappy customers.
    Folks should be aware that the AAC conversion creates a copy so the originals can be saved after the conversion, then deleted from the Library.

  • 16 bit serial data communication

    Hello,
    I want to acquire data serially which is 16 bit.
    Learning from the post http://forums.ni.com/t5/LabVIEW/16-bit-receive-over-rs-232/td-p/1214869/page/3 
    I was succeeded in joining the two eight bits. But the problem i am facing is that the two eight bits some time interchanges each other from MSB to LSB. The Block diagram Code is same as that from the above thread infact i have also plotted the data on Waveform Chart.
    To simulate the behavior, i have created a program of 16 bit addition and sending the data as LSB and MSB on the serial port.
    Here i am sending you the pics that may help you to identify the problem.
    This is the first picture that shows the serial port properties, The graph, and the resulting string that contains LSB then
    MSB and than the Conversion Result i.e 16 bit output.
    This graph is exactly following the Conversion result
    But when the LSB and MSB are interchanged this can we viewed clearly from this. Here the incremented result is reflected on MSB in place of LSB and has disturbed the whole program
    The graphical representation of the error
    In such Cases it is noted that the return count does not counts correctly as shown
    To check whether the error is not at the transmission end,
    I made another program in which I first send
    1 2
    3 4
    5 6
    7 8
    9 10
    And the same problem came here too. as shown below
    Here you can see that I didn’t send 0 but 0 is here as
    the first received data. Also the data is transmitted in five cycles but
    received in six cycles also the return count is 1 again.
    Waiting for reply
    Thanks
    Note:- I request you to please don't  consider my another thread of Multichannel data receiving as same. They both are for different objective. Thanks

    As i wrote that i have got the idea of 16 bit communication from the thread http://forums.ni.com/t5/LabVIEW/16-bit-receive-over-rs-232/td-p/1214869/page/3
    The Code of this is also the same which is as under
    Spoiler (Highlight to read)
    Spoiler (Highlight to read)
    The Data is transmitted as two serial bits and joined at the end. Wel can you give me a more clear idea of what could be the easy technique of specifying the start bit and stop bits.
    Do you think that the data starts transmitting when some character is send to it. And then two bits and transmitted. Do you think this idea can solve the problem.

  • How do you convert a Double back to a String?

    I am trying to convert a type Double back to a string so i can display the information using a g.drawstring in my applet.
    Thanks

    When i put in the value of method i still get this message
    .java:111: cannot resolve symbol
    symbol : method drawString (double,int,int)
    location: class java.awt.Graphics
              g.drawString(M,100,40);
    ^
    1 error
    Am i putting the code in the wrong area? here is part of the code where i put it in
    //output using awt
    String.valueOf(M);
         g.drawString("The Average for 7 random numbers",100,10);
         g.drawString("Minimum value:",5,25);
         g.drawString("Maximum value:",5,40);
         g.drawString("Mean value:",5,55);
         g.drawString(myMin,100,25);
              g.drawString(M,100,40);
    g.drawString(myMean,100,55);
    The value M is my value that i am processing in an array from this code ---
    mean = sum / anArray.length;
              //for loop to calculate the max value
              for(int k = 0; k < anArray.length-1 ; k++) {
                   M = anArray[k];
                   if ( M > max) {
                        max = M;
    Thanks

  • How can I safe events in ical (3.08) which I have received with mail (3.6). Before the update of ical, it worked fine., How can I safe events in ical (3.08) which I have received with mail (3.6). Before the update of ical, it worked fine.

    I used to safe appointments sent by mail easily in ical. Now, that I have updated the ical and use just the calenders on me.com I cannot integrate a request in ical and send a confirmation.

    If you don't know the sender, then it is most likely a scam or spam email. I get them every day - I just delete them. I also get daily notices from Facebook or someone called Adriana at Facebook even though i do not have an account there. Can't do anything about it - just delete it.

  • Convert syncronous serial data into sequence of hex values

    Hi,
    I have a problem analysing captured data of a digital I/O board. I hope one of you can give me an advice/hint on this.
    Used Software: Labview Express 7.0
    Problem description:
    The captured digital data contains on channel 0 a clock signal, on channel 1 a reset signal and on channel 3 a data signal. The data signal is syncronized to the clock and consists out of 8 serial data bits. My problem is, how to convert this clock syncronized serial data signal into a sequence (array) of bytes each represented by 2 hex digits?
    More details on the problem environment:
    - The captured data comes from an ASCII file which contains data samples of a 16bit digital I/O card. Every line contains one sample encoded as 4 hex digits
    - The file is converted by a VI to a digital waveform and plotted by a digital waveform graph.
    One of my core problem on the way to a solution lies in the area, of how to "Trigger and Gate" the digital waveform based on the rising edge of channel 0.
    Thanks in advance for your help!
    Tryber.

    I checked with the 7.0 express version we have loaded on an older computer still and the part that I think you can use was in that version. In the second loop I had made a note: Boolean Crossing PtByPt.  This looks at a binary input and can output a true pulse (one iteration) based on the direction input condition.  This has three options;  False-True (rising), True-False (falling), or Either which is the option I had used in that vi.  This should allow you to detect a false-true state change on the clock channel.  Now, you say that the clock pulse is not consistant, but what about the information pulses? That was the reason for the first two loops on my program.  To insure that the digital value was measured during one input pulse to avoid turning two or more input pulses into one digital value. 
    As far as your question about trigger functions between the two, I'm not too sure.  I believe they offer the same options that I tend to use so I havnt had a problem with either.  On your block diagram menu select All Functions > Analyze > Point by Point > Other Functions PtbyPt.  There are some very handy tools in that menu. 

  • 64 bit serial driver with 32 bit VISA causing problems?

    I'm running LabView 2012 on Linux (kernel 3.10) on an x86_64 machine. I think that VISA is not playing nicely with my 64-bit serial driver. I have a few instuments connected through an NPort serial to ethernet converter. Instruments which output data constantly (unpolled) are working fine. I'm reading ASCII data from those using both minicom and LabView / VISA with no problem. Instruments which need to be polled for data are not working.
    The same software and drivers are working fine on a 32-bit machine in the same lab (although I compiled the NPort serial driver for 32-bit on that machine). All I can think is that 32-bit VISA doesn't like the "bitness" of the 64 bit serial driver, and it's mashing anything I try to write to a serial port. This being the case:
    1) Can I install 64-bit VISA for Linux in conjunction with 32-bit Labview? Would that work?
    2) If I have to go for a 64-bit LabView, do I really need to downgrade my kernel to 2.x as suggested in a hidden NI compatibility document that I now can't find?
    3) Why is Linux such an after-thought with NI?

    OK. Panic over. Could be down to differences in control codes that the newer version of the driver is acting on.
    [james@IceMan ~]$ stty -a -F /dev/ttyr00
    speed 9600 baud; rows 0; columns 0; line = 0;
    intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S;
    susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>; flush = <undef>; min = 0; time = 0;
    -parenb -parodd cs8 -hupcl -cstopb cread clocal -crtscts -cdtrdsr
    -ignbrk -brkint -ignpar parmrk inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8
    -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke
    [james@IceMan ~]$ stty -g -F /dev/ttyr00
    18:0:8bd:4000:0:0:0:0:0:0:0:0:11:13:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
    [james@IceMan2 ~]$ stty -a -F /dev/ttyr00
    speed 9600 baud; rows 0; columns 0; line = 0;
    intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
    werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
    -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
    opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
    isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
    [james@IceMan2 ~]$ stty -g -F /dev/ttyr00
    500:5:cbd:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

Maybe you are looking for

  • Mid 2010 Macbook Pro diagonal lines on boot screen

    My Macbook Pro has developed this strage issue. The boot screen has distorted diagonal lines all over it, and it will hang on this boot screen. Sometimes I can get it to boot by starting in safe mode (it will still give me the distorted diagonal line

  • Fourth Generation iPod = Faulty Hard Drive????

    I have reformatted my Fourth Generation iPod three times. It will not hold formatting. Every time I try to add only 2,000 songs on the 40 GB drive I get an error when it's done saying the iPod isn't formatted correctly and no music goes on the iPod.

  • Problem with SQL object type extend

    Hi, i have a severe problem when i try to extend an SQL object type (that derive from an XMLSchema registration) with standard SQL operations. After update when i look the updated record with SQL (XMLDATA.*) then i find the new items. But when i load

  • Installation won't "take"

    I am a basic user of macbook air (formerly my daughter's.)   I want to view videos e.g. sent on Facebook, but every time, the video won't play because I 'need to install the latest version of Flash Player."   I have installed it a number of times now

  • Tacacs+ problem with ACS 5.2

    I am new with ACS server 5.2 can someone please help me before I bang my head on the wall. I have configured the ACS server 5.2 but still cannot authenticate users. The router can ping the ACS server. With debugging I got the following error message: