Number of channels

I have this Dial Peer:
dial-peer voice 12 pots
destination-pattern 12T
inward-dialing
port 2/0:D
My question is:
Is there a way to make the calls using this DP use a certain number of channels?
For example 14 to 23?
Thanks in advance.

this might be what you need -
The customer had two different users and he wanted to split a single T1 PRI service between these users so that one user would use certain B channels and the other user would use different one for outwards calls on the CME router.
The phone company was able to assign these B channel groups with different number ranges for inwards calls.
There is a new feature in 12.4 code that allows you to define individual timeslots of the PRI and assign them to different trunk groups. These trunk groups can be used instead of a voice port in a POTS dial peer, so you can direct calls to very specific B channels on the PRI. Following is a config that demonstrates this feature using an E1
controller E1 1/0
pri-group timeslots 1-31
trunk-group Customer1 timeslots 1-10
trunk-group Customer2 timeslots 11-20
trunk-group Customer3 timeslots 21-30
dial-peer voice 1 pots
description - enable DID on group 1
incoming called-number .
direct-inward-dial
trunkgroup Customer1
dial-peer voice 2 pots
description - enable DID on group 2
incoming called-number .
direct-inward-dial
trunkgroup Customer2
dial-peer voice 3 pots
description - enable DID on group 3
incoming called-number .
direct-inward-dial
trunkgroup Customer3
dial-peer voice 5500 pots
trunkgroup Customer1
description - Customer 1 : access code 771
destination-pattern 771
dial-peer voice 5501 pots
trunkgroup Customer2
description - Customer 2 : access code 772
destination-pattern 772
dial-peer voice 5502 pots
trunkgroup Customer3
description - Customer 3 : access code 773
destination-pattern 773
In this case, Customer1 users would dial 771 as an access code, Customer2 would dial 772 and Customer3 would dial 773. These access codes would 'steer' the call to the appropriate timeslots on the PRI.

Similar Messages

  • How do I get the number of channels available in DIAdem using VBScript?

    I want to know the last number of the available channels in DIAdem-DATA using VBScript. If there are not enough channels, I'll allocate new ones using ChnAlloc.
    For the first run of the script, I do know there're 60 channels, but in a second run I might have created the additional channels already (if the script didn't fail) and I don't want to do the allocation a second time. So I need to know the number of the last channel. Unfortunatly I didn't find any function in the help providing this number.
    Thanks,
    Carsten

    Hi Carsten,
    I have a few thoughts for you plus some useful code. Bear in mind that you can change the number of static DIAdem channels (by default 60 of length 8192) as well as the number of available dynamic channels (by default 1000) to whatever you want. These memory matrix settings get stored in your Desktop.DDD file (DIAdem's ini file), so that each time you launch DIAdem it will create the channels according to your specifications. The maximum number of channels of all types that DIAdem can have is 65536 (2^16).
    Secondly, don't forget that you can address channels by name or by number. If the channels are named distinctly, addressing channels by name is the most reliable method. If you use ChnAlloc() to allocate new channels, and you want to address those new channels by channel number, you MUST use CNo() immediately after creating the new channel in order to find out that channel's number. It will not always be the next available channel number, because the next available channel may not be long enough. ChnAlloc() will latch on to an existing channel if it can find one long enough, and it will create new channels only if it finds none of the existing channels suitable.
    In the VBScript I attached to this email you will find all the DIAdem variables which contain information about the maximum available channels and the maximum length of each channel (not its currently set length). Note that DIAdem's data matrix is divided into 8 submatrices, each with 2 GBytes of addressable memory (2^31 Bytes). Each submatrix can have multiple static channels assigned to it. DIAdem's dynamic channels come first from DIAdem's application RAM (Windows allocates no more than 2 GBytes per application) then from the Windows swap file for its virtual memory
    Now, in addition to the variables which tell you the maximum possible channel count and lengths, another very useful variable is "GlobUsedChn", which returns the highest channel number currently filled with some amount of data.
    Ask if you have additional questions,
    Brad Turpin
    NI
    Attachments:
    View_DataMatrix.VBS ‏2 KB

  • Why does the sampling rate for my DAQCard-70​0 max out at 6578Hz regardless of the number of channels I'm sampling?

    My DAQCard-700 is acting funny. I am using LABView 6.0.2 on a Dell Inspiron 8100 laptop for continuous analog input. For some reason my DAQCard-700 won't let me acquire multiple channels unless I create virtual channels in max and then run AI Config with a list of the virtual channel names. That's fine (but weird), but I max out my sampling rate at 6578 Hz, which is the max sampling rate if I would have sampled all 16 (Referenced, single-ended) AI channels. But I'm not -- I'm sampling 6 channels, as proven by the "number of channels" indicator in AI config and just looking at my data. If I sample just one channel, I can get up to 105248Hz. Is my card f
    ried, or am I missing a hidden setting somewhere? I have the latest NIDAQ.

    Hello;
    By the description of your problem, everything is pointing us to a hardware failure.
    There aren't any tricks to acquire multiple channels with that card.
    The best way to go about this is to have NI to fix the board for you.
    Regards
    Filipe

  • How to display a certain number of channels...

    Hi!
    I am using LabVIEW 8.5 and I am trying to display a certain number of channels using multiple channels ...
    I can display them in a graph, but I am displaying the 16 analog input channels
    that NI 6024E have and I need to display only the channels that have something
    connected to them (I do not know which channel will have something connected to
    it). If they have a signal (temperature), I will like to display that channel/s in a graph and save that  channel/s in a txt file. If not
    I do not want to show or save the channel/s.
    How can I do that using DQA Assistance?
    I am able to do all this using one channel, I can display in
    a graph, I can save it in a txt file, but I am not able to do it for n number
    of active channels only. Any advice or suggestion will be appreciated.
    Sincerely,
    Julieta.
    Solved!
    Go to Solution.

    Hi,
    I am trying to give the user the opportunity of selecting how
    many channels he/she want to connect to the board… Now I only have two channels and I know what
    those channels are, but I want to do something that allow the user to select
    the channels that he/she needs (maybe the 16 or maybe only 3 or 7). I saw that
    in older versions of Labview there exists in Analog Input a “AI MULT PT” that
    maybe could allow me to input there specific channel (I am using 8.5 version of LabView).
    I am doing this to detect the channels, but it is not even
    close of how it supposes to be, because the user can not select… I just want to
    display the channels the user select and calculate the mean only for those
    channels.
    Any suggestion advice will be appreciated…
    Sincerely,
    Julieta.
    P.D.: My English is not so good…
    Attachments:
    Temperature.PNG ‏15 KB

  • Error 200524 Different number of channels in task and data

    Anyone out there with some information would be greatly appreciated. I  have attached my VI. Essentially I am trying to build a simple PID VI to controll the temperature of a piece of equipment in a system I am building. I have heating wire powered by 120 V source. The circuit is controlled by a simple relay, which is controlled by a digital line on my NI USB 6343 board. I have seen numerous examples throughout the forums and the shipped examples, but I cannot seem to figure out how the PID VIs work. I understand the basics of a PID controller, but cannot make the connections of how to actually get it to work in LV.
    I figured that this VI I wrote is pretty simple and should work, but I keep getting this error.
    Error -200524 occurred at PID_v0.vi:Instance:19:1
    Possible reason(s):
    Write cannot be performed, because the number of channels in the data does not match the number of channels in the task.
    When writing, supply data for all channels in the task. Alternatively, modify the task to contain the same number of channels as the data written.
    Number of Channels in Task: 1
    Number of Channels in Data: 1000
    Task Name: _unnamedTask<1>"
    Any advice, direction, sample VIs that are not overly complicated, etc would be greatly appreciated.
    Attachments:
    PID_v0.vi ‏97 KB

    Hi andyabs,
    I'm not getting the same error you are when running this VI.  How are you setting up your channels and tasks in the DAQ Assistants?  It seems like this may be the source of your error.
    You should also take a look at Section 4 of the attached White Paper.  Using DAQmx functions rather than the DAQ Assistant will give you a bit more functionality with your program.  Let me know if you have any questions about this example.
    Control Applications with Data Acquisition Hardware: http://www.ni.com/white-paper/9086/en/#toc4
    Myriam
    Applications Engineer
    National Instruments

  • Surround bounce - how do you select the number of channels?

    When doing a surround bounce, Logic is always giving me a 5.1 even though I want a different number of channels. I have my surround setup selected in audio preferences, and it seems like it should bounce using that same config, but it does 5.1 either interleaved or split. I don't see any options for number of channels in the bounce window.
    Any ideas? It seems like this worked in earlier versions of Logic, but with the latest I can't get any other number of channels.

    Found where it's set in the app, but looks like it's buggy in 9.x. I went back and checked 8.x and it works fine there.
    Anyone want to try it out? Under project settings->surround format, you should be able to set a format and then do a bounce with Surround Bounce and Interleaved selected. In L8, the bounce would be the number of channels selected in project settings, but in 9, it looks like it always bounces 6 channels regardless of settings.
    If someone could take a minute and test it out, I'd really appreciate it - I'll be reporting it to apple but I'd like to make sure it's not just my system. Thanks.

  • Determine number of channels on a DAQ card

    Is there a function to determine the number of channels on a given DAQ card?

    I found no native function to get this attribute; you can use DAQmxGetDeviceAttribute with DAQmx_Dev_AI_PhysicalChans attribute to get a list of available channels on a device and then parse the string counting channels. The following lines can be executed in the Interactive Execution window: provided the device name is correct they count how many input channels are present on the board:
    #include <ansi_c.h>
    #include <utility.h>
    #include <NIDAQmx.h>
    static int i;
    static char msg[512];
    static char *token;
    DAQmxGetDeviceAttribute ("Dev1", DAQmx_Dev_AI_PhysicalChans, msg, 512);
    i = 0; token = strtok (msg, ",");
    while (token) {
    i++;
    token = strtok (NULL, ",");
    DebugPrintf ("# of channels: %d\n", i);
     The same function has equivalent attributes for analog outputs, counters and digital I/O lines / ports.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Read number of channels dynamically

    Hi ,
    I have a test file in .dat format.  Normally we will have 4 channels. Time, Accleration1 and Accleration2, Upper Limit and Lower limit.
    Where I plot Time v/s Accleration1 and Accleration2.
    In future, test file may contain Accleration 3, Accleration 4, .. Accleration 10. So, how can I make a script to dynamically read the number of channels that are loaded to a data portal and plot all of them on report.   (whichever is existing. )
    I read in help to use globusedchn. How can i use it in script.
    Should I have to use ny looping statements? please help.

    Hello RSH,
    There is a function in DIAdem REPORT to do exactly what you are asking for, which is to dynamically plot n number of channels in a file based on however many channels are contained in a file.
    First of all, we need to make sure you data is stored as Waveforms, not channels which is done by using the "Numeric Channels <-> Waveform Channels" function in DIAdem ANALYSIS (this can be done in a Script too):
    Once all your channels are Waveforms, we can move on to REPORT.
    Go to the Settings menu in "REPORT" and switch on the "Curve Expansion" mode:
    I have thre Waveforms loaded called "Noise", Noise1" and "Noise2" in my DataPortal
    In your Axis Layout, delete the group reference and add a "*" to the end of the channel name:
    Here is the result, which will dynamically add channels based on how many "Noise*" channels are in the DataPortal:
    Hope that helps,
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Generic calculations with changing number of channels

    Hello,
    I would like to make some basic calculations with a flexible number of channels. The point is that I get an error if I specify channels which are not existing in my calculations. For example :
    CCh("[1]/CNV",2)-CCh("[2]/CNV",2)+CCh("[3]/CNV",2)-...
    I think it should be possible to do it by using a script, but do you have any idea how to do it only with the calculator?
    Thank you in advance
    Jérémy
    Solved!
    Go to Solution.

    You can do easily by using Recoding mode for VBScript described in the following KB:
    http://digital.ni.com/public.nsf/allkb/B769AE10EDB656D28625692D00583166?OpenDocument
    Paolo_P
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Device Number and Channel Number?

    What exactly are device number and channel number?  I am assuming device number is the number given to the DAQ board (i.e. "1") and that channel number is the number on the screw terminal board where the signal of interest is located.  Is that right? 
    I've read about it in the help menu but am still confused (I am relatively new to LabVIEW)

    Device number is the number given to the DAQ board.  You can use MAX (Measurement and Automation Explorer) to verify the device number.  It will be displayed in the device's property window.  Channel number depends on the device.  If you have a 16 channel Analog Input DAQ, your channel numbers will range from 0 to 15 (or maybe from 1 to 16, depending on the board).  It may NOT be the same as the screw terminal on the connecting block.  The documentation that comes with the board and the terminal block should show which channel goes to which screw terminal.
    - tbob
    Inventor of the WORM Global

  • Dynamicall​y Changing Number of Channels in Chart

    Hi,
    I have a simple question about a labview programming issue. I am
    trying to modify an NI Example program for demonstrational purposes.
    I am using the Multi-plot real-time chart example program (link below)
    from the NI website. I have changed your example for the chart to
    display the data in the stacked plot mode. How could I modify it to
    vary the number of traces dynamically. Is this possible? My goal
    would be to use a series or radio buttons to control viewing 4, 8 or
    16 channels, in real time. All of the code and programs I have seen
    have channel display statically in the begining setup. Is there a
    property node of the chart that controls this?
    Thanks
    John
    http://zone.ni.com/devzone/explprog.nsf/6c163
    603265406328625682a006ed37d/5ac3fd88cb3815f0862566​57007542ee?OpenDocument

    Mark,
    I would appreciate if i could see some code. Would you please email
    it to my hotmail address.
    Thanks
    John
    On Mon, 4 Feb 2002 07:40:27 -0800 (PST), markwysong
    wrote:
    >There's not really a property node. I've done this before, but it's
    >not exactly straight forward. If you stretch the window that shows
    >the trace names and colors, you can show more trace names and colors.
    >Make sure that this is big enough to handle the max number of traces
    >that you'll need.
    >
    >Next, in your code, make a property node for the chart. You'll need
    >to set all the trace colors to transparent to begin with, then change
    >them to a predefined color depending on how many traces you have. You
    >do this by using the property node, setting the active plot, then
    >
    changing the color (and name, too). Then you just wire the plots to
    >the chart, and it should display it. I can show you some of my code
    >that performs these functions if need be.
    >
    >Mark

  • Dynamically Changing Number of Channels in Chart

    Hi,
    I have a simple question about a labview programming issue. I am
    trying to modify an NI Example program for demonstrational purposes.
    I am using the Multi-plot real-time chart example program (link below)
    from the NI website. I have changed your example for the chart to
    display the data in the stacked plot mode. How could I modify it to
    vary the number of traces dynamically. Is this possible? My goal
    would be to use a series or radio buttons to control viewing 4, 8 or
    16 channels, in real time. All of the code and programs I have seen
    have channel display statically in the begining setup. Is there a
    property node of the chart that controls this?
    Thanks
    John
    http://zone.ni.com/devzone/explprog.nsf/6c163603
    265406328625682a006ed37d/5ac3fd88cb3815f086256657007542ee?OpenDocument

    To accomplish your goal, the example VI needs to be modified a little bit. I've made one such modification and attached the modified file. I hope it helps. Please note that nothing shows on the Front Panel Until you press one of the control buttons.
    Attachments:
    Modified_Multi-plot_real-time_chart.vi ‏138 KB

  • Group number from Channel (GroupIndexGet only works provided you know the group name)

    As it says in title. Im trying to get the group index number from the user having selected a channel. The ChannelNameGet also relies on you knowing the group index, any help here would be greatly appreciated!
    Many thanks
    Dan
    Solved!
    Go to Solution.

    Hi Dan -
    If you're using a relatively recent version of DIAdem, just use the object-oriented structure of the Data Portal:
    Data.GetChannel("Channel_Name").ChannelGroup.Properties("index").Value
    ...where "Channel_Name" is your channel's name.  If you use the above line of code literally, then make sure your channel name is unique - otherwise you'll need to provide a group name as well (e.g. "Strain/Channel_1") to the parameter being passed to the GetChannel() method.
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • Question: How do I change the number of channels in a DAQmx code?

    So far I have a control however, I want to make a more user friendly controller and I get the following error if I manually delete one of the channels?  DAQ test is the main VI.
    Error -200099 occurred at DAQmx Create Channel (AI-Voltage-Basic)Vi:5
    Physical channel not specified.
    Attachments:
    NI cDAQ.vi ‏111 KB
    DAQ test.vi ‏44 KB

    At the top of your VI (at least they wound up at the top after I ran block diagram cleanup since the wiring was a mess), there are two subVI's.  Untitled 6.vi and also Relay Off.vi.  The DAQ create channels in one of those subVI's might be causing the problem.
    Do you know exactly where the error is generated?  Your error code "Error -200099 occurred at DAQmx Create Channel (AI-Voltage-Basic)Vi:5" tells it is the 5th instance of the DAQmx Create Channel (it is a reentrant subVI).  But I have no way of correlating that with a particular location in your VI's.  Put probes on your error wires and see where the error is actually happening!

  • How to configure selector according to the number of channels

    i want to select number of selector in 1d array of selectorm according to the number of channels

    If I understood what you said correctly, the vi attached should contain the answer.
    Kudos and Accepted as Solution are welcome!
    Attachments:
    arrayindicator.vi ‏8 KB

Maybe you are looking for