DAQmx encoder example can read degrees, want pulses

Hello:
I'm  new to DAQmx and I'm using a LV8.0 example to read pulses from a quad encoder single ended and it is reading degrees just fine, how do I adjust the vi to measure steps from the motor?
Thanks
Solved!
Go to Solution.
Attachments:
ExampleCounter.JPG ‏89 KB

Hi,
i think you could just use the "count edges" mode with "externeal controled" direction.
regards,
tobias

Similar Messages

  • I've just bought a new mac and I want to transfer the content from my old Macbook to my new. If I have iCloud enabled on both devices, is this simple, or is there a limit to what I can transfer? For example, can I upload word files to iCloud?

    I've just bought a new mac and I want to transfer the content from my old Macbook to my new. If I have iCloud enabled on both devices, is this simple, or is there a limit to what I can transfer? For example, can I upload word files to iCloud?

    iCloud is not the way to do this. You should use Migration Assistant - with this you can transfer your complete User folder from the old Mac including preferences and logins. You will need to connect the two with FireWire or USB depending on the models.
    Ideally you should do this before you set up the new Mac - if you create a user account with the same name than the Migration will have to give the migrated user folder a different name. When you first switch on the new Mac it should ask you if you want to transfer your data, and give you instructions.

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • Can read TEDS in MAX but not with DAQmx VIs

    Hi,
    I have a cdaq 9181 with a 9234 accelerometer module.  I have 3 teds equipped accelerometers connected to ai0, ai1, and ai2 repectively.  In MAX, when I reserve the chassis I can read all three teds, no errors.  When I do the same thing in labview (ie reserve the chassis, create a daqmx task, associate teds data with each physical channel, all with daqmx VIs) I can only read two out of three teds.  The third one throws a "no teds sensor detected" error.  This code has been in use for about four months now, though I just rewrote the calling VIs, and hasn't displayed this problem.  I've attached a snippet of the task building VI for reference.
    Any ideas what's going on?
    Thanks.
    Using LV2012 and MAX 5.3.1 running on Windows 7 32 bit.
    CLAD
    Attachments:
    Build Daq Task Snippet.png ‏58 KB

    Nope.  That's a delete from array, length 1, index 3.
    In any case, I eliminated that block since the string array wired to the for loop controls how many devices the VI attempts to configure.  Same result, verified it was trying to configure ai2.  Here's the updated snippet:
    CLAD
    Attachments:
    Build Daq Task Snippet v2.png ‏54 KB

  • I have bought ebook from itunes and i can read it on Ibook on my Iphone,but I want to read book on my macbook what should I do?

    I have bought ebook from itunes and i can read it on Ibook on my Iphone,but I want to read book on my macbook what should I do? please help me

    ...which is a real shame. I 'married' Kindle very early on, so that's my format of choice. I like being able to read on my e-reader or computer. I find it very odd that Apple hasn't come up with a Mac reader for its eBook format.
    Clinton

  • I want an app maybe a kindle app so that I can read text in direct sunlight

    I want an app maybe a kindle app so that I can read text in direct sunlight

    johnpga139 wrote:
    I want an app maybe a kindle app so that I can read text in direct sunlight
    You need to buy yourself a different device which uses e-ink technology, like the most basic Kindle.

  • HT1296 I purchased a book on my IPAD, from IBOOKS, I want to sync it to my droid phone so I can read it any time. How do I sync them?

    I purchased a book from IBOOKS, on my IPAD & I want to sync it to my DROID phone, so I can read it any time. How do I sync them?

    There is no convenient way to share I books with non iOS devices.   For the future, download the kindle app or the nook app.  Their libraries can be accessed by any device that has an app.
    In a perfect world, apple would make an I book reader available on the google market, but that has not happened.

  • Read no. of pulse count with fixed time interval

    Hi,
    I am try to read no of pulse count ( Pulse period = 500ms, On time = 100msec and Off time = 400msec). Between pulses there is a fixed time interval of 2seconds. I am using NI USB DAQ 6341. Can anybody help me regarding this? 

    Thanks for replying. I have gone through  that example, the given example are only increment count when pulese are detected.
    In my case, i want to count the no. of pulses between the time interval of 2sec. e.g. Suppose my device generate 5 no. of pulses and after every 5 pulses their is 2sec time interval, here i need to read only 5 pulses not the continuous count. And no. of pulses are generated by device can be vary but the time interval between those pulses are fixed. Could you give me suggession regarding this?

  • I cannot continue to use my external hard disk which I used with windows. OS 10.8 can read it but declares the disk as "read only". Is there a way to change this?

    Hallo everyone,
    I just tried my external disk on my Macbook air and I cannot save data to it any longer. This external disk was used with windows. Now i want to use it with macbookAir as I have changed my computer. It seems that OSX.10.8.5 can read the data on this external drive but when I try to save new data to it (pdf documents from the web for example) it refuses to save the data ans the message I get is that my drive is "read only". Please is there a way to change this or do I have to format the re-format the external drive?
    Thanks for your help

    You will have to reformat the drive for use with a Mac.
    Mac only: Format as MacOS Extended (Journaled)
    Mac and Windows: Format to MSDOS

  • How to export in a format Quicktime can read?

    I'm using CS4 on Mac OS X 10.6.2.  I've created an image sequence movie with Quicktime Pro, which resulted in a 5.81GB file.  I then imported the movie into Premiere to compress it.  The export settings from Premiere were:
    - H.264
    - 24 frames
    - Progressive
    - Square pixel
    - 1920x1080
    - NTSC
    - There is no audio but media encoder will throw an error if audio isn't selected in the export.
    The output file is a m4v and is 32.9MB.  Neither iTunes nor Quicktime can read this file.  How do I export so the file can be read by Quicktime and also retain a small overall file size?

    Not directly from Lightroom unfortunately. I am assuming you want the pdf as the final output to send to people instead of a physical book from a commercial printing company. To achieve this you can fairly easily combine the pdfs outside of Lightroom. On the Mac, you can do this in Preview where you simply drag the page thumbnails between pdf documents. On a PC you need to use a program like Acrobat.

  • How can read BOM component date before save the production order??

    Hi Experts,
    In our company, we need to develop a program to read the BOM component data of the production order
    before we save the production order.
    That for example ,when we create and release a production order , before we save the production
    order,we want a porgram to read the BOM component data. If some component data can meet our
    requriement (may be if there is material requirement quantity>100 EA),then the system will pop up a
    small dialog box to remind us.
    There is user exit PPCO0007 and PPCO0007.But it seems they only can read the head data of the
    production order before we save the production order. And the BOM component data of the production
    order are saved in the RESB(Reservation Table).So if we do not save the production order,all the BOM
    component data are not saved in the RESB table.
    So how can slove the problem??
    How can read component date before save the production order??
    Are there any other user exit we can use???

    Hi Just wanted to check am I right that you are trying to check if you have enough Materials Available before you release or Save the order right ? if this is your business objective then when you create order you have material availability tab which checks and gives error if shortage is there. Please let me know if is this wht you asking for ?

  • Illustrator's font is different for some reason and hard to read, I need to change it so i can read all the tabs and file names. Like file, edit, options, type, select, effects..... swatches, layers.. every tab is in a different font that is hard to read

    Illustrator's tabs are all in a different font that I can read.
    I need to know how to change it so I can get back to a steady workflow.
    For example..
    File, edit, options, type, select,  effects, view, windows, help..... pathfinder, layers, swatches, stroke, and the file name (all the tabs)
    are all in a different font, I don't know how it got changed but now it is different.
    This is a shared computer so someone might have changes it on accident but I'm not sure.

    Many of your points are totally legitimate.
    This one, however, is not:
    …To put it another way, the design of the site seems to be geared much more towards its regular users than those the site is supposedly trying to "help"…
    The design and management of the forums for more than five years have driven literally dozens of the most valuable contributors and "regulars" away from the forums—permanently.
    The only conclusion a prudent, reasonable person can draw from this state of affairs is that Adobe consciously and deliberately want to kill these forums by attrition—without a the PR hit they would otherwise take if they suddenly just shut them down.

  • Mail not can read some messages.

    I use Mail (3.6) and after do the 10.5.8 upgrade I can not read some messages (the message appears in white), but I can read the same message with Entourage for example...
    I have the same problem with Safari... some sites appears now in white and I cannot read them...
    Before, with the 10.5.7, always work perfect.
    You can help me?
    Thanks!

    Hiya Trebla07,
    have you had a look at mail/preferences/fonts & colours? When you click on the e.g. "mailbox font / Select...", you find tabs for "document colour"; tried changing that?
    Anything in there that could change the colour of the font?
    As I suspect it is merely a white font on a white screen background, which would, of course, be illegible.
    In Safari, it would be preferences/appearance.
    Although it's peculiar that this occured after the 10.5.8 update, but apart from a corrupt font/preference, I would not know what would cause this.
    NB: I just went to elperiodico and it looks fine in Safari. What is the "default encoding" (also found in preferences/appearance)?
    Message was edited by: Alexandre

  • DI's clear DO's on same port using DAQmx DigWrite example

    I'm adding support to a 6509 DIO board for an existing VB app.  I'm following the DAQmx DigWrite example.  I've created a button which writes DOs using the following code from the example:
    ' Create the DAQmx task.
    DAQmxErrChk DAQmxCreateTask("", taskHandle)
    ' Add a digital output channel to the task.
    DAQmxErrChk DAQmxCreateDOChan(taskHandle, txtChannelString.Text, "", DAQmx_Val_ChanForAllLines)
    ' Start the task running, and write to the digital lines.
    DAQmxErrChk DAQmxStartTask(taskHandle)
    DAQmxErrChk DAQmxWriteDigitalLines(taskHandle, 1, 1, 10#, DAQmx_Val_GroupByChannel, writeArray(0), sampsPerChanWritten, 0)
    MsgBox "Samples per channel written = " & sampsPerChanWritten
    ' All done!
    DAQmxErrChk DAQmxStopTask(taskHandle)
    DAQmxErrChk DAQmxClearTask(taskHandle)
    This works fine.  I've modified this code to read a DI, under a second button.  Works great.
    However, if I set a DO (e.g.  Dev1/Port2/Line7) and then read a DI from the same port (e.g. Dev1/Port2/Line6), the DO is cleared as soon as the task is started to read the DI.
    Is there some reason I can't mix DIs and DOs on a single port?  Thanks for your help.
    (I posted this earlier on the Measurement Studio for .VSNET languages.  It belongs more properly here.  While I'm using VB.Net, we do not have Measurement Studio.)

    This was answered on the other posting of this thread.
    Regards,
    Micaela N
    National Instruments

  • Help - How a browser can read jar files?

    I have read in other forums that a browser can read jar files.
    Can someone point me to documentation explaining how this is done?
    Thanks.

    To explain my question more.
    I will be launching the browser from an application. Basically, I have help files (index, help html files) contained within a jar file.
    I am looking for a way to launch the browser and extract specific files within the jar file to display within the browser. For example, to display the index and the specific file containing the help text. Currently, my application launches Java Help. I want to change this to my application launching a browser and providing the same capabilities the Java Help provided such as searchin, indexing, context-sensitive, etc. I am trying to find the way to do this.
    Thanks.

Maybe you are looking for

  • Unable to map master page gallery to network drive on XP Service Pack 3

    I've tried to map the master page gallery to my computer as a network drive. I've tried using the Tools > Map Network Drive method as well as net use x: \server\folder\. Both methods result in failure. I am on Windows XP SP3. I used a colleague's com

  • Acrobat Error - need help! - Acrobat 9 Pro

    When I try to open an acrobat files my it trys to Open EVERY acrobat file on my computer and does so until I get the following message "There was an error opening this document.  The maximum number of files are already open.  No other files can be op

  • Archive log can not ship to GAP logfiles to standby DB automatically

    we have a non-real time standby database, which will receive the archive file from the primary database server most of the time, and will apply the logfiles only at one point of time daily. Some times, we need to shutdown the Standby DB server for a

  • How to export tables on different condition

    HI, i want to use export backup of my oracle 10g database, where i want to full export of some tables and some tables with "QUERY" parameter.so how can i make this script where some table are full exported and some based on condition. conditions defi

  • Purchase Order/Item error

    Can anyone tell me which fields I should check if I'm receiving the following error on a Standard Purchase Order Import: Error: ITEM ID (VALUE =XX) is not a valid purchasable item. I have checked that it is enabled, stock enabled, purchasing enabled.