Splitting one signal from DAQ

Hi I m just working on my project and part of this is also build interface in Labview to use DAQ device 6008.
DAQ device serves to acquire Voltages from thermistors and my interface should split this signal for example like this:
=if(and(x>=8,D65<=8.54),-33.1*LN(D65)+46.12,if(and(x<8,x>=7.12),-40.1*LN(D65)+34.11,if(and(x<7.12,x>=6.15),-51.2*LN(D65)-0.28,"Out of Range")))
but this is just excel equation that works. I tried to do something similar in quation node because that would be the simpliest way for me, signal that enters the node is x and leave as y and goes to the waveform chart, but it didn`t work.
Then I built this interface thanks to the greater, lower icons and it was working fine till I was using number indicators icons as my input, but when i replaced them with DAQ device there was lot of issues with data types I was using and even after I fixed them there was all of sudden other problem with my equation node (because I needed to write condition somehow I used node) DAQ didn`t like it.
Any help please. I m new in this world then if someone will know what to do, please try it in simple world.
thank you in advance

Hi and thank you for your answer.
First file is the interface I created without DAQassist because I was told it will be the same when the numeric controllers will be replaced with DAQ assist, and this interface works.
The next file is with DAQassist and there is many errors regarding the wires types and even when I add "convert from dynamic data" after signal is split then I get next error, and even when I ad "index array" that is recomended for this error when I run simulation I m getting next error regarding my functional node.
If you can help I would really appreciate it.
I have to find my very first file which include only functional node and I will forward it to you.
Best regards
Tino
Attachments:
Tino_equation_node.vi ‏124 KB
Tino_equation_node_DAQ.vi ‏176 KB

Similar Messages

  • Can't Split Signals from DAQ Assistant

    I am reading three RTDs from a NI 9217 by using the DAQ assistant. I have tried to split the signals with the "Split Signals."  However, when I expand the icon to three outputs, it only gives me 1 output node to connect to instead of three.  How do I correct this?
    Attachments:
    RTD inputs.vi ‏87 KB

    I see what you mean.  In LV 8.5.1.  See attachment.  Only the top connector shows a connection.  The 2nd and 3rd don't.  You can't wire from them to another icon such as another waveform graph.  But you can wire from another icon TO the connector and it connects up.
    It looks fine in LV 8.6.
    Is this a LV 8.5.1 bug?
    Message Edited by Ravens Fan on 09-03-2008 04:28 PM
    Attachments:
    SplitSignals.PNG ‏3 KB

  • Impulse on periodic signal from DAQ

    I'm using a myDAQ to measure a perioidic voltage signal, and I want to find the maximum and minimum of this signal. When acquiring the signal though, there seems to be a large impulse in the start of the acquisition data shown in one of the attachements. The capture is from a probe from before any filtering is applied to the signal. I'm not sure if this is an effect of the signal acquisition or something I am doing with the signal filtering, and I am new to signal processing in Labview in general.
    In the picture, I acquire 2 signals at 1, split the signal at 2 (top signal is of interest), filter at 3, scale at 4, and display at 5.
    Can anyone point me in the right direction of what could be going on in my code?
    Attachments:
    Capture2.PNG ‏34 KB
    signal.PNG ‏9 KB

    You might want to test the signals that you acquiring in MAX. It seems like the signal is going from 0 to -4.5 V in a short time. You are using the DAQ Assistant, which could be the source of the odd signal. I would recommend running some of the DAQmx examples. These examples can be accessed by going to Help in LabVIEW –> Find Examples -> Hardware Input and Output -> DAQmx -> Analog Input.
    Using Test Panels in Measurement & Automation Explorer for Devices Supported by NI-DAQmx
    http://www.ni.com/tutorial/4638/en/
    Thanks,
    Frank
    Application Engineer
    National Instruments

  • Measure Frequency of Digital Signal from DAQ-Board

    I'm using a National Instruments DAQ board and I need to measure the
    frequency of a digital signal from my data acquisition board.
    I know the measure frequency.vi (In diagram - data acquisition -
    counter), but i don´t understand yours implementation mainly in input
    "counter". Because i don't understand the relationship of board channel (for
    signal acquiring ) and the measure frequency.vi.
    Thanks in advance,
    [email protected]

    Hi,
       Attached is a vi which models your signal, and provides a way to measure the average frequency over a window of time. It converts the signal to a sequence of periods. I usually start with this approach because you can save the data in a much more compact form if your sampling rate is high. Obviously over a specified period of time, if there are no zero crossings the frequency is zero, so I was a little incoherent before. The real issue is the latency caused by averaging. Your frequency measurement is most accurate half your window size before the current time, so smaller windows give you more up to date measurements, but also more noisy. If you need the most up to date measurement, then you have to use the time since the last crossing which is the case where the frequency never goes to zero. That's probably not a realistic situation. If you needed less latency, you could use a prediction algorithm.
    Also, there are a number of signal measuring and processing vi's that LV gives you, for instance pulse measurements that could be used to partially implement this or other approaches, but I normally steer clear of them unless they fit exactly due to having to convert back and forth to the waveform data type.
    Have fun!
    Attachments:
    DigRandFreq.png ‏62 KB
    DigitalRandomFreq.vi ‏34 KB

  • How can i creat a DTMF signals, from DAQ ,I'm need vis

    I have DAQ E6025
    i need to creat from AO output a DTMF signals.

    Greetings,
    Below, I have attached a LabVIEW example that encodes and decodes DTMF signals.
    Good luck with your application.
    Spencer S.
    Attachments:
    Simple_DTMF_encoder_and_decoder.vi ‏233 KB

  • How can I split a signal coming in from an instrument​?

    I have a device (USB-TC made by Measurment Computing Corporation) that reads in 3 thermocouples in real-time and sends the information to my computer via USB. I am getting one signal from the instrument, how can i split it up into each thermocouple's information in LabVIEW 7.1?
    Cory K

    You are going to have to clarify what you mean by 'one signal'. If you can specify a multi-channel acquitisiton, then you should be getting back at least an array where each element in the array represents a channel. If you are specifying a single channel and getting back a scalar, you would need to call that three times with a different channel each time.

  • I am trying to log data from 4 voltage input signal using labview, but when i use DAQ assistant i am able to log data from one signal at a time only.

    I am trying to log data from 4 voltage input signal using labview, but when i use DAQ assiatant i am able to log data from one signal at a time only.I am trying to get all 4 input data to logged in a single file againt time. I am new to Labview, I need to sample this data within a couple of days can someone help please.

    Naveen
    Check out the info in the Analog Input section of the document linked below.  (Ignore the part about Global Channels.)  In Figure 5, notice that you can select multiple channels while holding <Ctrl> or <Shift>.
    Developer Zone Tutorial: NI-DAQmx Express VI Tutorial
    Kyle B  |  Product Support Engineer  |  ni.com/support

  • How to split left and right sound signal from SI READ Stereo?

    How to split left and right sound signal from SI READ Stereo?
    I want to display the left and right sound signal in two graph separately,what shall I do?
    That is how to split 2D arry to two 1D arry?

    Hello,
    Here's another trick...although the "Index Array" suggestion will work, you should investigate using the "Delete from Array" function...you can tell it to delete one of the columns (or rows), leaving one column (or row)...the function will output both the resulting array AND the deleted array, which happens to be the other row/column...this method might not be as intuitive, but it only makes one copy of data in memory, while the Index Array method makes two copies.
    I hope this suggestion helps. I only found out about this trick with "Delete from Array" the other day.
    Have a great weekend!
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Read/acquire signal from remaining empty channels of NI9205 by modifying the vi of ATI Force/Torque Transducer which uses the first 6 channelsof DAQ card.

    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 KB

    There'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.

  • If I purchase a second Airport, will it strengthen the signal from the router in one part of the house , so that the printer, in a basement can see it?

    I have a router in my upstairs, main floor of the house.   My iMac connects easily to the router, but the printer does not.  If I purchase a second Airport, will it strengthen the signal from the router so the printer will connect wirelessly to the network?
    I had the printer connected to the iMac by USB , but when I upgraded the iMac to Maverick OS10  my scanner no longer worked, the more I fussed with it the less productive it was.   Now the printer no longer is available at all.   The computer does not see it.  
    The message when I turn them on is that the USB is not compatible.    I unplugged the USB cable,  and would like to connect wirelessly.
    Thank you for any hints
    Carol Havens

    If you have an Apple router now providing your wireless network, you could add another....like an AirPort Express, for example....to "extend" the signal wirelessly and provide more coverage.
    This is always a bit tricky, because the AirPort Express would need to be located where it can receive a strong signal from the main AirPort wireless router.
    For example, if you need more wireless signal in a bedroom at the end of the house, you would locate the AirPort Express about half way between the main AirPort router and the bedroom.
    On a side note......only the print function will work when you connect an All-in-One device to the USB port on an AirPort, so connect the All-in-One using wireless for full functionality.

  • Noise from DAQ signals sent through a 2532 switch

    Hello,
    I may have a hopeless case here, but it's worth a shot....
    I am trying to send DAQ analog voltage time traces through a 2532b switch, and then to my DUT. When I measure the DUT without the switch, my noise level is very low. When I route signals through the switch to the DUT, the noise is increased (as expected) but to a degree that makes this system totally useless for my application. Is the 2532 not designed to route analog signals? Can I hope to send analog signals through my switch with say a doubling in noise instead of a 15x increase in noise?
    I have posted a schematic of how my system is configured. Note that wherever possible, I am using BNCs. I even threaded the 2532 ribbon cables through a 1/2 in. tinned copper braid, so the system is about as well shielded as is possible with this hardware. I've also posted signal sent to the DUT (in this case a dummy 1Mohm resistor) using a 1Mhz sampling rate.
    Thanks, everyone!
    Attachments:
    setup.png ‏23 KB
    no switch.PNG ‏72 KB
    with switch (2).PNG ‏75 KB

    Hi Frank,
    Sorry I should have included more information. The DAQ is outputting a voltage signal, for example a 1Hz 1V sin wave. This signal serves as the external voltage source for a potentiostat, such that the potentiostat sources the signal it receives from the DAQ. The potentistat has hi and low leads (working electrode and counter electrode) which are routed through the switch before going to the DUT. The potentiostat then measures the actual applied voltage and the measured current and outputs them as voltage signals which are fed directly into the DAQ.
    The breakout boxes are all shielded and so are the cables. The DUT is in a faraday cage.
    As far as noise sources, the building ground is not terrific but it is pretty good. 60hz noise is present, but the fft spectrum of the noisy signal also contains prominent signals at 80kHz and higher. The potentiostat is designed for high bandwidth, low current applicaitons and so has very favorable noise. The PXIe is the only computer on in the room, and all electronics are plugged into a isolated power supply (it think it is generically called a UPS). I've turned off all other equipment in the room including the lights.
    Anyways, the noise only shows up when I route the signal from the potentiostat through the switch. When I send the signal from the potentiostat directly to the DUT, the noise is great (see attachments in previous posts). I would blame the extra noise on a ground loop except that as I have set it up, routing the signal through the switch does not introduce any extra paths to ground.
    Thanks for taking a look at this!
    -Gim

  • Read in signals from a usb 6212 in more then one computer

    I have a NI-USB 6212 to read in signals from a industrial proces in the computer. This computer has also a touchscreen so workers can select a reason why the proces is stoped. Now the problem is that this has to happen at two places so with a another compter and touchscreen plus on a another computer has to monitor on a big screen al the procesvariabels. I want to do this al with LABview. What is the best way to do this?
    Kind regards,
    Solved!
    Go to Solution.

    fille,
    if the signals that are acquired by the 6212 are not too fast, you could write the acquired data to network published shared variables. If your second PC has a network connection to the first one, you will be able to access these shared variables there.
    Kind regards,
    Jochen Klier
    National Instruments

  • How to read and display a signal from my a miccrontroller (MCB1700) onto labview connected via a CAN port on a PXI machine

    How do you read and display a signal from my a miccrontroller (MCB1700) onto labview connected via a CAN port on a PXI machine?
    I tried using a DAQ Assistant but the CAN port is not included as one of the supported physical channels even though all its drivers are upto date.
    Please help..
    Thanks.
    Solved!
    Go to Solution.

    Attached herewith is a print screen of what is showing on MAX
    The CAN ports are on NI PXI-8461
    Hopefully that clarrifies something.
    Attachments:
    Untitled.png ‏212 KB
    Untitled.png ‏212 KB

  • How can I tell if signals from two devices are truly synchronised?

    Hi there,
    How does one check that signals from two devices (two separate devices in a single X-series chassis) that should be synchronised actually are?   I am using a PXIe6361 and PXIe4331 on a PXIe-1073, with Labview 2001 SP1 64-bit. All devices are using the Sample Clock from the 4331 device, and an AI Start Trigger, so they should be synchronised.
    I thought that writing the signal data to file and checking the time stamp for each column of data would be the most accurate, but I have been told that timestamps are software created and therefore don't reflect the actual time that the signals were acquired by the hardware.  When I do this, the timestamps vary by up to 150ms which is larger than I expected.
    If I set the x-axis of the waveform graphs (on the GUI) to "Time" then it appears that the first data sample is taken at different times for the two plots (one plot per device).
    If I set the x-axis of the waveform graphs (on the GUI) to "Ignore time stamp" (so that the x-axis just starts from 0 rather than a date-time) then the first data point occurs at "0" for both graphs. However, I'm not sure that this reflects the actual alignment of the signal.
    What is the best way to check if signals collected on different devices in the same chassis are actually synchronised?
    Thanks,
    Claire.

    Hi Lynn,
    Thanks for your help and for sending the demo.
    I understand the concept of how the signals will look if they're not synchronised and your demo shows that nicely. I guess I have been perplexed by someone else telling me that the timestamps in the output file (and following from that I assume timestamps on a waveform graph) do not give an indication of whether signals are synchronised. The reason they gave for this was that the timestamps are manufactured by the software, not the DAQ hardware.  They suggested that I put the setting "ignore waveform timestamps" on my waveform graphs, and then check that both signals come in at the same time (i.e. both start at zero), but I'm not convinced about this. 
    When I use an analog trigger, neither the timestamps in my output file or on the two waveform graphs are synchronised. If I don't use the trigger, then there is far less disparity in the timestamps in the output file. I've attached two output files here, and my VI.
    This is my first attempt to synchronise a voltage module and a strain gauge module on an X-series chassis, so I want to make sure that I'm achieving the best synchronisation that I can, and the difference in behaviour with and without the trigger worries me.
    Thanks,
    Claire.
    Attachments:
    without trigger.txt ‏5 KB
    with trigger.txt ‏6 KB
    Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin_12June2012 PTbridge.vi ‏196 KB

  • Splitting a signal based on frequencies

    Hi,
    Im doing a project, where im driving 6 leds of different colours at different frequencies using the digital outputs of a usb-6009, and receiving a signal using a single photodiode using the analog input of the same usb-6009
    So i have one signal, what i would like to do is be able to seperate this signal into parts based on the light information from each of the leds, is it possible to split a signal this way? Each led is running at a different frequency
    Once this is done i would also like to display each of the signals together on a graph in a different colour for each led?
    Is this possible?
    Thanks

    tger003,
    now i think we are getting somewhere
    Let's see if i got your fixture correct: You want to analyze different
    materials by optical methods. Therefore, your "Unit Under Test" (UUT)
    is set on a fixture where you use 6 different LEDs to light the UUT.
    Somewhere (maybe behind the UUT or above it as the LEDs) you have some
    kind of photodiode to acquire the passed/reflected light. And now the
    question you are seeking an answer is: How do i know, which light is
    passed/reflected to which extend (%)?
    Well, to answer this question, it mainly depends on the transducer you
    are using. a simple photodiode is in my opinion not able to solve the
    issue. Why that? A photodiode only detects intensity of light.
    furthermore, the diode itself has a "perfect" frequency where it
    "detects more intensity" as with other frequencies even if all
    frequencies HAVE THE SAME intensity. Another point is that you cannot
    differ the frequencies themselfs since you only got one value,
    "intensity of light", which is the sum of all light-frequencies
    lighting the diode.
    So you have to change the setup:
    a) Use optical filters. You can use filters which pass only one light
    from your LEDs and swithc them through during your measurement. You
    have to create some sort of scale for your light-intensity since the
    diode reacts differently on different frequencies.
    b) Use some other transducers which are able to detect colors.
    hope this time i got it correct
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for

  • The new project couldn't be created.

    A box appears saying "The disk maybe locked, maybe full, try saving to different location. The new project titled appers as an empty folder. This happens when I wish to create a personal title for the project, but doesnt happen when I title the proje

  • Query on Grouping Tax Base Balances for Italian Report Customer/Vendor List

    Hello Experts, We are implementing the new italian report for customer/vendor List as per Note : 1090857 - Customer/Vendor List for Italy:New Legal Requirement (2007) This requires a customizing in Table/View V_T007K(Group Tax Base Balances) where we

  • Can we add a variable in the document title of SOFM..

    Hi, I am trying to use a variable in the document title as below: Approval by: &MANAGER&  =>  &DOCUMENTTITLE& But this does not work, the note is getting displayed as: Approval by: &MANAGER&, ideally should be "Approval by: Micheal John". Please let

  • Logical Database PNPCE and macro RP_SEL_EIN_AUS_INIT

    Hi there, The macro above mentioned should give me only the persons wich are active (employment status <> 0). The problem is, that when i set the reporting period to 01.01.2004 to 31.12.2004 and the field employment status <> 0, i also get a person w

  • How to make a video with some pictures which contens alpha zone

    Hi all, I make video projection, I have a future project structure and illuminate different parts separately, I have to get through photshop, crop some "mask" or the surface is alpha, and exported to PNG size of 1280 * 768. My question is as follows: