Trouble outputting digital waveform to single line

i want to output to a single digital line a digital pulse. my current attempt is to generate a digital waveform and then provide this as data to a digital line output. the vi runs, and the waveform appears as i want, but the digital line doesn't output anything? any help would be greatly appreciated!
Attachments:
digital pulse out.vi ‏32 KB

Hi
In reference to my previous post, you can just leave the inner for-loop, but you have to extract the 4 channels.
Just have a look at the picture.
Hope this helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
DigitalWaveform.png ‏6 KB

Similar Messages

  • Read digital waveform through single DIO line

    Hi I have currently  purchased NI DAQ USB 6363 to accquire serial digital waveform. I'd like to read serial digital data through one of the digital IOs with data rate of 45 kHz. Please see the attached for the data frame. Could anybody comment one the feasibility of this? Is there any example codes that I can refer to? 
    Attachments:
    digital waveform.jpg ‏49 KB

    Hi tintin
    Thanks for posting, and sorry you've not heard from anybody for a while.
    Have you taken a look at the stock digital read examples? i.e. Find Examples >> Hardware Input and Output >> DAQmx >> Digital Input >> Digital - Continuous Input.vi
    The USB 6363 can do DIO up to 1Mhz so it seems feasible at a glance.
    Kind Regards
    Chris | Applications Engineer NIUK

  • XML output - all tags in Single line?

    Hi,
    Scenario: HTTP----> XI --- > File(XML)/Proxy(abap).
    Output XML file has the data in single line(all XML tags).
    Now, issue with abap proxy which reads this XML file for sending attachment in email has length constraint(can not read if line length exceeds 255 chars).
    Is there any option in XI, to print each pair of tags in each line(using carriage return or line feed?)
    Please help.

    Mallik,
    I do not think that this can be achieved in XML to XML (unless you can create a specific module and add to the module tab)
    But if you create say a CSV or TXT file and use the <b>Content Conversion Parameters</b> option
    Here you can specify the fieldSeparator to be 'nl'
    <b>Input</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <record>
    <field1>f1</field1>
    <field2>f2</field2>
    <field3>f3</field3>
    </record>
    <b>Output</b>
    f1
    f2
    f3
    Here you have retained your data and each field is separated by a new line.  Unfortunatley with this method you lose your XML tags
    Regards,
    Mike

  • Jitter of output digital waveform with external clock

    Hi,
    I need to generate digital waveform with 20 bits pattern * 1000 times. Digital waveform must be sync with 1 MHz external clock.
    It is not big deal.
    But there is additional requirement that digital waveform has jitter < 200 ps. It can be delayed for couple ns but it must be very stable.
    Can anyone point me on that parameter? Or share your expirience?
    Thanks!

    Hi Andrei,
    Tph on figure 3 is defined as tp - 2.2ns as we discussed earlier. The data jitter, along with channel to channel skew, is already taken into account. We don't specifically spec the data jitter since we have made this calculate for you. It is safe to say that the data jitter involved in tph is less than 200 ps however this is not a standard spec we provide.
    As for additional board recommendations, what is your application? The 6562 is designed for LVDS applications. The 655x series is highly recommended for high speed TTL based applications. If you reference the 655x manual you will notice similar or better specifications in regards to setup and hold times, which again already take into account data jitter and skew.
    I am curious as to why you would like the specific values documented. We provide the current specifications so that you do not have to use the individual statistics to calculate numerics such as the setup and hold times. Is there something specific you are trying to do here? You mentioned a simple example earlier, what is your actual application?
    Regards,
    Chris Behnke
    Sr. RF Engineer
    High Frequency Measurements

  • Generar digital waveform en port0/line​1

    Hola
    Estoy intentando generar una salida digital (waveform) con una 6624, si utilizo el puerto0/line0  la salida se genera correctamente, si utilizo el puerto0/line1 no veo ninguna señal. ¿alguien sabe a que es debido?.
    Gracias por adelantado.
    Solved!
    Go to Solution.

    Resuelto, fallo mío al entender como funciona Digital 1D U32 1 Chan NSamp, pensaba que sólo se enviaban 0 y 1 a al puerto en vez de que esos números en binario indican el estado del número del  puerto.

  • How can I output 01001001 on a single line?

    Hello,
    I am trying to output a binary address on a single channel using a USB6363 DAQ. I have tried using DAQmx, arrays, I looked at the examples, and I probably just am too new to Labview to understand how to adjust the examples for my use. I attached the code I am currently working with, but any suggestions on how to achieve this would be incredibly appreciated. 
    Thank you!
    Attachments:
    Address output.vi ‏12 KB

    You want to perform a Digital Output, Single Channel, Multiple Samples DAQmx Write. This will allow you to specify the array. I don't have LabVIEW with me at the moment, so I can't see what you've done so far.
    Try and check out this example I made which explains how to generate these types of digital signals with a DAQ device.
    https://decibel.ni.com/content/docs/DOC-19277
    This uses a similar implementation as well:
    https://decibel.ni.com/content/docs/DOC-22938
    You'll see on the document page an example of the kind of DAQmx task you need to configure.
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Digital waveform output

    hello everybody
    first of all: i'm working with m-series card pci 6259 and measurement studio c++.
    i want to output digital waveforms to sixteen digital outputs.
    the waveform buffer should contain at least 720 points.
    the frequency at which the output should be changed is varying between 24kHz and 120kHz.
    when one waveform buffer is done, it must be recalculated, frequency adjusted and output again, and so on...
    in the data sheet of my card i read about waveform characteristics of port 0. but i can't find any
    documentation about this anywhere.
    so can anyone help me with this problem?
    regards
    markus

    The standard installation of NI-DAQmx puts an item into the Start menu: Start->National Instruments->NI-DAQ->NI-DAQmx C Reference Help.
    Look under C Functions->Channel Configuration/Creation->Create Digital Output Channels, and Write Functions, various DAQmxWriteDigital... functions.
    Look in the NI-DAQmx Concepts section for various kinds of information about digital output.
    Look for the C-language examples under Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • Digital waveform to DAQ

    Hi,
    I have generate some digital waveform by reading a text file. the graph that is connected to the waveform is what i wanted. But I need to output this waveform through one line digital output of USB6501. How do i go about doing it?
    Any help is appreciated. Thanks.
    Attachments:
    data.txt ‏1 KB
    test.vi ‏64 KB

    When one looks at the specifications for the USB6501, one notes that it cannot do hardware-timed output.  Therefore, you can't use a waveform datatype to generate output with this card.
    So, you will have to use software timing and a loop.  Since you specify a pretty slow transfer rate (0.5sec), it should work fine.
    Look at one of the examples that ships with LabVIEW to get you started.  Click "Find Examples...Hardware Input and Output...DAQmx...Digital Generation...Write Dig Chan".
    Of course, you only want one line.  So when you specify your physical channel, only specify one line.  Change the function inside the loop to "Single Channel...Single Sample...Boolean (1 line)".  Now the function will accept a single boolean value.
    You do a lot of screwing around with getting your data into the right format.  That can be simplified a lot.  See the attached picture.  This is not complete code -- you will need to look at the example I mentioned -- but this picture and the example, combined, should tell you what you need to know.
    Hope this helps get you started.

  • How do I output three digital waveforms at once?

    I posted this in Digital I/O, but now I think it's actually more appropriate here because it's not a hardware question. I need to output three digital waveforms at a relatively low frequency, 71.9 Hz. I have a PCI DAQ card, the 6024E and am using the NI-DAQmx functions to try to do this. My program basically generates the square wave that I want, and converts it into a digital wave. I do this 3 times for the three separate waves, and then I combine them into an array and send them to my DAQ functions, which are in a while loop so I can get continuous output. My problem is that the waveform that the DAQ is actually outputting is not what I want. It's outputting a wave that has the same duty cycle (approximately) but the frequency is over 2 kilohertz. It's not like this all the time; after it outputs about 7 cycles of this wave, it goes to logic low for a long time, and then repeats itself. When I probe the digital waveform right before it goes into the DAQ functions, it's running correctly at 71.9 Hertz. Am I doing anything wrong with the DAQ functions or the sampling information? Thanks in advance.
    -- Josh Matloff

    Hello Josh,
    I'm pretty sure that the reason that your digital waveforms are not being produced at the correct frequency is because your digital output is not associated with any sort of timing. Unfortunately, with an E series board you can only do software timed digital operations. This means that the frequency at which the values on your digital lines will be updated depends on how fast/often your computer executes the DAQmx Write that is inside of your while loop. If you have an M series board, you can actually correlate the DIO operations with another subsytems clock (AI/AO sample clock, etc.) which means that you can acheive hardware-timed DIO. In the event that you do not have access to an M series board, I think that AnalogKid2DigitalMan was spot on that you would want to use counters to generate pulse trains (that is if your digital waveforms have a constant duty cycle and period). Depending on what the DAQ board is outputting to, you might also want to consider using the Analog Output channels to generate your digital waveform. As long as you continue to use the digital lines on the 6024E, there is not really a way to guarantee the timing of when the digital lines will be updated. You might be able to get close, but you will probably see some "hiccups", especially if your computer needs to service interrupts or give processing time to another application. And lastly, heed geckoee's advice and don't forget to properly close out your tasks! Putting in some error handling may also help in the debugging process.
    Take care,
    E.Lee
    Eric
    DE For Life!

  • Need to read text from FM 'BBP_PD_CONF_GETDETAIL' in a single line of ALV output

    s
    Hello Gurus,          I have to read the attached text in which TDID and TDLINE need to read.Here i need to write logic like that in ALV output text of TDLINE related to TDID Htxt come in single line if there is more than 1 line used , same for NOTE and Itxt. Please help me out with some ogic to show data in alv output. I have used FM 'BBP_PD_CONF_GETDETAIL'. Thanks Sankil
    TDID TDLINE HTXT Supplier  Text HTXT Supplier  Text NOTE Note NOTE Note ITXT Supplier  Text ITXT Supplier  Text NOTE Note NOTE Note

    Hello Sankil
    This can be achieved by using event AFTER_LINE_OUTPUT and also search with keyword AFTER_LINE_OUTPUT to get more examples
    Please go through the below tutorial.
    http://www.****************/Tutorials/ALV/Wordwrap/Index.htm
    Thanks

  • Display spool output i.e a single row in a single line

    hello All,
    I have report that outputs many columns  is single row , when run in the background.
    The problem that I am facing that the the single row of columns is wrapped into second line when certain limit of chararcters is reached. That is the single row of data is placed into two lines.
    While running the job in the background I choose the LOCL or LP01 printer with format X_65_255.
    Also note that I have other SAP systems but in that systems when I use the same procedure(printer and format also the same) for the same report the outputf for single row is not warpped into 2 lines but appears in the same line.
    Please provide your input. Points will be rewrded for helpful answers
    regards
    Sachin

    Note that this solution is for downloading wide formats only - not printing...
    Here is what I did:
    To create format Y_1024_1023 (New name!)
    1) Transaction SPAD
    2) Click "Full Administration" button
    3) Click on "Device Types" tab
    4) Click "Display" button next to "Format Types" field
    5) Place cursor on X_65_255
    6) Click in menu Format --> Create using template (F5)
    7) Change Number of rows to 1023 (if set to 65, you will have more pages and hence more headers)
    9) Change Number of Columns to 1023 (as wide as can be displayed in SP01)
    8)Give new name to format e.g. Y_1023_1023
    To create spool device YSPOOL:
    1) Transaction SPAD
    2) Click on "Device/Servers" tab (first tab!)
    3) Click 'Display" button next to Output Devices field
    4) Click "Create" button (Shift-F1)
    5) Give output device long name (e.g.YSPOOL) and short name (e.g.YSPO)
    6) Device attributes tab --> Device type = ASCIIPRI (Some generic ASCII printer) - I actually used a ZU_ASCII created in our system but ASCIIPRI should also work.
    7) Access method tab --> Host printer = some value (e.g. outfile2)
    8) Save
    Now assign Y_1024_1023 to Device type:
    1) Transaction SPAD
    2) Click on Device types tab
    3) Enter "ASCIIPRI" in "Device types" field and click display button
    4) Click on "Formats" button (F6)
    5) Click on "Create' button (Shift-F1)
    6) In popup, type Y_1023_1023 (or use drop-down to choose from)
    7) Save
    Per OSS Note 186603 --> Call SPAD and choose Settings -> Spool System -> Other. Select 'SP01: Number of Lines for List Display from Format'. You may have to clear cache via SPAD->Goto->Cache control -->Click "Reset Cache Settings".
    Now, when you schedule your background job, choose YSPOOL as your output device and choose the format as Y_1024_1023.  The spool generated from this job will be 1023 columns wide and 1024 lines long (less headers!).  Note that opening such a large spool (long & wide) will consume lots of app server memory so exit out as soon as download to presentation server is complete.

  • How to print long raw text data in report output in single line?

    Hi All,
    I have a requirement where I need to print raw comma separated text data in the report output which end user will open in excel and can sort as required. I can not directly generate excel output.
    Now there is huge set of data and each row from the report query should be get printed on single line, It should not get printed on the next line.
    I tried to extending the report with 240 characters but still there are some text data which is getting printed on the next line.
    Please share your view if someone has any solution on this issue.
    Thanks in Advance.
    Arun

    Make the report even wider. By default a report layout can be 10 pages wide. If you need more, change the "Max. Horizontal Body Pages" property, and extend your layout too.
    IMHO, I wouldn't even use Reports to create a csv file. Utl_file or an sqlplus script that spools to a file are better options I think.

  • Output the element in a single line

    Hi all,
    I encontered a problem when using castor xml tool to gengerate an xml file.
    The parser that I an using is org.exolab.castor.parser=org.apache.xerces.parsers.SAXParser.
    And I set org.exolab.castor.indent=true in the castor.properties
    I got the following ouput:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE subscribers PUBLIC "...
    "subscriber.dtd">
    <subscribers provider="..."/>
    <user name="..."
    pass="..."/>
    </subscribers>
    What I expect is that the user element should be in a single line like following:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE subscribers PUBLIC "..." "subscriber.dtd">
    <subscribers provider="..."/>
    <user name="..." pass="..."/>
    </subscribers>
    What should I do to achieve this goal?
    I found there is a property which might be useful, but I don't know exactely how to use it:
    org.exolab.castor.features=
    thanks in advance

    Hello,
    I've found a solution:
    We can use our own Serializer to control the output format:
    In the castor.properities,
    by default org.exolab.castor.serializer=org.apache.xml.serialize.XMLSerializer
    I deprived this class and overrided all the constructors and the setOutputFormat method:
         public void setOutputFormat(OutputFormat arg0) {
              arg0.setIndenting(true);
              arg0.setLineWidth(0);
              super.setOutputFormat(arg0);     
    and it works fine
    Thanks anyway
    Message was edited by:
    laseine

  • How to format generated XML using XMLELEMENT() my output is coming in a single line i want it to be in a XML format

    hi I am having problem in formatting XML file which I generated with xmlelement() when I execute it gives me putput in a single line
    is there any way that I got my output as a XML file HAS......

    That is expected behavior. PRETTY print(ing) is only needed for humans. XML Parsers don't need the XML to be pretty printed. If you open the XML file in a browser like Windows Explorer or Firefox, the browser will pretty print the output for you.
    In all, the "single line" output is done because of PERFORMANCE reasons (lack of unneeded end of line and CTRL line breaks etc)
    SELECT xmlelement("Employee Name", dummy) as "XML RESULT"
    FROM DUAL;
    <Employee Name>X</Employee Name>
    SELECT xmlelement("Employee Name", xmlelement("SurName", dummy)
                                     , xmlelement("LastName", dummy)
                     ) as "XML RESULT"
    FROM DUAL;
    <Employee Name><SurName>X</SurName><LastName>X</LastName></Employee Name>
    XMLSERIALIZE can pretty print the output if needed via INDENTation
    SELECT XMLSERIALIZE(CONTENT xmlelement("Employee Name", xmlelement("SurName", dummy), xmlelement("LastName", dummy)) as CLOB indent SIZE=1 )
    FROM DUAL;
    <Employee Name>
         <SurName>X</SurName>
         <LastName>X</LastName>
    </Employee Name>

  • Getting output in a single line

    hi to alll
    i want to get output of a column in single line seprated by comma
    like in emp table i have ename column . i need out put like
    scott,king,....,..
    thanx in advance

    In 10g you could use the COLLECT aggegrator to get close:
    select deptno
    , cast(collect(ename) as string_table) staff
    from emp
    group
    by deptno
    where string_table has been defined as
    create type string_table as table of varchar2(40)
    Alternative, you can use Data Cartridge to define a new Aggregator that allows queries like:
    select d.dname
    , count(d.dname)
    , Amisvarchar2Sum(e.ename)
    from dept d , emp e
    where e.deptno = d.deptno
    group by d.dname
    where Amisvarchar2Sum is the user defined aggreation operator. The results are like:
    RESEARCH 4 ALLEN,SCOTT,BLAKE
    SALES 3 KING,BRUCE
    etc.
    See here: Oracle Data Cartridge - Extending the Database at http://technology.amis.nl/blog/index.php?p=34 for a description.
    I hope this will help you.
    Lucas

Maybe you are looking for

  • Credit memo release

    Dear All, In our business scenerio, credit memo is raised and after taking approval as release strategy is there invoicing is done after 3-4 months, at that point of time system is showing error that posting period is closed, which is a standard proc

  • Business Server Page Error

    Hi, I have the following problem: on executing a BSP application which contains the BPS layout the error "CX_SY_ARITHMETIC_OVERFLOW" occurs. Does anybody know why this error occurs? I don't get an entry in ST22 or SM21 to analyse the problem. Thanks

  • Waiting in QUEUE - client Proxy

    I am executing client proxy. If I set the the execution mode to 'D', I have no issues, but If I set the execution mode to 'B' for my outbound queues (EO ), the queue is not executed. Message is set to 'READY' status (status text 'transaction recorded

  • Gzip and FTP datafiles in one step

    Gzip and FTP datafiles in one step i have 10 datafiles in a single dir. which are between 2GB and 3GB and i want to transfer it to another host using FTP. I want to do the following: 1. gzip all the datafiles 2. FTP them to target server i want to ac

  • Catalog sharing between Lightroom and Photoshop Elements

    Can the catalog be shared between Lightroom 2 and Photoshop Elements 10?