Conversion problem

I want to be able to enter a comma of 7 characters:

IE: 1666461

Then, I need a function to divide the number three characters and the last four characters:

IE: 166 6461

I then need to convert those two numbers in two binary numbers:

IE: 10100110 0001100100111101

I then need to add a parity bit (hand = 1 odd = 0) to each binary number as follows:

110100110 000110001001111010

 

 

I then need to combine the two numbers in a single string:

 

110100110000110001001111010

 

This 26-bit number can then be sent to an output...

 

Hope someone can advise.  New on labview here throw me a BONE!

 

Thanks to you all

Thanks for your help, that great! I had to change a couple of bits - I needed to build and re - divide the table into 2 to get 2 lots of 12. I am attaching my code to confirm.  It works... but if it can be cleaned even more do let me know.

Its far from what I started with this morning Rube etc...

Thanks again.

Tags: NI Software

Similar Questions

  • String to number conversion problem

    I have a VI that pulls in data from a device using VISA, and I got it on another computer to work a few weeks back. I had to transfer the VI to a laptop computer to run a few tests, and now I can't make it work. I am unable to put my VI because the laptop on it's is unable to access the network companies, I will do my best to explain it all, I apologize for the inconvenience! My problem is not however with VISA, it's with an exit VISA number conversion chain.

    I have attached a painting drawing of VI to better explain it.

    I use the block series Visa football match in baud rate and all that many good things to the unit and port settings set of device management. Then, a while loop is entered. The loop will run until you press the stop"" button. The next block of visa is the writing block, he asks for a reading of the device. The next block of visa is the first block of reading, he returns playback in the form of "NA-XXX. X' where x are numbers. The next block of visa is the second reading block, this block just echoes back the command sent to the device. Playback of the first visa read block, "NA-XXX. X' is going exponential/fractional chain to digital converter.

    When you perform a run/debug to highlight run, the release of visa reports the correct value, is the value of the device reading - however the string to number converter generates a 0,000, no matter what channel number is. I am at a loss as to what may be wrong because it's the EXACT set up I had to work very well a few weeks ago!

    I'm using Labview 10 on the laptop, the old computer was labview 7. I'm guessing that this is perhaps the rub... I Redid the VI from scratch, although I have not opened the old VI in labview 10.

    Any help would be appreciated. Again, sorry I am unable to attach the VI.

    DARB wrote:

    I have attached a painting drawing of VI to better explain it.

    Would it not have been easier to just post a screenshot? You might also have used the Tool of Capture of Code. (Which reminds me that I need to install it to my previous versions of LabVIEW, as evidenced by the screenshot I took. )

    As to the question: you probably either:

    • employee analysis of chain initially and when you rewrote the VI you used the regular string conversion functions.
    • Wired an offset value in the string to the number function.

  • CRIO-9066 FIFO data conversion problem

    I'm having a problem with a multiple element SGL FIFO on a cRIO-9066 where data is not read correctly.  Here is the configuration:

    I have two Host - to - Target FIFOs, identical except for type: FXP is the other SGL.  Both are 16-element.  Data SGL which are read turns a conversion error.  A sample minimum (2014 for the 9066) project is included.

    The example works fine if the FIFO SGL 1-element; something more big fails.  Is not supported on the same 9066 thought that the project allows the creation?

    Thank you

    David

    It seems that maybe it's a bug in the Simulator.  Exit the simulation mode, run it on your target and watch the interactive mode in this way.  The results are what you expect.  It is strange that they would be converted at some point.

  • Disqualification: Date conversion problem

    Hi all

    For some reason, it turns out that which was built as 00:30:15 (HH) will be automatically converted to 12:30:15 (HH) as string value. See screenshot below.

    Date issue.png

    Tried several things in the reference list of date format, but no resolution yet. How can we avoid this conversion?

    Problem has been resolved:

    Under two date formats have been contradictory:

    DD/MM/YYYY HH: mm 23/01/2014 12:30
    DD/MM/YYYY HH: mm 03/01/2014-10:10

    Deleted the premiera and dates are converted correctly now.

  • the date conversion problem

    Hi friends,

    I have a problem with the conversion of the date in my PB.

    SELECT eff_dt, TO_CHAR (TO_DATE (eff_dt, 'Dd-mon-yy'), 'dd-mm-yyyy') DATE from une_table;

    It gives me o/p as -.

    DATE OF EFF_DT

    01.01.1950 00:00:00 01/01/2050

    as you can see here the year is wrong, while I convert the date that I use the substr() also to cut the year of first line, but it gives me the 50 i.e. onle last (YY)

    So, if someone can help me with this prob.

    If eff_dt is a column DATE, then stop calling to_date on it.

    If this is not the case, consider making it into a DATE column. If you are unable to do this, use the format mask appropriate when you call to_date

  • Since last week, I have a PDF to WORD conversion problem.  All the documents, I have try to convert room conversion failed.  What is going on?  Thanks in advance and I look forward to hear from you.

    Nice day

    Since the last week I'm trouble conversion PDF to WORD.

    All documents I try to convert room conversion failure.

    What happens?

    Thanks in advance and I look forward at the hearing of your.

    Hi prates77,

    I'm sorry to hear that you are experiencing problems, file conversion. You receive a conversion error, regardless of the file you are trying to convert? The error occurs if you use the web interface, or convert by the reader? And a strange question: how many files you have stored in your Acrobat.com account? We have seen reports of this error when there are a large number of files stored in the folder root your Acrobat.com account.

    I can't wait to hear back on your part.

    Best,

    Sara

  • RedHat4 conversion problem

    Hi guys,.

    I convert a server Linux Redhat 4, and it gives me problems. When I start the wizard, select a remote computer, powered, he know "a general error has occurred: uninitialized: converter.info.StorageInfo storage.volume.diskId. Unfortunately, it is not all that useful to understand what is happening. My log files are included. Any suggestions to what is happening?

    See you soon

    Nik

    I'm guessing it's because you have volumes that are mapped directly to complete drives, instead of create a partition to contain the volumes.  It is not supported by the converter at the moment, please see the release notes:

    http://www.VMware.com/support/converter/doc/releasenotes_conv401.html#84

    You could try to remove those file systems that are mapped directly on the hard disks (/ storage/data_01, etc.), and then try to restart the Conversion.  After that it's over, you can add new disks on the virtual computer and just copy the data of these file systems that you have ignored.

    (If your question has been resolved please check the responses as 'Useful' or 'Correct').

  • Conversion problem 8i to oracle 11g database timestamp

    Hello
    I have an interface that migrates data from 8i to Oracle 11 g server. I use ODI 10.1.3.5 version for this migration.
    When we try to send the timestamp from 8i to 11g, time stamp values are coming as parag 00:00:00.
    I tried almost all the functions of conversion posible as to_timestamp (tochar(field,format), format).
    The above mentioned is the last conversion I used which is insert 0 in the timestamp.
    Please let me know the resolution if someone has experienced the same problem.

    Thank you
    Naveen

    Hello

    Maybe you can try with this...

    Add a topology for the JDBC url property.

    Key = oracle.jdbc.V8Compatible
    Value = true

    Thank you
    Fati

  • Document Conversion problem

    We're trying to convert a FrameMaker 10 book into a PDF file and only in a section of the graphic document is randomly being left out.  Adobe leaves a space where the graphic should be.  And in one case, he even left the arrows pointing to various components, but the rest of the picture was missing.  We tried to convert just a section to be able later to add it in Adobe Pro thinking the file size could be the issue - no joy.  We tried to copy the file in FrameMaker vice he saw a link to the document - no joy.  We tried to change the printer (and, therefore, the printer drivers) that we use during the conversion process, thinking it was a problem of driver/memory printer - no joy.  Finally, we have tried to put the file on the disk hard vice the server - no joy.  Graphics are always left just a section of the document.  It wasn't even the same graphics each time (some changed, most have remained the same).  The graphics are CGM files.  Not sure if this has something to do with it.  But we have nothing else in common with the graphics another that they have just a section of the document.  Other sections of the document have even larger graphics (file size).  Has anyone any suggestions?  I tried to put my email address from work here and he said that someone was already using (unlikely) but never the less, I resorted to the personal use of my email in order to get an account.  Unfortunately, I'm unable to retrieve messages from my personal account to work.  If you have a suggestion, please send me an email to [email protected].  Thank you.

    Check box "Convert CMYK to RGB colours" was selected.  I unchecked it and tried again.

    You are a genius!  It worked! Thank you.

  • FrameMaker has a pdf to PS conversion problem?

    Hello

    When I create a Framemaker .PS file, when the progress bar reaches a page with a .pdf file, it crashes.

    FM has a problem of conversion of pdf pages, or should I leave it overnight to work it's magic?

    FWIW, FM creates internally an EPS of a PDF document using the same routines that Acrobat and the EPS format that passes through on the FM output to a postscript file. If the process takes long ime, check that you have a lot of space in your system TEMPERATURE zone and that you have a specified large swap file. (You don't mention how much system memory/RAM you have available.) In addition, you should have an instance of Adobe PDF printer as your default system you.

    You might be better to create an EPS of the PDF in Acrobat and who put on the FM for FM band does not have to do work on it.

  • IMAQ JPEG image conversion problem string

    Hi, I'm using the format JPEG decode VI to decode an image string I get a camera at Black fins. It works fine when I run VI himself, but when I use it as a subvi the program crashes. Anyone have advice?

    This is a picture of my program

    It's the way the file is returned to the camera

    'I '. «#IMJxs0s1s2s3...» » Enter the JPEG compressed video image

    x = size of the frame in pixels:
    1 = 80 x 64, 3 = 160 x 120, 5 = 320 x 240, 7 = 640 x 480, 9 = 1280 x 1024

    s0s1s2s3 = size of the image in bytes (s0 * 256 ^ 0 + s1 * 256 ^ 1 + s2 * 256 ^ 2 + s3 * 256 ^ 3).
    ... = full frame JPEG

    Note that sometimes the 'I' command returns nothing if the robot camera is busy, then the 'I' command should be called as many times as necessary until a framework is returned

    I changed the format JPEG decode VI by changing the plans of red and blue color. I don't know if this caused the problem though.

    Hello

    This can be useful for you:

    http://forums.NI.com/NI/board/message?board.ID=200&message.ID=21845#M21845

    Andrey.

  • Number in hexadecimal string conversion problem

    Hello

    for a serial communication, I need to send byte-code in an ascii hexadecimal string. When I use the constants and send them by VISA to the COM port it works fine, but if I use converters numbers it doesn't. Can someone show me what I'm doing wrong?

    deepearth

    --------------------------------

    Windows XP SP3, LV 8.5.1

    Since your string indicator is set to hexadecimal display, it seems you want to a hexadecimal string, a single byte/number.

    (You are currently using a hexadecimally format string, composed exclusively of ASCII of the 2 characters/byte "0.F" characters.) This is not what you want!).

    Here is another solution using type conversion:

  • Rocket conversion problem! Help!

    I was very happy to buy a 8 GB Sansa Fuze, especially for watching videos!   then I found out what a major concern (apparently), is to convert videos for use!  Arrgh!   I have several AVI and OGV videos I want to convert and display on my rocket.  They are long at LEAST 45 minutes (if it is 1-2 hours).  Space on the "rocket" is NOT a problem.

    I tried the following procedure to get these films on the "rocket" to display:

    Run AnyVideoConverter (by AnySoft) which is a free video converter software.  The output is set to MP4 (which is what I understand that MSC requires.

    I find the converted file to ensure that it is intact and complete (full length).

    I run the SMC, taking THIS file as input (and will automatically exit the "rocket").

    When I view the movie on the "rocket", it works well, but it is WAY SHORT!  I have maybe 1/4 of the full movie.

    I must point out that WHENEVER I launch the SMC, it FREEZES just as it writes to the device.

    Any help would be appreciated!

    M

    Why beat your head against the wall?

    Just use Video4Fuze.

  • AP1121 LWAP conversion problem

    Hello

    I'm having a problem converting this LWAP AP. I used the WCS and the standalone tool. Two upgrades successful report. However, after reloading, the AP enters a reboot loop. From there on, I am only able to reload a stand-alone image and try again.

    Model: AIR-AP1121G-A-K9

    IOS: 12.3 (7) JA5 also tried JED 12.3 (8)

    Recovery image: c100-rcvk9w8 - tar.123 - 11JX1

    Upgrade tool: v 3.4

    WLC software version: 5.2.193

    Thanks for your suggestions,

    Chris

    Can rate you the this as a problem solved so that people will find when they search the same problem you had. Thank you.

  • APs 1242AG LWAPP mode conversion problem

    Hello

    I have a few APs 1242AG to convert standalone in LWAPP mode. The conversion tool (v 3.4) keeps giving me an error saying that there is a list of firewall or preventing work TFTP access.

    It is this time I use the internal TFTP server in the tool or TFTPD32 on the same PC or even if I leave the picture in TFTPD of flash on the 2960 POE switch I test the upgrade on the access point is connected to!

    If do it manually one ' archive download-sw / overwrite/no-set-boot tftp: / /... ". "since the console telnet on the same access point, it downloads the image very well. I can also copy the config for my TFTP server!

    It's driving me crazy ideas that I hurt APs to LWAPP mode.

    Oh the WLC is a race 5508 latest 7.x code, but I don't think that's relevant here.

    Concerning

    Pat

    Hi Pat,

    It's just a warning msg.

    Thank you

  • date conversion problem

    Hello

    My version of db: Oracle 11 g

    "Is there a way I can convert date in this format 04.10.15.000000000 13-SEP-06 PM' to 13-OCT-06 16:10:15 ' or 13-SEP-06 16:10:15.

    Please suggest.

    937454 wrote:

    But I need to load it into the target as "yyyy-mm-dd hh24:mi:ss" table (as you say with year-round)

    Danger Will Robinson, Danger!

    If your target table is, as it should, a date data type, then you don't have to load it into a specified format. If the source table and the target table are the two dates, so no conversion is necessary at all.

Maybe you are looking for