Sme device multiple channel different bridge

Hi
I am using NI 9219
I have input from three different channel configured in different bridge mode with internal excitation.
I am able to acquire signal from each channel individually,
But I am not able to acquire data from all channel from a single vi an display them in a single graph.
Please help ASAP
Thnx
Ravinedr

Hi Revinedr,
It sounds like you are probably trying to run multiple analog input tasks at the same time. You can only run one of these tasks at a time. You can set up your task to include multiple channels with different bridge configurations, just set them up sequentially with the Create Virtual Channel VI.
Message Edited by PBear on 06-20-2008 12:53 PM
PBear
NI RF
Attachments:
multiplechannelbridges.gif ‏5 KB

Similar Messages

  • I subscribed to iTunes Match and would like to sync my music on multiples devices that have different Apple IDs within the same iCloud family.

    I subscribed to iTunes Match and would like to sync my music on multiples devices that have different Apple IDs within the same iCloud family.
    Can someone indicate the way to proceed?
    Thanks.

    Hi,
    You can't use family sharing or multiple Apple IDs with iTunes match.
    ITunes match is only attached to Apple id that you used to subscribe.
    Jim

  • How to define in different controls device and channels in a DAQmx function?

    Hi,
    I need to build a vi that permits the user to change the device of a DAQmx  acquisition system, although I don't want that the user modify the input channels. I`d like to know if it is possible to define in different controls device and channels.
    []´s
    Juliana

    Hello Juliana,
    What you would like to do is possible with some simple string manipulation.  First you will need a Device Name constant from the DAQmx >> Advanced >> DAQmx Constants & Property Nodes palette.  Right-click on the constant and turn it into a control.  Then, use a concatenate strings function to join the device name with the rest of the characters you need to define your input channels.  Wire the output of the concatenate strings VI to your DAQmx Create Channel VI.
    Let me know if you have any questions on this.
    Thanks,
    Laura

  • How would you apply different calibrations to multiple channels

    I'm attempting to apply calibration data to multiple channels. The calibrations could have been done at different times for different channels and could be using different fits. I think I have a solution for just applying the calibration information to one channel. I'm posting the solution for one channel in this post. In the next post I will include the multi-channel problem I'm working on. I had to add txt onto the initial file in order to post this.
    Thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    Apply Calibration One Channel.vi ‏138 KB
    Initial.txt ‏1 KB

    Thanks for the links John. I just logged on to post my working solution so I haven’t had a chance to look at them yet.
    I’ve been working on this problem and have come up with the below attachment. I believe the logic is correct, but do not know if this is the most efficient way of doing this. I start by reading the calibration information in my ini file for only the channels that I am collecting data for. This is accomplished by the case structure enclosed in the for loop. The calibration values are stored as variables so I don’t have to read them with each data point I collect. I then start the data collection within my while loop. As I collect the data I pass it through a for loop where I apply the calibration curve to it and pull the calibration variables from the 2nd case structure. I’m using a for loop for this so I can index the wave files and apply the correct calibration information to each one. The channels and sections will be inputs to this vi from the choose channel vi.
    John I don’t know if this is better or worse than what you are suggesting. I will read the links you sent me.
    Does anybody have any comments on what I’ve put together?
    Thanks, Eric
    Attachments:
    Acquire and Transform Data.vi ‏209 KB

  • Multiple channel data with different time stamp logging

    I have peaks and valleys from multiple channels with different time stamp but I am not able to log to a single file. Any idea on how to do this?
    Attachments:
    Single Point Peak Valley Log.vi ‏53 KB

    Hi Dennis,
    Sorry for that I have modified the VI.
    Because the peak and valley of every channel will occur at different time and I want to log the peak/valley with the time stamp.
    How can I log them on the same file.
    Attachments:
    Single Point Peak Valley Log_Mod.vi ‏53 KB

  • Sessions, Devices, and Channels

    In previous versions of the driver, if I defined more than one IP address in the "device names" field of an "open session" vi...then each USRP "device" was actually referred to as a "channel" according to the Property Nodes, or documentation of say a "Configure" vi..
    In v1.3 of the driver, with the arrival of the new radios that are actually multi-channel within a single device, it is now less clear as to what the meaning of a "channel" is in the software.  There's now a section in the Help document called, "Scoping Rules" that refers to Devices as dev0, dev1, etc., and Channels within that device as "0, 1, etc.".  However...in most of the other documentation on the VI's and Property Nodes...the definitions seem more in line with previous versions of the driver.
    Can someone help sort this out?  What exactly does the "Active Channel" property in the Property Node define/refer to?  And the "Enabled Channels" property?  Do these things have different meanings/behaviors depending on your hardware?
    Brandon

    Good questions, and I'm glad we have a forum to clear them up.
    There are Session, Device, and Channel attributes.  Session attributes apply to the whole session, and configure things that are not device or channel specific (e.g. Current Driver Version, Start Trigger configuration, etc.).  Device attributes configure properties that may vary across devices in the session, but apply to the whole device regardless of the number of channels (e.g. Model, Reference Frequency Source, etc.).  Channel attributes can vary from channel-to-channel, whether on the same device or on different devices (Gain, Carrier Frequency, etc.).
    The "Active Channel" property in the property node allows you to specify the scope for all of the properties below the "Active Channel".  It is something of a misnomer because it can be used to scope an attribute to a device or session, not just channel.  This is simply an old naming convention that is used in IVI drivers in LabVIEW.  "Enabled Channels" actually specifies which channels in a multi-channel session you want to turn on for receiving/transmitting data.
    Here are some useful things to know:
    0) On the VIs that have the "channel list" terminal, that string means the same thing as "Active Channel" in the property node and can take the same values.
    1) Channels are uniquely numbered in monotonically increasing order in a session.  For example,
       Single device, single channel (device names="192.168.10.2"): There is a single channel "0"
       Single device, multi-channel (device names="192.168.10.2"): There may be two channels, "0" and "1"
       Multi-device, single channel per device (device names="192.168.10.2;192.168.10.3"): The channel on the first device in the list is "0" and the channel on the second device is "1"
       Multi-device, multi-channel per device (device names="192.168.10.2;192.168.10.3"): The channels on the first device in the list are "0" and "1" and the channels on the second device are "2" and "3"
    2) The "Active Channel" or "channel list" string allows you to scope attributes as specifically as you want to.  For example, say you want to specify the gain differently on each channel
       Multi-device, multi-channel per device session (device names="192.168.10.2;192.168.10.3")
            set Active Channel to "dev0/0"
            set Gain to 10  (sets gain on the first channel of device 192.168.10.2)
            set Active Channel to "dev1/3" 
            set Gain to 20 (sets gain on the second channel of device 192.168.10.3)
    2b)  The driver is nice... since the channel numbers are unique, you can say either "dev0/0" or "0" and the driver will set the attribute on the appropriate channel
    3) You can set multiple attributes at once by specifying a wider scope.
    Let's say you have a multi-device, multi-channel per device session. So the channels are "dev0/0", "dev0/1", "dev1/2", "dev1/3".  If you set the Gain property with the scope
       "dev0/0"  : it only sets the Gain on that specific channel
       "dev0" : it sets the Gain on both channels of dev0 ("0" and "1")
       "" : it sets the Gain on all channels on all devices in the session ("0","1","2", and "3")
    If you set the Reference Frequency Source property with the scope
       "dev0" : it only sets the Reference on the first device
       ""  : it sets the Reference on all devices in the session
       "dev0/0" : doesn't make sense because Reference Frequency Source is a device, not a channel, attribute
    4) Similar rules apply to reading attribute values back, but you can get into trouble.  If you read an attribute with a wide scope (e.g. read Gain with a "" Active Channel) it will return a valid value ONLY if all of the channels in the session have the same value for that property.  Otherwise, you get an error.
    5) Enabled Channels is a Session attribute, so the "Active Channel" property should be "" or just not set at all when you set that property.
       Let's say you have a multi-device, multi-channel per device session with channels "0", "1", "2", and "3".
       To enable only channels "0" and "2", set
          Active Channel = ""  (applies to entire session)
          Enabled Channels = "0,2"
    Patrick

  • What is the recommended way to do multiple channel, single point sampling for control with an NI PCI-6255 in RLP?

    Hello,
    I am writing a driver for the M-series NI PCI-6255 for QNX. I have downloaded the MHDDK and have all the examples working. I have also enhanced the examples to do interrupt handling (e.g. on AI_FIFO interrupt or DMA Ring Buffer interrupt). My ultimate goal is to write a driver that I can use for closed-loop control at 500 Hz using all 80 channels of the NI PCI-6255. I may also need to synchronize each scan with a NI PCIe-7841R card for which I've already written a driver. I want an interrupt-driven solution (be it programmed I/O on an interrupt or DMA that generates an interrupt) so that the CPU is available to other threads while the 80 analog inputs are being read (since it takes quite a while). I also want to minimize the number of interrupts. Basically, I will need to collect one sample from all 80 channels every 2 milliseconds.
    There are many different options available to do so, but what is the recommended technique for the NI PCI-6255 card? I tried using the AI FIFO interrupt without DMA, but it seems to interrupt as soon as any data is in the AI FIFO (i.e. not empty condition), rather than when all 80 channels are in the FIFO, so more interrupts are generated than necessary. I tried using DMA in Ring Buffer mode to collect a single sample of 80 channels and interrupting on the DMA Ring Buffer interrupt, which appears to work better except that this technique runs into problems if I cannot copy all the data out of the DMA buffer before the next AI scan begins (because the DMA will start overwriting the buffer as it is in ring buffer mode). If the DMA is not in ring buffer mode or I make the ring buffer larger than one 80-channel sample then I don't have a way to generate an interrupt when one sample has been acquired (which I need, because I'm doing control).
    I saw something in the documentation about a DMA Continue mode in which it looks like you can switch between two different buffers (by programming the Base Count/Address with a different address than the current address) automatically and thereby double-buffer the DMA but there is no real documentation or examples on this capability. However, I think it would work better than the Ring Buffer because I could interrupt on the DMA CONT flag presumably and be copying data out of one buffer while it is filling the other buffer.
    Another option would be DMA chaining, but again, I cannot find any information on these features specific to the NI DAQs.
    I tried interrupting on AI STOP figuring that I could get a single interrupt for each scan, but that doesn't appear to work as expected.
    I know that DAQmx on Windows has the ability to do such single sample, multiple channel tasks at a fixed rate so the hardware must support it.
    Any suggestions would be appreciated.
    Thanks.
    Daniel Madill

    Hello,
    The interrupt that will happen nearest the times that you need is the AI_Start_Interrupt in the Interrupt_A group. This interrupt will occur with each sample clock. By the second time this interrupt fires, the AI FIFO should have the samples from the first conversion. If it is easier to use programmed IO, you can read the samples out of the FIFO until you get all 80.
    Additionally, you can set the DMA to send samples as soon as the FIFO is no longer empty...instead of waiting for half full or full. This change will reduce latency for your control loop. You can set AI_FIFO_Mode in AI_Mode_3_Register to 0. By the second time this interrupt fires, you should be able to check how much data is in the DMA ring buffer and read the 80 samples when they are available. You can make the ring buffer larger than 80 samples if you see data getting overwritten.
    There is no interrupt associated with 80 samples being available in the FIFO or 80 samples being available/transferred by DMA to the host. X Series has much more flexibility with these interrupts.
    I hope this helps!
    Steven T.

  • My ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    my ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Counter to measure frequency with multiple channels (Analog In/Out) in one vi

    Hi,
    I am using DAQ 6062E. I have multiple channels: an Analog In, Analog Out, Count Edges, and Count Frequencies. Without Count Frequency, the program works fine, I have defined a Sample Clock for each channel and then a common sampling rate. When I add Count frequency channel, I am not able anymore to use Sample Clock, since I get an error that Sample Clock can not be used, and if I change the Sample clock of the Count frequency to Implicit, then I can not connect different channels with a same sampling rate. In the attached file, if the Count Frequency is not connected to any Sample clock and sampling rate, the program works, but now I can not run the program for more than 5-10 Hz sampling rate, otherwise I get the error: 209802 “occurred at DAQmx wait for next sample clock, slow down the sample clock”. Does anybody know how to fix this problem?   
    Thanks a lot,
    Azadeh
    Attachments:
    multiple channel.jpg ‏117 KB

    Hi Otis,
    Thanks for looking at the problem. I ran just two counters in a same vi. I was not able to use the Sample Clock since I needed to define an external sample clock source. The vi is attached. I could run this vi fast (200Hz). So, I am not sure why when two counters are combined with AI/AO the rate is very slow. I have attached three vi(s). Just two counters, AI/AO/1 counter, and AI/AO/2 Counters vis. I am able to run the vis in 200 Hz except the vi with AI/AO/2 counters (maximum sampling rate 20Hz). I appreciate if you can look at it if I am missing something.
    Thanks,
    Azadeh
    Attachments:
    AI_AO_2 Counter.vi ‏153 KB
    2 Counter.vi ‏61 KB
    AI_AO_1 counter.vi ‏138 KB

  • Acquiring Analog Input from Multiple Channels in Labview

    Hello,
    i am working on a VI where i need to acquire signals from multiple channels in Labview using NI-9129.Initially i want to acquire contineous input signals (voltage and current) and display it on the graph.
    Having looked at forum and Labview examples i tried to make an initail VI but i am not sure if the setup i made needs any modification to serve my purpose.I am fairly new to Labview software.
    All i want is
    1.To acquire conteneously current and voltage 
    2.Display current and voltage individually on the graph.
    3.Perform some basic calculations like MAXIMUM,MINIMUM and AVERAGE values of voltage and current.
    4.Log the data into  excel file
    I have attached the VI i made so far.i need abit of advice if i am moving in the right direction or not.
    Thank You for having a look at my question.
    Attachments:
    Voltage-Current VI.vi ‏81 KB

    Engr_tech wrote:
    i think i already have the tdms for  data logging.as far as the tdms data logging is concerned,when i enable the logging mode to "read and log" the data logged inside the excel sheet would be seperate for current and voltage.?
    Is it practically possible to acquire data from 4 different channels and plot them.if yes,then am i right to assume that all i need is to modify the current VI for four channels having all of them in parallel.
    Yes, you are logging directly to a TDMS file.  This is definately the best route for data logging from a DAQ.  The currents and voltages will show up as different channels in the same group.
    To add more channels, just add them to your DAQmx task.  The logging will handle it with no issue.  Your calculations will also a little work to add the extra channels.  Same for the graphs, since you are using seperate charts.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Multiple channels acquisition and Number of samples per channel

    Hi,
    I'm a new labview user and I need some help in trasposing an old traditional NI-DAQ acquisition software in a NI-DAQ-mx one.
    I followed the tutorial (#4342) but I found a problem with Analogue 2D DBL Multiple Channels Multiple Samples DAQmx Read Vi.
    I'm trying to acquire 8 voltage signals from a NI-USB-6341 device. When the Number Of Samples Per Channel I set is below the number of channels (8), the software acquires only a number of channels equal to the number of samples per channel I set.
    Is that a normal behaviour?
    Thank you
    Daniele

    This is my code. The problem is the same with or without the code for the scan backlog indexing.
    Tomorrow I will try with the code from the example.
    Thank you
    Daniele
    Attachments:
    acq code.jpg ‏119 KB

  • Multiple channel AI measuremen​t in the same module with synchronis​ed AO

    I  am using NI -9172  for measurment. I am trying to mesure two  AI voltage signals on the same module (NI9215).A sinosoidal  analog input voltage is generated using NI 9263. The AI and AO are synchronised using Ai start trigger signal from NI 9263( AO). While I can measure  an AI signal using the same module, it does not  show any measurement signal when I try to modify the VI program for multiple channel measurment. I don't see any kind of error in the program. ( At least the program does not show any kind of errors) Can anyone please tell me what my problems are? I have attached the VI below.
    Attachments:
    modified Magnetstriction.vi ‏96 KB

    Hi
    When you say it is working for one channel do you mean that if you enter either one of the inputs among Magenetic Flux or Strain you can see both the input and the output signals? I noticed that you have two DAQmx Create Virtual Channel VIs. They are connected to each ohter and to the same array. This essentially translates into the signal being shown in one graph. For learning more on using multichannel programming please refer to Multi Device Sunch--Shared External Convert Clock.vi. Hope this helps.
    Ipshita C.
    National Instruments
    Applications Engineer

  • How to create multiple channels in DAQmx

    Hello ,
    I created an application based from this example program, MultiFunctionSyncAIAO_DigStart (from VCNet).
    I added another input and output channels, which later on I plan to add trigger features between
    the two signals ( could be both inputs, both outputs or a combination of I/O).  For now,
    I am concentrating in the creation/ setup of multiple signals.
    I desperately created multiple channels by converting the variables to array.  Obviously, this
    is not a smart move.  Then, I saw this function DAQmxAddGlobalChansToTask which creates multiple channels.
    Unfortunately, I do not know how to use it.  ( clueless )
    Please send me a snippet of the function usage for further understanding. 
     Are there any other methods to create multiple channels based from the function/s used in the attachment? 
    Thank you. 
    A
    DAQTestingDlg.cpp (14 kb)

    Hi Patrick
    To convert the code using multi I/Os, I included the multi reader/ writer header files.
    Plus, those variables that require updating of data type are now in CNiReal64Matrix.
    I also omitted the SineWave(), which i think I cannot use it with the CNiReal64Matrix data type.
    But, I wonder why is that I have no significant output based from the amplitude.  I hooked it up
    with the scope but saw nothing.  Aside from the changes that I mentioned, I didnt do anything
    drastic.  To make the conversion fuss-free using the same example, i retained the UI and converted
    the single functions to the multi functions.  I will add the control for additional I/Os later on. 
    Please point it to me why the code has no output after the m_outputTask->Start(). I really can't get the output
    portion working it. I browsed through the different voltage analog output for VC++ but all examples
    use the single function. 
    Btw, is there a way that i can use a sine wave or similar function to display a nicer waveform?
    Thanks a bunch for all the help,
    A
    Attachments:
    MultiFunctionSyncAIAO_DigStartDlg1.cpp ‏15 KB

  • Multiple channels definitions for AI

    All examples for analog input use one channel only.  I would like to see and example using multiple channel inputs.

    Hi rlbrehm,
    If you have already created Global Virtual Channels in MAX, you can use the DAQmx Create Task vi to create the task from those in LabVIEW.
    If you have a Task configured in MAX, you may use it in LabVIEW as follows:
    Using a DAQmx Task in LabVIEW
    If you want to define the channels in LabVIEW with multiple characteristics, you can also use the DAQmx Create Channel multiple times in your code to define channels with different characteristics (scales, ranges, etc.).  The following code shows how this can be done, although a more elegant solution would use an array of channel configurations in conjunction with a for loop.
    DAQmx Acquire with Multiple Channel Input Ranges
    The one thing to take away from this is that there are multiple ways to define your task and the parameters associated with each channel--any of the above methods should be able to produce the same result so it's up to you how you want to define your task and channels.  I hope this is helpful.
    -John
    John Passiak

  • Help! data manipulation for high speed streaming to disk from multiple boards and multiple channels

    I am using Labview 7.1 and have been trying to capture data from 12 channels simutaneously sampled at 2MS/s each and streaming to disk for up to a minute or more.  The hardware I am using is 2 x PXI 6133 S series boards with a MXI4 link to a Pentium D 2.8 Ghz machine with 2Gb ram.   I have 2 sata drives set up in a raid 0 configuration which should give me hard disk write speed faster or equal to the MXI-4 transfer speed. 
    I have first started off by using the example code "multi device sync - analog input- cont acquisition" which has enabled me to sync the two boards and sample at the required speed. 
    To stream the data to disk, I have first merged the data from each board  together to save it to one file.  I have tried using the storage vi's but I end up with a Daqmx read error (trying to read data that is no longer available).  I have played around with the read data size to the point that I either get a insufficient memory error, or I get the "trying to read data that is no longer available"  error.  I have also tried using the file IO blocks with some success and have found that I have been able to stream to disk only if I configure the daqmx read block to output the data in "raw 1D I16" format and plugging it into the file-write block.  In doing this, I have noticed that using  multiple channels on one daqmx read task, I will get all the channels in one 1D array rather than a 2D array organized by channels.  This makes it messy to read at the end of this, and I also don't want to write another vi to separate the channels, due to the high chance of getting the data mixed or messed up if I happen to change the number of channels on a board
    Is there a cleaner way of streaming this data to disk and keeping the channel data separated from each other?, and/or is there a better way to capture and handle the data I need? 
    I have attached the vi which I have got to consistantly work streaming to disk using the raw 1D I16 format.
    Thanks in advance to anyone who can help.
    Attachments:
    multidevicesync_analoginput_streamtodisk.vi ‏197 KB

    Hi,
    i can suggest following
    Refer to an example VI called as "High speed data logger.VI"  in conjunction with "High Speed data logger reader.vi" in Labview examples. Alhrough the logger might be in Tradiditional Daq format, it can be quite easily converted to Daq Mx format to store data in Binary (I32 format) . I have used this for many of my applications and i have found that the data retrieved does not have any "messups".
    Why not keep a seperate file for each card? This way, you do not have to load your application with extra process. You only have to acquire and save. After saving in Binbary format, you can retrive it offline, convert it to ascii format and merge the data files of various cards to get one consolidated ascii data file.
    hope this helps
    Regards
    Dev

Maybe you are looking for