Reading multiple channels for multiple graphs

Hey I am fairly new to Labview and am using it just temorarily. My project is to take in readings from a Gaussometer (X,Y, and Z axis) and graph them in read time. The Gaussometer outputs a DC Voltage equal to the gauss of the magnetic field. The X,Y,Z all come in on three differnet channels. Connected to a NI USB-6009
I know I can use the Express> DAQ Assistant, however that outputs "Data" and I was hoping to use this in an Array. So I used the DDT to Array to convert it to the Array format that I needed (thanks to the forums for the help there). My only problem is that I don't know how to do this with multiple channels at the same time. But I have possibly been going about this all wrong.
So I just wanted to know if I could get some help on how to read multiple channels and write to them to three different graphs in real time that would be of great help.

Whether or not you use the Convert From Dynamic Data or the Split Signal, your data should be shown as soon as the DAQ Assistant returns. How you format the data is irrelevant. If the number of samples you request is greater than the sample rate, then it will take longer to acquire the data and there is nothing you can do about that except reduce the number of samples and acquire in a loop. You can append new data to old and display everything in a graph if you want.

Similar Messages

  • How do set up multiple devices with multiple graphs in labview

    Hello,
    I am new at LabView, and we are trying to setup a test rig to measure voltage, pressure and flow rates. We are currently using a NI-6009USB box and Labview version 8.2.  Our problem lies in setting up the actual measurements on separate graphs. How do i go about setting up the daq-assistant to measure mulitple devices, and graph them on their own graphs?  We also need to know how to program in when measuring flow, how to convert it from square wave form to a calibrated curve?
    Any help would be greatly appreciated!
    Nate

    When you configure the DAQ Assistant, you will be first asked to select the measurement type. Assuming that you have voltage sensors because you have the 6009, you select Analog Input>Voltage. You then get a list of devices. Since you only have one, it should be listed as Dev1. Expand that and then pick the channels you have connected to the sensors. Just like it says at the bottom of the of the channel window, you can select multiple channels with  <CTL> or <SHIFT> click. After you've done that, the next window is where you select your sample rate, number of samples, etc. You can also select a custom scale for each channel. This is where you would enter any formula you have from the sensor vendor in order to convert a voltage reading to scaled units.
    The output of the DAQ Assistant is a dynamic data type. You can wire this to a single graph to display all readings together or use the Split Signals function to break out individual channels for separate graphs.
    Message Edited by Dennis Knutson on 02-22-2007 03:33 PM
    Attachments:
    Split Signals.PNG ‏4 KB

  • I have a DAQ Assistant configured to read multiple channels at the same time. When I wire a graph indicator to the output, I see all of my signals jumbled together. How do I split them up into seperate signals?

    I have a DAQ Assistant configured to read 2 channels at the same
    time. When I wire a graph indicator to the output, I see the 2
    signals jumbled together. How do I split them up into seperate signals?
    When I wire any type of indicator it is showing just one output of a single channel.
    I want 2 indicators showing 2 different signals as expected from the 2 channels configured. How to do this?
    I have tried using split signal but it end up showing only 1 output from 1 signal in both the indicators.
    thanks in advance.
    Solved!
    Go to Solution.

    Yes you are right. I tried that but I did not get the result.
    I just found the way. When we launch split signal, we should expand it (split signal icon) from above and not from below. It took me a while to figure out this. 
    thanks 

  • Problem of Creating Multiple Communication channels for multiple files

    Hi Everybody
    I have a very basic doubt but this struck me...
    For a file-XI-file scenario,if multiple files are coming from same FTP server but with different names then we have to create multiple communication channels for all the files of different names..but is this a intelligent approach?Can we do something so that only one communication channel can receive multiple files of different names?plz explain in detail if possible ASAP.
    I have another doubt as in File-XI-File scenario how the XI understands that a particular file is from this FTP server  needs to be send to another particular FTP Server?is it only the name of the file which we give in sender comm channel & receiver comm chaneel which determines this????that means this name should always be same?plz explain in detail if anybody knows?

    Thanks Aamir.I understood the solution.
    Correct me if I am wrong.......
    1)If there are multiple files with different names & different extensions in the sender FTP then we use-->
    2)if there are multiple files with different names & different extensions in sender FTP & I want only say files of 2 extension types(say .xml & .txt)then we use-->
    *.xml
    in one comm channel &
    *.txt
    in another comm channel rite??
    Also I wanted to ask that only two kinda files we can pick up through sender comm channel rite?
    .xml  and .txt(File content Conversion).Can we pick files of other extensions also?(say .doc,.xls)If we use as u said
    then files of all other extensions will also be picked up rite?bt hw will xi convert them into xml?plz explain......
    One of my other q is not answered yet.........all these same doubts are there for receiver communication channel.......but you all have not said nething abt the receiver comm channel........plz explain the answers to all these queries for receiver comm channel for a receiver FTP........ASAP......thanks once again.......

  • How to place outbound files to multiple channels for a single agreement

    Hi All,
    We need to send single HIPAA 834 document to two different locations(channels) of the same TP. We have single HIPAA 834 agreement with one TP and one channel. is there a way to add two TP outbound channels for a single TP/agreement?
    Thanks,
    Kathar

    Hi Kathar,
    is there a way to add two TP outbound channels for a single TP/agreement?One TP may have multiple channels but one agreement can have only one associated channel. You may consider using the broadcast feature of Oracle B2B here.
    You may read about this feature here -
    https://blogs.oracle.com/oracleb2bgurus/entry/broadcast_feature_in_oracle_as
    Please note that this blog was written for 10g but concept and implementation is same in 11g.
    You need to create two TP profiles for same TP (you should use different name/identifiers for both) and then make them part of same group by adding identifier "Grouping" in both the profiles with same value. From middleware pass the header "Grouping:<value>" in action name or event name header. At runtime B2B will send the same message to both TP profiles.
    Regards,
    Anuj

  • Having trouble sizing multiple graphs using a For Loop in Excel.

    I am creating multiple graphs in Excel using LabVIEW but I can only set the size for the first graph.  The others are ignored.  I am using the Excel Insert Graph Vi.  I can change the position of al 4 graphs and i can change the size of the first graph created but not the others.  Simply create and save a blank Excel workbook and use it when it prompts for the file.  Here is my my code.  Will someone please let me know what is going on.  Thanks.
    Attachments:
    Excel Graph Test.vi ‏88 KB

    If anyone is still following this thread, I have discovered a solution to the problem of resizing multiple graphs in Excel with the Report Generation Toolkit.  The problem seems to occur because subsequent graphs that are added to the report are configured to "Lock Aspect Ratio", which means you cannot assign a width and height to the graph that would violate its initial width/height proportions.  I was able to get around this behavior by defining the object's position and dimensions after creating the object, as opposed to defining them at the same time the object was created.  This problem will be fixed in a future release of the Report Generation Toolkit.  For now, you can fix the problem yourself by modifying vi.lib\addons\_office\excel.llb\Excel Insert Graph.vi.  Here is a screenshot of the affected area of code as it is currently implemented:
    And here is a screenshot of what the code looks like after my modifications that fix the problem:
    By assigning the dimensions after turning off the "Lock Aspect Ratio" feature, we see that all the subsequent graphs are sized correctly.
    Please let me know if you have any questions on this fix.
    -D
    Message Edited by Darren on 07-06-2006 04:48 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    Add_Chart_AFTER.jpg ‏91 KB
    Add_Chart_BEFORE.jpg ‏53 KB

  • CAN read multiple channel

    Hello
    i want to read multiple CAN channels simultaneously,
    and diaplay the data received from the channel.
    i attached my vi
    give me an idea how to do this
    thanks
    sk
    I am using LabVIEW 7.1/ PCMCIA CAN series 2 h/w 
    Attachments:
    files.zip ‏81 KB

    Hi,
    Did you actualy see the advanced channel api example shipping with the driver. perhaps this is something you can take as an example.
    DirkW
    Attachments:
    Channel Monitor.vi ‏141 KB

  • Simultaneously reading multiple channel types programatically

    Hi, I'm completely new to using NI DAQ so please forgive me if this is trivial. I am need to be able to simultaneously read 5 analog lines and up to 20 digital lines of an M-series multifunction card completely programatically, i.e. with no involvement of MAX, LabView, etc. (it's going to be incorporated into a Matlab program and has to be as independent as possible). I simply want to write a piece of C code that reads these channels at 2KHz and stores the data for later analysis. Is this possible with the NI DAQ library? (and if not, why not?) From what I've read so far, for some reason it doesn't seem to be a supported function of the DAQ library. Any advice welcome. Many thanks
    Tom

    Your M series board is not supported by the old NI-DAQ driver. It can only be used with the newer DAQmx driver included with the board. and while you can't have true simultaneous analog acquisition you can synchronously acquire 5 analog channels 20 digital inputs. The DAQmx driver includes some C example programs. You can download the latest version of DAQmx by going to http://www.ni.com/support/.
    If you're not going to use LabVIEW for the data acquisition, you shouldn't post to this message board. There is a dedicated Multifunction DAQ forum and Measurement Studio vot VC++ message board.

  • Reading multiple channels in one task

    Hi i am trying to read three voltage inputs in one task. I have configured the task and used generate code to get the example. But i am now getting the data from all three channels in one waveform, but i would like to work independantly on the three channels. What should i do.

    Hi vamy,
    If you read all channels with AI Read, it should return an array of waveforms (not just a single waveform). You can use "Index Array" to get the waveform from each individual channel, or use "Index Waveform Array", which is basically the same operation.
    Dan

  • Party communication channel for multiple stores with multiple user id and passwords in sap pi

    Hi Exeperts,
    I have a scenario proxy to SAOP . where i am sending some information from my stores to third party company   with single user id and password in communication channel.
    but requirement  is changed now  i have 20 stores  with 20 user id and password for communication channel.how can i achieve this requirement?
    Can i create 20 communication channels  for 20 stores  or can handle through the party based communication ?
    Please  help us achieve the requirement.
    Regards
    Ravinder.s

    Hi,
    In the SOAP Receiver adapter, you can only store 10 userid/password combinations via Authorization Keys. These are called via Dynamic Configuration via technical name TAuthKey. In your case, for it to work, you need:
    1. 2 business components/2 SOAP receiver communication channels.
    2. 1 receiver determination with xPath for username to determine correct business component
    3. 1 interface determination
    4. 2 receiver agreements (one for each cc)
    Hope this helps,
    Mark

  • Is there a way to link the x-axis of multiple graphs in a report? Using DIAdem 12.0

    Is there a way to link the x-axis of multiple graphs in a report?  Using DIAdem 12.0

    What  I am after is this...  If I have multiple 2D axis systems in a report with each y axis showing different channels of a particular data file and with each x axis being the time stamp of that data file, rather than changing the x axis values of each 2D axis system to zoom in on a time slice, I'd like to change only one and have all the others match.  So I suppose yes, I want each of the multiple 2D axis systems to have the same x axis, but I want unique 2D axis systems, not one system with multiple y axis or "n systems".  I'm hesitant to post a sample report as this is a public forum.  Thank you.

  • How to create multiple graphs ( more than 10 ) in report builder 10g

    Hi All ,
    I have a requirement to create approx 10 graph . I have created 4 graphs in paper layout 1st section ,while moving to 2nd section in paper layout for plotting the next graph ,its giving an error "REP-1212 : Object 'M_1' is not fully enclosed by its enclosing object Body " .
    Please help me ,if you have any idea to create multiple graph .
    Thanks
    B. Mohapatra

    This is a layout error message. I don't think it has anything to do with multiple graphs.
    Your object M_1 just gets too big:
    Cause: An object is not fully enclosed by the page. That is, the object extends beyond the page boundary.
    Action: Move or resize the object so that it does not extend outside the page boundary. Alternatively, increase the page size in the Report property palette.

  • Can we get multiple graphs dynamically in oracle apex?

    Can we get multiple graphs dynamically in a page in oracle apex?

    Vaishalini wrote:
    Thank You riedelme and Howard.
    Below is the example, I need to dynamically displays graphs with content (somewhat) dynamically selected for client from the select list.
    Example :-
    Lets say client A contains 5 contracts as A1, A2, A3, A4, A5.
    And Client B contains 3 contracts as B1 ,B2, B3.
    created a graph for contracts on sum(unique_submissions) and sum(total_submissions).
    Requirement is :-
    When I select Client A , then the page should show 5 individual graphs based on client A contracts in same page(as client A has 5 contracts).
    Similarly when select client B , the same page should show 3 graphs (as client B has 3 contracts).
    Please let me know if you understood the example, what I was trying to explain to you (I hope)and let me know if you need further more information.
    Thanks.It sounds like you need to use Howard's idea of conditional region display. When you select client A display client A graphs, and when you select client B display those graphs. Read about conditional region display in the documentation and post back here if you have more questions

  • Creating multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005

    How to create multiple graphs dashboard in Crystal XI using a single View from MS SQL Server 2005?
    I need to use Crystal XI and create a dashboard which shows some sales data and stuff, multiple graphs on a single screen.
    My tech team says they can display one graph per page but not 4 graphs on the same page as it uses a common view from SQL Server 2005.
    How to manage this? Can we call in multiple views / graphs in the same page? Say 4 graphs on the same page?
    We use ASP or .NET for calling crystal reports into the App.
    Regards,
    Akshay.
    INDIA

    Have you tried creating multiple sections, putting each graph in a separate section and then underlaying the sections so they appear next to each other?

  • Add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit

    How to add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit. Assume like my test data is like below:
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7
    The above graph generated manually in excel. I want to generate the same using excel report generation toolkit. when I use Excel Insert Graph.vi where the input data is 2D array with numeric data but here labview converts the empty cells (eg.x -axis 1,data1- is empty) as zero and while plotting i am getting zero for empty cell values.
    Can anyone please help me on how to plot the graph without adding zero for empty cells?
    Thanks&Regards,
    Bharathi T
    TE
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7

    Hi Bharathi,
    The Excel Insert graph function takes in only 2d arrays as inputs. Since arrays can only have numeric values, any table with a null string is read as 0. Now to get a plot like you mentioned, you could read the table and replace blank Strings as NaN. NaN values in an array when plotted do not appear in the excel sheet. For reference I have attached a sample vi to help you understand.
    Regards
    Vijetha Nuthakki,
    Applications Engineer
    NI Systems India
    Attachments:
    Excel_graph_multiplot.vi ‏21 KB

Maybe you are looking for