Channel data

What is te best way to access data from a multi channel task? 
My attached Vi deals with 30 differential channels (PCI 6255), I am using subarray function as I need to use formula node structure. is there a better way? PLz also tell how to improve my VI in general?

andy_kennaugh wrote:
How can I log formated data in TDMS, I dont really want voltages rather I want measured parameters like temp. directly in TDMS file.
In that case, create DAQmx Scales.  These scales can then be applies to your channels inside of your task.  That would also make it so that you do not have to do the scaling in your own code since DAQmx just does it all for you.

Similar Messages

  • HP Mediasmart DVD on a6750t will not output 5.1 channel data via SPDIF or HDMI

    So I got a new customized HP desktop on Friday. Started to play with it on Saturday. I called Sunday morning to request an RMA number and return shipping label. Here is my saga:
    Started HP issue calls at 3:47am FEB 15th 2009
    Gion (per rep spelling) stated return will be handled through warrantee/support department). He stated HP does not allow them to release a badge number. Ticket# xxxxxx3374.
    (Transferred to warrantee/support department)
    (The line was full of static- asked for the 800 to call back. Person said he didn’t have the number I called in on. Had to log on to www.hp.com. Found the number to call was 1 (800) 474-6836. I called this number.)
    Satya (per rep spelling) answered the line. I informed rep that I am not receiving any 5.1 output from the Blu-ray disk software that was provided by HP (HP Mediasmart DVD). Advised him that all MS products, DVD's, and HD devices were sending 5.1 channel output to my Yamaha receiver. [DVD’s are the important part. As the same drive is used for BOTH DVD and Blu-Ray, it is my opinion that the hardware is working fine.] I reiterated many times that the only thing not sending 5.1 channel data was the HP MediaSmart DVD software player for Blu-Ray disks.
    Satya ran various tests and wanted to “call back tomorrow with a solution“. He seemed to think that perhaps there was a problem with hardware and possibly I had not received something in my order.
    I clearly started I wanted a RMA number and I wanted to return the product. Satya refused saying he had to "research" the problem before he could issue the RMA number and return the product. He said he would call me between 2pm and 5pm tomorrow (MST) (I informed him it was currently 4:49 am at my location.)
    The problem is not with the hardware. All Microsoft software products that offer 5.1 channel support are sending via SPDIF (optic cable) 5.1 channel data. Again, all DVDs and other 5.1 devices (HD PVR) are sending (via SPDIF) 5.1 channel data to my Yamaha receiver. The only thing not outputting in 5.1 is the Blu-ray disk software player (HP Mediasmart DVD). DVD’s are ran using the Blu-ray drive (only one on the system) and are sending 5.1 channel data with no issues.
    Ended HP issue calls 4:52am FEB 15th 2009
    So, any other suggestions? I have tried various things like HDMI-Passthrough, HDMI-PCM, SPDIF, and 6 speaker output on the HP MediaSmart DVD Blu-ray software player application to no avail.
    This question was solved.
    View Solution.

    FEB 16th 2009 1:15 am
    Decided to try some trial Blu-ray programs to see if this issue can indeed be resolved with a different software package.
    Corel’s WinDVD9 would not play a Blu-ray disk. I received no errors. The program loaded the disk, after about 10 seconds stopped and went back to the main screen.
    Cyberlink PowerDVD had a trial limitation that does not allow Blu-ray disk playback.
    ArcSoft TotalMedia Theater (TMT) works flawlessly. Outputs in 5.1 surround with no issues, therefore my assumption that it’s a software issue is correct.
    Due to the problem being software related, I will call HP to see if there is a way they can send me a different Blu-ray software player. I like the system and do not really want to ship this back to HP. There is a sale tomarrow and I might even buy another system for my mother if HP will work this out.
    HP call start at 2:06 am FEB 16th 2009
    Called 1 (800) 474-6836. Satya answered the line. He asked if his supervisor had called me. I stated no, I had only received his call at 7:47pm and I had placed a call to Bridgette at 8:37 pm for a RMA number and shipping label.
    I advised him I was willing to try and work with HP now that I found it was indeed a software issue. I asked him if there was a possibility of getting a different software player that would work with my setup. I advised that on my own I found that ArcSoft TotalMedia Theater (TMT) trial version works (based on me installing a trial version). Its my understanding that HP provides many software titles from ArcSoft including a MediaConverter I also purchased for the desktop.
    He placed me on hold to find out.
    He said HP doesn’t carry or support ArcSoft TotalMedia Theater. He said he would have a supervisor call me back within 24 hours with a solution. I advised him to stop the RMA. He stated an RMA had not been issued yet. I gave him the RMA number I had and advised I had received a shipping label via email from Bridgette per my earlier call. He placed me back on hold to check.
    He said he cancelled the RMA and would have a supervisor call me back between 2pm - 5pm (within 24 hours).
    Call ended at 2:34 pm FEB 16th 2009
    I am guessing that HP support is not enpowered to solve a problem like mine. I would have been willing to work out something with HP but its is seeming more and more that HP really doesnt want my business. The issue here is software limitation PLAIN AND SIMPLE. I paid (in part) for a Blu-ray player that would play Blu-ray disks and output sound in 5.1. The TRIAL version of ArcSoft TotalMedia Theater works fine. Therefore the hardware is fine.
    Without a different software player shipped to me OR me buying the ArcSoft TotalMedia Theater software for 80 dollars, I am forced to listen to Blu-ray disks in 2 channels. I would like to work with HP but if HP will not work with me then I have no choice than to return the product.

  • How to save my 3 channel data like this

    Hello,I need your help. I acquired 3 channel data.I have a push button called marker.When marker button is pressed it will be saved in a text file as 1 if it's not pressed it will be saved as 0 with other data.I think it will more clear to explain like below.I want that the saved data in a text file will be like thisECG,GSR,BR are my acquired data)
    Time ECG GSR BR Marker
    . . . . 1
    . . . . 0

    I was having problems putting "marker" after "time", but I hope this helps. You can open the text file in excel for spreadsheet form if you want.
    Lauren
    Attachments:
    marker.vi ‏47 KB

  • Again Multiple channel Data Acquisition

    Again help require
    I m using
    Config_DAQ_Event_Message with CallBack Functon
    Scan_SetUp
    Scan_Start
    to get data from single channel but the parameter in scan_setup is only Single ChannelNum But I want to get Data from 8 channels at the same time so how is it possible that i can get data from 8 channels using above DAQ API's Help with some VC++ code
    If I give total no of chanels in Scan_setup then it creates exception with Config_daq_event_message if I donot use Cofig_Daq_Event_Message then it all works correctly and data from 8 channels is acquired correctly in double buffer but i must use callback with config_daq_event_message,Scan_setup,and Scan_Start API to get double buffer mutiple channel data acqusition. thanks

    Hello,
    Please see the response to your original post:
    http://forums.ni.com/ni/board/message?board.id=231&message.id=3322#M3322
    Regards,
    Sean C.

  • DAC: How to read channel Data

    How can I read Values from  Diadem-Datachannels to DAC?
    There is a control "Channel Data" ("Simulation Kanal" in german release). It can read data from channels with a clock-signal.
    How can I reset the read-pointer to the first channel-entry without restarting DAC?
    How can I read arbitrarily data from a channel.
    Is there a completly different way to do that?
    Martin Bohm
    [email protected]

    Ja, genau diesen Block "Kanäle" meinte ich in meinen obiigen
    Ausführungen. Mit seiner Hilfe kann ich Daten aus aus Kanälen des
    Datenportals lesen, aber nur in der original Reihenfolge beginnend mit
    der ersten Zeile.
    Ich kann nicht:
    - wahlfrei auf ein bestimmtes Datum zugreifen
    - den Lesezeiger gezielt auf den Anfang zurücksetzen.
    - Ferner müssen die Kanäle bereits vor Start desDAC-Plans bekannt sein. Ich kann die Kanäle nicht dynamisch verwenden.
    Damit ist dieser Block nahezu unbrauchbar.
    Ich habe inzwischen eine Lösung gefunden: Der Block "freie Formel" kann
    über die Funktion "ChD(y,x)" beliebig auf das Datenportal
    zugreifen.  Die Verwaltung der Eingänge x und y kann in DAC, also
    online erfolgen

  • DAQ_START FOR Multiple Channel Data

    Hi dears ;
    Normally we use Scan_start DAQ API to get multiple channel data but i want to get data using Daq_start for multiple channel
    but i dnot want to use this api like Scan_start by giving its second parameter -1 for all channels
    i want to use this api in seperate thread for each channel and i want to get the data from 8 channels simultaneously  using this api.
    plz send code in vc++.if the solution is not possible then send me alternate way.
    Detail:
    There are 8 threads they are running simultanously and every thread want to acquire data from their corresponding channel i.e thread one from channel one thread 2 from channel 2 and son...all the threads goes at the same to acquire the data and come back after one minute and this process continue untill quit the application
    please tell is possible or an altenate solution for this requirement.I donot use Scan_start to get the data of all the channels in one buffer i want to get the data of each channel in its own buffer.
                                     please tell as soon as possible
                                                                             thanks
                                                                                                    ajmal

    Hello ajmal,
    There are a couple reasons why your idea probably won't work.  First, it looks like you are using Traditional (legacy) NI-DAQ functions.  The Traditional NI-DAQ driver is not multi-thread capable.  Meaning that only one thread will be able to access the driver at a time.  Also, it is not possible with Traditional NI-DAQ or NI-DAQmx to have multiple analog input tasks running simultaneously.  Is there a particular reason that you don't want to read all the channels in the same task and separate the array into a different sub-arrays for each channel?
    -Alan A.

  • How to use ni-6008 and build a four channel data acquisition at a rate of 250 samples per channel and display all the data in a waveform chart

    how to use ni-6008 and build a four channel data acquisition at a rate of 250 samples per channel and display all the data in a waveform chart 

    Hi kdm,
    please stick in one thread for the same topic!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Delete or replace (NOT append) TDMS Channel data

    Is there a way to delete channel data that has already been written to a TDMS file?
    Just writting the new data tot channel data appears to append the new to the old.
    I don't see a way of deleting OR replacing the old dat with the new.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Solved!
    Go to Solution.

    Jarrod S. wrote:
    You know what's sad, Ben, is I was the one who wrote those TDM -> TDMS and TDMS -> TDM conversion VIs that the poster used in the example to delete a TDMS channel.
    All is not lost.
    Repost with a link to the same solution. That way I can mark your new reply so new users will find the example with a double bonus of you re-taking that solution and picking up some more Kudos along the way.
    Go for it!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Use comment from X-Channel data in Chart Legend

    Hi,
      Does anybody know how to set up a chart legend that will display the channel comment for the X-Channel?  There is a standard option for selecting the Y-Channel comment and the line below also achieves this.  In my case the Y-data is shared across all curves and the X-Data is independent.  Thanks in advance!
    Display the Y-Channel Comment:
    @CC(CCN)@

    You're right, it doesn't work with "curve-related text", no idea, why...
    But there is a way - probably not the best one - to do this.
    Dim oMy2DaxisSystem, oMy2DCurve, oMyShape, oMyPosition, oMyLegendColumns, oMyCurveLegendPos
    Call Report.NewLayout()
    Set oMy2DaxisSystem = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem,"My2DAxisSystem")
    Set oMyPosition = oMy2DAxisSystem.Position.ByCoordinate
    oMyPosition.X1 = 20
    oMyPosition.X2 = 80
    oMyPosition.Y1 = 20
    oMyPosition.Y2 = 80
    Set oMy2DCurve = oMy2DaxisSystem.Curves2D.Add(e2DShapeLine, "MyNewCurve")
    Set oMyShape = oMy2DCurve.Shape
    oMyShape.XChannel.Reference = "[1]/[15]"
    oMyShape.YChannel.Reference = "[1]/[25]"
    oMy2DaxisSystem.CurveLegend.Visible = True
    oMy2DaxisSystem.CurveLegend.Settings.ShowGridLines = FALSE
    Set oMyCurveLegendPos = oMy2DaxisSystem.CurveLegend.Position
    oMyCurveLegendPos.SizeMode = eLegendSizeElementwise
    oMyCurveLegendPos.ElementHeight = 6
    oMyCurveLegendPos.ElementWidth = 35
    oMy2DaxisSystem.CurveLegend.Settings.Font.Size = 5
    Set oMyLegendColumns = oMy2DaxisSystem.CurveLegend.Columns
    Call oMyLegendColumns.Add
    oMyLegendColumns(1).Type = eLegendTextComment
    oMyLegendColumns(1).RelativeWidth = 1
    oMyLegendColumns(2).Type = eLegendTextCustomText
    oMyLegendColumns(2).RelativeWidth = 1
    oMyLegendColumns(2).Text = "@CC(CurrXChnNo)@"
    Call Report.Refresh()
    The code is available in Examples, I just added some minor details.
    Another way (shorter, but not so universally valid) is to extend your code:
    Report.ActiveSheet.Objects.Item("2DAxis2").CurveLegend.Columns.Item(1).Type = eLegendTextCustomText
    Report.ActiveSheet.Objects.Item("2DAxis2").CurveLegend.Columns.Item(1).Text = "@CC(CurrXChnNo)@"
    IMO, this works only if you already have the graph.
    And take care about the object name ("2DAxis2"), this can vary from page to page...

  • Alpha channel data with layered format plugin

    I have a layered format plugin and I am trying to write the alpha channel information separately. I have set up channelPortProcs and I am attempting to read the pixel data with readPixelsProc. The issue is that even though the readPixelsProc function doesn't return any errors the rectangle that is supposed to store the rectangle that was actually read is a 0x0 rectangle. I can't seem to find why this would be or what I might be doing wrong. Here's what I have so far:
    // set up the pixel buffer
    int32 bufferSize = imSize.h*imSize.v;
    Ptr pixelData = sPSBuffer->New( &bufferSize, bufferSize );
    if (pixelData == NULL)
         *gResult = memFullErr;
         return;
    // Define the source and destination rectangles
    ReadChannelDesc *alphaChannel = gFormatRecord->documentInfo->alphaChannels;
    PIChannelPort port = alphaChannel->port;
    PSScaling scale;
    scale.sourceRect = scale.destinationRect = alphaChannel->bounds;
    VRect destRect = scale.sourceRect;
    // Set up the descriptor for reading pixel data
    VRect wroteRect = {0};
    PixelMemoryDesc dest = {0};
    dest.rowBits = imSize.h*alphaChannel->depth;
    dest.colBits = alphaChannel->depth;
    dest.depth = alphaChannel->depth;
    dest.data = pixelData;
    // Put the pixel data into the buffer
    *gResult = gFormatRecord->channelPortProcs->readPixelsProc(port,&scale, &destRect, &dest, &wroteRect);
    if(*gResult != noErr)
         return;
    The alpha channel gives me the proper name, but I just can't get the data associated with it. Thanks.

    I am still trying to find a solution to this.  The propChannelName is read only and the documentInfo structure is NULL when reading.  Any suggestions?

  • How to record multiple midi channel data to multiple midi tracks in Logic?

    Dear All,
    I have an electric organ from Yamaha, and it has 3 keyboards, upper keyboard, lower keyboard, and pedal keyboard. They are all running in different midi channels:
    i.e. upper keyboard: midi channel 1
    lower keyboard: midi channel 2
    pedal keyboard: midi channel 3
    When I try to create 3 midi tracks in Logic to listen to the 3 keyboards, I found that their midi signal just mixed together. Meaning, all 3 midi tracks can listen to all 3 keyboards...
    Please noted that I am using a single USB Midi interface (1-in, 1-out) to connect the electric organ with macbook.
    Can someone give me a help here? I suppose I can setup 3 midi tracks in logic to listen to 3 keyboards signal separately.
    Thanks,
    Eric

    Ahrenshof wrote:
    I had a similar situation when I first got LS and received this useful reply from Apple-
    in Settings>Recording, check the box for "Auto demix by channel if multitrack recording".
    Be aware that the Settings are song specific, compared to Preferences, which apply
    to all songs. Set your controllers to send on specific MIDI channels and set the same channels in the inspector of your tracks.
    I have a 2x2 midisport however, so I don't know if you will have an issue because you have only 1 I/O.
    If so, you might have to learn about 'Multi instruments", I haven't had the need.
    Yes, this is correct. We have two recording stations with ESI M4U 4x4 midi interfaces. We are recording 4 instruments at the same time and they all send their data on a different channel. I created midi instruments for all of them in Environment just to have them more easily available in the Arrange window. Also make sure you have the correct midi channel set per track in Logic.
    When the option to "auto demix by channel" is set and you are recording, it may seem that Logic is recording only on one channel (only one region being created). But as soon as you hit stop, it will expand to multiple channels.

  • Add Channel data in blocks through Data Plugin.

    Hi,
    I have to create a plugin for a binary data file. I have no probelm creating the plugin, as I know all the required formats but now the issue is I am supposed to load channel values of a specific region of interset. For example, If data file has values of data for the time 0 to 13sec, then I am ssupposed to read in channel with data only between 5 to 9 secs. Can anyone please let me know how can I go about for selective data loading through plugin?
    Thanks,
    Priya

    Hi Priya,
    This is not a built-in feature in DIAdem, although R&D is looking into the feasibility of adding this as a feature at some point.  In the meantime I developed my own back-door way of getting the job done.  You can pass the reducing information in a text file of the same name (but different extension) as the binary file, then the DataPlugin can read the data reduction information and declare the binary block to start at the correct byte position, skip the correct number of values, and end at the correct last value for the desired interval.  Below is a simple example of a DataPlugin outfitted with the "Red" routines.
    Let me know if you have further questions,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    GigaLV Red.zip ‏40 KB

  • Channel Data filters in DIAdem

    Hi All,
    I am having NI DIAdem installed in my system.
    I am having data to be analysed in .csv format and the same data i am able to see in DIAdem.
    There are number of channels in this data.
    There are Channel filters in DIAdem at the top right corner on Data Portal which can filter one channel within the entire channels in the data.
    Suppose in one channel, i am having date & time (time stamp) when a particular data record was recorded having different channels in it..
    Now, this channel is having say 1000 records/data corresponding time stamps.
    My question is can i filter entire data as per the selection of time stamp for one channel/channels(s).
    I did not found any tool in DIAdem to do this.
    Can anyone tell me.
    Samriddh Sarbalhi

    Hi Samriddh,
    Let me try to clarify your request.  Let's stay with the example of data channels with 1000 values in them.  Will each channel have one date/time value associated with it or 1000?  Will all the channels in one data file have the same date/time value?  Do you want to concatenate together all the channels which have date/time values in the correct range?  If so, will some of those channels to concatenate come from different files?
    I think we can use the DataFinder to tackle these issues, as long as you don't have 1000 different date/time values in each channel.  In that case we'll need to use a channel calculator or calculation manager session to filter the specific rows you want from one or more channels.
    Brad Turpin
    DIAde Product Support Engineer
    National Instruments

  • How to retrieve alpha channel data in format plugin

    I want to ask how to get the alpha channel 's data that describle the document's transparent info, in a format plugin.
    for example , when open a PNG file in Photoshop, the photoshop set FormatRecord:: planes to 3 (not 4),
    in this case i can only request the RGB data.
    then how can i get if the pixel is transparent in document ?  (that is 0 - completely transparent, 255 - completely opaque)
    Thanks~

    i have resolved this problem, it's maybe i didnot set the fmtCanWriteTransparency flag in the pipl.
    thanks.

  • How to save multi channel data in a same file?

    hi... i'm a fresh guy of labVIEW programming... what i wish to know is how to save multi channel in a same file? i had try with the AI acquire waveform, but it still can't get what i need. Because AI acquire waveform need user key in those channel with ","... but ehat i want is user can choose the channel from a combo box and then once user click a 'add' button then the value will store in memory, after user click done then the value can send to AI acquire waveform together...
    i had tried hard about this but still can't get what i want.... -_-|
    hope anyone can reply as soon as possible...

    HI, Brett B... thanks for your reply
    I'm using labVIEW 7.1 Express... i know the "Write LabVIEW Measurement File.vi" too, but it cannot support the file tpe that i need... so i just can find other way to do that...
    the file type that i need is call *.log\*.DAT... so... there got any solution to do that? or i can modified the "Write LabVIEW Measurement File.vi"?
    Jaxx

Maybe you are looking for

  • Multiple Libraries in iTunes 7 (Windows)

    Another whinge about iTunes 7! The multiple libraries feature in the Windows version (I don't know about the Mac version) is very poorly implemented and, quite frankly, useless. When changing libraries in iTunes 7, the preferences for the new library

  • Cell Sensitive -- How to do this

    Dear All, we are in BI 7.0. Layout 1: Planner plans data for an year  Jan2008-Dec2008 = 12000 USD. Layout 2: This gets dirtibuted to 12 months equally. Jan=1000,Feb=1000,..... Dec=1000. If the the planner manually changes some values in some months i

  • Looking for Video call soluation

    Dears ; Good evening I want to know if there is a solution for video calls between 2 citys via VPN link if there is virtual solution or programs Thanks all and sorry for bad English Posted by WebUser Mohammadrios Hakawaty from Cisco Support Community

  • Dynamic email address in MAIL adapter

    Hi ALL,              Is there a way of sending dynamic email addresses in mail adapter? Regards, XIer

  • Report Web forgery feature not resulting in phishing website being blocked

    I received a phishing email 24 hours ago in Thunderbird (which correctly identifies it as an email scam) pretending to be from BT Online; I followed the link (http://gaazx.ridgewaywebsites.co.uk/bbttinde.html) to ensure the site had been reported as