SubMat channels destination results

Hello world!

I have a few groups with several channels which I want to sort and Trim. So, I create a loop to sort and cut each channel in each group and I want to save the Sorted permit and see partial in a new groups that I defined, but in none of the required service properties it lets me select the destination group. Someone knows what to do?

Because the default groups is one that I'm sorting and cutting and I don't want the data sorted and pruned to be saved in there.

Thank you very much

Maria Esmeral

Hello Maria,.

Can you provide an example of what you're doing? (eg. data set and the script)?

Have you tried to change/set the default group before calling the function SubMat?

You can do this by calling the function activate for a specific channel group.

This can be (for example) done as follows to activate the 4th group of channels:
Call the Data.Root.ChannelGroups (4). Activate()

Tags: NI Software

Similar Questions

  • 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.?

  • Problem of destination

    In my project, I want to use an instance of RemoteObject to retrieve a Java object. I think I have all the files in the right places, but still I get this error:

    [Error CPP faultString = "[MessagingError message = 'destination of The MessageAgent must be set to send messages.']" faultCode = "InvokeFailed" faultDetail = "" could not establish a connection with ""]
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal::invoke()
    to mx.rpc.remoting.mxml::Operation/ http://www.adobe.com/2006/flex/mx/internal::invoke()
    to mx.rpc.remoting::Operation/send()
    function / http://adobe.com/AS3/2006/builtin::apply()
    to mx.rpc.remoting.mxml::Operation/send()
    function / http://adobe.com/AS3/2006/builtin::apply()
    to mx.rpc::AbstractService / http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()
    at best / request)
    at best / ___Application1_creationComplete)
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

    My RemoteObject code looks like this:

    < mx:RemoteObject id = "MedewerkerService" source = "com.atosorigin.services.MedewerkerService" >
    < name mx:method = result = "{resultHandler (event)"getMedewerkers"}" / > "
    < / mx:RemoteObject >


    The return object is an array of legal, I'm back like this:

    public void resultHandler(event:ResultEvent):void {}
    ER = event.result as ArrayCollection collection;
    }


    I use the following Services - config.xml:

    <>services-config
    < services >
    < service-include file-path = "remoting-config. XML"/ >
    < / services >
    <>channels
    < channel-definition id = "my-graniteamf" class = "mx.messaging.channels.AMFChannel" >
    "" < endpoint uri = ' http://{server.name}:{server.port}/{context.root}/graniteamf/amf ' class = "flex.messaging.endpoints.AMFEndpoint" / > "
    < / channel-definition >
    < / channels >
    < / services-config >

    With a remoting - config.xml:

    < id = service "-remote access service" class = "flex.messaging.services.RemotingService" >
    < adapter >
    < adapter-definition id = 'java-object' class = "flex.messaging.services.remoting.adapters.JavaAdapter" default = "true" / > "
    < / adapters >
    < default channels >
    < Channel Ref = "my graniteamf" / >
    < / default channels >
    < destination id = "pojo" >
    <>channels
    < Channel Ref = "my graniteamf" / >
    < / channels >
    Properties of <>
    session of < scope > < / scope >
    com.atosorigin.services.MedewerkerServicce < source > < / source >
    < / properties >
    < / destination >
    < / service >

    Thanks :)

    It's :)
    (Note the absence of parentheses in the part of the operation)

  • How to access the channel values?

    I'm new to scripting language DIAdem.  I TDMS has a group and several channels with String type all.   How to read the first 4 characters of each string values and store into the new channel?  Example of data file attached.

    I tried for the statement in the Script window

    Ch("[1]/result") = Ch("[1]/Frame")

    or

    Ch("[1]/result") = Right (Ch ("[1] / framework", 3))

    All gave me error...

    Hi NiCoder,

    It's the way you read and write individual channel values, but what to do value-by-value is much slower that make them all with a single call to ChnCalculate():

    Set Group = Data.Root.ChannelGroups (1)
    Define FrameChannel = Group.Channels ("Frame")
    Set ResultChannel = Group.Channels.Add ("Result", DataTypeString)
    iMax = FrameChannel.Size
    FOR i = 1 TO iMax
    ResultChannel (i) = Right (FrameChannel (i), 3)
    NEXT ' I

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • 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")

  • Get a ref to a newly-created channel script

    I'm a noob to scripting tiara and it's been well over a decade since I did any significant vb coding, so please forgive me for what is inept.

    I use the function ChnFiltCalc to operate my data by a low filter pass, and this function automatically creates a new channel containing the signal filtered at the end of the group.  In the data portal that I would move the new channel so that immediately follow the unfilitered channel, it is, however, ChnFiltCalc is not a reference to the new string.  In addition, the new channel may or may not use the name I assigned to it (Tiara will add a number if it's a duplicate name) and based on what I read in the help files, it may be the element with the largest index.

    Is there a standard way of robust way get a reference to the new channels created by the functions?

    Hi Rose Dalban,.

    My personal preference must first obtain a channel object variable when you create the target channel in the Group and the location of the channel (TargetChannelIndex) that you want to be (where the name of the desired channel will be unique), then go this channel object variable to the order of ANALYSIS in his channel of target setting.

    ' Set Group = Data.Root.ActiveChannelGroup
    ' Set Group = Data.Root.ChannelGroups (1)
    Set Group = Data.Root.ChannelGroups ("DesiredGroupName")
    Set RChannel = Group.Channels.Add ("result Channel", DataTypeFloat64, TargetChannelIndex)
    Call ChnFiltCalc (XChannel, YChannel, RChannel,...)

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Write to channel outside custom device

    Hi all

    I am writing a custom device to control some aspects of my definition of system (more specifically another device custom).  I can't solve this problem because I can't find a way to write about a VeriStand channel located outside my custom device.

    Help to get channel reference data (which I usually use to get a data reference so that I could use the channel for the data set Reference.vi) says expressly that I can't get write access to a channel outside of my custom device.

    Is it possible for me to get write access to a channel outside my ring custom?

    I realize I can create system to the output channels of my device custom maps, but I'm not crazy a whole bunch of mappings of system because they are not very visible, and I would like that the user only need to use my configuration pages.  I also realize that it's probably possible to create these custom mappings by my setup of device programming, but I was not brave enough to venture down this road again...

    I use VeriStand 2011 SP1 and LabVIEW 2011 SP1.

    Thank you

    Chris

    Project engineer

    Certified LabVIEW Developer

    BaseNodeType is part of the Assembly SystemStorage, that something is used internally and is not intended for use by the public.  The publicly documented API is the API of ZFS, which has documentation available and a little easier to use.

    In the ZFS API, there is a class called "Utilities" that has a (Source channel, Destination) AddMapping method and a ClearMapping(Channel Destination) method.  These work as expected and disable the mapping entirely (not only the creation of an invalid mapping with value null, like your screenshot).  It would be better to add and remove mappings.

    However, if you want to stay with your existing code, I think you can accomplish what you want by removing the method "SetDataSourceValue" and replaching with a method "RemoveProperty.  The name plugged into "RemoveProperty" will remain the same ("DataSource").  This actually completely erases the mapping of the string instead of remapping it on channel zero.

    Kind regards

    Devin

  • Scanning channels Media Center cannot find all the channels

    Media Center has identified my digital tuner and cable company that I use.  However, when it scans for channels the result is not found channels.  I have re-run the installation of signal TV and channel scan several times with the same results.

    What should I do to resovle this problem?  I use a Hauppauge tuner and recently downloaded their software for MCE activate recording in H.264 format.

    Thank you

    Bill

    Hello

    Method 1:

    I suggest updating the drivers card and after update, reconfigure the tuner of TV tuner card.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2:

    I suggest you review the links below.

    TV on your computer: understanding signals TV and TV tuners
    http://Windows.Microsoft.com/en-us/Windows7/TV-on-your-computer-understanding-TV-signals-and-TV-tuners

    TV signals that are supported by Windows Media Center
    http://Windows.Microsoft.com/en-us/Windows7/TV-signals-that-are-supported-by-Windows-Media-Center

    The transition to digital TV and Windows
    http://windowshelp.Microsoft.com/Windows/en-us/help/4d88063d-8842-42d2-B699-0fdce8249e531033.mspx

    Also applies to Windows 7.

    Set up a TV signal in Windows Media Center
    http://Windows.Microsoft.com/en-us/Windows7/set-up-a-TV-signal-in-Windows-Media-Center

    See also:

    Watch TV in Windows Media Center: frequently asked questions

    http://www.Microsoft.com/Windows/Windows-Media-Center/learn-more/record-TV/help/broadcast-TV.aspx

    What should I know before adding TV tuners to use with Windows Media Center?

    http://Windows.Microsoft.com/en-us/Windows7/what-should-I-know-before-adding-TV-tuners-to-use-with-Windows-Media-Center

    I hope this helps.

  • NOR-XNET - invalid CAN interface

    Hello

    Main problem:

    I have problem to get CAN interface in my PXI rack up to-and-operational. The interface name is not valid

    Material:

    SMU-1078, with SMU-8820 and CAN controller module NI PXI 8512

    Software:

    LabVIEW 2015

    Driver OR XNET 15.5 (both portable and PXI)

    Description of the problem:

    When we look in MAX, OR XNET interface says I have two interfaces CAN named 'CAN1' and 'CAN2.

    It is also possible to use the funtion "blink port" successfully, CAN1 and CAN2.

    BUT, when you use the bus monitor feature, I got error saying that "given the Interface name does not specify a valid interface and existign"

    See pictures attached below.

    Also, when you try to use the code example, CAN Test.vi of closure, the same error occurs.

    Someone knows how to fix this?

    Other ulfjon

    Hello
    Thanks for the support.
    I found the problem
    When you use MAX first, to set up a session n xnet, MAX does close properly the session.
    So, when using the BOX of the labviewcode channel, will result in this error code.
    No, an explanation of very good code, but I would say.
    It is perhaps difficult for labview to know if the channel is busy or does not exist.

  • DASYlab RS232 analysis need help

    Hi, I'm running DASYlab 13 and have implemented an RS232 input with a single channel (0) for a USB sensor which can be read normally via the COM port (port COM 13 in this case, to 115200 8 - N - 1.  I can read very well with the RS232 monitor data, I have a problem with the analysis of the data using the format in the "Measurement data Format" field of the configuration input RS232 in order to get data to display box using the meter digital, recorder, etc..

    To get the data from the probe (apart from DASYlab) I can close DASYlab (which closes the COM port) and issue a command to the sensor from the command prompt in a terminal program: B followed by the Enter key.  For example, "B\r\n" (without the quotes).

    The sensor reacts with 'AA 3 b xx xx xx xx' hex, where "AA 3 b" is a header, and x is the data.  Data format an INT32 (IEEE 754).  However, apparently so he can convert correctly with a converter to int32, France must be reversed.  I.e. If the sensor reports data as 12 34 56 78 (it is a data point made), I have to change to get what I expect as output for 78 56 34 12.  So, I'm not a Data Format to measure '2 x f' or '2 x fy' because neither one takes into account the reverse bytes format.

    How can I analyze the data, so I ignore the two-byte header (that would be x 2 or x 4?) and to reverse the order of data byte, so that the display on the digital output is correct?  I have tried all sorts of things, looked in the help files, forums, etc. and a short entry.  I am a novice user of DASYlab, so I don't know how to do the script, and I don't understand why there are several channels in each RS232 input.  I think that they allow to separate the data of a 'package' of RS232 in the individualized data points, but strings do not appear in the examples I've seen, to allow you to reorganize the data... e i. using my previous example, 12 may enter the channel 0, 34 can enter channel 1, etc., but I can't put 78 in channel 0 , 56 in channel 1, etc.  In addition, I do not understand how the data in the channels of result in the output that is displayed on the output (meter either digital, etc.).

    DASYlab1.png image shows a screenshot of my setup.  You can see the COM port monitor and the release of data by the sensor.  In this case it's 3 b 74 94 62 41 hexagonal AA.  Removing the header and reverse bytes give me 41 62 94 74 hexagonal, which is 14.16 when I convert it with http://www.h-schmidt.net/FloatConverter/IEEE754.html.  This reading (after manipulation) is correct.  However, with a '2 x f' measurement data Format parameter I get 00000000000000000000000000001110 on digital playback, which does not match anything significant.

    Your help is very appreciated.

    Thank you

    If you configure the analysis chain to assume a fixed length, then Yes, this is an expected error.

    Often, we can compensate for chains of variable length using line end or the end of data point delimiter... is the analysis of flexible length for an ASCII string. With the delimiter, we always end up at the end of the line, starting on the following.

    Always at the beginning of the anchor chain is to use a search string, if the data always starts with 3 b AA, you could try a search string to use it...

    l '\xAA \x3B '.

    You must the \x notr is hexagonal. Note also that we are not them jumping with 2 x more, but looking for them. This should keep anchored so that you get a bad data point periodically, but of legal data points are fine.

  • Reproduce a sequence of operations-DIAdem

    Hi all

    I'm new to the tiara and I explore a method of repeating a standard order of operations for groups of channels of 85-90. The task goes like this:

    Each channel group has a set of three strings, in which certain mathematical operations 7-8 are to perform as sum of two-channel, medium, find the mean quadratic value and add/subtract the results to real channels, finding the arc tan value results etc..,.

    I need to reproduce the same task for groups of channels of 85-90. I tried to use 'activate record' Mode in the Script window and tried to use the script it generates and use it in a for loop. But since the recording mode, contains the actual name of the channel instead of a reference, it is difficult to change the names of the channels individually making it heavier than the actual work. This is why I need another way to do the same.

    Any help will be much appreciated.

    Hi Subramanian,

    You just asked for the additional code calculator, here it is:

    iMax = Data.Root.ChannelGroups.Count
    FOR i = 1 to iMax
    Set Group = Data.Root.ChannelGroups (i)
    Set consolidate = Group.Channels ("load AmpHr")
    Set BChannel = Group.Channels ("AmpHr discharge")
    Set RChannel = Group.Channels.Add ("Result", DataTypeFloat64)
    Symbols = Array (A, B, R)
    Channels = Array (consolidate, BChannel, RChannel)
    Calculate the call ("R = ArcTan(B/A)", symbols, channels)
    NEXT ' I

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Import a txt in report file

    I have a signal Arinc I decoded in each of its inputs/outputs digital.  Since I was more than 150 e / s, I needed a way to sort and make a quick report on them.

    I have three categories.

    1. remained = 1 throughout the test

    2 sleep = 0 throughout the test

    3. changed from 0--> 1 or 1--> 0 during the test.

    I just want a list of the signals for each of these categories in my report.

    I created a file txt for them to go, but how to import that in my report?

    Or y at - it an easier way?

    Here's an example of my code...

    "HCM1.
    "Decode HCM1 Label 104 - Untitled 3".
    Calculate the appeal ("Ch(""HCM1_104/HCM_1_CAS_HSOV_A1_CLOSED"") = g (Ch (" ' [1] / Untitled 3 "" "), 0) '")
    Calculate the appeal ("Ch(""HCM1_104/HCM_1_CAS_HSOV_A2_CLOSED"") = g (Ch (" ' [1] / Untitled 3 "" "), 1)" ")
    Calculate the appeal ("Ch(""HCM1_104/HCM_1_CAS_HPP_A_RUNNING"") = g (Ch (" ' [1] / Untitled 3 "" ")," 2) ")
    Calculate the appeal ("Ch(""HCM1_104/HCM_1_CAS_SYS_A_HI_TEMP"") = g (Ch (" ' [1] / Untitled 3 "" "), 4) '")
    Call to calculate ("Ch(""HCM1_104/HCM_1_CAS_SYS_A_LO_PRS"") = g (Ch (" ' [1] / Untitled 3 "" "), 7) '")
    Call to calculate ("Ch(""HCM1_104/HCM_1_CAS_HPP_A_LO_PRS"") = g (Ch (" ' [1] / Untitled 3 "" "), 12)" ")
    Calculate the appeal ("Ch(""HCM1_104/HCM_1_CAS_HPP_A_HI_TEMP"") = g (Ch (" ' [1] / Untitled 3 "" "), 13)" ")

    "Decode HCM1 Label 105 - Untitled 4".
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_HSOV_A1_FAIL"") = g (Ch (" ' [1] / 4 Untitled "" "), 0) '")
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_HSOV_A2_FAIL"") = g (Ch (" ' [1] / 4 Untitled "" "), 1)" ")
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_EDP_A1_FAIL"") = g (Ch (" ' [1] / 4 Untitled "" ")," 2) ")
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_EDP_A2_FAIL"") = g (Ch (" ' [1] / 4 Untitled "" "), 3) '")
    Call to calculate ("Ch(""HCM1_105/HCM_1_FLT_SYS_A_PRS_FLT_CLG"") = g (Ch (" ' [1] / 4 Untitled "" "), 6) '")
    Call to calculate ("Ch(""HCM1_105/HCM_1_FLT_SYS_A_RET_FLT_CLG"") = g (Ch (" ' [1] / 4 Untitled "" "), 7) '")
    Call to calculate ("Ch(""HCM1_105/HCM_1_FLT_EDP_A1_FLT_CLG"") = g (Ch (" ' [1] / 4 Untitled "" "), 8)" ")
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_EDP_A2_FLT_CLG"") = g (Ch (" ' [1] / 4 Untitled "" "), 9)" ")
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_HPP_A_LO_QTY"") = g (Ch (" ' [1] / 4 Untitled "" "), 11)" ")
    Call to calculate ("Ch(""HCM1_105/HCM_1_FLT_HPP_A_FAIL"") = g (Ch (" ' [1] / 4 Untitled "" "), 12)" ")
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_HPP_A_CDF_FLT_CLG"") = g (Ch (" ' [1] / 4 Untitled "" "), 14)" ")
    Call to calculate ("Ch(""HCM1_105/HCM_1_FLT_IV_A_FAIL"") = g (Ch (" ' [1] / 4 Untitled "" "), 15)" ")
    Calculate the appeal ("Ch(""HCM1_105/HCM_1_FLT_IV_A_FAIL_LOCAL"") = g (Ch (" ' [1] / 4 Untitled "" "), 16) '")

    "Decode HCM1 Label 106-5 Untitled.
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_SYS_A_PF_DPI_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 0) '")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_SYS_A_RF_DPI_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 1)" ")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_EDP_A1_CDF_DPI_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" ")," 2) ")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_EDP_A2_CDF_DPI_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 3) '")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_EDP_A1_PS_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 4) '")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_EDP_A2_PS_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 5) '")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_SYS_A_PX_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 6) '")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_SYS_A_TX_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 7) '")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_SYS_A_QX_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 8)" ")
    Calculate call ("Ch(""HCM1_106/HCM_1_HSOV_A1_IND_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 10) '")
    Calculate call ("Ch(""HCM1_106/HCM_1_HSOV_A2_IND_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 11)" ")
    Calculate call ("Ch(""HCM1_106/HCM_1_EDP_A1_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 12)" ")
    Calculate call ("Ch(""HCM1_106/HCM_1_EDP_A2_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 13)" ")
    Calculate call ("Ch(""HCM1_106/HCM_1_FLT_FV_A_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 14)" ")
    Calculate call ("Ch(""HCM1_106/HCM_1_HSOV_A1_RELAY_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 15)" ")


    Calculate call ("Ch(""HCM1_106/HCM_1_HSOV_A2_RELAY_FAIL"") = g (Ch (" ' [1] / Untitled 5 "" "), 16) '")

    Sun k, m, pMyChn, translate, ArincTrue, intMyHandle01, intMyHandle02, intMyHandle03, intMyText, intMyError01, intMyError02, intMyError03
    intMyHandle01 = TextFileOpen ("C:\ArincTrue.txt", tfCreate or tfWrite)
    intMyHandle02 = TextFileOpen ("C:\ArincFalse.txt", tfCreate or tfWrite)
    intMyHandle03 = TextFileOpen ("C:\ArincChange.txt", tfCreate or tfWrite)
    For k = 2-4
    M = 1 to GroupChnCount (k)
    Set pMyChn = Data.Root.ChannelGroups (k). Channels (m)
    Result = ChnValMax (pMyChn) - ChnValMin (pMyChn)

    If result = 0 and ChnValMax (pMyChn) > 0 then
    intMyText = TextfileWriteLn (intMyHandle01, pMyChn.Name)
    ElseIf result = 0 and ChnValMax (PMyChn) = 0 then
    intMyText = TextfileWriteLn (intMyHandle02, pMyChn.Name)
    on the other
    intMyText = TextfileWriteLn (intMyHandle03, pMyChn.Name)
    End If

    Next
    Next
    intMyError01 = TextFileClose (intMyHandle01)
    intMyError02 = TextFileClose (intMyHandle02)
    intMyError03 = TextFileClose (intMyHandle03)

    Hi 2Pale4TX,

    You cannot easily reference the contents of an ASCII file.  Instead, I suggest you make a new group of 3 text strings that you can drag onto a REPORT table.

    Dim k, m, z, ResultsGroup, TrueChannel, FalseChannel, ChangeChannel, group, channel, result
    Set ResultsGroup = Data.Root.ChannelGroups.Add ("Results")
    Set TrueChannel = ResultsGroup.Channels.Add ("ArincTrue", DataTypeString)
    Set FalseChannel = ResultsGroup.Channels.Add ("ArincFalse", DataTypeString)
    Set ChangeChannel = ResultsGroup.Channels.Add ("ArincChange", DataTypeString)
    For k = 2-4
    Set Group = Data.Root.ChannelGroups (k)
    M = 1 to Group.Channels.Count
    Adjust the strings = Group.Channels (m)
    William = CMax (Channel)
    Path = CMin (Channel)
    Result = William - path
    If result = 0 and ChMax > 0 Then
    z = TrueChannel.Size + 1
    TrueChannel (z) = Channel.Name
    ElseIf result = 0 and ChMax = 0 Then
    z = FalseChannel.Size + 1
    FalseChannel (z) = Channel.Name
    On the other
    z = ChangeChannel.Size + 1
    ChangeChannel (z) = Channel.Name
    End If
    Next am
    Next ' k

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • The best way to draw the difference of phase vs. time of two signals

    I have three channels (time, force, displacement) of approximately 1 000 seconds of a sinusoidal test load test data (sampling rate was 100 Hz).  I would draw the difference in phase between the force and displacement (perhaps using a second window 30) according to time.  I tried using a few different analysis functions, but I get what looks like random noise (phase difference between force and displacement is very small and the difference in amplitude is very fantastic - 4 orders of magnitude).  Any suggestion would be appreciated! -Jim

    Hi Jim,.

    The phase channel resulting, that you get with the function FFT DIAdem is in the frequency domain.  If you select a channel data and time in the FFT dialog box, you will get a frequency channel that results as well as the Phase channel resulting.  If you select only a weather channel of waveform data in the FFT dialog box, you will get a Phase of waveform frequency channel resulting.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • tiara spectrogram Interpolation

    Hello

    I have an a spectrogram data set the faster the rotation of a machine:

    a vector of length m with speed values

    a vector of length n with the frequency values

    a matrix with dimensions m x n with the values of sound pressure level

    The problem is for the various measures I have slightly different speeds in my data record.

    I want to interpolate the data of amplitude to a grid of speed defined by me, for example, 110, 120, 130... 2000 rpm,

    regardless of the speed at which the measurement was taken, which can be, for example, 107, 114, 121... 2004 RPM.

    With the linear 1 d of DIADEM analysis tool that's doable, but a bit complicated.

    Is it perhaps a 3D tool in Diadem for interpolation that I need?

    Thank you

    Yannis T.

    Hello Yannis,

    Yes, DIAdem supports 3D interpolation. In the ANALYSIS, go to 'Area' and 'Interpolation '. You have several settings to set up your interpolation. 'Result Points' tab, you can choose "result Points take channel ' (for each, direction X and Y). This means, if you set a channel with your RPM (110, 120, 130,...) you can select this channel as result values (grid of X or the axis Y).

    Greetings

    Walter

  • Connection lost with printers in Linksys EA8500 (EA8500)

    I have a HP officejet 8500 a more printer

    my router previeus more than a day ago was great to work with the printer.

    Now on this new router and my printer keeps losing the connection to my mac cable

    Printer is wifi 2.4 GHz only (or wired = do not use for the moment)

    I booked an address of the printer, but still lost conection.

    I tried 20 MHz only = same result

    I've implemented the new connection to the printer = same results

    I tried Auto and g/f = only the same results

    I tried 2 channels = same results

    WPA2Personal

    same name as the old router

    Evertime I change something in the settings wifi it works then minutes can not find the printer.

    Please notify

    My IP address of the printer does not change when my computer can not find her pinter.

    I think that I thought about it.

    I reset the network connection to the printer. then used the configuration on the printer wizzard and his works always.

    If that was the problem so I blame this router Asus leftover junk that was in my printer.

    I tried the wizzard configuration before and used a static IP address.

    If you don't hear from me, the cure was = on the printer to reset the network connection.

    Also please can I have the menu advanced for this router?

    Not that I want to change anything, I'm looking for more information about the network.

    Thanks to you all!

Maybe you are looking for