The analysis of string in the input channels

Hello

I'm trying to parse a string into a matrix, or tables in real time. Thus, assuming that the line below is part of my entry

A134B932C321D95E532F1024A13B932C321D95E532F1024

I would like to analyze the data and constantly create a matrix (or a series of paintings), such that each row corresponds to a letter. For example, something like below:

13 13

932 932

321 321

95 95

532 532

1024 1024

I was able to parse the string using the letters as delimiters, but I was not able to find a way to organize the values. The goal of my project is to receive 6 different a mircoprocessor input and displaying the entries on different graphics.

Thank you in advance,


Tags: NI Software

Similar Questions

  • How NI PCI 4474 DSA detects an overload to the input channel?

    I read "Manual user OR dynamic signal acquisition." It is written that NI PCI 4474 support only digital overload detection.

    Here's my question. What is the detection of digital overload? If an analog signal is already converted to digital signal, it can not be signals exceeds the limit. Or the DSA may already be damaged during the CDA process, if there is surcharge from the input signal. Thank you.

    Hyun

    Yes, the chip has more information about the Board and apply factors of calibration, which is how it can overflow.

    What we call "detection of overload analog domain" requires more equipment (i.e. a comparator circuit) to observe the input signal.  Given that the Committee in question is not a comparator to check the input signal, and the way we want to give the user an idea of whether or not their signal is too large, we simply use the mathematics inside the chip. It's better than nothing.

    Oh, and I should mention that the protection is managed by a completely different circuit.  The specification should say how much voltage you can apply to the Commission before the protection comes into play.

    Germano-

  • PCIe-6259 anallog effect of clipping (perhaps overvolting) on other analogously in the input channels?

    Curious to know if the cutting/possible ovevolting on one of the analog channels would affect the performance of other similar channels. I have two systems, one where signals don't clip and the other channels are still operable. The other has some problems of cutting (which fade eventually btw) on some of the ins anlog. One with the cutting on other channels are apparently unusable while those who did no cropping entry seems to be well.

    I seem to be affected by a situation in which hanging on an analog channel makes so that other analog channels do not work.

    Curious to know if I can see what is expected?

    Anyone have an overview here?

    This is how it is supposed to work?

    We do not guarantee that all channels will work normally when you're in a State of fault/over-voltage.

    Since it is a MUX architecture'ed, that the channels are analyzed in order in the amplifier of shared instrumentation and ADC.  If the instrumentation amplifier is on track for channel 0 (for example), it will take some time to recover from this error after the next channel is enabled in.  This can cause a number of incorrect following channels (possibly indicated as being on track).

    Of course, we do not recommend to use this device in an error condition. When you said "analog channels does not" what do you mean?  The data on track?

    Some things that might help:

    -Slower sample which allows more time to settle the instrumentation amplifier

    -Skip the chain incriminated in the scan list

    -Make sure that the offending channel is set to the widest range of voltage (+/-10 v)

  • improve the precision of the analog input channel

    Hello

    I use a PXI-6259 to read several analog voltages and I can't seem to get the same precision when playing of multiple channels over a single channel using the MAX test Panel. How can I add delays to the digitization of the MUX to improve accuracy? Or are other ways to improve accuracy?

    Thank you!

    In addition to what the other posters minimizing the frequency clock source impedance and conversion, there are a couple of other things you can do to minimize the error:

    1. If you can not reduce the clock rate conversion due to a high sampling rate, you could try adding "dummy" additional channels, where you have large jumps in the measured voltage.  For example, if you need to measure three channels to about 5 V and three channels to about 2.5 V, you can read the string of first 5 V and the first 2.5 V additional time (and throw away the measure).  This has the same effect by reducing the clock frequency conversion, but only for the channels of problem.

    2. reorganize your channels by the expected voltage level.  Using the above example, all the 5 V channels, then all channels V 2.5 read.  Don't alternate between 5 V and 2.5 V channels.

    3. Add the ability to the input terminals.  The capacitor is still in all of your input signal, it provides a reservoir for fast charge/discharge of the ADC input capacitance.  If your input signal changes fast, well, make sure that the additional capacity will not filter the signal that you are interested in.

    Mark Moss

    Electrical Validation engineer

    GHSP

  • How to parse the input data of several channels simultaneously via an NI USB-6251 box by use of a single DAQ Assistant?

    I did separate VI for reading signals from several channels on a map of NI USB-6251.  I would like to combine these in a VI VI alone so that they can run that at the same time, however, there is an error if there is more that a single DAQ Assistant in the same--> error-50103 VI was held at DAQmx controls Task.vi:32 (the specified resource is reserved. The operation could not be performed as indicated.)

    All the inputs of channel must then be read in with a single DAQ Assistant, but all of the data on different channels are not separated.  Can save this data in a matrix or otherwise manageable which allow to facilitate the analysis of the data from the separate channel entries?

    I tried to view the data in a file of measures, but then when I tried InPort data, I could all the data I wanted.

    Hi AggieGirl,

    Good afternoon and I hope that your well today.

    First of all, you will not be able to have more than one DAQ Assistant by input analog or analog output task because the device has only one of each. So, you must have a DAQ task to HAVE and AO. (This is not the case for DIO static).

    There is far from split signals using the express VI - signal splitter.

    When you say you saved this file and it does not work, how it did not work? The Express VI - save a file of measures needed to manage multiple waveforms. Can send you your code & explain more about what was not OK on the file?

    Thank you

  • When I open a link irc with a string name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "7%" instead of "~" at the end

    When I open a link irc with a string name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "7%" instead of "~" at the end
    http://img835.imageshack.us/img835/2856/clipboard05nq.jpg

    I can't open the image, but I can say something in general about the tilde.

    The tilde "~" is an unreserved character and that's why it can be replaced by its form encoded percentage '% 7' inside a URI without changing the meaning. See

    http://en.Wikipedia.org/wiki/percent-encoding

    According to article 2.3 of RFC3986 we should prefer the encrypted form so this behavior seems to be somewhat outdated.

  • Combination of the input paths/strings

    Hello

    I would like to improve my VI. Its something like AB subjective assessment of sound quality. The question is, that the combination od stimuli must be prepaired as pairs. I want to encode Combinatorics in the app itself. If the point is to make the combination of pair of input channels or channels (table) and this combination is no repetition. Mathematicaly for files n n! / 2! *(n-2)!. I started programming in BT, but it was too complex, more than the main VI. I ve been do this for 2 hours and finally I did not accidentally save it. So now I m quite upset. But in any case, this code was stupid. Do you have an idea how to solve this?

    Thank you very much!

    Try something like this:

    (I have generate the indices pair in separate code, so it can later be used on any list (file names, etc.).) This is just a quick draft, many improvements are possible).

  • to limit the input in the xcontrol string characters

    Hello

    I followed an example online at deveope an xcontrol for the input string, but limit the input only characters for capital letters from A to Z. I have the main code as follows

    In the key to the bottom of the event, I throw all input character with the ASCII beyond [65, 90]. Sounds works but if I continue to press a prohibited (e.g. %), it will show that the key in the control. So, how can I ban the entry by a long press on a button? Thank you.

    Maybe including an event ' key repeat? It will handle the case when a character is added when the user holds the key. I think that you will just need to copy the code in the event "button down?

    Jeremy P.

  • 6225 PCI residual voltage in the analog input channel

    Hello, I'm new to the Forum and just start working hands with NI hardware/software/etc.

    I use MAX (differential setting) to monitor an input channel analog (ai71) through a PCI-6225 card with an SCB-68. The voltage displayed in this MAX sometimes regular 10.6 volts and sometimes intermittent noise 0 to 10.6 volts or vague angular. I watched the disintegration of noise and waves to zero. The voltage displayed in MAX is (seemingly at random) changes when a voltmeter is used to measure the voltage between pins 1 and 35 (with no wire signal)

    When an external square wave (2.7 volts DC) is applied to the pins 1 and 35 in the SCB - 68 the value in MAX is dominated by the 0 - 10.6V 'noise', while a voltmeter between pins 1 and 35 simultaneously shows the square wave.

    Any suggestions? Thank you in advance.

    If you dig into the data acquisition specifications, input voltages must be referenced to the mass of AI or you may damage the Board.  Have a good read of this article: wiring field and considerations of noise for analog signals.  Since you're probably dealing with a differential signal with no mass, what you want to do is to add resistance on each side of the signal to ground.  This article recommends until 100kOhm 10kOhm resistors.

  • Length of the string, excluding the input character/string

    Long story short, I want to replicate the function of the length of the string , but do not include an input the number of characters in string. For example:

    The input string (search) is 'the

    My first string to test is "the big red dog."

    That would mean a 13 string length.

    My second string is "Jumps over the lazy Fox."

    That would mean a length of 21.

    ' Hello World! ' would return 12.

    'The Lion, the Witch and the wardrobe' would return 26.

    I hope that you can see what I want to achieve. How is this possible?

    -James

    (I'm driving Labview 8.5)

    Use the search and replace the string to replace your 'exclusive' with an empty string string.  Use the length of the string on the result string.  Make sure that everything is already set to TRUE.

  • NIDAQmx: "multithreading" - reading multiple input channels of the device at the same time (NI USB 9229)

    Hi all

    I use NIDAQmx 9.0.2 (C++, Windows XP) and I need to read data from several channels of an NI 9229 USB card. My request will receive an another application requests to read samples, as in the following example:
    -1: my application is requested to read samples from "Dev/ai0.
    -(1 is not yet completed at this stage) 2: my application is requested to read samples from "Dev/ai2.
    -(1 et 2 ne sont pas terminées à ce stade) 3: my application is requested to read samples from "Dev/ai4.
    -my application is requested at the end 2
    1 and 3 are still running at this stage
    etc...

    I thought I had a thread for each read request, but I understand this post on the forum, this isn't an option (?).

    In addition, the suggestion (in the same post) to use a single task for the acquisition of data from both channels is not sustainable for me, because I do not know beforehand what channels, I'll be forced to read from and at what time.

    Is this kind of behavior can be implemented in NIDAQmx at all? If so, someone has an idea how this could be done?
    Thank you in advance for any input!

    Hello

    The NI USB-9229 has only a single timing engine.  Therefore, you can read each channel independently.  One possible way to implement would be to read the four channels at all times.  Then, when your other application request samples from a given channel, use software to separate the samples you want for this channel.

    Kind regards

  • When I try to open e-mail files a small box opens with the setting or the input string was not good format

    original title: windows live suit

    When I try to open e-mail files a small box opens with the setting or the input string was not good format

    Windows Live Solution Center
    http://windowslivehelp.com/

  • As the pipeline input channels are not supported.

    Guys, I have this script to add a vDisk to each virtual computer via one loop for each...

    $VMNames = get-Content "E:\Code\Scripts\VMware-VM-UpgradevHardware\VM_Batch-1.txt".

    # START the foreach loop

    {foreach ($vm to $VMnames)

    #Perform paraSCSI update

    Write-Host $VM

    Write-Host "Adding new CCG virtual disk..." »

    # Get - Vm $vm | New-harddisk - CapacityKB 2048 - persistent persistence

    $vm | New-harddisk - CapacityKB 2048 - persistent persistence

    Read-Host «allows to pause and check...» »

    . but when I run it, I get this error.

    New hard drive: cannot process the transformation of argument on the parameter "VM". As the pipeline input channels are not supported.

    E:\code\Scripts\VMware-VM-UpgradevHardware\pvSCSIUpdate3.ps1:55 char: 7

    + $vm | New-harddisk - CapacityKB 2048 - persistent persistence

    +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: InvalidData: (EDM-SNEC - DBTEST:PSObject) [new-harddisk], ParameterBindingArgumentTransformationException

    + FullyQualifiedErrorId: ParameterArgumentTransformationError, VMware.VimAutomation.ViCore.Cmdlets.Commands.VirtualDevice.NewHardDisk

    Allows to pause and check...:

    Any suggestions?

    You should have an object VirtualMachine (output of Get - VM) on the hose, if you want to send it to the cmdlet New-hard drive.

    The concept of object by name (OBN) does not work for the channelling of entry here.

    You can do

    # START the foreach loop

    foreach ($vm in (Get-VM-name (Get-Content "E:\Code\Scripts\VMware-VM-UpgradevHardware\VM_Batch-1.txt"))) {}

    #Perform paraSCSI update

    Write-Host $VM. Name

    Write-Host "Adding new CCG virtual disk..." »

    New-disk-hard - VM $vm CapacityKB - 2048 - persistent persistence

    Read-Host «allows to pause and check...» »

    }

  • How to use the input as VC Atttibutes string?

    Hello everyone,

    I'm discovering VCO. And I need your help.

    How can I use input string as a VC attributes at the end? Then, use this return as input for another workflow.

    The workflow that I am putting in place is:

    1-name of the VM to search in vCenter: input String (example: 'TOTO')

    2-search 'TOTO' virtual machine in the vCenter, if found then

    3 - use this result to clone a VM TOTO

    For stage 1 and 2, it works, I can search based on the input of the chain and get a result.

    But for step 3, I use another workflow 'Create virtual machine' and we must put a VC:VirtualMachine.

    And it does not work because the type I get to step 2 is not compatible with the entry for step 3.

    Progressive input signal 3 waiting for VC:VirtualMachine

    And the output of step 2 is the table / VC:VirtualMachine.

    I tried to change the input type for step 3 as table / VC:VirtualMachine.

    Whenever I got the error message:

    TypeError: Cannot find the cloneVM_Task function in the DynamicWrapper (Instance) subject: [VcVirtualMachine]-[class com.vmware.vmo.plugin.vi4.model.VimVirtualMachine] - VALUE: VirtualMachine, vm-907 > "LYNC01." (Name of the dynamic Script Module: cloneVM_1 #13)

    I don't want the workflow using the VC search plugin, but I need to set the input parameter.

    If someone has an idea.

    Thank you all.

    Keep the entry for step 3 as VcVirtualmachine (only one), but add an extra step:

    2.5: get the first (or last, should not question: I hope that you will find only one :-)) table.)

    You can do it in Javascript, using the method. pop() from an array.

    var sourceVM = foundVMs.pop () / / sourceVM is of type VcVirtualMachine, foundVMs table/VcVirtualMachine

    See you soon,.

    Joerg

  • date format picture ends before converting all of the input string

    In the following query, I get the error: ORA-01830: date format picture ends before converting all of the input string

    Select sum (e.gl_fig) in the rm_gl e where e.as_on_dt < = trunc (to_date('31-Nov-2011'), 'Q')-1

    Hello

    Moreover, how many days are there in November? It IS 30 or 31?

    Please change from 31-Nov-2011 to November 30, 2011, then it works.

    select sum(e.gl_fig) from rm_gl e where e.as_on_dt <= trunc(to_date('30-Nov-2011', 'DD-MON-YYYY'),'Q')- 1
    

Maybe you are looking for

  • HSON.exe - security concern or not?

    McAfee security marked this program on cranking up today. Never seen this before. Program is on C:\PROGRAM FILES\ TOSHIBA\TBS\HSON.exe and tries to connect to the internet according to McAfee, and they do not recognize his fingerprint. It is authenti

  • IMAQ 8.2.1 IEEE1394 assembled missing dependencies files

  • additional e-mail users

    I'm putting a user of additional electronic mail on my PC. Account name - Faye Romanski Display name - Faye R User * address email is removed from the privacy * Password - XXXXXXXX - 1 digital 7characters When I go back to email Iget the results even

  • Media Player 11 and Windows XP

    I downloaded a. MP4 video. How can I get into Media Player and run it?

  • Needed confirmation if a battery is 'legitimate' or not

    Hi friends I just bought second hand a battery of 6 regular cells for my Thinkpad R50e, replacing those originally supplied with the laptop (he is now dead/charges to 100% within a few seconds). The new stack looks a bit like a replica, but after loo