Sort channels

Hello

I now have the names of channel group:

Max Freq offset

FREQ Drift

FREQ drift rate

Offset1 Max Freq

FREQ Drift1

FREQ naturel2 drift

And when I use the script sort Channel:

C:\Program FILES (X 86) \NATIONAL INSTRUMENTS\DIADEM 2014\Examples\documents\SortChannelGroups.vbs

He is not sort her properly.

But if I rename the names of test instead of the rate of drift in Freq DriftRate Freq then it works properly.

Concerning

René

Hi René

Sorting is correct, because it uses the code ASCII of a white (32) is smaller then the ASCII code of '1' (49). I fear that you will you rename (temporary?) groups. You can add a blank space in front of the number or replace white by another character.

You can use this little feature to replace the temporary vacuum and add the call at the beginning and the end of the script:

Void RenameGroups (sSearch, sReplace)
Dim oChnGroup
For each oChnGroup in Data.Root.ChannelGroups
oChnGroup.Name = Replace (oChnGroup.Name, sSearch, sReplace)
Next
End Sub

If Data.Root.ChannelGroups.Count > 0 then
Dim oGroups
Call RenameGroups ("§","" ")
Set oGroups = Data.Root.ChannelGroups

Dim saGroupName()
ReDim saGroupName (oGroups.Count)

Dim iLoop
iLoop = 1 to oGroups.Count
saGroupName (iLoop) = oGroups (iLoop). Name
next

call QuickSort (saGroupName)

If oGroups.Count > 100 then call MsgBoxDisp ("Kanalgruppen werden farblich...", 1 ")

iLoop = 1 to oGroups.Count
Call Data .move (oGroups (saGroupName (iLoop)), oGroups, iLoop)
next

Call RenameGroups ("§","" ")
call MsgBoxCancel
end if

I hope this helps!

Winfried

Tags: NI Software

Similar Questions

  • Sort channels PDM

    I read the channels of a PDM file data. The strings are different frequencies which data have been saved. However, they are not in order. For example, what channels can be organized, 1 Hz, 2 Hz, 3 Hz, 7 Hz, 5 Hz, 4 Hz. I am trying to sort these channels to be in my file. Or another option would be to define and "lock" the channel order in the PDM before collecting data.

    Now, I know what you mean. The mixture of channels, it's because of the "NI_MinimumBufferSize" property that caches the raw data until it reaches the amount you set.

    You are right that once a channel is added to the file, its place is defined. So, you can try to put a "flush TDMS" right after the node of your "TDMS set properties. Once the channel with properties is emptied to file on disk, the place is defined.

  • TOSHIBA 32AV933G loses control of channel list

    Hi, I bought this TV 3 months ago and I have a problem with SORTING CHANNEL function.

    After reorganization channel as a result of my personal list (I use the same order with all my TV) the av933g has lost the order without apparent reason, forcing me to reorganize all the channels every time.

    The order is usually 4 to 5 days before scramble

    I installed the latest firmware but the rest of the problem

    Hello

    In my opinion, you should contact Toshiba service to verify your TV.
    As much as I know there not many options that could enhance or fix this problem.
    You can try to reset the TV and could update the firmware, but it's what you could do. Everything must be done by the technician.

  • Some USB flash drives REFUSE to work in this 40TL963B

    Hi all. I recently bought a new 40TL963B and so far I have found nothing wrong with her.

    Except that... when I listen to it all the Satellite channels, I noticed thay were very different from my FreeSat box. Duplicate the layers, randomly arrested... etc. It made me want to not use the built-in satellite feature.

    However, I found a program called ToshibaEdit which allowed me to manually change all the digital channels on the TV. Grand... I though. Until I met this problem-->

    Inorder to change the ads, you must copy the TV channels on a USB flash drive, you can edit them on your PC. Now, it took me AN HOUR to do, because of two flash readers I used, none of them worked... I kept getting a "Write Fail" error. WTF?

    The disks are formatted in FAT32, one is a 8 GB is 2 GB.

    Finally, I tried an external 2.5 "USB 120 GB hard drive. Even if the disc is defective... This WORKER. I expect flash drives to work, to be honest, but all of them... the external USB hard drive worked.

    In any case, I spent another hour sort channels, until I was ready to transfer the data back. And. Yes... the same problem. This time, I received an error "failed to read". Again, tried the external USB HDD... worked the first time.

    Now, this HARD drive is faulty, so he'll be thrown... so I'm going to need a flash player to do it again if something happens.

    And then... can ANYONE tell me why on Earth two appropriate, fully working almost brand new USB flash drives REFUSE to work in this TV, but a former, fairly well defective USB external drive MADE? In addition, the same flash drive that I tried to copy the data from digital channel with was also used for a backup of the Firmware... and it WORKED perfectly. It works also for use with the media player.

    While this TV has a hatred of Flash drives all of a sudden?
    Anyone can shed some light on this?

    In addition, very quickly, TV seems to lose its TV settings every time that I bring the TV out of Eve. I'm going to the TV Dynamic and adjust all the settings, but he returned to AutoView and all settings back to 0. Is it a fault or is there something I need to do to 'save' the settings per channel?

    Any help at all will be appreciated greatly.

    Hello

    > And then... can ANYONE tell me why on Earth two appropriate, fully working almost brand new USB flash drives REFUSE to work in this TV, but a former, fairly well defective USB external drive MADE?

    AFAIK the 40TL963B TV supports a common HS USB 2.0 interface and memory flash can be formatted in FAT16 or FAT32 file system. So there is no specific requirement for USB flash memory

  • Sort the channels in Toshiba 47L7453DG

    Hello

    I recently bought a new Toshiba 47L7453DG TV and I tried to sort the channels, but it was impossible. I found in the user manual, the following note:

    "Renumber, move, sort, and delete functions are not available for the antenna channels. Renumber, move, sort, and delete functions are only available for the DVB - C in Germany. »

    However, as I read in other posts, Toshiba recommends the use of this software (version 1.04) ToshibaEdit.

    I followed the steps described below:

    1. I transferred the list of channels of TV on USB
    2. I have compressed files
    3. I opened the in ToshibaEdit
    4. I reorganized the channels
    5. I saved the zip file
    6. I unzipped the files to USB
    7. I transferred files from USB to TV

    So far so good. However, although the list of channels is changed, the TV shows 'No signal' message across all channels, and I have to re - set my TV or load the original files that were exported from the TV (the first time).

    Have you already tested ToshibaEdit L74 series? I saw a similar post somewhere on this forum and a user had the same problem, but you have not proposed a solution. What seems to be the problem after you have saved the files in ToshibaEdit? I followed all the steps exactly as described in the manual here, hereand here.

    Please for more help I've been banging my head for 3 days now and I can't find a way to sort the list of channels, which BTW, is a very basic feature for all TVs.

    PS. I upgraded TV for the last firware (T8_1_97_09_01_1).

    Best regards

    Recovery of the subject.
    I have the same problem on the same model.

    Maybe somebody has already invented how to sort strings?

  • Toshiba 32EL933 - DVB - T channel list is not sorted in hotel mode

    Hello

    I have over 100 of these TVs, and I have problem with hotel mode.

    I use USB drive and one TV (find paths and creating a new list of channels sorted, with my order), and then I use usb for programming other TV sets. And I have no problems with that...

    But after a few hours/days, my list of created channel becomes not sorted. Without reason. I all schedule them again! We use the DVB - T signal. Poland in the country. And this problem does not appear on the 3 other TVs (not TOSHIBA)

    Help, please

    Sorry for my bad English

    Chris

    Hello

    I read in a different thread that the activation of the option + "Control Panel lock" + menu would solve the problem with the chains unsorted.

    Not sure if this would help you but it s worth a try.

  • Sort of the original data and creating a new channel

    Hello

    I have a channel called "engine speed".  This channel extends the numberic values between 0 - 3000.  I want to create a channel named "Op_Sensor_Desired_Pressure" is the same length as the "engine speed", which I am familiar with.  I want my fill my Op_Sensor_Desired_Pressure channel with the data I have.

    I attach a CSV file that indicates the speed of the engine with the Op_Sensor_Desired_Pressure value.  So what I want is when the engine speed is = to what is in my CSV file I want to fill my Op_Sensor_Desired_Pressure value with the specifications in my spreadsheet to.  Values that do not exist then I want to present with a "NoValue".

    I thought to use a dictionary but cannot make it work. (As below)   I've also attached a set of data that I use.

    Dim dict3, j, t
    Set dict3 = CreateObject ("Scripting.dictionary")
    j = chnlength (1)

    Dict3.Add '630', '1 '.
    DICT3. ADD '1010', '2 '.
    DICT3. ADD '1020', '3 '.

    Call ChnAlloc ("Op_Sensor_Desired_Pressure", j, 2)
    For t = 1 to j
    IF dict3. There are (ChT (t, "Engine speed")) then
    CHD (t, "Op_Sensor_Desired_Pressure") = Dict3.Item (ChnVal (t, "Engine speed"))
    On the other
    ChD (t, "Op_Sensor_Desired_Pressure") = "NoValue".
    End If ' dict3

    Next

    Hello J,

    I have advanced and added the linear interpolation between the 2 fit points closest to you at each measured engine speed value.

    Call DataFileLoad (RawFilePath, 'TDM')
    Call DataFileLoad (FitFilePath, "CSV")
    Set RawGroup = Data.Root.ChannelGroups (1)
    Set FitGroup = Data.Root.ActiveChannelGroup
    Set RawSpeedChannel = RawGroup.Channels ("motor speed")
    Set FitSpeedChannel = FitGroup.Channels ("motor speed")
    Set RawPressChannel = RawGroup.Channels.Add ("Op_Sensor_Desired_Pressure", DataTypeChnFloat64)
    Set FitPressChannel = FitGroup.Channels ("Op_Sensor_Desired_Pressure")
    iMax = RawSpeedChannel.Size
    XMin = CHC (FitSpeedChannel, 1).
    XMax = CHC (FitSpeedChannel, 2)
    FOR i = 1 TO iMax
    X = RawSpeedChannel (i)
    n = PNo (FitSpeedChannel, X)
    XN = FitSpeedChannel (n)
    IF X = Xn THEN
    Y = FitPressChannel (n)
    < xmin="">
    X 1 = FitSpeedChannel(n+0)
    Y1 = FitPressChannel(n+0)
    X 2 = FitSpeedChannel(n+1)
    Y2 = FitPressChannel(n+1)
    m = (Y2 - Y1) / (X 2 - X 1)
    Y = Y1 - m * (X 1-X)
    Else if X > XMax THEN
    X 1 = FitSpeedChannel(n-1)
    Y1 = FitPressChannel(n-1)
    X 2 = FitSpeedChannel(n+0)
    Y2 = FitPressChannel(n+0)
    m = (Y2 - Y1) / (X 2 - X 1)
    Y = Y2 + m * (X - X 2)
    ON THE OTHER
    IF X > Xn THEN
    X 1 = FitSpeedChannel(n-0)
    Y1 = FitPressChannel(n-0)
    X 2 = FitSpeedChannel(n+1)
    Y2 = FitPressChannel(n+1)
    <>
    X 1 = FitSpeedChannel(n-1)
    Y1 = FitPressChannel(n-1)
    X 2 = FitSpeedChannel(n+0)
    Y2 = FitPressChannel(n+0)
    END IF
    m = (Y2 - Y1) / (X 2 - X 1)
    Y = Y1 + m * (X - X 1)
    END IF
    RawPressChannel (i) = Y
    NEXT ' I

    I enclose a file TDV useful to show the correlations and the gap between oil pressure measured and desired.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Need help with query to sort the Digital Alpha channels.

    Hello
    I have data like A2-1 A2-2 A2-3 A2-4 A4-S 10 - A2 A2-22 A5 - 15 16 A5 A5-1 has A5-1 b
    I want the data in a sequence sorted as A2-1 A2-2 A2 - 3 4 - A2 A2 10 A2-22 S A4 A5-1 has A5-1B A5-15 A5-16

    How to get there. Help, please.

    Perhaps that would help you

    with data as
        (
           select 'A2-1' LOCATION_DESC  from dual union all
           select 'A2-2'  as col1 from dual union all
           select 'A2-3'  as col1 from dual union all
           select 'A2-4'  as col1 from dual union all
           select 'A4-S'  as col1 from dual union all
           select 'A2-10' as col1 from dual union all
           select 'A2-22' as col1 from dual union all
          select 'A5-15' as col1 from dual union all
          select 'A5-16' as col1 from dual union all
          select 'A5-1A' as col1 from dual union all
          select 'A5-1B' as col1 from dual
      )
    SELECT * FROM data
    order by SUBSTR(LOCATION_DESC,2,INSTR(LOCATION_DESC,'-')-2);
    

    * 009 *.

  • Sort similar channels of a query

    Hello

    I'm stuck. Below you see the contents of my table "manufacturers". As you see the names 'Bertschi' and "Flückiger Hemmi" appear several times.



    Ultimately I want to create a menu (in html) that might look like:

    < option value = "157 164" > Bertschi < / option >
    < option value = "158" > Bonsma < / option >
    < option value = '159' > Burli < / option >
    < option value = "160,162,163" > Flückiger Hemmi < / option >
    < option value = "161" > Kornoski < / option >

    So far, I can CHOOSE to "manufacturers", but all ranks are listed (this is normal). But how do I go from here. I have no idea how to analyze in a query for similar strings result. No idea on the collection and hersteller_IDs I need.

    I am very grateful for any advice

    Concerning

    Hello everyone

    Meranwhile that I found. Now, I'm happy and everyone thank you for patience and help!


    SELECT trim (hkb_hersteller.hersteller_shortname) AS hersteller_shortname, hkb_hersteller.hersteller_name, hkb_hersteller.hersteller_fname, hkb_hersteller.hersteller_ID
    OF hkb_hersteller
    GROUP OF hkb_hersteller.hersteller_shortname, hkb_hersteller.hersteller_name, hkb_hersteller.hersteller_fname, hkb_hersteller.hersteller_ID
    ORDER BY hkb_hersteller.hersteller_name ASC





    #hersteller_name # #hersteller_fname # #hersteller_shortname # (#ids_list #)

  • Toshiba 32W1333DN: name of moving/deleting/edit buttons for the missing channels

    Hello

    I just bought 32W1333DN in Sweden.
    But I can't change the position of the channels in the channel list.

    Both the Quick start guide that comes in the box with the TV and the online manual has pictures and details on how to move/remove the channels and change the names of channel in the channel list.

    I'm supposed to go in
    Menu->-> Edit Channel List channel list.

    Once there, I select channels and perform tasks by selecting the buttons.

    But these buttons aren't where I watch my TV.
    Instead of the buttons for * OK * / * Move * / * remove * / * change name * / * lock * I've * OK * / * lock *.

    What is going on?

    In settings, version of the program is * V.2.1.4A * and upgrade software * V.2.1.9x *.

    Hello

    Please take a look in the user manual
    [Manual Toshiba 32W1333 | http://www.toshiba-om.net/LCD/PDF/English/W1333-32-English.pdf]

    Page 17 provides information on the list of chains, sorting programs and program locking.

    For example, to move the only channel in the list, you must do the following:
    Channel order can be changed according to your personal preferences.

    SELECT the main key channels list menu, then press OK.
    Select modify the channel list to manage all channels. Use upward or downwards and the OK button to select Edit list of strings.
    The Move option in the channel button list and press OK.
    Change number of screen will be displayed. Enter the desired channel number using the number keys on the remote control. If there is a channel previously stored on that number, a warning screen will be displayed. Select Yes if you want to move the channel and press OK.
    Selected channel is now moved.

  • Toshiba 55 L 7453 DTV channel released in Polish version does not work

    Hello

    I have a big problem in Toshiba 55 L 7453 (Polish).

    I can't sort the channels, I can, t change the channel number, I can't change the list of channels in Polish.
    When I changed my TV to the German setting I can do it very easy (red, green, blue buttons), but in my Smart TV, I requests German, not Polish. If it's not good.

    Therefore, I went again to the Polish version and have the same problem.
    In digital television, it is impossible to do something channels of Pentecost.

    I tried to move the list of channels to my pen-drive and sorting via ToshibaEdit, but Toshiba Edition did not read my files

    I packed in zip file. So what I have to do?
    I know that other Polish users have a similar problem with channels.

    Kind regards
    Kamil

    > When I changed my TV to the German setting I can do it very easy (red, green, blue buttons), but in my Smart TV, I requests German, not Polish. If it's not good.

    I think that vigi user has provided good info on this subject.
    On page 29 of the user manual, you can read this:

    + Renumber, move, sort, and delete functions are not available for antenna. +
    + Renumber, move, sort, and delete functions are only available for the DVB - C in Germany. +

    But unfortunately, it s not mentioned why this feature is only available in Germany.

  • Toshiba L 39, 4333 - how to switch between ATV and DTV channels

    I really don't understand.

    During a search of channel, I chose to find DTV and ATV, and he finds DTV 13 and 42 channels ATV,
    I can see the two in a list of channels while I'm still inside the channel search menu.

    But when I press the OK button (to exit the channel search menu) I have only channels DTV or ATV, function I watch last before pressing OK button.

    Have you ever read the manual Toshiba s L 39, 4333?
    Here the manual in case you want to check: [Manual user s Toshiba L 39, 4333 | http://www.toshiba-om.net/LCD/PDF/English/L4333-323950-English.pdf]

    You can watch analog (ATV) or digital (DTV) antenna channels
    You can sort the channels for ATV or DTV, but as much as I know you cannot mix ATV and DTV
    So for both you will have separate channels lists

  • change WIFI channels | EX6200

    Hi people,

    I am looking to change the wifi channel but I don't see any possibility to do. When I'm in my range extender (WLAN-> Setup) Setup, the button for Wifi-channel(2,4GHz) is grey so I can't change the channel. In 5 GHz Mode I can edit, but why not in 2, 4 GHz mode?

    I have downloaded the application called Wifi analytical, inside this app I can see, what channels are overloaded and that are not used as mch. But also there I can't change everything about the channel.

    so, is it possible to do? Please give me a hint. Are know that questions about this case?

    Our facility:

    Speedport (router, Vdsl-> EX6200 and EX6200 another (both configured as a Repeater, NO Access Point)

    Windows-Machines (laptops, Smartphones)

    EX6200-Firmware: update (can't see the web interface version - why?)

    Thank you

    Stephan Zabel

    Hey!

    I have now changed the Wifi channel of typeA v724v myspeedport on Channel 9 and this channel has been taken over by EX6200. So, it seems, the Extender must use the same channel that the router... sort of logical

    Thank you!

    Well, another little question: why I can't see 5 GHz Wifi, when searching through existing Wifi? Do I have to have a special Wifi adapter in computers? I tested windows and mac Machines. Only Mac shows the high-performance-Wifi... PC can not show 5 GHz. (Yes, I have turned off as I wrote the last post, but I just tested now, and it seems that there is no possible connection 5 GHz?)

    My Wifi adapter: Realtek RTL8723BE WLAN 802.11n PCI-E NIC

    Thanks in advance

    Stephan Zabel

  • Using SMU 6612 to measure PXI-6528 pulsewidth channel - channel is not available.

    Hi all

    I use SMU 6612 card counter to measure the pulse width of the signals to PXI 6528 DIO card. These two cards are in the same chassis PXI (NI-SMU-1065). I could measure the pulse widths using the example LabVIEW 2013 Counter - pulse width of reading and (over) frequency example of .vi. However not all channels of the PXI-6528 map appear in the drop-down list of channels on the pulse width can be measured. Try to connect any other channel that those which are available in the drop-down list returns the error. On the PXI card port 6528 0,1 and 2 are entered ports and port 3-5 are output ports. I can measure the pulse on port 0, 3 width and line 0 port 1 and 4.

    Can someone explain to me why don't see port 1 or port 2 channels in the drop-down list or force the VI to measure the width of pulse on these channels?

    I can plug PXI-6528 external input channels SMU 6612 counter input channels and measure the pulse width, but if possible I'd like to avoid the external wiring between the 2 cards.

    Probably not.  Unless the routing plan is in fact reversed as it seems a bit sorta that.  As stated on my system, you can route * of * a port of entry * to * RTSI, or you can route * of * RTSI * to * one output port.  This does not make much sense to me, but that's what I see:

    If the routing card * is * reversed, your only likely workaround without physical wire would be to generate impulses in question of port 3.  It's pretty clear that 1,2,4,5-tetrachlorobenzene ports have no ability to interact with the bus timing, physical wiring would be the only option.

    -Kevin P

  • Multiple and different axis-related channels are on the same graph

    Hello

    I searched the forums and google trying to find out how to trace my 48 channels in a single chart and according to the plots of units he value axis 1 of 4.

    I have 48 channels all of them share the same time base axis.

    48 channels are mixed of flow, pressure, Temp and other bag. The units are located in the 'Units' property to the string.

    I would have 4 axis to account for my 4 units and hold all 48 channels to draw on the same graph, aloted to the axis of sorts.

    Thank you I have maybe for what is right, as it is a small segment of my script script. Help, advice or information would be greatly appreciated. I am struggling to find documentation to know where to start with this.

    Best wishes

    KR

    Hi KR,.

    After talking to my colleagues, I think that you can now have a solution to this, but for the benefit of third parties, the solution is to use "Related curve" scaling in the axis system display 2D of the pane window VIEW. To have this feature enabled you must be using n or n axes systems.

    More information can be found here: http://zone.ni.com/reference/en-XX/help/370858M-01/dlgview/dlgview/view_scaling_manual_dialog/

Maybe you are looking for

  • How to uninstall an add-on that does not appear on my list?

    When I go on my Facebook page, part of it has a message that maybe reading "ads go to save" a hundred times on the page. If I click on a photo or something, "ads browse for save" will reappear, as long as the window is open, it is almost impossible t

  • Ver 7.0 remote VPN PIX

    If I can do my VPN for remote users access to a DMZ Firewall even they use as NAS, I tried this, my users can get away with a problem inside network, but when they try to go to a demilitarized zone the syslog shows 'No route to DMZ_HOST_IP of REMOTE_

  • How to use animated image?

    Hi guys,. How to use photo (Flash photo) my request for animation and is possible to write the listener to that... Pls explain with example code if you can... Thank you PAPI M

  • Refine tools 2015.5

    I need help.I had installed 2015.5 because he is out, but I've been on vacation and this is the first time I've been using some of the new features.  I tried to use the new edge sharpen, but encountered a major problem.  The tool does absolutely noth

  • Tools problem

    Hello. I have a problem. don't know what happened but now whenever I change a tool is dropdown menu appears. It's really annoying. How can I solve this problem? (single click, simply change tool. long or double waiting for menu drop-down)