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

Similar Messages

  • How do I use the Index Values property node with a multidimensional array.

    I am using a 2D array to store operator inputs on my front panel.  I only want to display one element to the operator at a time.  I am trying to use the Index Values property node to change the displayed element.  However, I can only get the Rows index to work.  How do I direct the Columns index as well?  The help says to use one per dimension.  I need clarification on what this is talking about.  I've tried adding a second element to the property node, 2 seperate property nodes, and diferent wiring techniques. (series, parallel)

    If you only wire up one of the inputs (col or row) what you get out is a 1D array of either the column or row. If you wire controls to both, then you will get one element out of the array. Getting a single element in a 2D array requires you to specify both a row and column.
    Message Edited by Dennis Knutson on 02-08-2007 08:34 AM
    Attachments:
    Index 2D Array.PNG ‏2 KB

  • Can I use the Export express as a wireless client?

    I live in the proximity of a free open wireless network and I would like to have my Airport Express act as a wireless client (i.e., pick up the wireless signal) and then pass it via Ethernet to a computer that does NOT have a wireless card.
    I configured the Airport Express to connect to the wireless network successfully (I chose the option "Join a wireless network" and the light is now green).
    However, the Ethernet port doesn't seem to output anything.
    I noticed that under "Connection Sharing" in the Airport Express the option selected is "Off (Bridge Mode)" and it's grayed out.
    Any ideas?

    I live in the proximity of a free open wireless network and I would like to have my Airport Express act as a wireless client (i.e., pick up the wireless signal) and then pass it via Ethernet to a computer that does NOT have a wireless card.
    Most likely not, as for the AirPort Express Base Station (AX) Ethernet port to be enabled, the AX must be configured as either a remote or relay base station in a Wireless Distribution System (WDS). Unfortunately, most non-AirPort wireless routers are not WDS-compatible with the AirPorts.
    I configured the Airport Express to connect to the wireless network successfully (I chose the option "Join a wireless network" and the light is now green).
    However, the Ethernet port doesn't seem to output anything.
    In this configuration, the AX is acting like a wireless client. No different than any other device (printer, computer, etc.) that will connect to a wireless network. When the AX is configured as a "wireless client," its Ethernet port is not enabled.

  • How can I use the PCI-4451 installed in a laptop?

    I would like to configure a sound level meter using a laptop and PCI-4451. I need a portable and rugged system to be used in the field. What are my options? Can I use the Configurable Signal Conditioning Enclosure CA-1000?
    Thanks again.

    Hello,
    The CA-1000 does not contain a PCI bus interface for cards like the PCI-4451. The CA-1000 accepts a variety of signal conditioning modules and is then connected by cable to an acquisition device.
    To use the 4451 with a laptop, you would need a Cardbus to PCI expansion chassis, such as those offered by MAGMA and other companies. I mention MAGMA only because I have a small amount of experience with their products. I'm sure there are others that are equally suitable.
    If you're not 100% attached to the 4451, there are a couple other options. You could use a 1394 based DAQ device such as the NI DAQPad-6052E for FireWire, which could then be co
    nnected to something like the CA-1000 if necessary, depending on your signal specs. Keep in mind that even though both the 4451 and 6052E are nominally 16-bit boards, the 4451 would be more suitable for audio measurements, particularly if you need simultaneous measurements on more than one channel.
    Finally, a portable PXI system with the 4472 would make an ideal platform for precision audio measurements, if this fits within your budget and your definition of portable.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    No, nothing will prevent the computer from going to sleep when you close its display except third-party hacks that are designed to do exactly that. I strongly advise against using any of those, as they may interfere with successful entry into clamshell mode (and they carry other downside risks as well). Just wait until the computer is asleep (with its sleep light pulsing), then press any key on the keyboard. It sounds as though your setup is working as it's designed to do.

  • How can I use the versionning tool to make a coherent solution to export

    how can I use the versionning tool to make a coherent solution to export all objects used in my project to other db schema for testing as well as for implementation .
    I want to know proper steps to Import/export objects.
    while I am exporting my Master repository and work repository then again importing the all , no problem comes all the physical logical schema mapping and mapping between interfaces retains but
    while I am trying to export and import one or two packages on the ease of testing then I am getting so many mismatches manually I am setting all why so?
    required ur suggestion
    Palash Chatterjee

    kelly-bot wrote:
    Thanks for the tip, but like I said, I dont want to always have to use the arrow keys. Is it not possible to actually DRAG one pixel at a time? I recently upgraded to CC from CS3 and I keep running into things that feel like a downgrade. Super disappointed.
    Our posts overlapped there.  Are you saying you could reliably drag one pixel with CS3? 
    What other issues are you having?  Things like the Crop tool can feel strange at first, but I promise you you'll never want to use Classic mode once you get used to it.

  • I have an airport extreme and express, if I use the extreme as a base station connected to my old router can I use the express to extend the signal while also creating a new network that only I can use?

    I have an airport extreme and express, if I use the extreme as a base station connected to my old router can I use the express to extend the signal while also creating a new network that only I can use? Essentially having two wifi connection off the same network? If so how do I set this up?

    Extending using a wireless connection always results in a performance compromise.
    If the Express is going to extend using a wireless connection, then the Express will need to be located about half way between the AirPort Extreme and the general area where you need more wireless coverage. The more that you have line-of-sight between the Extreme and Express, the better the network will operate.
    Remember......the Express can only "extend" the quality and signal speed that it receives, so it needs to be located where it can get a very good signal from the Extreme. Although Apple cleverly uses the term "extend", a more accurate term for the Express would be "repeater".
    If the Express will extend by connecting to the Extreme using a permanent, wired Ethernet cable connection......highly recommended for best performance.....then the Express can be located exactly where you need more wireless coverage. There is no signal loss at all through the Ethernet cable, so the Express gets a full speed signal no matter where it might be located.
    Post back to let us know which way to you want to go.

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • How can I use the property 'top left visible cell' in a table?

    Hi! I use a table in my program and I want to show the top left cell of the table every time when the user clicks a button .I don't know how to do this. If I use a multicolumnListbox I can select the property 'top left visivle cell'. Is it possible with a table ?
    Thanks for any help.

    Yes, it's possible - use the "index value" property to set top-left cell for arrays and tables. See example attached.
    Attachments:
    Index_value_ex.vi ‏30 KB

  • Can I get an Ipad with wifi and cellular but no contract with a carrier in the US?  I want to use it overseas in Africa with a local SIM card and use the cellular signal for all my internet.

    Can I get an Ipad with wifi and cellular but no contract with a carrier in the US?  I want to use it overseas in Africa with a local SIM card and use the cellular signal for all my internet. 

    Yes you can.  All Ipad's are unlocked and can be used any where in the world. Buy the AT&T version which is GSM in other countries

  • Within itunes, can I use the file/library/export library option to transfer itunes to a new pc

    Within itunes, can I use the file/library/export library option to transfer itunes to a new pc? I have read the other options but they will be difficult for me to action. Can this be used as an easier route?

    No. See this migrate iTunes library post.
    tt2

  • Can I boost the DSL signal using my 1st Generation Airport Extreme or Express? Also, can I get wireless printing?

    Can I boost the DSL signal using my 1st Generation Airport Extreme or Express?
    I just moved into a house where they have ATT DSL and it is really slow in my room.  I am hoping that I don't have to purchase a booster and I might be able to use my Airport Extreme or Express to boost it.  I don't think they want my Extreme as their router, though.  They are PC.
    I am also hoping that I can set up a wireless printing situation in my room using the Express or Extreme.
    I am running 10.4.11 on my old MacBook Pro laptop, 10.5.something on my old desktop (MacMini).
    Thanks for any help ahead of time,
    Carole

    Can I boost the DSL signal using my 1st Generation Airport Extreme or Express?
    I just moved into a house where they have ATT DSL and it is really slow in my room.  I am hoping that I don't have to purchase a booster and I might be able to use my Airport Extreme or Express to boost it.
    Unfortunately, this won't work especially if you want the connection between the routers to be wireless. The two are just not compatible for configuring an extended network. However, it could work if you can have them interconnected by wire. In that case, you could configure them into a roaming network.
    I don't think they want my Extreme as their router, though.  They are PC.
    This shouldn't be an issue as the AirPorts support wireless clients regardless of which operating system they are running.

  • Have tried to copy ratings over to a new computer using the export playlist function and this fails... can anyone suggest why?

    have tried to copy ratings over to a new computer using the export playlist function and this fails... can anyone suggest why?

    Because ratings don't travel with the files or the playlist.
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    If you have an iOS device that syncs with contact & calendar data on your computer you should migrate this information too. If that isn't possible create a dummy entry of each type in your new profile and iTunes should offer to merge the existing data from the device into the computer, otherwise the danger is that it will wipe the information from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data. If you don't have any Apple devices then see HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store.
    tt2

  • I can not use the property of Touch ID to buy apps from Apple Store. !!!

    I can not use the property of Touch ID to buy apps from Apple Store. !!!
    Knowing that I have to activate the property of the settings, but they only work when you open the lock and does not work with me to buy the apps in Apple store !!
    And I'm sad and very upset by this  problem and I bought this phone in order to enjoy this feature and this experience But this did not happen !!  

    Hi I BOSS,
    If you are having issues using Touch ID to make purchases from the iTunes Store, you may find the Purchasing section of the following article helpful:
    iPhone 5s: Using Touch ID
    http://support.apple.com/kb/HT5883
    Regards,
    - Brenden

  • I am using the dynamic signal analyzer.vi but this vi has the output as single precision. How can I change this to DBL precision?

    I am using the dynamic signal analyzer.vi but this vi has the output as single precision. How can I change this to DBL precision? If I change the representation from single to double in the AI buffer read.vi labview returns ilegal operation and crash. I have labview 5.1 on windows 95 and one AT-MIO16XE50 DAQ board.
    Thanks in advance
    Ricardo.

    Probably by changing the data type that lvdaq.dll expects to write to is causing the crash. I can't test this since I have only 6.1 installed now. In any case, since the daq card is only 16 bits, the single precision is probably adequate for AI Buffer Read. If you do need the greater precision later on, you should be able to change representation in any one of the upper level VIs.

Maybe you are looking for

  • Unstable system with two 20" monitors

    I recently picked up a new 20" cinema display dor my Dual 1.8 G5 with 1.5 Gigs RAM and the stock GeForce FX 5200, and now the computer keeps crashing. I used to run a clear-type 20" and a little 15" CRT monitor, now I'm using the two 20s. What kind o

  • HT204291 cannot mirror imac, only extend, any advice please?

    Imac, when trying to mirror the screen to my apple tv, it automatically reverts back to extended desktop immediately.

  • IOS 7: wallpaper scaling workaround

    I have come up with the following workaround for the scaling issue of your personal wallpapers. You need photo processing software on your computer for this. That software should be able to crop and resize your photos, but above all be able to put a

  • Avaya(Non-java app) integration with ADF

    Hi, We have a desktop application Avaya (non-Java) & want to integrate it with ADF. Currently we do it by passing parameters in HTTP URL. If the user clicks on a button in non-java app, it should: (1) open search page of an ADF application and execut

  • Macpro and adhoc print server

    I am trying to setup a Linksys printserver in adhoc mode using a MacBook Pro. I have searched the internet for directions and can not find any. Here is what I am trying to do. My daughter will be going to college in the fall. I thought it would be ni