Encoder data and speed calculatio​n with PXI 4472B card

Hi,
I want to collected time, vibration, encoder and speed signal in one file. I am trying to develop NI by using PXI 4472B and LabView 8.6. Everything is okay but getting only one rpm for speed data. I want to collect continuous data for 15 sec (constant speed) and 15 sec (ramp up speed).
q1. Would you please look into the VI and provide me some suggestions to get continuous speed and all data?
q2. What is the best way (programming etc.) to collect constant speed (100 rpm) and ramp up speed (50-1000rpm) data in two files automatically from one test? Any help?!
New Labview user.
Regards, Niaz
Attachments:
Encoder data Collector.vi ‏156 KB

Hi Chris,
Thank you for your warm response. Here is the status:
1. I already tried to use 'Analog Tacho processing' sub-pallette. See the attachment, but the RPM value is not the same/similar with the actual known RPM. However, 'Timing trans..' sub-pallette shows similar speed in terms of frequency to actual known RPM. Do frequency and speed profile value in NI should not be the same/very close? Encoder disk is of 60 pulse/rev and using laser TTL to get the pulses, signal input is into 4472B. Does it neet to extra processing to count the edges of rising?
2. I prefer ASCII or TEXT. Experiment is for one ramp-up (50-1000rpm) and one steady (100 rpm) for 15 sec each. I will use this data in Matlab. I am looking for help in programming so that single experiment will divide into two separate files of ramp-up and steady speed. File will consists of time, vibration, encoder value (0,1...) and speed.
Kind regards, Niaz
Attachments:
Data Collector-4NI.vi ‏190 KB

Similar Messages

  • Can I use ICloud to store all my data and use it seamlessly with my devices and Mac?

    Can I use ICloud to store all my data and use it seamlessly with my devices and Mac.  I.E. I want to use it as I use my time capsule and get rid of all this stuff I have in my office.

    Yes.
    Apple - iCloud - Learn how to set up iCloud on all your devices

  • I mac -- how do I transfer template date and logo to the other 9 template cards. I am new to this and need step by step.  I have the first template completed. Thanks

    I mac -- how do I transfer template date and logo to the other 9 template cards.
    I am new to this and need step by step.  I have the first template completed.
    Thanks

    Apps and media are forever tied to the AppleID used to download them.
    You cannot transfer from downloads from one AppleID to another, nor
    can you merge AppleIDs. If you wish to start using your own AppleID,
    you will have to redownload all the items you wish - paying again under your
    AppleIDfor anything requiring payment.
    Logout of iTunes under your old ID and login using the new ID.

  • When I try and purchas an app with my debit card,it says "select another payment method". What do I do?

    When I try and purchas an app with my debit card,it says "select another payment method". What do I do?

    "You may be able to use other payment types in your country, like debit and Maestro cards. Too see all accepted payment methods, follow these steps:"
    So they are still accepted in some areas

  • Pushing the limits of continuous high-speed DAQ + processing, with PXI-6115 + PXI-8360

    Hi all,
    I'm trying to do continuous high-speed data acquisition + processing. I currently have:
    Chassis: PXI-1042Q
    AI card: PXI-6115 (x2)
    Link: PXI-8360
    PC CPU: Intel Xeon W3503 (dual-core, 2.40 GHz)
    RAM: 4 GB
    The idea is to continuously grab 8 channels' worth of analog inputs, scan for "events", and if found, log the events to disk.
    My client would like to use the maximum sample rate of 10 MHz, but I found that above 5 MHz, DAQmx Read.vi can no longer keep up (e.g. at 6 MHz, it takes 110 ms to read 100 ms' worth of data).
    Im thinking of getting beefier components, but I'm not sure where the bottleneck is. Here are some thoughts:
    1) The MXI Express link
    The PXI-8360 is rated for a sustained throughput of 100 MB/s.
    I'm not sure how big the data is. PXI-6115's ADC is 12-bit. Does that mean each datum transferred through the MXI cable is 1.5 bytes? Is the data padded? Or is it 8 bytes per datum, because Dbls are being transferred?
    2) The CPU
    In Resource Monitor, I notice that the CPU usage is 0% at 60 kHz, 8% at 61 kHz, and 50% at 70 kHz (meaning that one core is maxed out). I'm surprised that it keeps up all the way until 5 MHz though.
    What causes this high CPU usage? Is it due to the conversion of the data into 1D array of waveforms?
    3) Something else?
    Have I missed something completely? Is what I'm describing even possible?
    Thanks in advance for any advice!

    Hello,
    Each sample will take up 2 bytes, 12 bits data + 4 empty bits. so the PXI-PCI 8360 is only able to transfer a maximum of 50S/s in this case.
    Also, because the PXI bus is shared among all of the cards, two PXI 6115 cards will be trying to transfer 80MS/s or 160MB/s.
    Finally, since the PXI 6115 are DAQ family cards, their specifications aren't really written for continuous data acquisition at the upper end of their sample rate, but I'm interested to know if you can get up to 10MS/s with only one card operating at a time?
    -Jim B
    Applications Engineer, National Instruments
    CLD, CTD

  • VoFR PVC for data and PVC for voice with FRTS

    Dear friends, It is my first experience configuring VoFR. My access rate is 128 Kbps and the CIR is 64 Kbps. I configured the router following some cisco examples using "vofr cisco" and FRTS into my "map-class" for voice. You can see my config in the attach file.
    It works fine, the quality voice is good (2 calls)when the link is congested up to 100% through bi-directional ftp download.
    However, I cannot get a speed upper to 64 Kbps. I understand that it is as FRTS works and it is necesary to QoS for voice. But I`m paying to my service provider a price for 128/64 and I never won`t get a speed greater than 64 Kbps.
    How can I solve this problem without increase my CIR?. It has a additional cost.
    I`m reading that some solution could be create two PVCs: one for voice and one for data. How should I configure them to get a burst traffic for data upper to 64 Kbps without affect my quality of voice?
    Thank you for your suggestions.
    Edwin.

    The following document has some explaination on the queueing on frame relay interfaces. This might help you understand how to configure different pvcs for voice and data and utilise the given cir fully.
    Understanding Queueing on Frame Relay Router Interfaces
    http://www.cisco.com/en/US/tech/tk543/tk544/technologies_tech_note09186a00800a4754.shtml
    VoIP over Frame Relay with Quality of Service (Fragmentation, Traffic Shaping, LLQ / IP RTP Priority)
    http://www.cisco.com/en/US/tech/tk652/tk698/technologies_configuration_example09186a0080094af9.shtml

  • Cisco SPA525g2 Date and time Not Synced with the PBX server

    Hello,
    We have a couple of SPA525g2 phone connected and registered to our PBX server. We were able to configure 3 extensions on different lines of the phone. However, at times we were encountering issues with the other lines configured on the phone. There are times wherein 1  extension configured on the phone is having one way audio issue, but the other extensions configured on the same phone is working fine. and we have to reboot/reset the phone several times for all the extesions configured on the phone to work.
    Also, whenever we reset the phone, the date and time will be way way behind the current date and time, eventhough we have already set the correct date and time before we reset the phone.
    How can we resolve the one way audio issue on 1 or 2 extensions of the phone, while the other extensions configured to it is working fine?
    How can we make the phone sync the date and time with the PBx server?
    Any input and help regarding this issue is greatly appreciated...
    Btw, date and time  issue not sync with the PBX server is just happening on SPA525g2, we have other phones like SPA303, SPA504, and SPA232D/SPA302D. All other phones' date and time is in sync with the server even though we reset them except SPA525g2.
    Thank you very much,

    PeterMacSF,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Simultaneous analog and digital waveform read with PXIe-6361 and BNC2120 ?

    Hi there,
    I am trying to collect both analog and digital signals from a PXIe-6361 linked to a BNC2120, using the attached VI. I am running Labview 2011 64bit. This is the first time I am working with digital input. On the 2120 board, I have the digital input BNC cable connected to User Input 1 and wire between the screw terminal of UserInput 1 and the P0.1 (Digtial I/O) screw terminal.
    I have two questions related to this:
    1) When I try to run the VI in its current state, I get the following error:
    Error -89137 occurred at DAQmx Start Task.vi:3
    Possible reason(s): Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: RefClk.Src
    Source Device: PXI1Slot2
    Source Terminal: PXIe_Clk100
    Required Resources in Use by
    Task Name: _unnamedTask<6>
    Source Device: PXI1Slot2
    Source Terminal: None
    Destination Device: PXI1Slot2
    Destination Terminal: RefClockInternal
    Can anyone point me in the right direction for troubleshooting this?
    2) I would like to combine my regular waveforms and the digital waveform into one array which would then be written to file. I can't figure out how to combine the two different waveform types...can anyone give me a hint on this?
    Thanks for your help,
    Claire.
    Attachments:
    Export Waveforms To Spreadsheet File (1D)_wo extra line.vi ‏33 KB
    Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin.vi ‏105 KB

    Hi ClaireJ,
    Sounds like a reference clock conflict. This KnowledgeBase (KB) talks about this error when using simultaneous sampling. Also, might want to check the device routes in Measurement and Automation Explorer (MAX) as discussed here. Finally, if you are routing your PFI line over a RTSI connection, this error can occur. This KB discusses it.
    As to your second question, this post should help.
    Bill E. | Applications Engineer | National Instruments

  • How to store/manipulate Date and long text fields with Dictionary project

    I am able to save string values into my backend (SQL Server) database in my web dynpro project but I am getting errors dealing with my date string and my long text (comments) field. 
    I want to figure out both how I need to define the fields in the dictionary project, how to define the context variables in web dynpro, and how to code the statements to pull the values out of the context and into fields I can use in my SQL insert. 
    Currently I have the date defined in the dictionary project as "date" and the comments as a 256-character string. 
    In the web dynpro context I have the date field defined as "date" and the comments field defined as "string".  Should I define a 256-character string type and use that as field type??
    In the code I am using the following to get the values:
         String s9 = (String) wdContext.nodeReceipt().getElementAt(wdContext.nodeReceipt().getLeadSelection()).getAttributeValue("Comments");
    String s5 = (String) wdContext.nodeReceipt().getElementAt(wdContext.nodeReceipt().getLeadSelection()).getAttributeValue("DateReceived");
    SimpleDateFormat sdf = new SimpleDateFormat("dd/mm/yyyy");
         try {
         Date dt = sdf.parse(s5);
         } catch (Exception e) {
              e.printStackTrace();
    I then try to insert all of my values with the following code:
    InitialContext ctx = new InitialContext();
      javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/SAP/BC_JMS");
      java.sql.Connection con = ds.getConnection();
      java.sql.Statement stmt = con.createStatement();
      stmt.executeUpdate("insert into AVD_GEN_REC(VENDOR,DATE_RECEIVED,TOTAL_PIECES,LOGGED_BY," +
           "ADDRESSED_TO,BLDG_NO,CARRIER,TRACKING_NO, COMMENTS) values('s1','s5','s2','s6','s3','s7','s4','s8','s9')");
       } catch (Exception e) {
             wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess("Exception "+e.getMessage());
    Any help/ideas would be appreciated...

    The comment error seems to have resolved itself but I still get an error with the date field:
    Exception The SQL statement "INSERT INTO "AVD_GEN_REC" ("VENDOR","DATE_RECEIVED","TOTAL_PIECES","LOGGED_BY","ADDRESSED_TO","BLDG_NO","CARRIER","TRACKING_NO","COMMENTS") VALUES ('s1','d5','s2','s6','s3','s7','s4','s8','s9')" contains the semantics error[s]: type check error: new value (element number 2) is not assignable to column "DATE_RECEIVED" 
    The DATE_RECEIVED is defined in the data dictionary as "date", the context variable "DateReceived" is also a "date", and the statement to pull d5 is being stored to a "Date".  Is there a difference between the "Date" and "date"?
    Date d5   = wdContext.currentReceiptElement().getDateReceived();

  • Changing date and time is wrong with time zone problem

    Okay, searched some of the forums, but didn't get the most correct answer to this:
    I just imported all my photos into Aperture from iPhoto (chose to have Aperture manage files as I don't plan on using iPhoto any longer. When I imported the files, I decided to do some organizing by date into folders. no problem.
    In some of my projects, I found some files that I imported from scans or got from others who had a film roll and processed it at a lab, and the dates from those files aren't the dates that the event took place. I went into Metadata>Adjust date and time, and changed the date (not so much the time I'm worried about), and checked the "change the masters" little box, too.
    After I close out of that box, the picture has the wrong date. I've determined this is because of the time zone support. I currently live in Japan, and I would like my photos here to show up as the date in the place they were taken. I think the date I enter, it thinks is the date I'm currently in (GMT +9), but aperture chooses to convert the date as if I was saying "hey, the picture I took happened on "date" in GMT +0:00)" which then makes it look in the metadata view as if it happened a day earlier.
    Any imported photos come in as the correct date and time and correct time zone, as far as I can see. It's just when I change the date and time it thinks I mean to have aperture convert it to GMT + 0:00. (but on a little more of a funny side... older pictures that happened in other time zones back in the states it lists the correct date and time for when the picture was taken, but "says" it's GMT +9:00) (another issue I'll deal with later maybe!)
    Hope I've described it in such a way that you can get it.

    I changed time and now my MacBook won't work

  • DATE and TIMESTAMP problem - fixable with 11.1 JDBC Driver?

    I'm adding some queries to an older part of our code base and while reading through the documentation for one of the classes I found that we weren't using our normal Hibernate queries because we needed to ensure that we weren't sending Timestamps to Oracle. Apparently the Timestamp would be converted to a Date because the column in the database was of type DATE. This was causing problems because the DATE column's index was being ignored and the table contains millions of records.
    The Oracle FAQ seems to indicate that this has been fixed in the 11.1 JDBC drivers. I know that I can use 11.1 JDBC drivers with a 10.2.0 database, but will it use the new 11.1 mappings for DATE and TIMESTAMP or the old 10.2.0 mappings? Oracle FAQ page: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#08_01

    Oracle FAQ page: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#08_01
    Well obviously that was really stupid.
    I'm adding some queries to an older part of our code base and while reading through the documentation for one of the classes I found that we weren't using our normal Hibernate queries because we needed to ensure that we weren't sending Timestamps to Oracle. Apparently the Timestamp would be converted to a Date because the column in the database was of type DATE. This was causing problems because the DATE column's index was being ignored and the table contains millions of records.
    Not sure I follow that logic.
    If the value was going into the database then it would update the index.
    From that only one of the following could be true.
    1. It wasn't going into the database.
    2. It was being truncated to a date.
    The Oracle FAQ seems to indicate that this has been fixed in the 11.1 JDBC drivers. I know that I can use 11.1 JDBC drivers with a 10.2.0 database, but will it use the new 11.1 mappings for DATE and TIMESTAMP or the old 10.2.0 mappings? I would agree with your interpretation of the FAQ.
    And I would then follow it up by testing both with the old driver and the new.

  • Now Up To Date and Now Contact Sync with iPhone

    I purchased an iPhone after using a Treo 700 with my Mac. All my calendar data is in Now Up To Date and all my contacts are in Now Contact. How do I best transition to the iPhone?
    Should I export data from Now to the Apple applications and forget about Now Up To Date and Now Contact?
    Any help and instruction would be great. I am ready to leave my treo behind!
    CC

    I've been using my Treo as a go-between for Now Up To Date and iCal with software from The Missing Sync. This seems to work as a one-way sync from NUD to my iCal. I sent an email to them asking for help and here's their reply:
    Description of problem:
    Hi. I've been trying to use your software to get my data from Now Up To Date (NUD) to iCal so that I can have it on my iPhone. I know you don't support the iPhone, but maybe you can see if my approach is valid at all. I have a profile in The Missing Sync that only uses the NUD conduit. It is able to get any changes to my Treo 700p just fine. Then I made another profile that only uses the Mark/Space Tasks and Events conduits to get that data from the Treo to iCal. Somehow it worked a few times, but not any more. Is my idea a good one? Should I keep trying or give it up?
    Steps to Reproduce:
    Here's my steps.
    1) Profile named NUD Treo. Has active only the NUD conduit, set to synchronize. I run the sync from the Treo and all changes I made in NUD are transfered to the Treo just fine.
    2) I change to the profile named Treo iCal. I have slected the two condiuts, Mark/Space Events and Mark/Space Tasks. I have it set to synchronize all categories. When I run the sync from the Treo, it works for a bit, but none of the changes show up in iCal. Even though the items show in the Treo's calendar, they don't transfer to iCal.
    A couple of times when I did the transfer I saw a comment "pushing from handheld".... and on those syncs the data showed up. But it doesn't always say that and the data doesn't transfer on thos syncs.
    The reply from The Missing Sync's Support:
    Hello,
    Yes, that procedure should work.
    First, update to 5.1.2 if you haven't done so yet. http://www.markspace.com/ftp/missingsyncpalmos5.1.2.dmg
    Then follow these directions to have the Palm overwrite the Mac's Address Book and iCal.
    http://www.markspace.com/support/kb.php?x=&mod_id=2&id=2878

  • How to convert a string to date and then compare it with todays date???

    Hello.
    I want to set a format first for my dates
    DateFormate df = new SimpleDateFormate("yyyy-mm-dd");
    once this is done then I want to convert any string to date object in the above formate
    String str="2001-07-19";
    Date d = null;
    try{
    d = df.parse(s);
    }catch(ParseException pe) {
    pe.printStackTrace();
    First of all there is something wrong above,cus what I get for this is
    Fri Jan 19 00:07:00 MST 2001
    where as it should have been
    2001-07-19... to my understanding.
    once this part is done I need to get current date in the above set format and compare the
    current date and the date I set.
    I will appreciate the help.
    Thanks

    for the output part:
    a date is a point in time
    the output depends on the format you specify for output
    using for example a SimpleDateFormat.
    You only specified the format for parsing (which is independent for that of output) so java uses some default format ... see the DateFormat.format() method for details.
    for the comparison stuff, I just posted a little code snippet in this forum a few minutes ago.
    the hint is: Date.getTime() returns milliseconds after a fixed date
    hth Spieler

  • Hello i have the ipad one and im up dating it with the software up date and it  comes up with IOS 5.1.1 and it dose not look like the ipad 2 yet help  me find away to make it look like the ipad 2

    I HAVE THE IPAD 1 AND I NEED HELP UP DATING IT TO LOOK LIKE THE IPAD 2 OR 3 SO .... I WENT INTO THE SETTINGS AND I CLICKED ON SOFTWARE UP DATE AND IT SAYS IOS 5.1.1 YOUR SOFTWARE IS UP TO DATE SO I GO ON TO MY HOME SCREAN AND IT STILL LOOKS THE SAME SO COULD YOU TELL ME HOW I CAN MAKE IT LOOK LIKE THE IPAD 2 OR 3  ???? THANK YOU

    The ipad 1 is not supported by apples latest software updates. The processor just cannot handle the newest ios. Im sure there are various third party apps in the app store to give you more of a look alike ios7 but the first generation ipad cannot be updated due to performance issues.

  • How to generate a delayed retriggerable pulse using only one counter with PXI 6070E card

    Hi
    I have a problem in generating a retriggerable delayed pulse with a single counter(triggered through a signal at gate) using PXI 6070E card. VI was developed in NI LabVIEW traditional DAQ Ver.7.1. I have used the "delayed pulse generator config" VI and a "Start counter" & "Stop counter" VIs for the purpose. But there is no output seen at the out terminal of counter. So I introduced a "wait" VI and set it to 1 sec. Now the pulse output appears but some pulses are missing mometarily after every 1 sec interval. (any solution for this)
    I have gone through a few similar requests in the forum but they suggest either to use two counters or to generate a finite pulse train which does'nt fit my application. Moreover PXI 6070E has only 2 counter timers. I am already using one counter to measure the frequency of a pulse train(signal 1). The application requires to generate a delayed retriggerable pulse for every pulse in signal 1. So I have only one counter left.
    Can I measure the frequency of signal 1 by analog means.? so that I can use two counters for pulse generation. (Signal 1 is a TTL signal).
    Request some help.
    Thanks in Advance
    Regards

    A finite pulse train (N_Pulses >= 2) does require the use of 2 counters on most of our older hardware including your 6070E.  If you're just talking about generating a single retriggerable pulse, you would only need one counter.
    Here's an example in Traditional DAQ that shows you how to set a retriggerable pulse generation (it also allows you to adjust the characteristics of the pulse on-the-fly).
    If you're writing a new program, you might consider switching to DAQmx as it supports NI's latest hardware and recent OSes should you ever need to upgrade.  Traditional NI DAQ is no longer in active development.  Here's an example of how to implement a retriggerable pulse generation in DAQmx.  You should take note that you can't use the two drivers to simultaneously talk to the same piece of hardware, although you should be able to go back and forth by resetting the Traditional DAQ driver before switching to DAQmx.
    Best Regards,
    John Passiak

Maybe you are looking for

  • After upgrading form FF 5 - FF 6, javascript don't work

    I have a site, using the next javascript:<br /> <br /> <pre><nowiki><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> <HEAD> <!-- Generate table option menu : http://www.htmlbasix.com/dropmenu.shtml --> <SCRIPT LANGUAGE='JAVASCRIPT'

  • Problem in full screen mode air application

    Hi All I am facing some problem in creating an air application. I used fullscreenmode .FULL_SCREEN_INTERACTIVE to maximize the window on load the application was succeeded in some extent. But there is one problem one bottom bar is coming just under t

  • I have Photoshop Elements 4.0. Can I use it on a windows Vista based computer

    Q. I have Photoshop Elements 4.0. Can I use it on a windows Vista based computer.

  • How do i get app w/o using credit card?

    I would like to know how to get apps without using a credit card.  I do not use credit cards on mobile devices and I wouldn't want to charge $0.99. Can they be billed to your phone bill some how or some other thing set up?

  • Issues with query using joins in 3 tables

    I am trying to fetch data from 3 tables (Project,RIsk and Issues) using join. There are Risks associated with some projects and Issues associated with some projects. ProjectID is primary key in Project table. RiskID is primary key in risk table. P