How do I code in Labview to pattern generate on one channel only?

related to last question I asked. Relevant patterns are:
no handshake
no trigger

Nate,
The 6533 is can only be set to 8-bit, 16-bit, or 32-bit when using pattern generation. So in this case you will have to configure at least one 8-bit port for data transfer. But you can simply write the same information out on all the other lines and change only the line of interest.
If you do not want to use pattern I/O which give you hardware timing output then you can simply use the Write to Digital line VI which allows you to update a single line at a time, but the timing of the update is related to software and is indeterministic and relies on the speed of the program execution.
By the way, it is better to post Hardware Data Acquistion questions to one of the Measurement Devices catagories instead of LabVIEW. For example, this question will be seen b
y more people interest in programming Digtial I/O if it is posted under the Digital I/O catagory

Similar Messages

  • How to add code in labview exe so that exe don't depend on code

    Hey everybody,
    I am using labview 8.5. I build exe of my code using snapshot folders. After solving conflicts when exe is created. I remove the code from disk but this gives error when exe is executed. I want to build a exe that don't depend on code. I mean i want to get rid of code so that only exe is enough to execute.
    timmy
    Attachments:
    untitled.PNG ‏129 KB

    My main VI is calling many subVIs. Except for these subvis different modules code is present in folders, these folders also include ini files and text based command files. Now when i add these code folders as snapshot and after solving for errors and conflicts. I add these folders to always included section and my main VI as source code. When i build for exe, there is no errors and code exe is generated. This exe works fine if code is present at disk. If i remove the code from disk the exe stops proper execution and gives error. Please tellme if there is any special considerations for making exe that don't depend on code.
    timmy
    Attachments:
    projrct.PNG ‏162 KB
    prjt.PNG ‏154 KB

  • Re: settings -- how to reduce waste space at top of page to one line only

    I find that the wide screens are too short so it seems like more scolling is needed since less of web page is viewable and this problem is made worse by waste space taken up by various lines - for example on my firefox page, there is a blue line at the top that currently says "ask a question" Firefox help etc and then the rest of the line is blank -- about 70% of space not used/needed
    The second line down shows: File, Edit, View, History, Bookmarks, Tools, Help -- then about 70%waste space -- rest of line is blank -- How can we put stuff from various lines into one or two lines Max ?
    To continue, in my case, the next line has a couple of tabs -- this is useful -- maybe if there could be an easy way to show tabs in their own line when lots of various pages need to be open but when need max space viewable below to click a dropdown to push tabs up to end of next line above (in the waste space)
    Finally, my page has the 4th line taken up by the Forward and Back arrows, the web address line, and then a shorter box called iLivid Web Search with a magnifying glass and then a little box at the end of a house -- which I use all the time to go to my home page for new tabs opened
    I think it would be cool if we could easily elim all but the blue line and one more line by pushing stuff in line 3 and 4 up into line 1 (blue line) and line 2
    My much older IE version had a feature you could drag the lines up they would do what I am saying with all the lines except the blue line at the top -- then when it compressed thje info, it would just show part of title and then a little // sort of button to click to see or expand a part of the line to read it all if needed
    It seems likely this has mostly been solved but I can not seem to figure how to use the settting and buttons on my firefox page to accomplish these changes easily back and forth
    From my looking at it, these features need to be available when you right click on each line but maybe my version8 is not set up quite right
    so any and all assistance is greatly appreciated
    Cheers, G

    Found settings in on the Layout tab of the page and changed the top px from 32 to 10.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • How can I print a pdf doc of size A3 (one page only) on A4 (on one page) front and back (actual size duplex printing) without reducing the size?

    The printing should come of actual size half on front and half on back of A4 paper.

    Hi Fakhar,
    That is not possible without reducing the size. It cant be possible at all.
    Regards,
    Ajlan Huda.

  • How to make vertical scrollbar visible for listbox which shows one entry only?

    I have resized listBox to display only one entry of char* items. As there is only one item displayed vertical scrollbar is not visible. Is there a way to show the scrollbar when listbox display is sized to show only one item?
    Using up/down arrow it does scroll through other entries.
    CLD,CTD

    The only problem using ring instead of listbox is that when there is a lot of items it pulls down the ring and hids all the other GUI items behind it. 
    Real estate was one reason of using list box and displaying one value. I did change the list box as a control instead of indicator but still cant get the scrollbar funcitonality.
    ANy other suggestion, thanks!
    CLD,CTD

  • How to appropriat​ely set the timing in sampling multiple AI channels applicatio​n

    Hi, I'm new to LabView. So any help is appreciated.  I have the PXI-8186 with the M-series PXI-6229 that I use to control/monitor multiple independent systems.  my program can be described as follow:
    I have only one VI.  In the VI, I have as many While loops as the multiple independent systems being monitored.  Inside each While Loop I have a DAQmx VI that I configured to sample only one channel 100 points at 1000 Hz sampling rate . (I'm sorry if it's too verbose, but I don't know if some of the things I said are implied or not).  The Clock Type setting in the DAQmx Advance Clock Setting is set to "Internal".  Then, I connect each DAQmx to a Waveform chart in each While Loop.
    When I run the VI, there's an obvious "lag/gap" between each sampling set in each of the chart, i.e. one 100 pts of data to the next 100 pts of data.  The gaps are with irregular period,  almost like there's struggle of computing power between the while loops/channels. 
    My questions are:
    1.  Are my program architecture (parallel architecture) appropriate for what I'm trying to do in my application?
    2.  Are the gaps caused by inappropriate Clock Type setting?  or are they caused by inappropriate channel-scanning setting?  How do I fix the problem?  My goal is to have each chart "draw" the data as smooth as if it were only sampling one channel.
    3.  How to set how fast the M-series is supposed to jump from one channel to the next?
    4.  The M-series user guide has very little information in regards to Timing/Clock.  Can anybody point a good reference so I can learn more about it?
    Again, thanks for the help.

    Hi Peter-
    It sounds like you are off to a good start with LabVIEW and NI-DAQmx.  Let me see if I can address your questions:
    1.  The parallel architecture is not appropriate for DAQ operations.  The card can only run a single input operation at a time, so you are sacrificing task setup and programming time by seperating your tasks into seperate loops.  The NI-DAQmx driver will also create an error and will not operate further if there is conflict between parallel loops in trying to access the analog input circuitry of the board at the same time.  You would be better advised to combine all the operations into a single loop.  It sounds like you're using the DAQ Assistant, so it shouldn't be hard to simply add more channels to a single DAQ Assistant Express VI.  I have attached a quick example that shows how to split the outputs to multiple graphs
    2.  The gaps are likely caused by the occurrence of errors between "competing" loops.  Unless you are passing error data between the loops they may fail independently and produce gaps in operation that are otherwise inexplicable.
    3.  If you are using NI-DAQmx 7.5 (actually NI-DAQmx 7.4 or later) you can be assured that the readings are set to scan between channels as quickly as the hardware can physically produce accurate readings.  If you would like to slow down this behavior (i.e. increase the interchannel delay) you can set the Convert Clock rate manually in a the DAQmx Timing Property Node using the Convert Rate property:
    4.  A great discussion of Convert and Scan Clock can be found in this KnowledgeBase.  To summarize, the Scan Clock rate runs at the sampling rate you request and initiates a scan of all the channels in the task.  The Convert Clock runs several times faster (as described in the article) and actually clocks individual readings from each channel in a scan.
    Hopefully this helps-
    Message Edited by Tom W. on 08-12-2005 01:32 PM
    Tom W
    National Instruments
    Attachments:
    convert_rate.JPG ‏19 KB
    Split_Signals.vi ‏205 KB

  • How to implement this code in labview?

    How do implement this pseudo code in labview? Please keep in mind "a" and "c" in the code below ARE VARIABLES
    for i =0 to i=maxvalue
           if i <= a 
               output = output2
           else if i > a AND i<=c
               output = output2
           else if i < c 
               output = output3
           else i = d
               output = output4
    I understance i can use a case structures and modify the label, but i do not know how to make the label dependent on a variable value. 
    Thanks 

    Try an array of boudaries and use threshold array. See this old example:
    Now just iterate over an array of values using a FOR loop.
    LabVIEW Champion . Do more with less code and in less time .

  • How i can generat VHDL or Verilog code from labview code

    how i can generat VHDL or Verilog code from labview code ( i have a labview code and i want to convert it to VHDL or Verilog code how i can do that )

    Mouath,
    There is no feature in LabVIEW to export your VIs as VHDL files. You are able to include your own HDL in your LabVIEW VI (using the HDL node). I encourage you to provide your feedback related to this issue at ni.com/contact. The product suggestion submitted are taken seriously and reviewed by National Instruments.
    Cheers,
    Jonah
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval

  • How we can import and run the matlab codes in labview using xmath script.

    hello,
    i have some GUI code in MATLAB and i want to process that codes in labview . tell me about the procedure how we can done this task.
    thanks in advance
    rachana
    Er. (Instrumentation)

    Hello,
    The title of your post asks about using Xmath script.  Is this what you intended?  You can use the Xmath script node in LabVIEW if you have MATRIXx 7.x or earlier installed.  However, the syntax is slightly different from the syntax of The MathWorks, Inc. MATLAB® software.
    In LabVIEW 8.0, we introduced LabVIEW MathScript.  The LabVIEW MathScript syntax is similar to the MATLAB language syntax.  In LabVIEW MathScript, you generally can execute scripts written in the MATLAB language syntax.  However, the MathScript engine executes the scripts, and the MathScript engine does not support some functions that the MATLAB software supports.  In order to reuse code that you have written, open the MathScript Window by going to Tools >> MathScript Window.  You can also use the MathScript node as part of a VI you are writing.  You can find the node on the Programming >> Structures palette.  You can import an existing script by right-clicking the node and selecting "Import..."  You can create inputs and outputs for the script by right-clicking on the node and selecting the appropriate option.  If you wish to call any functions you have written, put them in the MathScript search path.  By default, this is your "My Documents\LabVIEW Data" folder.  In LabVIEW 8.5, you can change the default search path for the main application instance by going to Tools >> Options.
    LabVIEW MathScript does not contain very many GUI functions at this time.  You can use the VI's front panel as your GUI, though, and interact with your program that way.  Let me know if you have other questions about moving your code or about specific functions.
    MATLAB® is a registered trademark of The MathWorks, Inc.
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

  • How can i find 8451 & I2C example code.(Labview 7.1)

    How can i find 8451 & I2C example code.(Labview 7.1)
    ! will have to commuicate Data Read and Write
    (USB-8451 &  I2C(ST24C16) direct connection status)
    I want to Detail text and VI Example.
    Thank you.
    [ps] [email protected]

    If you installed the NI-845x driver, it should have installed in LabVIEW examples in the Example Finder. These will be configured for the 8451 but not necessarily your specific I2C device. The examples are located in the Hardware Input and Output»I2C and SPI folder in the Browse view of the Example Finder. I hope this helps!
    Regards,
    Missy S.
    Calibration Engineer
    National Instruments

  • I want to write onto port 3 based(using a buffer) on a pattern match trigger from port 2. How can I code this?

    I have to check for a pattern match from port 2 and based on this trigger I have to write onto port 3(buffered) as fast as possible. So there needs to be a buffered O/P from port 3. How to code such that the pattern match trigger from port 2 triggers the trigger config.vi for port 3?

    Bheem,
    Unfortunately, you can not share the start trigger with another operation when using the pattern match operation as a trigger. The only way to share a start trigger is if you are triggering on the rising or falling edge of a digital signal. This is a limitation of using the pattern match operation as a start trigger.
    Regards,
    Todd D.
    NI Applications Engineer

  • How can a BILBO can be used as a pseudo-ran​dom pattern generator.​(using labview)

    how can a BILBO can be used as a pseudo-random pattern generator.(using labview) Can someone please give me an insight on how to do this asap, i would be exteremely grateful-thanks.

    Dear Deano,
    I am unfamiliar with the use of BILBO cells, but am willing to help as much as I possibly can. I managed to find a rather helpful website, which described the 4 functions a BILBO register is capable of – including pseudo-random pattern generation. A very versatile little circuit, I must say.
    Perhaps you could take a look at the website yourself, and confirm that this is the functionality you are interested in...
    http://tams-www.informatik.uni-hamburg.de/applets/​hades/webdemos/35-selftest/60-bilbo/bilbo4.html
    Could I also ask you to provide some more information about what you are trying to achieve. Generally, the more information you are able to provide on these forums, the more users will be willing to help.
    So my question to you is... are you trying to mimic a BILBO's functionality (using LabView) or talk to a piece of BILBO hardware (using Labview)? If the later is the case, could you let us know how you trying to communicate with the device.
    However, if the former is the case, and you are purely interested in random sequence generation, perhaps you should consider some of the LabView functions. They may be able to provide a more efficient means of producing random patterns. Obviously, the “random number function” springs to mind. You could easily use this in conjunction with a “less than” function to produce a random digital bit.
    Please also provide the version of LabView and Measurement & Automation Explorer you are using.
    Thanks you for your time,
    Best wishes and kind regards,
    Message Edited by RER on 04-07-2008 06:06 AM
    Rich R
    Applications Engineer
    National Instruments UK & Ireland

  • How to use matlab code in Labview without having MATLAB software. I tried to convert .m files into .dll files. But i could not do. Please help me out..

    Please help me out...
    Solved!
    Go to Solution.

    bombay wrote:
    Yes. It can be done. But Math script can not evaluate all functions in .m files (There are some exceptions).
    And those can perhaps easily be ported to LabVIEW/MathScript?
    It is not sufficient to disregard running your Matlab code in LabVIEW based on a few exceptions without first thoroughly evaluating the impact they have.
    If you want to stick with Matlab in your implementation, then there are other avenues than hypotethizing about the limited portability issues of using MathScript in your project?
    Br,
    /Roger

  • How do i develop code in LabVIEW 7.1 for configuring and performing gated edge counting using NI-DAQmx

    Hi,
    My application requires DAQ counter channel to count the rising edge of the input signal connected to the source pin of the counter. This counting has to take place only when there is a high pulse in gate pin of the same counter.This can be developed easily using traditional daq vis.
    Please let me know how to develop code using DAQ mx.
    Thanks,
    Sudha

    There is an example that demontrates how to do this in DAQmx called "Count Digital Events-Pause Trig.vi".
    gus....

  • How to we use CNC G-CODES in LabVIEW?

    I can't find any G-CODES interpretor for labiew.Anyone can help me? Here is my email for the conversation.
    [email protected]
    Thanks.

    Hi eniscelik,
    About integrating existing G-code into LabVIEW, unfortunately, LabVIEW does not currently have any way to do this, as there are no toolkits or modules designed for this type of application, but  NI has  Alliance Partners who specializes in this type of work.Design & Assembly Concepts, Inc. specializes in motion control and does support these types of applications.
    Otherwise you can keep trying to comunicate with Gharb (link below):
    http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/G-code-interpreter-using-LabVIEW-done/td-p/2...  
    If our developers know our customers are asking for it, they will be able to appropriately prioritize their development time, so I would suggest you to go to our NI idea Exchange (find link below) to provide feedback on G-code support.
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/idb-p/labviewideas
    Regards.

Maybe you are looking for

  • Adding an External Resource - ALBPM Enterprise Server V 6.0

    Hi , In our BPM application, we are consuming an external webservice. In BPM studio, when we tested the application, It was working fine. But when we deployed our application in Enterprise server, We are facing issues while invoking the external web

  • Pointers for Syncing Shuffle (2)

    Can someone shed some light on the following? 1. Is there a quicker way to sync your ipod? When I sync it syncs all music new and old (already on the ipod). I'm saving all of my new songs in the ITunes Music Folder and hitting auto fill. 2. While Syn

  • Creating Digital signature blocks w/ Acrobat 10.1.2 and using reader to sign...

    I'm using Adobe Acrobat 10.1.2 to add digtal signatures to pdf's but when I save them as a reader extended version so people that only have access to Reader can sign them, Reader won't allow them to sign.  How do I fix this problem?

  • Photo border

    Hi everyone, How is this effect done with a photo? Thanks, Dennis

  • From where to download Oracle CM SDK 10g (9.0.4)

    hi, From where to download Oracle CM SDK 10g (9.0.4)for windows. Can somebody help me out. Thanks in advance Mak