Frequency measurement keep reading value when stop rotation
Hi,
i am doing the program in the attachment
in this program i am using ni9401 and cDAQ 9188 to measure frequency from motor driver
but i am facing some problems
1. the reading sometimes different than osciliscpe.
2. when i stop the motor the program still read values and not going to zero |
Note my driver send the feed back as a signal"Pulses" with difference frequencies depend on my speed . i send digital values to the driver pins 111 to make it rotrate forward and 100 to make it stop rotating + analog value to change the speed
can i have help in that ?
thanks
Attachments:
speed calibration.vi 161 KB
As I understand this you are trying to read the frequency of an quad encoder and the reading is fine as long as the quad encoder is at a steady speed but when it is changing speed you are getting random frequency values. I looked at your code and nothing seemed to jump out at me as being wrong with it but I do have a couple suggestions to see if we can narrow down where the issue may lie.
If you could just try running on of the examples found in the example finder (Help»Find Examples...) specifically example Hardware Input and Output»DAQmx»Counter Measurements»Digital Frequency»Meas Dig Frequency-Buffered-Cont-High Freq 2 Ctr.vi. And just wire the output to a waveform chart or a dial and see if you are seeing the same results there. If that is giving expected results i would just implement your formula node and averaging into that example and save it as your code. I have attached an image of such an implementation.
Doug Farrell
Product Manager - Condition Monitoring
National Instruments
National Instruments Condition Monitoring
Attachments:
example code.png 44 KB
Similar Messages
-
Keeping variable values when using an LMS
I have a program that uses variables for a branching, allowing me to mark what branch the student has completed. It works when you preview the course. When I publish to the LMS and take the course it works if I go straight through. But if I leave the course and then pick it up were I left off the variables that were set showing completion of the course no longer show the completion information. How can I maintain the variable values when the student exits the course?
Hi dmv@Morgan and welcome to the forums!
Here's what I've found to be true for my LMS:
If you set a default value for the variable in the variables panel, then the variable will be reset to that default value when the course resumes.
If you don't set a default value, then the LMS suspend data (aka resume data) will populate the variable with the previous value from the previous attempt.
Let us know how it goes,
Jim Leichliter -
Undo in Adjustment layer in Photoshop CC doesn't work well.
When I made undo, the photo would go back, but "Properties Panel" doesn't go back. It still keeps the same value before undoing.
Properties Panel would go correct value, after I select a another layer and select adjustment layer again.
I checked all of adjustment layers, and I found that most of them has the same behavior. (Between Brightness/Contrast... and Selective Color...)
Are there any solution?
What version of Photoshop : 14.0
Have you installed the recent updates?: Yes
What operating system? : Windows7 64bit
What kind(s) of image file(s)? : any kind
If you are getting error message(s), what is the full text of the error message(s)? : no message
What were you doing when the problem occurred? undo
Has this ever worked before? no (CS6 works well)
What other software are you running? Google Chrome
Tell us about your computer hardware. RAM16GB Free space on C: 80GB
Has this ever worked before? : noI'm moving this post from this forum for photoshop-dot-com (an online portal) to the correct forum for Photoshop pro users like yourselves, where your question can be answered.
FYI, the correct forum URL is: http://forums.adobe.com/community/photoshop
Since you've posted in this forum for Photoshop.com, you may receive additional posts in this forum unless you update your profile. After signing in on these forums, go to Your Stuff > Forums, and disable any forum you don't want to watch.
Kind regards,
Charlie -
Same Execution plan But different consistent read values
hi,
my db version 10.2.0.3
os version solaris 10.
i have a query which has same execution plan but with diffrenet consistent read values when optimizer_mode is RULE and CHOOSE.
what may be the cause of that?
thanks,
Here is the query:
SELECT *
FROM XXX
WHERE id = 4567
RULE based:
| Id | Operation | Name |
| 0 | SELECT STATEMENT | |
| 1 | TABLE ACCESS BY INDEX ROWID| XXX|
| 2 | INDEX RANGE SCAN | XXX_INX_ID |
Note
- 'PLAN_TABLE' is old version
- rule based optimizer used (consider using cbo)
Statistics
1 recursive calls
0 db block gets
5 consistent gets
0 physical reads
0 redo size
1973 bytes sent via SQL*Net to client
492 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
COST Based:
| Id | Operation | Name | Rows | Bytes | Co
st (%CPU)|
| 0 | SELECT STATEMENT | | 1 | 107 |
4 (0)|
| 1 | TABLE ACCESS BY INDEX ROWID| APPOINTMENT | 1 | 107 |
4 (0)|
| 2 | INDEX RANGE SCAN | APPO_INX_MASTERAPPOID | 1 | |
3 (0)|
Note
- 'PLAN_TABLE' is old version
Statistics
0 recursive calls
0 db block gets
48120 consistent gets
0 physical reads
0 redo size
1973 bytes sent via SQL*Net to client
492 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed873792 wrote:
hi,
my db version 10.2.0.3
RULE based:
The Rule Based Optimizer is NOT supported for V10+ -
Table for Measuring point Reading.
Dear Experts,
Please guide where can I find the database table for measuring point reading values namely READC which is a part of RIMR0 structure, for using in developemts.
Regards
Jogeswara Raohi
check in IMRG table, you can find the values in SI unit . convert the same using Functional module. consult with your technical team
regards
thyagarajan -
I have an Agilent 34970A DAQ that I am trying to set the NPLC to 10 and keep it set when I issue a temp measurement command to the channels. Right now I can issue the NPLC 10 command to set the channels and it works but when I send the measure channels command the NPLC gets set back to 1. What am I missing to keep this from happening?
Thanks in advance for your help.
CharlesJimmyJin wrote:
Hi Charles,
Was your problem solved? I have run into a very similar situation but instead of HP 34970A, I have a HP 3852A and I want to set NPLC small so that it speeds up the data acqusition.
I tried Measurement and Automation Explorer and use "communicate with Instrument" under GPIB folder and issue the command "NPLC 0" before running labview. But I did not see any change when I run my LabVIEW again. Since this command was working under VEE Pro, I am guessing the setting for NPLC was somehow reset. I am not sure why.
I will try use "GPIB write" vi to see if it does anything but I'm not sure if I should set NPLC value everytime. Please let me know what you think if by any chance you see this message.
Thanks,
Jin
I don't think you can set the NPLC to 0, the minimum value is 0.02. Maybe VEE automatically set it to the minimum value. Instead use NPLC MIN.
Now if you use the MEAS? command to read the value the instrument will use the default value for the type of measurement if you don't specify the resolution (not the integration time, if you look at the 34970A documentation you will see how they relate) which is probably set to NPLC 1.
If you want to speed up things you may look at the ROUT: SCAN and READ? commands to define a scan list.
Ben64 -
We nned to incorpore the values of 2 frequency signals (0-10 Khz)into a process controlled by a VisualBasic application running on 1 PC with W'95. Because the FP-CTR-500 working with FP-1600 hasn't the option "reset after read", the process of reading is a bit complicate, and sometimes, we receive wrong values of frequency from those devices. Could you help me? Is there any extremely reliable method of reading? Best regards,
PuhoFor frequency measurement information on the FP-CTR-500/502 modules. Please see KnowledgeBase Article #1TB63SUS
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/d8db42f9fdc3607e862568640047f144?OpenDocument
Ultimately, the FP-CTR-500/502 modules are not designed for frequency measurement, although it is possible to use them to measure frequency. The one thing is that it works best to do the measurements over relatively long integration periods (1/4 second or more).
Regards,
Aaron -
Read from measurement file (wrong values)
I have a VI where I save data using the ''Write To Measurement File utility''. When I open the .lvm file in the note pad I can see all the data correctly, but when I use the "Read From Measurement File" tool and try tho make a graph the data shown is not correct. Attached the .lvm file and one image of the chart that labview made using the "Read From Measurement File". If you open the lvm in the notepad you can see that the time column goes up to 22 sec. In the chart the time axis goes only up to 7,5 sec. What is going wrong??? Thanks
Ps: I changed the file .lvm to .txt to attach
Solved!
Go to Solution.
Attachments:
Chart.jpg 688 KB
teste.txt 156 KBvitor22 wrote:
I tryed.
And how did it turn out? Saying I tried and not saying how it didn't work doesn't help me help you.
I was able to do it. But the X data wasn't correct. That is because your timestamps aren't regular spaced. So you can't use a waveform graph.
You need to use an XY graph. See the attached code for how to convert the two channels of data (time, your values) into a datatype to feed to the XY graph.
Attachments:
Example_VI_BD.png 49 KB -
Make sure that your bean is implementing the serializable interface and that
you are accessing the bean from the session with the same name.
Bryan
"Sandeep Suri" <[email protected]> wrote in message
news:[email protected]..
Hi, I have quick question about use of USEBEAN tag in SP2. When I
specify a scope of SESSION for the java bean, it does not keep the
values that I set for variable in the bean persistent.Thanks,Sonny
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
I need to know how to stop a notification that keeps coming up when playing a spades game, that keeps telling me to go to the game center. I even shut off the notifications in the settings, this is an anoying problem
I'm pretty sure this is an Apple thing and you can't do anything about it. To get rid of the notification just do as it asks then try to forget about it.
-
My ipod touch is having problems with the headphone jack when I rotate a little song stops
my ipod touch is having problems with the headphone jack when I rotate a little song stops
Hey Silverdemon, sounds like a short, most likely in the headphones. Try a different set of headphones with this iPod or try the headphones with a different device. If the problem stops with your iPod or it moves to another device, then replace the headphones. If within 1 year of date of purchase Apple will replace the headphones for free if problem is a defect, not abuse. If the problem continues with a different set of headphones, check the port for damage and foreign debris. If you note debris, attempt to remove it, if damage noted contact Apple and set up an appointment to have it evaluated. if nothing appears wrong, try plugging / unplugging to jack about 12 times maybe corrosion on the contacts if so that should clean it. Next thing to try reset your iPod. After that try restore from backup. Last resort, restore to new. Just make sure you make a full backup to your computer before you restore so no data is lost. If nothing works, contact Apple and set up an appointment to have your iPod evaluated. Good luck, Cheers.
-
How do I keep my music from stopping when my ipad autolocks?
How do I keep my music from stopping when I close my ipad or it autolocks?
My wife has the same problem. I believe I found the solution. Activate "do not disturb" in settings - do not disturb - manual. Make sure to also go to allow calls from and set it to no one. A moon will appear in the status bar. You will see notifications of missed calls but it does not interrupt Pandora. Let me know if this works for you.
-
Can I keep the CC value when user click the REPLY TO button in outlook?
Hi all,
I have set the CC value when I send email out. But when user reply the received email, the CC value will be displayed in the TO field. If anyone knows how can I keep the CC value unchanged when user reply the received email?
Thanks very much.It depends entirely on the mailer they're using, you have no control over it.
-
Measurement output keeps drifting, even when the input channel are shorted out.
Dear Technical Engineer,
Greetings!
Currently, we are conducting a voltage measuring experiment with your DAQ card "NI PCIe-6353". The voltage we are concerning is a slow variable ranging from 0-20mV.
However, we met some problems operating your device.
1.When the input channel is vacant (no connection to any voltage output), the measurement curve displayed in the test panel (built in your driver) keeps drifting (from some point to -10V, then slowly upwards to +10V, then downwards...), but not stays at 0V.
2.The moment we connect the input channel to a DC stabilized power supply (2V), the measurement curve displays a quick step, but not step to 2V. Then, it continues to drift downwards.
3.When we short out the input channel (for example, connect “33 A1” with “32 A1 GND”), the measurement output still keeps drifting, but not displays 0.
Thus, we wonder if some settings should be regulated, or if there is something wrong with our operations, or there is an additional grounding option that we missed, or the device just breaks down. Could you please give us your valuable suggestions?
If you need any more informations, please do not hesitate to contact us (email:[email protected]). Thanks for your time and attention! We are looking forward to your kind reply.
Best,
XiankeHi Xianke,
It sounds like you may have your measurement configured in differential mode. If so, then you should read 0V when you short pin 66 AI1- to pin 33 AI1. Do you see this same behavior on other channels?
It looks like the default input configuration is differential, so you can also leave your wiring as it is, and change to RSE.
Trevor B.
PSE
National Instruments -
Recently I've rolled over the file numbers on my camera again, so moving new photos around often causes filename conflicts: 'An item named "_XXX1234.jpg" already exists in this location. Do you want to replace it with the one you're moving?"
What controls whether I see "Keep both files" as an option (where Finder just adds a 2 suffix to the filename of the newer item being added) vs "skip/stop/replace"?
When I'm trying to copy distinct new items with duplicate filenames, I want to use 'keep both files'; when I'm grabbing a mass of files, moving to a common storage place, and want only the new files to copy over, so that finder does the hard work of figuring out which ones are new/missing from the new folder, I want the option of 'skip' instead.The option-click 'copy file' does not change the dialog box from just clicking and dragging without option--still only seeing the skip/stop/replace.
I do use iPhoto, but find the file structure does not follow my patterns of use, so do not let it organize the files--for those many, inevitable times when I want to access the images directly without having to export the images first. I also have Adobe Bridge, which has a file renaming feature. But I started seeing this option of 'keep both' recently--I think since my install of Mavericks when 10.9.3 came out, and determined it does something very helpful to me, but can't figure out how to make it show up consistently. For some things it would be nicer than always just making a new iPhoto library when the file numbers start over again.
Maybe you are looking for
-
i have a Audigy 4 pro and there is no power to the box every thing is pluged in so is it rma time
-
FTP & Wildcards (File adapter issue) - asterisk not working
Hi guys! We need to use FTP sender adapter and we need to pick up all files present in the directory. Normally we would use asterisk (*), but the adapter is not processing the files. It behaves like the directory would be empty. Do you use wildcards
-
Accessing Portal logon id in Enterprise Portal 6.0
Hi, I need to know if there is any way i can access User Id variable on the Logon screen so that i can use it as a parameter to my iviews. Also a list of such global variables would be helpful Appreciate all your help Regards Jayesh
-
MIRO - customer-designed messages
Hi, I have a problem with a customer-designed message "ZGUT" out from MIRO - we are executing debit-notes back to the supplier based on delivery-notes and for the printing we use a customer-designed message-type. Basically it works but the problem I
-
When I open an image on the desktop, it opens with Preview as the default. How can I switch to opening images with Safari as the default?