f



synchronizing analog input and counter input

Hi,  I have a VI where I am acquiring samples from multiple sensors every one second. For these I am using analog input terminals. I have another sensor that  is a voltage transducer that outputs a PWM, and I want to get the average duty cylce of that signal. I use a CI semi period measurement to do this. Is there a way to synchronize this so that when I acquire the AI samples, I also get the average duty cycle over that one second of sampling?When the fianl VI is done, I want to be sampling continuously for a long time, but I can't figure out this part. Thanks for the help.


AI Master test.vi:
http://forums.ni.com/attachments/ni/170/334641/1/AI Master test.vi
0
x9561 (148439)
6/24/2008 10:10:07 PM
comp.lang.labview 35210 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

3 Replies
8151 Views

Similar Articles

[PageSpeed] 27

1. You could try to use the same trigger as a acquisition start for both measurements.2. At this moment there is no data flow dependency between the two acquisitions. (You could use the error cluster to split from the upper acquisition and enter both acquisition start VIs, this would add a dependency that the acquisition start is sort of synchronised at start.I have made some changes to point it out more clearly.Message Edited by andre.buurman@carya on 06-25-2008  08:47 AM


AI Master test.vi:
http://forums.ni.com/attachments/ni/170/334700/1/AI Master test.vi
0
x9561 (148439)
6/25/2008 7:10:05 AM
Hey andre Thanks for the help. Could you save the file to version 8.2?
0
x9561 (148439)
6/25/2008 7:40:08 PM
I don't have the time to do this, but here's a screenshot of the modification. Main modifications are in the square decorations (not to be added :smileywink:).<img src="http://forums.ni.com/attachments/ni/170/335075/1/AI%20and%20counter.png"> Message Edited by andre.buurman@carya on 06-26-2008  08:42 AM


AI and counter.png:
http://forums.ni.com/attachments/ni/170/335075/1/AI and counter.png
0
x9561 (148439)
6/26/2008 7:10:06 AM
Reply:

Similar Artilces:

How to synchronize counters and analog input
Hello! This is my first post and I am still trying to familiarize myself Labview.&nbsp;I have an application in which I am reading the velocity of two rotating shafts and an analog input simultaneously. The intent is to execute this VI in a test vehicle. The users will be able to view the waveform chart data and can then choose to record the data. I am using a DaqCard 6036E PCMCIA card with a SC-2345 signal conditioning board. &nbsp; All three channels are declared in MAX as NI-DAQmx globals. The two counter channels will display and update correctly, but I cannot seem to get the an...

Input @; and input @@;
Hi There, Can any help explain the use of the double @ after the input statement? Cheers Ben Start SAS, press F1, click the Index tab, enter @@ as keyword Good luck, John Hendrickx On 11 jul, 16:44, Metricsdude <bsj_ad...@hotmail.com> wrote: > Hi There, > > Can any help explain the use of the double @ after the input > statement? > > Cheers > Ben Both the @ and @@ can be found in the documentation if you search for the INPUT statement. Mark -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Metricsdude Sent: We...

Can I change the voltage range of an analog input (FP-AI-102 Input Module) in LabView?
Hello, in my application I use a FieldPoint AI-102 analog input module which is controlled by LabView. Is it possible to change the voltage range of the inputs in Labview or can I only change them in the "Measurement and Automation Explorer"? Thanks. Michi M. Look at the high and low limit controls at the analog input functions. You can recieve help using 'cntrl + H' ...

routing analog input to analog output with digital input control
First of all, I apologize if there's a simple solution to this, but this pr= oblem is for someone else's project and I don't really have time to give th= e forum more than just a quick glance over. Here's what I want to do:<br><b= r>I have 2 analog signals I'd like to route through my PCI-6221 directly to= the analog outputs. Should the phase difference between input and output b= e small enough, then a digital trigger will control whether the inputs are = routed or not. Circuit-wise, this would be very easy but we don't have tha= t capability for a few we...

analog input for digital input to be synchronised
I have a problem regarding labview and would be more than grateful if anyone can provide any insight into my problem. Im trying to provide a digital output that is synchronized with my analog input, in this case, it is a sawtooth waveform. I need to have the digital output toggled for every period of the sawtooth waveform. It would be nice if anyone could provide me with a sample program. Thanks. What hardware do you have? If you have an E Series device that supports analog triggering than you could do this by setting up an analog trigger and use the ATCOUT pin. When setting an analog trigg...

synchronize analogue inputs with digital inputs
Dear fellows &nbsp; I am using NI-DAQ, PCI-MIO-16E-4 (new name is 6040-E, I guess) with LabView 7.0. I am working on neuro-physiological signal acquisition. I have 16 analogue input channels and one digital input channel. Digital input is acquiring a TTL level signal that is a reference to the onset of a particular event. I want to synchronise both analogue and digital signals. &nbsp; Any suggestion? &nbsp; Nabeel Nabeel, have a look on following KB: http://digital.ni.com/public.nsf/websearch/851A80A7AB2885E086256F4D000610E6?OpenDocument (it's similar with DI) regards...

synchronize 3 analog outputs and 4 analog inputs
hi, &nbsp; i have an NI PCI-6259 M series DAQ card and need to somehow generate 3 AO voltage waveforms of different frequencies (about MHz- 100KHz frequencies) which are synchronised and then also aquire the waveform, after&nbsp;undergoing some kind of intereference, through 4 voltage AIs.i also need to start the AI data aquisition clock in synchronisation with the AOs.does anyone have any vi's that could help?i have managed to synchronise&nbsp;1 AI and 1 AO, but when i&nbsp;try 1 AI and 2 AO's, an error comes up because i am using the write waveform function for both A...

nested \input: \input from the directory of outer \input?
I would like to be able to \input a file from the directory of current file. For this, i would like to know the directory of the file currently being read. Background: i have a sizeable collection of math and physics examples, which are organized in directories. To build a worksheet, i include example files from, possibly different, directories. Of course, i would like to keep my files portable, and avoid absolute paths at all cost! The files i want to \input are generated by the TxP drawing program and should be stored together with the files including them. Example: == File /math/master.t...

Can we acquire the Analog input and Digital Input at
Can we acquire the Analog input and Digital Input at the same time? My sensor data include Analog and digital signals. Hi Chenchen, It usually simplifies things greatly if you use analog inputs to monitor both the analog signals AND the digital signals. If you abosulutely HAVE to use digital lines, then the answer is, DEPENDS.... With the correct hardware and depending on how fast you want to collect data and how closely the measurements have to be syncronized in time, it can be done. But first, concider using analog inputs to monitor all signals. If you need to move forward with both an...

Re: Input @; and input @@;
Hi Ben, Ya just missed it from yesterday, :o) see if this gets you started: http://listserv.uga.edu/cgi-bin/wa?A2=ind0707B&L=sas-l&P=R21932 Hope this is helpful. Mark Terjeson Senior Programmer Analyst, IM&R Russell Investments Russell Investments Global Leaders in Multi-Manager Investing -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Metricsdude Sent: Wednesday, July 11, 2007 7:45 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Input @; and input @@; Hi There, Can any help explain the use of the double @ after the input sta...

How can i acquire input from a microphone input to be used in Labview vi?
I want to use the microphone to get sounds and then process the sounds simultaneously. What should i be doing? From LabVIEW's help memu, select Examples... > Advanced > Sound Control You will find some examples. also, the VIs in this link maybe of helpful in your coding... http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000D83A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=volume+control&USEARCHCONTEXT_QUESTION_S=0 ...

How do I synchronize pulse Width and analog inputs
Hi all, I have an E series card using DAQ mx VIs, my question is.... I'm using a CI pulse width mx VI and a analog input VI how do I synchronize an analog sample with the egde of the pulse width sample. I've been looking at the mx trigger property node but can't figure it out. Any help would be appreciated. Nick ...

synchronize delayed digital output with analog input
Hello everybody, we are students studying biology and have been working with Labview 8.2 for the last 2 month. Now, we have been assigned a more difficult task, for which we would like to hear your advice. We apologize in advance for our bad english. We are going to acquirie analog data from 16 different channels, using a pci-6143 card. In addition, we want to activate our external stimulation device using a digital output 24bit&nbsp; 1D boolean array. This action is supposed to happen after a certain amount of analog measurements, e.g. 2000 time steps. To receive the most exact data, w...

Encoder edge counter using analog input
I have using an 9215A USB (4AI). 2 AI are logging data in to a txt-file and the other 2AI will be used for counting the edges from a quadrature encoder (A and B pulse train). Every edge falling or rising I will write a line in the txt-file also show a egde counter in the VI (total edges read). I'm a beginner so I need some help to find out how to do. &nbsp; BR Johan &nbsp; the 9215A do 20kSam/s&nbsp; , that not too much, so .... your encoder should change state 10k/s max. first approach: continious read&nbsp;&nbsp;(with max speed) with two buffers, while one buffer is ...

Error 50103 during Analog Input acquisition in Labview
I could use some assistance tracking down the source of this error in Labview. I'm trying to sample some thermocouples using the DAQmx Read VIs inside of a loop, and every few iterations, I get an error 50103 out of the VI and no data is returned.&nbsp; Is there something wrong with the timing or sequence of the read requests? I've attached a copy of the code I am working from.&nbsp; It is code I inherited from a previous employee, written in Labview 4.&nbsp; I am trying to bring it up to&nbsp;speed in version 8.2.1&nbsp;using the new DAQmx drivers.&nbsp; As I h...

reading analog input and synchronize it with digital data
HelloI have to output 5 digital outputs to derive 32 LEDs in sequence. That is already taken care of. The sequence is tested and its working fine with a delay of 0.5s between the sequence.The LEDs will be attached to 32 plastic optical fibre (POF)&nbsp; deformation sensor. The other end of&nbsp;the 32 POF will be connected to&nbsp;transimpedance amplifier and then to an optical meter. The optical meter has a BNC analogue output that to be taken to DAQ card.Now what I need is to read the analogue input from the optical meter (one channel only), display the value and store it in a fi...

analog input
Hi everyone.. I'm new using Matlab, and I want to know if is possible to adquire data from an equipment with an analog output and receive the signal in the serial port of my laptop...otherwise..what I have to do? Thanks to all that can answer my problem. Ivan ...

I can not input [ in input style .
I use mathematica 7 in gentoo a linux distribution. I can not input [ ,] ,(,),{ and } . when I input [ in input style , it displays @. when I input ] in input style ,it displays G. How to fix it ? thanks I think this has something to do with my locale setting . because I change another LC_CTYPE parameter , [ displays as another character. but when I installed mathematica 6.0.3 in the same gentoo system , everything is ok . how to fix it ? I set LC_ALL=en_US ,but failed and the problem still existed. thanks On 12=D4=C222=C8=D5, =CF=C2=CE=E76=CA=B117=B7=D6, ww &...

looping analog input to analog output
I'm trying to take the analog input and stream it directly to analog output using an old keithley pci board (PCI-3108). I can stream in for some interval but the output comes out as a discontinuous stream of packets with silence between during the same interval. The incoming signals are ~800/s (of a biological origin). The output packets contain about 50 impulses. Has this problem been solved? ...

error using coupling property for analog input in LabVIEW DAQ
I am trying to use the coupling property of LabVIEW 7.1 to apply AC coupling to an input signal from a function generator. I am using the DAQ max icons to create the channel as well as start, read, stop, etc. in my labVIEW program and am using the DAQCard-6062E. card for data aquisition. i am trying to use a property node to apply the AC coupling and am getting an error message that says that 'the requested value is not a supported value for this property'. can you provide any guidence? You get the unsupported error because the daq card you're using does not support AC coupling...

Analog Input value more than analog output
I am using DAQ 6014 card. I have made a differential connection. In the SCB 68 connector block, i have shorted the input and the output to check the values. But the analog input value i am reading in is always higher than my outut, why is this? say i give o/p s 4 volts, the i/p I read is 4.2 volts.. How to make both exactly same.. Thank you Hi You need to connect in following way: For connecting Different input channel 0 to DAC output channel 0 - connect Ch(0) - DAC0out Ch(8) - Aognd Are u connecting in above manner ? Still if you are facing problems, try connecting combination of differen...

PXI 4472 and MIO Analog Input Synchronization using DAQmx
My System : PXI-8186, PXI-4472 1EA, PXI-6071E 2EA, LabVIEW 7.1, NI-DAQmx 7.2 I want 4472 and 6071E AI Synchronization using DAQmx version... like http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B8C1DA7151524E2EE034080020E74861&p_node=DZ52007&p_submitted=N&p_rank=&p_answer=&p_source=External I try to this method using \examples\DAQmx\Synchronization\Multi-Device.llb But don't success by serival error. Please DSA and MIO synchronization using DAQmx version. Thanks. An answer to this question was posted <a href="http://exchange.ni.com/servle...

Multi-devices synchronization problem with Analog input and quadrature measurement
Hello, &nbsp; In my welding application, I use a S series DAQ card (PXI 6123 in slot 2) to capture analog signals, and a M series DAQ card (PXI 6221 in slot 3) to do quadrature displacement measurement. I try to synchronize these two cards with error data flow. &nbsp; When I use digital start triggering, the displacement waveform seems correct. &nbsp; However, when I change to analog start triggering, the displacement waveform seems incorrect. &nbsp; I am attaching the screenshot and the VIs to this post. Any help and comment will be very appreciated. &nbsp; Thanks, &...

Input Box...Input Mask
Anyway to put an input mask for an input box? *****CODE***** Dim strPasswd strPasswd = InputBox("Please Enter Password", "Password Protected Form") *****CODE***** Please. Thanks. "IronMan" <ThaKillaMC@yahoo.com> wrote in message news:ce6d001f.0403021405.159c2065@posting.google.com... > Anyway to put an input mask for an input box? Nope. You'd have to use a custom form instead. -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com ...

Web resources about - synchronizing analog input and counter input - comp.lang.labview

Synchronizing - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Android App OStream Speeds Up Facebook Experience By Synchronizing Content In Background
Facebook’s newly revamped Android application was rebuilt with a focus on speed, and startup oStream wants to help users of devices on that operating ...

Twitter for iOS and Mac refreshed, gain support for synchronizing DM statuses
Twitter has updated both its iOS and Mac apps with the release of Twitter 5.8 for iPhone and iPad, and Twitter 2.3 for Mac. Both apps now correctly ...

Synchronizing their watches.
A sure sign of the Trump-Cruz conspiracy. Carson's in on it too. AND: If you don't know what I mean by the conspiracy, watch Joe Scarborough ...

Synchronizing The Speed Of Your Brand
How fast do you want your brand to grow? Even the question is loaded. At a time when rapid seems to be the only desirable speed for everything, ...

Joe Sumner: Synchronizing Crowdsourced Movies
Sting's son has a startup that stitches together crowdsourced video to make movies

Gamasutra - Features - Synchronizing Threads in Java-Based Games
The next version of Quake won't be written in Java, but some games do lend themselves to the language. With that in mind, here are some ways ...

Patent US7127509 - System and method for synchronizing objects between two devices - Google Patents
A synchronization system synchronizes objects between a portable computer and a desktop computer. The portable computer is capable of communicating ...

CheerLights: Synchronizing Christmas lights around the globe
They say that the holidays are a time to gather with others, which usually translates into spending time with friends and family. The folks at ...

BitTorrent Brings File Synchronizing Service Sync to NAS Devices
BitTorrent today announced its Sync file synchronization tool has gained support for network-attached storage (NAS) devices. The company has ...

Resources last updated: 2/28/2016 11:51:16 PM