Prob in freqency of the acquired signal
Hi frnz,
I have a prob in acquiring a signal. By using DAQ iam generating a sine signal and iam acquring the same. During the runtime
i need to change the frequency. The Prob here is delay in changing the frequency. If the output sampling rate is 1000 then there
comes a delay in varying the frequency. If the o/p rate is 20k then immediate change in frequency occurs, but the frequency
acquired here is a multiple of 20 depending on the O/P rate.
Eg: generated frequency=10Hz
O/P RATE : 1000 ==>acquired frequency = 10Hz
O/P RATE : 10000 ==>acquired frequency= 100Hz
O/P RATE : 20000 ==>acquired frequency= 200Hz
Please help me out with this prob...........
Solved!
Go to Solution.
Attachments:
Overshoot_(REQ)_trial control.vi 199 KB
hi. Here i attatched my VI.Go through tat.....
Attachments:
Actuator control,overshoot (REQ)_trial control.vi 148 KB
Overshoot Read DAQ 1.vi 26 KB
Overshoot Write DAQ 1.vi 25 KB
Similar Messages
-
Error in finding the phase and magnitude of the acquired signal
Dear sir,
I am trying to develop a module for calculating unbalance in the spindle . I am using an accelerometer and tacho for that. Till the last part in my vi I am getting the output properly but in final stage while finding the phase and magnitude I am not getting any outputs , just getting zero value..
I have attached the vi.
Please help me to solve the problem.
Thanks & Regards
Rajeshkumar C
Attachments:
Phase and magnitude.vi 60 KBHm...
my guess is you have to check your configuration.
Timo
PS: You may get better help if you tell us a bit more. You did not even bother to tell us if you use jdev at all. -
Hi all,
I am currently doing a heart sound analyzer project. I acquired signal using NI USB 6008 continuosly. My program is able to saved the acquired signal into a wave file. But when I browse open the saved file, the output waveform did not look the same as the acquired input signal and also the sound of the heartbeat captured cannot be heard from the loud speaker though I have saved the file as a wav file. I am not sure if the method i use to save the acquired data as a wav file is correct. I have attach the print screen of the differences of the output I have notice and the program I have created. I would be glad if anyone here is able to troubleshoot my program.
Thanks.
Attachments:
heart sound analyzer.zip 257 KBHi Brett Burger,
Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button. I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
Many thanks.
Regards,
min
Attachments:
Heart Sounds1.vi 971 KB -
Suggestions to improve the filter output of the acquired pulse signal
Hello,
I am working with acquiring the pulse signals form DAQ using a sample rate of 1k and number of samples as 1k for every 1sec signal using the DAQ.
I am using the smoothing type filter with Moving average->Rectangular->Halfwidth=3 and passing the smoothed signal to the butterworth filter with my requirements of 2.3hz and 0.7 with sample rate of 1000.
Problem:The filtered signal is always starting form 0 instead to start with the first value in the acquired pulse signal.For example, starting from 0 instead to start from around 0.057 as shown in the images.
How to make the filtered signal to start from the original pulse signal value.
Thanks in Advance.
Attachments:
improvementinfilter.jpg 164 KBAll filters have a transient response. A bandpass filter with a DC component at the input will have that transient strongly excited.
Some of the filter VIs have an Init? input. If the signal is continuous but is being filtered in segments, that input can help by retaining the previous state of the filter. The first transient will still be there, but later ones should be erduced or eliminated.
In the example VI attached you will find that there is a transient at the beginning of each segment. This is due to the sine signal not having an integer number of cycles.
The IIR Cascade Filter with I.C.vi and IIR Filter with I.C.vi in the Signal Processing >> Filters >> Advanced IIR Filtering palette have an initial state input.That might be helpful but calculating an appropriate set of initial conditions from the signal data may not be straightforward.
What do you want the output to look like? What are you doing with the filtered data? Perhaps there is a better approach than a filter.
Lynn
Attachments:
Filter transient.vi 19 KB -
I have a Netgear WNR2000 router and an Edimax EW-7438RPn wifi range extender. I have gotten the range extender to work well with my MacBook Air, however, while my iPhone 3Gs and iPad mini can pick up the wireless signal from the range extender, they cannot get to the Internet through it. No IP Address, Subnet Mask, Router, or DNS appear in the details on either the iPhone or the iPad mini. How do I get the iPhone and the iPad to connect to the Internet. It seems that the problem is with the iPhone and iPad, since the MacBook Air works just fine with this set up.
Junglemania,
Go into the setup page of the EW-7438RPn. Go to Wireless Advanced Settings. There is a WMM settings. Make sure the WMM is enabled.
This may help you out. -
Hello,
I am using force/torque transducer by ATI Automation. It provides me with its own vi to measure and write the data of the 6 signals (3 axes Forces, 3 axes torques)
Following is my Ni system: -
cDAQ 9172 chassis: Slot 5 - NI 9401, Slot 6 - NI 9205, Slot 8 - NI 9237. (Excitation voltage to the sensor/transducer (0-5V) using 9237).
I connect the 6 signals from the transducer cable to channels ai0,1,2,3,4,5 in NI 9205(differential). The vi uses a calibration 6*6 matrix to finally display the calibrated voltage data.
Now, I wish to use the remaining availabe channels that empty in 9205, namely ai17, ai18, ai19 for other signal measurements.
ai17 channel is connected to Hall sensor that gives out a square waveform corresponding to the rotor rpm. ai18, ai19 is connected to rotor-motor power supply's voltage and current signal respectively.
But I am not able to access these 17, 18,19 channels from ATI company's vi. The vi loads the complete DAQ card (9205), uses only first 6 channels, hence the array data wire consists of only 6 channels. I can split these into 6 individual signals only.
If I use a separate DAQ task to read channels ai17,18,19, then I get the error that this channels are reserved for some other task. Please tell me how can I access all the remaining channels apart from the first 6.
I am attaching the vi here.
Steps to run the "MEASUREMENT main.vi" : -
Load calibration file:- FT8840.cal;
Load DAQ card: NI 9205
Load ctr0 of NI 9401 (I am using this counter for rpm measurement purpose, this is my addition to the actual vi)
Attachments:
DAQ - Copy.zip 574 KBThere's nothing I can do to help. I don't have your hardware to be able to modify your code and to set it up to make sure it runs properly. Most people on the forum probably don't either. This is where you'll have to put your programming and LabVIEW skills to work to solve your problem and make it run the way you want to. If you run into a specific problem and get stuck, then please post back.
-
I would like to tare (rezero) the input signal from a forceplate (glorified
I would like to tare (rezero) the input signal from a forceplate (glorified scale) so that the base signal is set to zero, e.g.: a button on the front panel that resets the signal to zero prior to getting a measurement from a subject.
We calibrate the force plate through labview and input our new equation into our scaling and mapping box which sets the signal to zero (or near zero) and the change in newtons (force reading) is accurate but when the application is closed and reopened the signal does not always start at zero (-400 to +1200 N), while the change in newtons is still accurate. I am NO engineer, I have Forest Gumped my way into getting some nice working VIs but I can't seem to find this function.
Thank you very much for your time.Maybe that is the limitation of Acquire Input Data.vi.The vi can't identify the Unformal key.
You can try to use Event structure and set to listen "key down" event.
There are two terminals VKey, ScanCode will sent out the information when you press key.
There are two pictures in attached file, 2.jpg will show you the detail.
Good luck.
Attachments:
SpecialKey.zip 17 KB -
Using two daqmx create channel to acquire signals in random
Hi
I am trying to acquire signals from PXI 4472 with two DAQmx create channels. The channel selection is random. For eg. first create channel i have ch. 0, 2, 4, and 6 and the other create channel is Ch. 1,3,5 and 7. This I can do, but the problem is that I need to write the acquired data in seperate files for each channels and that too in sequential order. How can I do that. I know i need to use the loop but how will I will select the channels from two different task.
Thanx in advance
NitinOk, here was my idea, I am not sure if it will work for you or not after looking at your VI.
You can use some of your subVIS that you made to make the path different for each file. But what I had in mind for the channels was what I did in the vi i attached. You can just repeat the process for each of the channels and you would know that they were saved correctly. You could also feed in the iteration number of the main VI while loop to have the binary files change sequentially (ie, data1, data2, etc).
Again, this may not be a route you want to take, you may have other ideas.
Ill try to work on it some more later, but I have to get back to work for now
Kenny
Kenny
Attachments:
pxi subvi idea.vi 31 KB -
Reflection of the received Signal for Channel Sounding
I am trying to use a USP NI 2920, under Labview control, in order to make a sort of channel sounding. The USRP generates a pseudonoise (PN) sequence that BPSK modulate the carrier sent to a TX antenna. The same USRP runs a receiver process that acquire the signal form RX antenna, demodulate it and correlate it with a copy of the PN. so now my problem is that the received signal is from the LOS but i want the received reflected signal too so how can i get it and represent it I hope any help would be appericated
Finally Thanks
AomineHi Aomine,
please don't ask the very same question by PN!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Acquire Signal with NI-SCOPE 5102
Hello. i'm a beginner in LabView. I have to acquire signal from a NI-Scope 5102 and I have absolutely no idea how to do that in LabView, I instaled the drivers but in my computer I don't have the acquisition boards. I tried to see the examples and I can´t find nothing that can possibly help me. I need a step-by-step explanation of what to do.
FilipeV wrote:
All right I will tell you what I have to do. In college we built a printed circuit board that produces a triangular and square signal. In the second part of the work we have to build a virtual instrument capable of selecting only of both signal or both of them at the same time, display in a graph the selected signal and saving the values in a file. The signals generated in the circuit will be read with a NI-Scope 5102. If you wanted to do this what would you do?
I will see the examples and try to understand what I should do.
I only had one lesson of LabView and we didn't do anything like this. We only worked with some waves and learned to control the frequency and other parameters, and to view the waves on a graph. That's why I'm so confused with this.
I'd cheat. You haven't been properly trained with the tool.
Use Signal Express Set up measurement step and data logging. Configure the OI with a boxes for chanel selection. test it. Generate LabVIEW code
The context aware help you'll have in SE will probably teach you a bit about scopes too.
(I can't believe I just said that but if the profs won't teach the tools that only leaves bad practices to get'r'done) Don't think that your programming that way though
Jeff -
Acquiring signal from PCI 1428 card
Hi,
I'm new to labview and been tryig to acquire the trigger signal from the PCI 1428 card. Is there anyway to acquire the trigger signal internally without using an external cable (breakout cable)? Can labview acquire this signal without using the external DAQ card?Hello DjBiomed,
It may help if you can provide more information regarding your application. What are you ultimately trying to do with this trigger signal? With the 1428 trigger line, it needs to be wired to something (either externally or through RTSI). LabVIEW cannot automatically detect this unless it is connected. You can look at the trigger examples that come shipped with the driver in the LabVIEW Example Finder for a better understanding. They can be found on the browse tab under Hardware Input and Output >> IMAQ >> Signal Input and Output. I hope this helps.
Vu -
Measuring delay-time when acquiring signal?
hi everyone,
I'm generating and acquiring signals at the same time using 1 VI. And I need to display the delay-time in front panel. As you can see in the picture below, I have like 2us delay (for green) and about 25us (for red).
I'm using PXI 6733 to generate analog signal, and using PXI 5105 to acquire.
Is there any way to display this delay in frontpanel??
Regards,
Yan.hi Gerd, thanks for reply.
can you please be more specific about using numeric indicators? how should I put it into my program? I'm using a VI based on example NI Scope EX Stream to Disk.vi as reference. I would like to display it in front panel.
regards,
Yan.
Attachments:
niScope EX Stream to Disk1.vi 43 KB -
Generate and acquire signals from Walkie Talkies
Hello, i am a Portuguese Student and i have some problems in a Academic Project.
The following project consists in two Walkie Talkies that are link to a USB 6009.
One of the Walkie talkies are attached do AO0 and ground with the objective of generate a signal to the 6009 then the other Walkie talkie connected to Ai0 and GND have to acquire the same signal that i generate in the other one, this two signals have the main problem that needs to be represented in the same Chart or Graf.
Please can anyone help me in this question and send me a (vi), i would greatly appreciate.
something send me a post or email for [email protected]Hello Lynn,
Sorry about the late response, but only today i have access again to the USB 6009 in the LAB.
In below are the graph from the input signal, the first is the graph from the Walkie Talkie (receiver) when the button from the Walkie Talkie that send the signal are not press. What we see is only noise and others frequency's.
In the other graph we can see a different graph this graph is from the Walkie Talkie (receiver) but when the button from the Walkie Talkie that send the signal are press where we can see that is a different kind of signal and the receiver are ready to receive the signal and are receiving some signal from the other walkie talkie.
First I need some help for this first steps
1- But how can I generate a signal wave and send it from the other Walkie Talkie (transmitter), I used a Basic Function Generator
2-How can I see in the Walkie Talkie (receiver) if he receive the Signal that I generate in the transmitter, The graph changes of frequency and amplitude always that I press the button of the transmitter Walkie Talkie.
3-How can I put the two signals in the same chart or graph, The main problem is like you said the USB 6009 is too low sending signals.
Sorry my English, I appreciate any help
Thanks
BTP
Attachments:
input data.png 33 KB
input receber.png 37 KB -
Add phase to the sinusoidal signal
Hey everyone,
I have issue. I don't knew how can i add phase to the sinusoidal signal? I have two sinusloids whith are of variable frequency (variab. freque. - i suppose that is not a problem for solve my problem). Tension and curant (my two sinusoids) i need delay each other.
If anyone can give me help, please.
MarekI thougth you wanted to calculate the delay between the sinuses...
If you want to add a delay, you can just acquire a little more samples and then remove a part of the signal at the beginning of an array/the end of the other.
Is there a problem with your current acquisition? It seems not to be a sinus.
Maybe it would be more convenient if you post your question in the french forum.
Message Edité par Micael_ le 11/05/2010 09:20 AM
Cordialement,
Micaël DA SILVA -
Acquire signals from a monitor
How does one acquire the physiological signals from a medical monitor? The monitor is a non-national instruments monitor. The patient monitor records ecg, invasive blood pressure from a patient and displays this on a screen. This information is relayed to a central station. Is there a way to obtain these signals and see the ecg and blood pressure waveforms in labview and thus analyse these waveforms. Thank you
Sssantosssh wrote:
How does one acquire the physiological signals from a medical monitor? The monitor is a non-national instruments monitor. The patient monitor records ecg, invasive blood pressure from a patient and displays this on a screen. This information is relayed to a central station. Is there a way to obtain these signals and see the ecg and blood pressure waveforms in labview and thus analyse these waveforms. Thank you
Is reading the manual for this medical monitor something you are not capable of doing?
Maybe you are looking for
-
How enable Acrobat 10 Pro for "commenting"?
I cannot figure out how to enable Acrobat 10 for commenting. When I click on Help, it tells me that I don't have a browser! (I tried everyone one I have, same result). Both these features worked fine in Acrobat Pro 9. I need help here... JWH
-
I need to view data from my user table in my UserForm
Hi to all, I created a user table with fields(id,name,datem,time_from and time_to) and form for this usertable. This form has two edit box for code of employer and name of employer and matrix box with columns (Date,id,name,time_from,time_to). In c
-
Missing large number of results through Bing Search API (web results only)
When making multiple calls to the Bing Web Search API (with a different $skip parameter), many queries I try seem to be missing many of the result I'd expect. For example, searching for the string 'obama' on bing.com shows 107,000,000 results availab
-
What is the minimum payment threshold?
There is reference in the Payments and Financial Reports Guide to a "minimum payment threshold" but it seems nowhere to be defined precisely. I've received a payment of under $10.00 directly into my bank account, which is fine. Can I expect these o
-
Hi Can I plug Halion 2 into Logic Pro or Logic Express? Or another VST player? I cant find out how....