How to determine exported signals?

Hello All,
I'm programming the 6602 using the DAQmx 7.4 ANSI C API.  I was wondering if there is a programmatic way to determine which signals have been exported within a task?  The purpose is to provide access to the exported signal attriburtes when a task is being loaded from MAX via DAQmxLoadTask( ).
Jeff

Hi Jeff,
The "DAQmxGetTaskChannels" function will return the list of physical channels within the task.  Also, the "List of Channel Properties" section lists functions that will return specified attributes of channels. More information about both of these functions is available in the NI-DAQmx C Properties section of the NI-DAQmx C Reference Help. You can navigate to the help manual by going to Start>>All Programs>>National Instruments>> NI-DAQ>> NI-DAQmx C Reference Help.
Regards,
Hal L.

Similar Messages

  • How can I export an audio track

    I have made an audio track with three songs in GB and now I want to export it and use it as a track for a Keynote slideshow.
    How can I export it as AAC or similar?

    I don't remember Reason being that straight forward, but the obvious way to go, is to mute all sends and bounce.
    Then solo the reverb channel, in aux, checking it isn't shared by other sources, and bounce. You should have a dry and a reverbed signal, at your convenience. 

  • Can I use the 'Export Signal Property Node' on a quadrature encoder?

    Hi,
    So I don't know which counter board I'd be using yet for this (it's used in conjunction with a PCI-6280--the PCI-6280's counter inputs are all taken and so I need another board), but assuming this is possible at all in DAQmx I wouldn't mind knowing whether, say, the PCI-6601 (or any other timer board for that matter) could do this. I'm programming this in LabVIEW 2010 by the way. 
    I want to have a counter which counts the number of pulses on one channel (I'll call this the 'clock' channel) between when another channel goes from low to high (which I'll call the trigger). It's basically a pulse width measurement, but I only care if there are more than n clock pulses between triggers. I need to have a hardware-timed digital signal which goes from low to high if there are ever more than n pulses between trigger changing state from low to high. 
    What I am planning to do is this: 
    Wire 'trigger' to the z-input of the quadrature encoder, and set the z-input value to some arbitrary large value such that, at the quadrature encoder counter task's settings, the counter reaches terminal count in n pulses.
    Configure the quadrature encoder counter using DAQmx Export Signal Property Node (tutorial I was looking at is here: http://zone.ni.com/devzone/cda/tut/p/id/5387 ) to toggle a digital channel ('counter event output') from low to high if the counter reaches terminal count (ie, if the encoder reads n pulses).
    If the encoder ever reads n pulses on 'clock' between two rising pulses on 'trigger', it sets counter event output high.
    Is this possible? Reading through the manual of M series PCI-62xx devices, the index pulse loads the counter with a particular value so it seems like you could conceivably set the counter to the terminal count if you wanted. My only real problem is whether DAQmx Export Signal Property Node works on all counter tasks or just on edge counting tasks. 
    Thanks in advance for your help. If this isn't possible, I can reply with more details on the problem this is supposed to solve so that you can help me figure out an alternate method.
    Solved!
    Go to Solution.

    There is probably a way to do it, but it it may be easier to use an X-series board for the job.   They support a new counter capability for count reset on a digital edge without needing to be configured in encoder position mode.  I am not sure exactly how that feature's been implemented however, so maybe it won't make things easier after all.
    The plan based on the hoped-for behavior: 
    1. Configure an X-series counter for pulse generation based on "ticks" of your clock channel.
    2. Set both initial delay and low time to the critical # of ticks.
    3. Configure for count reset on a digital edge (if possible in pulse generation mode)
    4. Configure the count reset value to be the critical # (or possibly 1 less, if possible in pulse generation mode)
    5. If you want the output to remain high indefinitely, configure the counter task to use its own output as a
    pause trigger, and pause while high.
    The way pulse generation works is to preload a # of "low time" ticks into the count register.  Then every source edge will decrement the count.  When the count reaches terminal count (0), the counter's output is toggled (or can be configured to pulse).  The register is then loaded with the # of "high time" ticks and the process continues.
    You would be perpetually interrupting the count-down process as long as you got your triggers in time.  The count would keep getting reset to the # of low counts, keep decrementing toward 0 without reaching it, and so on.  If ever you did reach 0, the output state would toggle high, then the high state would prevent subsequent clock signals from decrementing the count.
    You can conceivably do a similar thing with a 6601, but I'm pretty sure you'd need 2 counters working together to get it working.
    -Kevin P

  • How to determine current period start and end dates

    Hi All,
    If given previous period start date and end date, how to determine current period start date and end date?
    Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Can you please suggest an FM to determine the current period dates?
    Thanks & Regards
    Gowthami

    >
    gowthami karunya wrote:
    > If given previous period start date and end date, how to determine current period start date and end date?
    > Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Hello,
    I am assuming you have the Company Code with you & proposing this solution.
    TABLES: bkpf.
    PARAMETERS:
    p_bukrs TYPE bukrs.
    SELECT-OPTIONS:
    s_date FOR bkpf-budat.
    DATA :
    l_perio LIKE bkpf-monat,
    l_poper TYPE poper,
    l_year  LIKE bkpf-gjahr,
    l_spmon TYPE spmon,
    l_periv TYPE periv,
    l_date1 TYPE datum,
    l_date2 TYPE datum.
    CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
      EXPORTING
        companycodeid = p_bukrs
        posting_date  = s_date-high
      IMPORTING
        fiscal_year   = l_year
        fiscal_period = l_perio.
    CONCATENATE l_year l_perio INTO l_spmon.
    * Get the next period
    IF l_perio < 12.
      l_perio = l_perio + 1.
    ELSE.
      l_perio = '01'.
      l_year = l_year + 1.
    ENDIF.
    MOVE l_perio TO l_poper.
    SELECT SINGLE periv INTO l_periv
    FROM t001
    WHERE bukrs = p_bukrs.
    IF sy-subrc = 0.
      CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date1
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date2
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      WRITE: / l_date1, l_date2.
    ENDIF.

  • How to setup/export highest quality?

    New to Premiere and video editing. This is my first project. I could use some beginners advice on setting up/exporting frame size, dimensions, rate, etc.
    I created some Premiere projects from some Mini DV footage I got transferred to .mov. I want finished movies to be the same dimensions.  File size isn't important - just max. quality. I just opened a new doc and used the default settings and did a bunch of editing until I liked it. I'm not sure if the ori. file size is 640 or 720. For export, I chose all the max. quality settings but my first finished export .mov showed unwanted lines (top image, bottom is original mov w/ info. Hosted version: http://postimg.org/image/yfx72o4nt/
    How do I export a cleaner version? Do I need to change the Premiere project dimensions when starting a new project to match the original video, or can it be done after? (would like to salvage the hours of editing).
    Here's a screen cap of the original mov with the default Premiere settings I used.
    LMK if I need to relay more info..
    Mac 10.6.8 / PP CS6

    TheOriginal150mph wrote:
    I thought maybe the original was 640x480 and because the default PP setting I used was likely something larger, there were lines because Premiere stretched it out. So, I'm just lucky the default settings are 640x480? I dont understand where the 720 number fits in on my examples above.
    I believe your source is in fact 720x480. Your exported file is displayed in 640x480 in QT likely due to a crop applied.
    See:
    Clean Aperture Mode
    An image’s clean aperture is a region of video free from transition artifacts caused by the encoding of the signal. This is the region of video that should be displayed.
    In this mode, the video track is cropped to the Clean aperture mode and scaled according to the track’s pixel aspect ratio. For example, a 4:3 DV NTSC track appears as 640 x 480; a 16:9 DV NTSC track appears as 853 x 480.
    Via: Final Cut Pro 7 User Manual
    If you'd like to read up on pixel aspect ratios, check this out: Adobe Premiere Pro Help | Working with aspect ratios
    Another noob question. Is there a keyboard shortcut for "go to end of project", or  "go to beginning"?  (like in Adobe Director) I dont see any playhead-like controls..
    If you're talking about the beginning and end of a sequence, try hitting the 'Home' and 'End' keys on your keyboard for that.
    Your export settings look fine to me. Couple more suggestions:
    Have you tried playing back the exported file with any other applications? E.g. VLC media player?
    Other formats you can try: AVI (Uncompressed) (watch out for file sizes) and H.264 with a NTSC DV preset (supports progressive).
    It's been ages since I last worked with DV/interlaced footage though, so I'm afraid I'm outta my depth here!
    Did a search, found an old thread with some info that might be relevant? Quality problems when exporting mini DV AVI clips CS6 ...

  • How CSSCAN determines which indexes need to be rebuild ?

    Hi everybody,
    i'm currently migrating 3 Oracle databases that contain CP1252 characters unproperly stored in WE8ISO8859P1 instances.
    The key steps of the migration are :
    1. ALTERing CHARACTERSET to WE8MSWIN1252
    2. changing CHARACTER SEMANTIC LENGTH for CHAR and VARCHAR2 columns
    3. truncating data stored in VARCHAR2(4000) columns
    2. Full export
    3. Full import in a ALL32UTF8 instance
    To do all of this (and especially the step 3), i use the CSSCAN utility (very practical !!!).
    And i have a question about CSSCAN: how CSSCAN determines which indexes need to be rebuild. What is the logic ?
    Looking at the CSSCAN report, i have a lot of cells/columns that are affected by the characterset migration, and i have just a few index to rebuild.
    Why would i like to understand the logic ? Because i would like to rebuild ONLY indexes that REALLY need to be rebuilt and i am not sure that all the indexes specified by CSSCAN really need to be rebuilt.
    Thanks for any information about that.
    (and sorry for my english)
    NB: i have managed "function-based indexes" specifically: i drop them before the export, and i recreate them after the import. So my question mostly target the "regular indexes"

    1. All indexes whose key contains at least one character column with convertible or exceptional data, excluding indexes with names equal to some constraint name for the same owner.
    plus
    2. All functional indexes on tables that have columns needing conversion, excluding indexes with names equal to some constraint name for the same owner.
    The condition regarding constraints does not seem to be very fortunate but it comes from times when the appropriate flag in index metadata was not yet available.
    But note that in your migration scenario, you do not actually have to care much about indexes. Step 1 & 2 do not need any modifications to the user data and hence to index contents. Step 3, if done through UPDATE, will modify affected indexes automatically. Step 4 does not affect the database. Step 5 will recreate all existing indexes anyway.
    -- Sergiusz

  • How do I export FCP project to DigiBeta -- what video card?

    How can I export my 90 minute movie edited in FCP to a rented DigiBeta deck, so it will be broadcast quality? What video card do I need to buy? I can't afford an HD, so an SD card is fine for now. Where do I get one? And how much? Are they easy to install? Is it as easy as transferring to mini-DV, but to digibeta? Are there controls while transferring, or does it automatically make a perfect clone of the FCP project onto DigiBeta? I can't find info on video cards in SD anywhere for the MAC. Thank you.
    g5   Mac OS X (10.4.8)  

    See if this helps.
    In the analog world, every generation - copying from one tape to the next - loses quality. A generation of BetaSP doesn't destroy the material, but a generation on VHS pretty much does.
    If you have something important that is already on VHS, it will still lose some quality going to BetaSP. Probably not enough to matter, but the best quality will still come from that VHS tape.
    The analogy to digital video:
    Contrary to what everybody thought in the early days, digital video often works the same way. As soon as you commit images to DV compression you have compressed it and lost a lot of the quality of the otiginal camera signal.
    As soon as you apply transitions, filters, CC, etc. in editing, you are recompressing and losing more quality. Sometimes these two compressions create visible problems.
    Fortunately, outputting that product to DV tape is a digital clone of the date and loses no quality. So there is nothing gained by going to DigiBeta from your system as compared to taking a tape out for transfer.
    But when you take that DV edit from DV format to DigiBeta, it is being compressed again. It will lose quality. Not as much as another DV recompression, but enough to make any visible artifacting worse.
    The best thing, in my oopinion, for you to do is to move your bits into a DigiBeta-equivalent sequence (is that the same as DVCPro50?) and render. Then find a way to get that into DigiBeta - most likely from hard drive at a service bureau or dub house.
    The second best thing you can do is to tell the dub house that your deliverable is going to be DV. If it makes them feel any better you can provide it as a QT file.
    In the end DigiBeta will not add to your quality but decrease it. Probably not a enough to matter, but enough to be a ridiculous requirement under the corcumstances.
    Also consider whether they are working for you, or you are working for them.

  • How can I export photos from my iPad or iPod to my main computer or hard drive. My old computer died and I want to get my photos onto my new computer. Thanks in advance.

    HOw can I export photos from my iPad or iPod to my main computer? My old computer died with my photos on it but I want to move my photo library from my iPad or iPod to the computer I just bought. Thanks for any help you can give.

    Sorry but your iPhoto library is not on an iPad or iPod - you may have photos there (most likely low resolution copies) but not an iPhoto library - dying computers (along with software and human errors) are why you always must have a backup - now is the time to load it
    LN

  • How to determine logical database in a program?

    Hello guys!
    How to determine logical database in a program on Eclipse?
    I have not found any options:
    Thanks!

    Welcome to SDN
    Check the table RSOSFIELDMAP
    Assign points if useful
    Regards
    N Ganesh

  • How do I export a video from my iPhone to a friends computer?

    How do I export a video from my iPhone to a friends computer?

    Same as you would from any digital camera:
    iOS: Importing personal photos and videos from iOS devices to your computer

  • Anyone know how to determine Macbook Air screen tech? Causing migraines

    Hi There,
    Last year, I expereinced a lot of mild migraines which I've traced back to a new Macbook Air.
    At first I had no idea of the cause (diet, stress etc) but have noticed that my eyes feel uncomfortable looking at the screen of my Macbook Air (I don't have this issue with my Dell monitor).
    My eyes don't hurt per se, but I can detect a sublte jittering with the screen - which can turn into a migraine.
    After doing a bit of research, it seems like most (but not all) LCD and LED LCD displays use something called pulse-width modulation to control brightness but after calling Apple support, they told me my MBA doesn't use this technology.
    Does anyone know how to determine the underlaying technology in Apple displays so I can research the cauase of my headaches? I found a good Ukranian website (in english) that explained pulse-width modulation but it didn't really talk about other technologies.
    Any pointers in the right direction would be much appreciated.
    Cheers
    Ben

    What version of OS X are you using? If Yosemite, you need to update to 10.10.1 or higher.
    In any case, start by going to the editor preferences>general, clicking this button and restarting the editor:

  • How do I take 300 dpi photos with my iPhone 4s? And how do I export them to my MacBook Pro at 300 dpi to use as I want to print photos.

    How do I take 300 dpi photos with my iPhone 4s?
    And how do I export them to my MacBook Pro at 300 dpi to use as I want to print photos.
    I have been using the standard camera on the iPhone and require 300 dpi to create photo books as the photos are resized according the layout.
    Your time and assistance in appreciated.
    Thanks

    Thanks Tonefox!
    After looking at a few of the links I found a mathematical equation that assisted me.
    Inches = Pixels/DPI
    eg: 3 inches = 300 pixels/100 DPI
    Using this equation and the fact that iPhone 4s takes photos that are 3264 x 2448 I was able to work out the largest print I could make with 300 DPI.
    Width 3264 pix/ 300 DPI = 10.88 inches
    Height 2448 pix/ 300 DPI = 8.16 inches
    Therefore, the largest print (with 300DPI) I can make of these photos is 10.88 inches x 8.16 inches.
    Which is great!
    So is it critical for me to change the dpi in say photoshop or does it not matter as long as I don't go above the 10.88 inches x 8.16 inches?
    From what I can gather the smaller I resize the photo the higher the DPI and the bigger I stretch the photo the lower the DPI?
    Further clarification will be much appreciated. Thanks

  • Export Report times out - how do I export all my customers?

    We have about 35,000 customers in our BC database.
    I'm trying to export them for use in a direct mailing campaign (and other reports for other reasons) but the export always times out.
    The reports are very simple; ie.
    Custom Report -> Add customer report
    Select Customers (Contacts & Companies)
    Select CRM ID, Customer Name, Default Address Type
    Next
    Generate report (no filters)
    About 33,000 results are in the report.
    I then select Export Report as CSV or Excel and it will sit there for up to an hour or more and do nothing.
    Notes:
    I keep the session live by having a login in another tab.
    Have tried differenty browsers and internet connections.
    I even filtered the results (based on create date) and same problem occurred with just 15,000.
    How can I export this report and other simple reports I need?
    Regards,
    Troy.

    After Sanjit took a look at this it turns out all I needed to do was to save the report before exporting the results. The export was much quicker and, now we have more cutomers in our database, it actually exports!
    Thanks again Sanjit.
    Troy.

  • How to determine whether a recordset is Empty or not ?

    Please see my snippet code below :
    <%     
         String sql="";
         String username="CDS";
         try
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                Connection con = DriverManager.getConnection("jdbc:odbc:Employees","","");
                Statement stmt = con.createStatement();
                ResultSet rs=null;
                   sql = "Select * from Employee where code='" + username + "'";
                   rs = stmt.executeQuery(sql);
                   rs.next();
                   if (rs==null)
                   %>
                        <jsp:forward page="Login.jsp?msg=Username not recognized"></jsp:forward>     
                   <%     
                else
                   %>
                        <jsp:forward page="Login.jsp?msg=Halo"></jsp:forward>
                   <%
              catch(ClassNotFoundException e)
                   out.println("Driver not found");
                    catch(SQLException e2)
                            out.println(e2.getMessage());
                            out.println("<BR>");
                            out.println("Wrong SQL Statement");
                            out.println("<BR>");
                            out.println(sql);
                            out.println("<BR>");
         %>How to determine whether a recordset has no result ?
    From the above code, i use if (rs==null) and that's not worked.
    Help me, guys.

    ResultSet rs = stmt.executeQuery(sql);
    if (rs.next()) {
    %>
        <jsp:forward page="Login.jsp?msg=Halo"/>
    <%
    } else {
    %>
        <jsp:forward page="Login.jsp?msg=Username not > recognized"/>
    <%
    }

  • How can I export my iTunes Library to an external hard drive?

    How can I export my iTunes Library to an external hard drive? and once i do that how can i play the library through the external drive? I basically want to be able to delete all my music on itunes once it is on my external hard drive so i can have more internal hard drive space.

    Follow this guide very carefully: http://support.apple.com/kb/HT1364?viewlocale=en_US
    It's very easy to do....

Maybe you are looking for