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)

Similar Messages

  • How can I output text in a browser window in JAVA?

    How can I output text in a browser window in JAVA?

    "response.getWriter().print()" is the most common method when using servlets

  • How can I output up to 7 tracks simultaneously?

    Hello esteemed GB community.
    I have to create a little effect for an upcoming party. For this I need to output the following:
    - at least 4 separate audio channels (stereo front and stereo rear)
    - one mono combination of these four tracks (to drive a Light organ gizmo - makes the light flicker with the audio)
    - and finally one separate track on which I will put pulses to trigger a relay for a fog machine.
    Setting up these tracks in GB should be fairly straigth forward (although my GB experience is very limited I've done a fair amount of audio mixing in FCP - which I imagine is similar) but my question is, how can I output all these tracks so I can feed them to their respective recipients? This means to two stereo setups for audio (or would it be easier to do 5.1 Dolby - $$$ ?) and then to the light organ and to the relay trigger for the fogger.
    I did a search for multitrack but most answers I found dealt mainly with input, not output. I imagine this will require some kinid of an external box, right?
    Budget for this box is very limited, hopefully less than $200. Quality does not have to be very high although a good bass response will be important for the effect.
    Thank you very much for any help.
    Bo

    Thanks for your help, HT. Would Logic be a better choice than ProTools LE for this? (I know next to nothing about them I must confess...)
    I was just thinking, in the worst case scenario, I could just create the 6 audio tracks in GB, then output three stereo mp3 files (stereo front, stereo rear, 2 control tracks), dump each on a separate cheap mp3 player and get a controller that can remote start all of them at the same time...
    Does anyone know of such a cheap mp3 player that can be remote started via a wire connection to a relay? Is there another forum that deals with this kind of issue?
    Thanks again.
    Bo

  • How can i output the max average?

    How can i output the max of the average?
    i have this queries...
    <cfquery datasource="Intranet" name="GroupStars">
            SELECT execoffice_status, employeedept, COUNT(*) as 'totalstars'
            FROM CSEReduxResponses
            WHERE execoffice_status = 1
            GROUP BY execoffice_status, employeedept
        </cfquery>
        <cfquery dbtype="query" name="GetTotalStars">
            SELECT *
            FROM GroupStars, GetDepartments
            WHERE GroupStars.employeedept = GetDepartments.csedept_id
        </cfquery>
    <cfif GetTotalStars.RecordCount gt 0>
        <cfquery datasource="PhoneList" name="GetAllData">
            SELECT dept.csedept_id, COUNT(*) as 'totalcount'
            FROM employee, dept
            WHERE employee.dept_id = dept.dept_id
                AND employee.emp_status = 1
                AND dept.csedept_id is not null
            GROUP BY dept.csedept_id
        </cfquery>
        <cfquery dbtype="query" name="GetDepartmentTotalEmployeesCount">
            SELECT *
            FROM GetAllData, GetDepartments
            WHERE GetAllData.csedept_id = GetDepartments.csedept_id
        </cfquery>
    <cfquery name="joinQuery" dbtype="query" >
    SELECT *
    FROM GetTotalStars
    WHERE GetTotalStars.csedept_id = -1
    </cfquery>
    <cfset QueryAddRow(joinQuery)>
    <cfquery name="GetUnion" dbtype="query" >
    SELECT *
    FROM GetDepartmentTotalEmployeesCount, GetTotalStars
    WHERE GetDepartmentTotalEmployeesCount.csedept_id = GetTotalStars.csedept_id
    UNION
    SELECT GetDepartmentTotalEmployeesCount.*, joinQuery.*
    FROM GetDepartmentTotalEmployeesCount, joinQuery
    WHERE GetDepartmentTotalEmployeesCount.csedept_id NOT IN (#ValueList(GetTotalStars.csedept_id)#)
    </cfquery>
    <cfquery datasource="Intranet" name="GroupStarsGiven">
        SELECT execoffice_status, submitterdept, COUNT(*) as 'totalstarsgiven'
        FROM CSEReduxResponses
        WHERE execoffice_status = 1
        GROUP BY execoffice_status, submitterdept
    </cfquery>
    <cfquery dbtype="query" name="GetTotalStarsGiven">
        SELECT *
        FROM GroupStarsGiven, GetDepartments
        WHERE GroupStarsGiven.submitterdept = GetDepartments.csedept_id
    </cfquery>
    <cfquery name="joinQuery2" dbtype="query" >
    SELECT *
    FROM GetTotalStarsGiven
    WHERE GetTotalStarsGiven.csedept_id = -1
    </cfquery>
    <cfset QueryAddRow(joinQuery2)>
    <cfquery name="GetUnion2" dbtype="query" >
    SELECT *
    FROM GetUnion, GetTotalStarsGiven
    WHERE GetUnion.csedept_id = GetTotalStarsGiven.csedept_id
    UNION
    SELECT GetUnion.*, joinQuery2.*
    FROM GetUnion, joinQuery2
    WHERE GetUnion.csedept_id NOT IN (#ValueList(GetTotalStarsGiven.csedept_id)#)
    ORDER BY csedept_name ASC
    </cfquery>
    and this part is where i calculate the average, but i only get the average for each department, and from here i want to get the max of the average. how can i do that?
    <td><div align="right"><cfif totalstars eq ''>&ndash;<cfelse><cfset avgstars = totalstars / totalcount>#DecimalFormat(avgstars)#</cfif></div></td>
    thanks for your help

    1) What is it doing instead?
    2) Can you repost your code, but use code tags? If you repaste your formated code and place the tag &#91;code&#93; on top of your block of code and then paste &#91;/code&#93; on the bottom of your block, your posted code will retain its formating and be readable.
    Good luck

  • How can I output RCA video?

    How can I output RCA video from the headphone jack of my macbook pro? Is there any software to do this?

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How can we develop two hierarchies in single entity structure?-HFM

    Dear Professionals,
    In our project we follow legal consolidation hierarchy in entity dimension.
    But client required us Geographical consolidation too.
    How can we create both hierarchies in single entity dimension??
    please revert me,
    Sarath

    Hi Mr.Sarath
    I understood your question,
    means you want create 2 hierarchies in Entity dimension right,
    that means see i do give with example ok
    Nav: Open window client--> Manage metadata-->open the Metadata file that u have saved with open button--> go to Entity Dimension
    Now u have created one hierarchy,
    Entity Dimension
    Geographical Entities (First Hierarchy)
    India
    AP
    TN
    MP
    USA
    Newyork
    Texas
    Legal Entities (Second Hierarchy)
    AP
    MP
    Newyork
    Under Geographical Entities u created few entities and then u can create sibling to geographical entity member , as Legal entities, as another member.
    Then you select the Members list at right side pane of window and then it will show all the members of entity dimension (including Parent and children), then choose the what are the legal entities and then select the each member and drag each member with mouse cursor, to Legal entities member in entity dimension.
    If you do like for all the entities
    the system will not show that same name entity members message.

  • How can I output the alpha channel in Premiere elements 10

    How can I output the alpha channel in Premiere elements 10. What format should I use?
    Tried outputting to an AVI filet but the file did not contain an alpha channel that After Effects 5.5 would recognize.

    Bill,
    I hope you ordered 32 GB or more on that new computer After Effects 5.5 takes up as much as it can.
    The Roto Brush tool is really a timesaver over ordinary Rotoscoping. Although, my problem now is: when I try to send a 1 min. And 11 second video from Adobe Premier Pro 5.5 two Adobe Media encoder 5.5, the process hangs in wait state in the Media Encoder. I have filed a request for help on the Media Encoder forum.
    I know you will put your new computer to use in helping other people and for this I thank you.

  • How can I output a slideshow so that it fills 16:9 tv screen?

    When I output a slideshow to a wmv file I want to burn the file in 16:9 format to play on HD widescreen TV. I cannot view it without bars on sides. How can I output so that slideshow will be border less?

    Search for .prx files on your computer and then select them from the Slide Size drop down. e.g. C:\Program Files (x86)\Adobe\Elements 12 Organizer\Assets\locale\en_US\tv_profiles\12 - Widescreen Enhanced Definition.prx.
    During the creation of the slide show you can still only work within a 4:3 portion of the screen, but selecting a 16:9 size will output without the vertical bars.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Renew, DPS, how can I renew my DPS account on line paying with my credit card

    Hi, how can I renew my DPS account on line, paying with my credit card?
    Many Thanks

    Hi Neil,
    I appreciate you help, however I have some questions:
    This is my Customer ID from our DPS Console:1457082
    My account: [email protected]
    I can not find the new experation date, it still shows 07/08/2014
    I am worried because of this , I don’t want to stay with a service, please help me with this situation

  • TS3999 In MONTH, (PC) iCal only clearly lists 2 items a day. The 3rd item is "faded" and bottom portion cut off, w/ a "more" triangle in the lower-right corner. How can I expand (vertically) so the 3rd line posts clearly, and ONLY shows "more" if 4+ event

    In MONTH, (PC) iCal only clearly lists 2 items a day. The 3rd item is "faded" and bottom portion cut off, w/ a "more" triangle in the lower-right corner. How can I expand (vertically) so the 3rd line posts clearly, and ONLY shows "more" if 4+ events?
    Better yet... as there's a lot of "wasted" space w/ too large Month title and empty space surrounding the Month title above and too much space surrounding the month/year slider bar below, how can I minimize these to allow me more usable / valuable calendar "contents" so I don't need to waste so much time clicking "more" just to see the bottom of the truncated third event and find out there are no 4+ events posted that date?  i.e. more "user-friendly" presentation?
    Thx!
    [email protected]

    In MONTH, (PC) iCal only clearly lists 2 items a day. The 3rd item is "faded" and bottom portion cut off, w/ a "more" triangle in the lower-right corner. How can I expand (vertically) so the 3rd line posts clearly, and ONLY shows "more" if 4+ events?
    Better yet... as there's a lot of "wasted" space w/ too large Month title and empty space surrounding the Month title above and too much space surrounding the month/year slider bar below, how can I minimize these to allow me more usable / valuable calendar "contents" so I don't need to waste so much time clicking "more" just to see the bottom of the truncated third event and find out there are no 4+ events posted that date?  i.e. more "user-friendly" presentation?
    Thx!
    [email protected]

  • How can I find out the number of lines in a text file?

    How can I find out the number of lines in a text file?

    java.io.BufferedReader in = new java.io.BufferedReader( new java.io.FileReader( "YourFile.txt" ) );
    int lineCount = 0;
    while( in.readLine() != null )
    lineCount ++;
    System.out.println( "Line Count = " + lineCount );

  • HOW can i rotate the loop as many lines of multi line container in BPM

    Hi All
    I have to send an idoc to 2 Receivers by spliting the message.
    Based on the occurance of a particular source segments i need to create those many instance of targets.
    IDOC ---> Rec1 (More than one message instance)
         ---> Rec2  (More than one message instance)
    I have taken messages of Receiver into a multi line container1
    and messages of Receiver 2 into another multi line container2.
    HOW can i rotate the loop as many lines of multi line container.
    Thans
    Prasad

    Hi Raj
    There are two webservices are 2 receivers.
    In the idoc there is specific segment , which occurs unbounded,Each occurence we Need to check the value of a particual field and send to corresponding Receiver.
    For Ex:
    ZE1KONH (1..Unbounded)
       >MSFGN =004 --> Rec1
      >> MSFGN==0009 Rec2
    It could be like , 1 or more segm for Rec1 and 1 or more segm for Rec2
                            all are for Rec1 or All are for Rec2.
    so in the tranformation we need to put all message of Rec1 in corresponding multiline container as well for Rec2. Then i need to send to correspongind Receiver.
    So here i need to send all splited messages to appropriate receivers

  • How can I turn off the 2 blue lines running vertically in my image in Photoshop?

    How can I turn off the 2 blue lines running vertically through my image in Photoshop? I want to save my work but do not know if these lines will persist in the saved image.

    normfb wrote:
    I assume the Rulers are showing. In that case, to get rid of each line use the Move tool to straddle the line and drag it whence it came. I really didn't need to add this comment but it is the first time in years I have had a chance to use the word "whence".
    Is this a guide I see before me? Doeth it conspire to confuseth mine eyes with sapphire lines that afoul my worthy parchment, and draw my quill from its righteous path? Be gone foul guide from whence thou cometh.  Verily, forsooth, and hey nonny nonny.

  • Pages is sending my documents in docx format, but windows unable to open them. They arrive blank or can only be read as a single line at a time. When view prior to sending the document is divided with black lines after each sentence.

    Pages is sending my documents in docx format, but windows unable to open them. They arrive blank or can only be read as a single line at a time. When viewed prior to sending, the document is divided with black lines after each sentence.

    Windows will only be able to open these if you have Word 2007+. Older versions of Word, for example Word 2003 would require a compatibility pack.
    Perhaps you can try 'Saving As' a different file type instead?
    Regards,
    Steve

  • How can I sum all the amount per line?

    HI,
    How can I sum all the amount per line?
    EXAMPLE:
    [code]
                                             TOTAL:
    1,000         2,000     5,200            $8,200
      400         1,200     6,000             7,600
    [/code]
    THANKS!!

    If you are sure of the number of columns that you are gonna get then you can add them to a variable and display.
    total = itab-col1 + itab-col2 + itab-col3.
    If you dunno how many columns will come , you have to use field symbols.
    Say the datatabse table has 16 columns which will contain your price and you have to calculate the sum of all those , then assign them to field symbols and calculate.
    Have a look at the following code.
    FORM GET_VALUES_FROM_COSS .
      FIELD-SYMBOLS: <FS1> TYPE ANY.
      DATA: V_COMPONENT1 TYPE I.
      V_COMPONENT1=31.  " your field of table from which amount field starts
    Cumulate the posting values of all the 16 period buckets as to get
    total production order cost. This is to handle the partial posting of
    production order values in different periods.
      DO 16 TIMES.
        ADD 1 TO: V_COMPONENT1.
        ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
        IF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR1.
          ADD <FS1> TO I_FINAL-PL_LABCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR1.
          ADD <FS1> TO I_FINAL-ACT_LABCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR2.
          ADD <FS1> TO I_FINAL-PL_MATCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR2.
          ADD <FS1> TO I_FINAL-ACT_MATCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR3.
          ADD <FS1> TO I_FINAL-PL_OPCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR3.
          ADD <FS1> TO I_FINAL-ACT_OPCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR4.
          ADD <FS1> TO I_FINAL-PL_FACCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR4.
          ADD <FS1> TO I_FINAL-ACT_FACCOST.
        ELSEIF COSS-WRTTP EQ '05' AND COSS-KSTAR EQ C_KSTAR5.
          ADD <FS1> TO I_FINAL-PL_LABCOST.
        ELSEIF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ C_KSTAR5.
          ADD <FS1> TO I_FINAL-ACT_LABCOST.
        ELSEIF COSS-WRTTP EQ '05'.
          ADD <FS1> TO I_FINAL-OTHER_PL_COST.
        ELSEIF COSS-WRTTP EQ '04'.
          ADD <FS1> TO I_FINAL-OTHER_ACT_COST.
        ENDIF.
      ENDDO.
    ENDFORM.                    " GET_VALUES_FROM_COSS
    Let us know if u need more inputs

Maybe you are looking for