Digital chain

I am creating a survey using labview, the program must go from 1 to 8 and according to location 8, he will publish a string that is associated with the digital.

Well, as I said, just use search array, search for the first occurrence of the number 8 and index into a table of the wicked.

It would be much easier to use a table of controls instead of 8 individual controls, but here is a picture of a quick project. Really, you should change your entries to the integer representation (blue). (If you want to keep the individual controls, just wire the table that you built in the same code, the rest remains the same).

Tags: NI Software

Similar Questions

  • analog and digital data synchronization

    Hi all

    I would like to help with what I seek to accomplish, if you don't mind much.

    I'm trying to synchronize the acquisition of analog and digital modes using a common trigger that launches both types of data collection at the same time. What I've done so far, is wasting his time trying different combinations to gather examples of LabVIEW 2011 on the synchronization of data - namely the 'Multi-multifunction-Synch AI lu Dig Chan.vi' and 'Multi-Device Synch-Analog Input-Finite Acq-Analog Start.vi.

    I tried to combine the two, because one contains digital and analog, the other contains the trigger for multiple tasks.

    I guess I should place the trigger (either digital or analog-eventually I will want to choose) then call the "Get Terminal name with device Prefix.vi. But from there I'm not sure wheter to connect the name of the terminal of the sample clock digital channel or a digital leading edge of the digital chain trigger.

    Also, the way it is wired now I get errors at the local terminal name, so I don't know exactly where this terminal must come from.

    I try my best, I could use a little help, I have attached my attempt with the examples that I speak to you.

    Thank you.

    Hi beefcake.

    The CtrInternalOutput internal output line is used as sample for your digital output sample clock source clock. If you change the settings for your CO Pulse Time is Dev1 and your digital output is Dev2, you will notice that the name of the product terminal would give Dev2/CtrInternalOutput. So what you get here, it's as well as the digital output device sees his sample clock, instead of the clock itself.

    If you just want to use a digital/analog input as your trigger, you should do something more as in the example above. Do you use multiple devices, or are all your lines on the same device? This example is more complicated because it is synchronization of signals on several devices.

    Looking at how this VI is wired, you can see that the digital signal triggers the analog signal. You want the analogue signal must be started first, so that when the digital signal triggers the analog task is already running and can trigger immediately. If the digital task started first, it can trigger until the similar task had started, and they do not exactly trigger at the same time.

    I hope that clarifies things. Kind regards

  • Digital to a Hex string

    Hello friends,

    I need to convert digital chain to send MODBUS Communication. I dono so that digital conversion can be made variable and I'll do the conversion internally. Pls take a look at the attached VI to get a clear idea. If you still have doubts in what I am prepared to explain.

    Thank you and best regards,

    Ratheendiranaath the B.R.

    Hi friend

    Here is a very simple and straightforward way:

    There are probably better ways, but I wanted to show a few basic steps of this conversion...

  • multicolumn ListBox

    HI everyone, please help me, how to get a value of output table and put in the multicolumn list box? Sorry, it looks like very simple, but I don't know about it. THX William Lee

    Hi William,.

    Right-click on > create > property node > point names to create a node of the element names property.

    If arraw element name property is on the right, right-click on > change to write.

    Element names accept the string data type.

    Therefore, if you intend to write a number to it, you must use a function convert them first digital chain.

    If you have just a 1 d table, thread to build the array function to create the table 2D supporting by the element names property.

    Sincerely, Kate

  • Name of the file and the measure in the same table?

    Hello

    I wrote the following VI which opens each image file in a folder and measure a certain size on the image. He then puts the result in a table.

    The table has a column and N lines since I N images in my folder. How can I change this VI so that it puts the name of the file in the same table as well as the measurement?

    I want the table to look like:

    File1 measurement1

    File2 GCA2

    ...

    and so on.

    Currently, it just shows

    measurement1

    GCA2

    ....

    and so on.

    The VI are:

    You cannot use the Table Express. Like the properties page says: this is for digital data. You will need to use a bit of real LabVIEW to create the table. A table is simply a string 2D array. Convert the digital chain, build an array of 1 d of the filename and numberic strings and use a shift register to build a 2D array. Something like the code below.

  • string conversion appropriate type based on the content of string

    Hello

    I have a CSV with string values, and I want to assign them to good type in labview, then assing them to some pre-existing teststand properties.

    I think a particular way in a digital chain of detection should be in labview somewhere, but I can't seem to find it.  There is certainly decimal string number and string of fractional number, but an error during their passage of a string like "blah".  They just return 0.

    So my main challenge here is to feel a digital channel, either with a single point decimal or not and the impression that it is a 'number '.

    Example:

    Takes the string->

    1.234-> is the number

    1234-> is the number

    192.168.1.12-> is not a number

    I could write a vi to do this, but I was wondering if it wasn't already obvious tool in labview, which is escaping at that time.  I don't like to reinvent the wheel, even for something so simple.

    Thank you

    David J.

    david_jenkinson wrote:

    So my main challenge here is to feel a digital channel, either with a single point decimal or not and the impression that it is a 'number '.

    Example:

    Takes the string->

    1.234-> is the number

    1234-> is the number

    192.168.1.12-> is not a number

    In the more general case, you must also be able to properly analyze, for example - 10e6, 85.83E - 3 and such good number to floating point. Also your last example is basically a number U32, just formatted in the style of IP address.

    You must use 'analysis of the string' %f format and NaN as a default value. Then also check if the string is an empty string. If this isn't the case, then it is not a number according to your narrow definition.

  • Gigaseconds [Gs] vs Gauss [Gs]

    Hello world. A funny question.

    The unit using "convert" I try to convert a time string with the units (i.e. 1 ' g') into a double number of function represented in the corresponding basic unit.

    For example:

    Chain: 10 "ms."

    A simple code separates the "digital chain" of the "text string. It's <10>and respectively.

    Using the "text string"as entered a business structure selector I use the function "convert" to convert the string without 'digital' unit in a double with units of time.

    I did it for all the prefixes if (m or mili, M or mega, etc.).

    The point of my question is as follows. What units of Gigaseconds, or Gs construction, LabVIEW detects it as a Gauss. This causes an error of cut wire because LabVIEW believes that I want to connect units of density of magnetic flux (tesla or gauss) with units of time (seconds).

    Is there a way to especifity the 'G' in 'Gs' is actually a prefix and is not part of the unit itself?

    Thank you!

    Simple solution: just put a space between the two.

    So:'s G' is gigaseconds

    and: 'Gs' are gauss

  • How it happened and how to prevent it: type def cluster change causes the element starts up again

    Hi all

    I have a big nested type nested def cluster, several layers.  I have remove the clusters to use the feature "name" to use it.

    Somehow changing the def of big type causes unlustered elements starts up again.

    For example, the element is the element clustered and used, then after I modified the def type, I don't remember how, maybe remove some items, perhaps rename elements, then the element where B is the unlustered element and used.

    It is very scary because it just happened automatically and no broken error reported and this can spoil the entire application.

    It happen to someone else? How to prevent it?

    Many thanks for any help.

    Anne

    A search on 'Ben', 'cluster' 'type def' to see that I've been bitten in the same way.

    The earch will reveal the various things that have been suggested according to the version of LV

    First rule of ben from cluster

    Avoid like the plague by deleting or renaming items.

    Other stuff:

    If you need to remove an item, change its representation to something that will break all instances for example change digital chain. Then go all the broken VI difficulty by throwing all the refs for the field you want to delte. And then delete.

    in the LV ealier version, better all the screws that use clusters that open when the change is made.

    In the recent version that neither recommended edititng cluster with all the appellants closed with the theory being that LV handles better the opening of VI.

    Given that I am "Of Ben first rule of the cluster" I don't run in the bug often with LV 2009.

    Ben

  • Generating function independent of sweep with 8648 has using GPIB

    Hello

    I use a generator of signals (HP 8648 A) with GPIB compatibility. Currently I have worm LabVIEW 6.1 and have established their basic control with reading of GPIB, LabVIEW and write functions. What I want to do is to generate an AM signal that changes the RF gradually from 80 MHz to 1 GHz in the steps of my choice 1 k / 1 M, etc. I looked extensively through the manual and seem to be able to use any command "write" or read the query that is mentioned. However, these can only be written individually to the control box from front of LabVIEW for GPIB write data stream. I tried to set up a structure of loop that increments the frequency according to the desired step freq, but nothing helped. Is there a way to do what I am only new to LabVIEW. It seems that the variable that should change with each iteration of the loop cannot be touched because it's within a text string. Is there a way to get around this? for example: can I issue several commands like freq:cw 80 MHZ; FREQ:CW 81 MHZ; both you can imagine changing the RF frequency to 80 Mhz then 81 MHz. So in theory, it is possible to set all my frequencies up to 1 GHz, but it takes typing me a similar statement 920 times. It defeats the purpose of self-regulation and better yet, the channel/s of writing do not save then you will need to re-enter the data each time that the vi is loaded up.

    There are many digital chain functions of conversion and you must learn to use one of the fundamentals of LabVIEW called a shift register. I can't save anything to the 6.1 version so I hope that the image below will get you started.

  • Format of the axis

    I'm having a problem with the Push Notifications from my server. I think it has to do with the PIN device, but I'm not sure.

    Basically I can send notifications fine if I use

    . If I try to use the PIN device, I get the following error:

    
    http://www.openmobileallian
    ce.org/tech/DTD/pap_2.1.dtd">
    

    The PIN device that I use is a 9 digit "digital chain". I get the PIN using DeviceInfo.getDeviceId ();

    Anyone know what I am doing wrong?

    So, I guess that I did everything correctly, EXCEPT conversion in chain PIN.

    Found this on another forum, just in case someone else has this problem:

    String PIN = (Integer.toString(DeviceInfo.getDeviceId(),16)).toUpperCase();
    

    So, it's about as clear as mud.

    At least it's working now.

    Massimo_olive thank you very much for your contribution. I really appreciate it.

  • Addition of keystrokes to a make a chain of 7 digits for a barcode

    I am kind again with this type of LabVIEW as I've especially done entries DAC instead of the keyboard. I have a bar code reader that scans the 7 digits. I tried the keyboard aquire, but it does not zip by the very quick keys and shows only a single key at a time.

    I don't know if this is possible, but I would like the code to bars (acts as a usb keyboard) to its output string and then have labview take these 7 characters and crush them in a single string.

    Any help on this would be greatly appreciated!

    Thanks again

    You make far too complicated. You do not use the keyboard gain at all. If you asked an operator to enter a string, you who wouldn't use you? No, you would have just a control of the chain that is read.

    Oops. the image was a mistake. It should be a constant real wired to the property node.

  • Digital JavaScript &amp; amp; chain problem

    Hello world
    I have a form that takes two fields as numerical values, and with the function javascript the sum of these two values should appear after that any changes. but instead of the SUM she CONCATENATE these two values. How can I tell Javascript function that these are digital, not string?
    Thank you for your help in advance.
    (I know this is a section of CF, but I think that people in the CF use js as well)

    var a = 1;
    var b = 2;

    $ var = parseInt (a) + parseInt (b);

    (there also a parseFloat() If you do not deal exclusively with the ints)

  • Cannot set a Date value / digital (single chain) in VORowImpl in jdeveloper/OPS

    I have the following lines in my AMimpl

    public void reject() {}

    JonOafTestViewImpl vo = getJonOafTestView1();

    Line JonOafTestViewRowImpl = (JonOafTestViewRowImpl) vo.first ();

    row.setPatientName ("Jon");

    row.setPatientNumber (1);

    getTransaction () .commit ();

    }

    Why row.setPatientName ("Jon") has no errors, while row.setPatientNumber (1) a mistake (red line on setPatientNumber)?

    This means I can put only a String value?

    The JonOafTestViewRowImpl code is below:

    public void setPatientName (String value) {}
    setAttributeInternal (PATIENTNAME, value);
    }

    {} public void setPatientNumber (numeric value)
    setAttributeInternal (PATIENTNUMBER, value);
    }

    Can someone please explain to me what is the reason behind this and what is the right approach.

    Thank you.

    Jon

    Hello

    Import under pkg.

    Import oracle.jbo.domain.Number;

    for the date you first cast the date onoracle.jbo.domain.Date and pass to the setAttrbibute method.

    BR, 906099

  • The analysis of digital text in digital value chain

    If I have the number '5' as a text layer, how can I get another layer of text to read that number and then add another number?

    It gives me '56 '. I want to "11".

    Temp = thisComp.layer("5").text.sourceText.value;

    (temp + 6)

    It should work.

    txt = thisComp.layer("5").text.sourceText;

    Numbers = 3;

    n = parseInt (txt) + 6;

    s = n.toString ();

    While (s.length< numdigits)="" s="0" +="">

    Dan

  • ISP says "update of digital certificates expired" now no outgoing doesn't email - HELP

    That's what the ISP told me: "it seems that things worked until the moment when we updated our.
    digital certificates expire this morning. You may need to accept the new
    certificate (that I had to do on my iPhone/iPad). All e-mail applications
    differ in the way they treat the SSL certificates. Please see your
    Help files request for more information on how to import or accept a car
    signed digital certificate.

    I looked in 'view certificates' and 'validation', but I don't see anything to change or do... So, how can I accept this "new" certificate

    Thanks in advance!

    Craig

    If your ISP uses self-signed certificates ask them when they intend to become a professional store. Free self-signed certificates are basically something that exists to allow analysis of configurations without fees to pay for certificates. This leaves a loophole for tight companies, generally jobs of MOM and dad, or firms, who are simply stretched to use the correct string of voting trust and pay for their certificates.

    Not properly issued SSL certificates requires no acceptance, that the issuer or someone higher in the chain of trust is pre approved by Mozilla. It is extremely poor security to allow users wont accept SSL certificates and they are not experts in these things and could easily appove a certificate that makes their raw text of communication to third parties.
    You are done better with unsecured connections, you're free of those signed. At least you know your vulnerable.

    However, if you go to the menu Tools > options > advanced > certificates and Tower of the verify option you could do better. They are not probably set up as they sign free. Other than the view certificates and remove all those that you already have for them.

Maybe you are looking for

  • Can I turn off Portege M700 touch screen?

    I want to be able to use the stylus to the tablet to annotate, for example, but find that I am also touch the screen with my hand. Is it possible to disable the finger touch screen so that only the stylus registered?

  • precision not align with excel calculation

    my original question was How would I do an average of an array of index 100 to 300? If I have an array of indices of 2000, How can I get an average of 100 to 300? in Excel it would be = AVG(C100:C300) I did the same method in labview but my numbers a

  • If I buy a copy of the oem version of Windows 7 is it possible to upgrade to Windows 10?

    * Original title: need help If I buy a copy of the oem version of Windows 7 is it possible to upgrade to Windows 10?

  • monthly subscription

    I bought the monthly subscription to photoshop, however, I would like to add indesign, how do I change the monthly payment and how much extra I pay?

  • Automate the FM2015 publish via CLI call

    Is it possible to automate Framemaker 2015 file > publish, that is to say to call this function from the command line?Typical use might be to automate the construction of output html/pdf/etc since a buildbot Jenkins.A bit with the question: why isn't