Data channels analog breeding

Sorry for what can seem like a basic question: I want to clarify where an analog channel is found in the data file, column wise. Right now I'm dealing with 4 channels, 0,1,2,3 and the data them file acquires in the columns from left to right, 0,1,2,3.

I want to spend the 2 and 3 as they are written to the file by using a control on my FP. So... 0,1,3,2. I use 'write to the measures' and tensions is my signals. Any ideas?

If you have three separate signals, you can combine them using table build as follows:

If you get all the waveforms as an array of size N (i.e. of the same analog input task), you can index the table and proceed as above.

Edit - point being, it's the order in which the waveform array passed to write to file measure is based which determines the order in which they will be saved in the output.

Tags: NI Software

Similar Questions

  • Channel of String conversion to the data channel

    I have a problem I tried to accomplish through a. The URI of the file but can seem to make it work good for me.  I have an original data channel are in TEXT format and the data in the channel are the phone number in the format 6667779999 or 4343. Can someone help me with a suggestion of script to convert this. Most of my ATTEMPTS end with a 66.67779e5.  Can be simple but I can just figure it out.

    Thank you J

    Hello J,

    A number such as 66.6778888e5 can be shown as 6667778888 in a DISPLAY box or table or text REPORT or a axis of REPORT graph by using the display correct format string - in this case "d".  Where do you 6667778888 number appears like this in DIAdem, exactly?  If you want to see in a BULLETIN Board, you will need to choose the option button 'Selected channels' first in the configuration dialog box, and only then will you be able to choose a format string to display such as "d" for this column.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Unpack the cluster data channels

    Hi all

    I tried for this research, it seems quite common, but I don't know that I used the right set of words:

    I receive data from a device in the packages. Each sachet contains several images, each image contains two subframes and each sub-frame contains several data channels. In my vi, the package is a cluster, executives are clusters and the subframes are clusters, all the typedef' ed.

    What I want to do, is to take the big initial cluster and divide the data into a set of tables, one per channel data, without generating spaghetti.

    The function "decimate the table" would work great to do the job, but alas, it only works on the berries, no groups, and it seems that my group cannot be converted to tables.

    Is there something that I am missing? I have attached a photo of high level... Note that I'm not an artist. "N" and "m" values are fixed, so there is no variability

    By "append" do you mean "build the table? ' You can use "Cluster of Array" instead?

    Also note that if you have a cluster where the latter are the same, regardless of how many nested groups there, then you can Cast from Type to an array of this type of final element. For example, if all data real of your cluster is single precision floats, you can the Type Cast to an array of SGL.

    If you can upload a screenshot or your code saved to an earlier version, I will try to provide more specific help.

  • Remove or replace (NOT append) data channels PDM

    Is there a way to delete the channel that has already been written to a TDMS file data?

    Simply write the tot data new data channels appears to add the new to the old.

    I don't see a way to remove OR replace the old with the new dat.

    Ben

    Hi markza,

    See this example and see if it's what you need:

    http://decibel.NI.com/content/docs/doc-5735 (Remove single channel TDMS since an existing PDM file)

    Have a great day,

    Chris

  • writing cannot be porformed, because data channels number does not match the number of channels in the task

    Hello

    I'm writing analogues of the buffer to several channels using NOR-6723.

    For some reason any, whenever I go to the buffer double function (1-d) that contains buffers for all channels.

    I always find myself with exception indicating that the numbers of channels in the data are '1 '.

    I use c#:

    Task m_TaskHandle = new Task();
    
    string sChannelsList = "Dev2/ao21:23";
    
    m_TaskHandle.AOChannels.CreateVoltageChannel(
    
    sChannelsList,
    
    "", 0, 5, AOVoltageUnits.Volts );
    
    int iNumberOfSamples = 4;
    
    double dSamplingFrequency = 1000;
    
    m_TaskHandle.Timing.ConfigureSampleClock("",
    
    dSamplingFrequency,
    
    SampleClockActiveEdge.Rising,
    
    SampleQuantityMode.ContinuousSamples,
    
    iNumberOfSamples /* Only relevant if mode is FiniteSamples */);
    
    // Data code is heredouble[] adSampleBuffer;// array values removed from this code snippet (here i have function that generates data)// array size is: num_of_samples * total_channels (in this case 4 * 3)
    
    AnalogSingleChannelWriter ChanWriter = new AnalogSingleChannelWriter(m_TaskHandle.Stream);
    
    ChanWriter.WriteMultiSample(false, adSampleBuffer);
    
    m_TaskHandle.Start();
    

    Not sure I'm I missing, how the MSTDIO determines the "number of data channels", I receive as an exception, it is always equal to 1.

    would appricate to help.

    Thank you.

    Hi idanbis,

    As the snippet you posted, you can create more than one channel using the ao21:23 range. That said, you should use AnalogMultiChannelWriter to configure your write instead of AnalogSingleChannelWriter operation.

    To write using AnalogMultiChannelWriter::WriteMultiSample (boolean, double, you must know the data you want to write must be stored in a 2D array.) Each element in the first dimension of the array corresponds to a channel in the task, while each item in the second dimension, to a sample of write on its channel. For example, that:

    Double [,] data = new double [numChannels, numSamplesPerChannel];

    Then:

    data [0, 0... numSamplesPerChannel]; It is the set of all samples in the first string (ao21 in your code).

    I hope that was helpful. Let me know if I left any doubt remaining.

    Best regards

    Anzurio

  • Why do write can not be performed because the number of data channels does not match number of channels in the task.

    Possible reasons:

    Scripture cannot be performed because the number of data channels does not match number of channels in the task.

    When writing, provide data for all channels in the task. You can also change the task so that it contains the same number of channels as the written data.

    Number of job channels: 8
    Number of data channels: 1

    Lama says:

    The DAQmx vi writing gives me the error. If I run a single channel, isn't a problem. Multichannel gives me error.

    You are funny! Why tie yourself to work VI (single channel) instead of one that gives you errors (multichannel)?

    (If your car does not work, you bring car your wives to the mechanic, right!)

    What is the exact text in the multichannel 'physical channels' when you do the AO control?

    Lama says:

    I did a sequence to ensure that each function has been run in the correct order. Wouldn't a race condition.

    All you have to do is wire the 'start of task' error at the entrance of error of the DAQ assistant and then back to 'stop task' and things will run in order. Guaranteed! Think the stream! Everything else can run in parallel or the order is irrelevant.

    First convert the sequence stacked to a sequence of plate, remove the flat sequence and add the mentioned son. Now, do a "cleaning pattern.

    A when stacked with the inhabitants of the sequence is one of the worst construction you can possibly do. It makes the code difficult to follow, impossible to maintain, difficult to debug.

  • Function to count the total number of data channels

    I know that I had stumbled on a tiara function that returns the number of data in all of my data channels.  I can't seem to find the thread where I had seen it.  I'm looking to replace a script a long time user with this simple function in my future coding.

    Thank you!

    Hi CrshTstr,

    I actually still use GlobUsedChn for that.  In more recent versions of DIAdem, you can use commads as GroupChnCount() or Data.Root.ChannelGroups (1). Channels.Count to return the number of channels in a particular group.  But regardless of which group the channels are in the GlobUsedChn variable always returns the total number of channels currently on the data portal.

    Brad Turpin

    Tiara Product Support Engineer
    National Instruments

  • StatBlockCalc without creating data channels for results

    I am creating the min, max and average for a group of channels (3 of them), but I don't want to create/store new data channels - I prefer to use the variables StatMin, StatMax, and StatArithMean.  For example, by using the script

    StatClipCopy = 0

    StatClipValue = 0

    StatFormat = «»

    StatResChn = 1

    Call StatBlockCalc ("Channel", "2-254", "" [1] / Ah - ' [1] / temperature A1'") '... StatDirec, RowNoStr, ChnNoStr

    causes of 3 new channels (min/max/AVG) with 3 items in each channelto created in the data portal.  Rather than create channels, I change the StatResChn = 0, I thought I should store only the values in the variables StatMin, StatMax, and StatArithMean

    StatClipCopy = 0

    StatClipValue = 0

    StatFormat = «»

    StatResChn = 0

    Call StatBlockCalc ("Channel", "2-254", "" [1] / Ah - ' [1] / temperature A1'") '... StatDirec, RowNoStr, ChnNoStr

    However this only seems to work uses a single channel (amperes / hour or temperature A1)

    Is it possible to get multiple statistical values (statmin, statmax, etc.) on multiple channels without creating separate portal data channels?

    Otmar

    Exactly what I was looking for.  I tried and it works fine.  Thank you very much!!!

    I have a supplementary question - is there any kind of available documents describing these properties/values such as ResultMin, etc.?

  • END of the TNS data channel

    I use IKM:sql command append, LKM: load sql to oracle ORACLE CKM:CKM
    but by exploiting the module in error:
    For action 'table of analytical work' status is "attention".
    warning Msg:
    17002: null: java.sql.SQLException: IO exception: end of TNS data channel
    java.sql.SQLException: IO exception: end of TNS data channel

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)

    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:649)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)

    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)

    at com.sunopsis.sql.SnpsQuery.executeUpdate (SnpsQuery.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt (SnpSessTaskSqlC.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)

    at com.sunopsis.dwg.cmd.e.i (e.java)

    at com.sunopsis.dwg.cmd.g.y (g.java)

    at com.sunopsis.dwg.cmd.e.run (e.java)

    at java.lang.Thread.run (unknown Source)
    Description:
    BEGIN
    DBMS_STATS. () GATHER_TABLE_STATS
    ownname = > 'ODI ',.
    tabname = > "C$ _0target_table"
    estimate_percent = > DBMS_STATS. AUTO_SAMPLE_SIZE
    );
    END;


    then
    For action ' create flow table I$ 'status has warned.
    17008: null: java.sql.SQLException: closed connection
    java.sql.SQLException: closed connection

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)

    at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:753)

    at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:670)

    at com.sunopsis.sql.SnpsQuery.a (SnpsQuery.java)

    at com.sunopsis.sql.SnpsQuery.a (SnpsQuery.java)

    at com.sunopsis.sql.SnpsQuery.updateExecStatement (SnpsQuery.java)

    at com.sunopsis.sql.SnpsQuery.executeUpdate (SnpsQuery.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)

    at com.sunopsis.dwg.cmd.e.i (e.java)

    at com.sunopsis.dwg.cmd.g.y (g.java)

    at com.sunopsis.dwg.cmd.e.run (e.java)

    at java.lang.Thread.run (unknown Source)
    Description:
    create table ODI. I _target_table $
    (
    CALL_TYPE VARCHAR2 (25) NULL,
    MSISDN VARCHAR2 (25) NULL,
    CALL_DATE VARCHAR2 (25) NULL,
    CALL_TIME VARCHAR2 (25) NULL,
    OTHER_NUMBER VARCHAR2 (25) NULL,
    INDICATED VARCHAR2 (25) NULL,
    TERM NUMBER (10) NULL,
    IMEI VARCHAR2 (35) NULL
    )


    so for the action "insert stream in I$ table" status is RED
    performance:
    17008: null: java.sql.SQLException: closed connection
    java.sql.SQLException: closed connection

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)

    at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:753)

    at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:670)

    at com.sunopsis.sql.SnpsQuery.a (SnpsQuery.java)

    at com.sunopsis.sql.SnpsQuery.a (SnpsQuery.java)

    at com.sunopsis.sql.SnpsQuery.updateExecStatement (SnpsQuery.java)

    at com.sunopsis.sql.SnpsQuery.executeUpdate (SnpsQuery.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)

    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)

    at com.sunopsis.dwg.cmd.e.i (e.java)

    at com.sunopsis.dwg.cmd.g.y (g.java)

    at com.sunopsis.dwg.cmd.e.run (e.java)

    at java.lang.Thread.run (unknown Source)

    Insert into ODI. I _target_table $
    (
    CALL_TYPE,
    MSISDN,
    CALL_DATE,
    CALL_TIME,
    OTHER_NUMBER,
    INDICATED,
    DURATION,
    IMEI
    )
    Select
    C1_CALL_TYPE,
    C2_MSISDN,
    C3_CALL_DATE,
    C4_CALL_TIME,
    C5_OTHER_NUMBER,
    C6_CELL_ID,
    C7_DURATION,
    C8_IMEI
    of ODI. C$ _0target_table
    where
    (1 = 1)

    How can not solve the problem?

    Hello

    I had not fallen on this error, a little but still try to help you,

    I did some r & D and comes to know his problem with connectivity, although I don't know yet (but I'm sure that's not coz of ODI). :)

    Please take a look the link that can help you, below

    http://forums.Sun.com/thread.jspa?threadID=280338&MessageID=1090056&forumid=48

    http://forums.Sun.com/thread.jspa?threadID=5348347

    I hope this helps.

    Thank you
    G

  • How to control several input channels analog daqmx for data acquisition trigger (all on the same SMU-6368)

    Using the SMU-6368 module, I would like to monitor the analog signal on multiple channels and trigger on several channels - relaxation and acquisition channels is all on the same device. Probably going to be sampling at 200 kHz and more. FM LV 2009 2012, with SV toolkit in Windows 7.

    If SW trigger is the only way to follow, there example code shows how to manage the block size, etc.. ?

    jkessler,

    Yes, the example was in 2012.  I didn't get what you asked for in your first post because I didn't know you wanted to ANY channel to trigger acquisition of all channels.  It is not possible at the hardware level, because you cannot specify four channels as the command source. This will be implemented in the software.  I recommend the reading of all four channels and neglecting data until you determine that one of the channels reached your threshold value.

    Kind regards

  • BUG? Out of multi channel analog Flips which channel it sends

    I a program that channels acquires 4 analog inputs, 2 analog output channels to send and acquires 2 input channels of the counter (on a separate card)

    My problem is that the analog output flips which channel it outputs. I built a table and my waveform desired ao0 at the top of the table build entry, then I drag the table of construction down to make entry as a second entry and I plug my second wave this entry. I noticed strange things on the scope. The program worked correctly, but repeatbly.

    The analog output channels the following steps

    channel 0 is sent to a level of zero, then for 1 data point a level 5. It comes to trigger a signal generator to the output of a wave of fishing 1 Hz, 1Vpp, 2cyc

    1 channel is sent with a square wave to trigger a camera to take a picture for each pulse.

    Step 1: Open SLOSHTABLEV4.vi

    Step 2: run.

    Note: the channel impulse is sent the trigger generator waveform causing the waveform to generate each pulse
    the trigger channel ends as high. to 5 volts.
    Step 3: Run simpleao.vi and set both channels to zero

    Step 4: See Re running SLOSHTABLEV4.vi that flips out what channel it is sent!

    There are three forms of production,

    the right one
    one where the waveform relaxation is camerapulse
    one where the waveform trigger is activated from the beginning.

    The solution was to update the drivers. Ugh!

  • Recommendations for hardware OR with a minimum 6-channel analog output

    Hello world.

    Currently I have the NOR-device, USB-6009. However, it offers only up to 2 analog output channels. I'll need to have at least 6 channels of analog output. Therefore, can anyone recommend me any device OR that matches my needs (preference is the USB series)?

    Kind regards

    Jonathan

    Did you go to the page data acquisition . You can use the different selection tools to narrow down your choices. Given that you have provided only a single parameter (number of channels), it is difficult to recommend anything. Determine what else you need (sample rate, voltage range, etc.) and you can call your sales engineer OR local and get all the help you need.

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

    So, I got a desktop HP custom computer new Friday. Started playing with it on Saturday. I called Sunday morning to request an RMA number and return shipping label. Here's my saga:

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Started HP problem calls to 03:47 February 15, 2009

    Region (by spelling rep) said return is processed through warranty / customer). He said that HP does not publish a badge number. Ticket # xxxxxx3374.

    (Transferred to warranty/support service)

    (The line was full of static-asked for the 800 for the reminder. No one said that he had not the number I called in the. EU log www.hp.com. Found the number to call is 1 (800) 474-6836. I called this number.)

    Satya (by spelling rep) responded to the line. I told the rep that I don't get any output 5.1 for the Blu - ray disc software that was provided by HP (HP Mediasmart DVD). Informed him that all MS products, DVD and HD devices sent out to my Yamaha receiver 5.1 channel. [Are the important part of DVD. As the same drive is used for THE DVD and Blu - Ray, it is my opinion that the material works very well.] I repeated several times that the only thing to do not send 5.1 channels of data has been the player of HP MediaSmart DVD software for drives Blu - Ray.

    Satya ran various tests and wanted to "call back tomorrow with a solution. He seemed to think that maybe there is a problem with the hardware, and eventually I wasn't getting something in my order.

    I clearly started I wanted an RMA number and I wanted to return the product. Satya refused, saying that he had to 'search' the problem until it could issue the RMA number and return the product. He said he'd call between 14:00 and 17:00 tomorrow (STD) (I informed him he is currently 04:49 to my place.)

    The problem is not with the hardware. All software Microsoft products that support 5.1 channel send through data 5.1 SPDIF (optical cable) channels. Once again, all the DVD and other 5.1 (HD PVR) devices send (via s/PDIF) 5.1 channels of data to my Yamaha receiver. The only thing not released in 5.1 is the software (HP Mediasmart DVD) Blu - ray disc player. DVD is ran using the player Blu - ray (on the system only) and sends the data of channel 5.1 without any problem.

    Closed the problem HP call 04:52 February 15, 2009

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Thus, any other suggestions? I tried different things such as Passthrough-HDMI, HDMI-PCM, SPDIF and output of 6 speakers on the application of reader software HP MediaSmart DVD Blu - ray without result.

    I decided to try contacting chat support to see if they had ideas... After almost 2 hours of troubleshooting, a support chat, there is no current solution. I find myself with waiting on an another software update (I guess the previous update does not solve this problem and took 6 months to publish), or return the PC with installed defective software.

    When support calls me I will request the RMA and return labels to be reactivated and ship back to HP PC.

    I then go to BestBuy and buy a Blu - ray player.

    Good luck if you are keen on your nice new Blu - ray player and enjoyable new disc from reading over 2 channels.

    Unless you install a different drive (that YOU will have to pay), you're completely out of luck is HD audio (5.1, 6.1, 7.1 channels) via SPDIF or HDMI. I looked on all systems CTO and they ALL use the same software. Well. Mabey HP will be better in a few years.

    I am posting this as a solution only as the solution to the problem was to ship the return to HP PC and get a refund. < sigh >

  • To find the first Summit for data channel

    Hey guys,.

    I need a little help. I wrote a script to process some data. Basically, what the script does is calculate the linear accelerations peak, peak of the angular speeds, HIC values and IF. But there is a problem with my script that I need help. In my script, I use the ChnPeakFind command to find the pics in my chains. This command works fine to find the peak value, but what I want to do is find the FIRST Summit in the data, without worrying whether or not it is a maximum. I always encountered data that varies in which my first pic (impact analysis) may or may not be the highest point in the channel. As you can see in the Graphs.png that I have attached, the ChnPeakFind command found the 2nd Summit (red circle #2) in my chain of angular velocity (ARS resulting). But what I report is the first peak value (red circle #1). I've also attached a screenshot of the section in my code where I calculate the angular velocity. The 'i' in the calculation is just the channel group number. In this case, it is 1. Anyone know how to change the code or have another suggestion how to find the first Summit in a channel without having to stop and go to the tab analysis to manually find the pic?

    Thank you!

    Hello

    If it please see my littl below escript and let me know if this could work for you

    Dim     oChnResultant
    Call Data.Root.Clear)
    Call DataFileLoad ("E:\Customer_Examples\01_Head_Impact\Head Impact Data.tdm", "CT", "Load")
    Set oChnResultant = data. Root.ActiveChannelGroup.Channels.Add ("Result", DataTypeChnFloat64)
    Call ChnXYZAbsValue ("[1] / ARS X","[1] / ARS Y","[1] / ARS Z", oChnResultant)
    "Use the filter twice to get rid of the jig
    Call ChnSavitzkyGolayFilter (oChnResultant, oChnResultant, 1, 12)
    Call ChnSavitzkyGolayFilter (oChnResultant, oChnResultant, 1, 12)
    ' Delete few maxima to the beginninf of the signal.
    Calculate the call ("R = IIF (R)<>
    'Research for first peak.
    Call ChnPeakFind ("[1] / Time axis","[1]/Resultant","/PeakX","/PeakY",1,"Max.Peaks","Time")

  • Write orders for specific data channels in report output via script or generating an automated script...

    In my project, I need to do some calculations, and then get the data plotted in the given report model. I use an automated for this script. My script is doing all the calculations and then he did not select and drag and drop the selected channels on the report model. His recording of the report template is empty.

    I'm fighting to get the specific channels data plotted using the script. I need the selected channels appear on this report template and then get saved.

    Any help will be much appreciated. Thank you

    Hi LaxG,

    If your script creates calculated channels, then you know what you're naming them - why your presentation of the STATE could not contain references to these names channels already?  Is it a dynamic number of conditional curves to the results of the analysis, or perhaps a dynamic number of REPORT sheets?

    You can programmatically change the reference of string of existing curves or the columns of the table with a VBScript DIAdem.  You can also add a curved column or a table with a VBScript DIAdem.  But the more you can save in the TDR file, work less you programming, this is the best place to start.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

Maybe you are looking for