Any simple example of Usage Data consumer out there? Python?

The sample Billing Adapter is really heavy lifting. We need to get something up and running for simple chargeback proof-of-concept demonstration. Anyone know of any examples in a lightweight language like Python? Thanks.

Hello Scott,
Here is a simple sample project.
Good Luck, Ruben.

Similar Messages

  • Provide simple example for Arbitrary data sending through NI4551(DSA)

    We Converted NI-DSA function palette
    in LabVIEW under Application
    Examples>>Advanced>>Arbitrary Output Example.
    But, We not exactly getting arbitrary wave. Our arbitrary data is correct. I think there is a problem with FFT settings. So Please Provide simple example for Arbitrary data sending through NI4551(DSA)

    Hello Sateesh!
    First, what versions of LabVIEW and NI-DSA are you using.  I have been searching around for the example you are refering too and I am not able to find it.  Are you creating and arb. wave in the frequency domain and then performing an FFT to get it to the time domain?  Next, remember your wave will only be as exact as the AO specs. of the hardware...
    The output conversions occur simultaneously at software-programmable rates from 1.25 to 51.2 kS/s in increments of 47.684 µS/s. The analog output circuitry uses eight-times oversampling interpolators with 64-times oversampling delta-sigma modulators to generate high-quality signals. Software-programmable attenuation of 0, -20, or -40 dB is available on the output channels. The PCI-4451 has excellent amplitude flatness of ±0.2 dB within DC to 23 kHz, and a THD of -90 dB at 1 kHz.
    Now, as far as obtaining other examples If you use the LabVIEW example finder and goto Hardware Input and Output>>Traditional DAQ>>Analog Output.  I would also in the lower right hand corner of the Example Finder select your 4451 this will show you all examples that work with your hardware.  I hope this helps a little but please give me more details we will go from there.   Have a great day!
    Allan S.
    National Instruments

  • Any good Leopard-compatible greeting card programs out there?

    My wife wants to print the cards herself vs. going through the Apple Print Service. Does anyone know of any good greeting card software out there that works with Leopard? Thanks

    Go to > Windows Media Player on the Mac - Flip4Mac, the free version should do it.

  • Any simple example for comparator for treemap

    I have a treemap collection stored some data like
    a:4
    b:7
    c:5
    d:7
    e:1
    f:3
    The Treemap helped me to sort by key value like above.
    But what I want is sort by value , it should be like this
    b:7
    d:7
    c:5
    a:4
    f:3
    e:1
    I know comparator object can help me about the sorting mechanism in treemap, it is used like
    comp is comparator
    TreeMap tm = new TreeMap(comp)
    but I don't know how to construct this comparator object to help me sort by value.
    Any one can help me here??
    Thank you

    Here's a sample that demonstrates the issue. Note that when you run this that the comparator class never sees the data items (in this case 'a' - 'f'), only the numbers.
    Also notice that both sets that are returned (keySet and entrySet) are appropriately sorted.
    Finally, it is interesting to note that it looks like the TreeMap.get() method walks the tree to find the entry (no surprise), but the entrySet method returns both the keys and data in one shot. This implies that there may be a performance blip gained by asking for the entrySet and getting the values that way, rather than the first technique using the keySet and get().
    import java.util.*;
    public class x
         public static void main(String args[])
              TreeMap t = new TreeMap(new Comparator() {
                   public int compare(Object o1, Object o2) {
                        Comparable c1 = (Comparable) o1;
                        Comparable c2 = (Comparable) o2;
                        System.out.println("Comparing " + c1 + " - " + c2);
                        return c1.compareTo(c2);
                   public boolean equals(Object o) {
                        return false;
              String s;
              t.put("1", "f");
              t.put("2", "e");
              t.put("3", "d");
              t.put("4", "c");
              t.put("5", "b");
              t.put("6", "a");
              Iterator i;
              Set keys = t.keySet();
              i = keys.iterator();
              while(i.hasNext()) {
                   s = (String)i.next();
                   System.out.println(s + " - " + t.get(s));
              Set entries = t.entrySet();
              i = entries.iterator();
              while(i.hasNext()) {
                   System.out.println(i.next());

  • Is there any way to get tables data with out having backup.

    Hi !
    my tnslistner is not working that is why i am not able to login in my database
    so i have planned to reinstall it and if posible get my database back from old files.
    i do not have backup,
    is there any way to get tables and data back.
    yours sincerely

    the out put of the sqlplus/ as sysdba is as followes
    Error 6 initializing sql*plus
    sp2-0667: message file sp1<lang>.msb not found
    sp2-0750: you may need to set ORACLE_HOOME to your oracle software directory
    the listener.ora at
    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    yours sincerely

  • Is there any tutorial for jms development with jdeveloper out there ?

    Hi
    Thank you for reading my post
    is there any tutorial which show us how to use jdeveloper +oc4j for JMS stuff ?
    I mean an end 2 end tutorial to build mdb+jms resources in oc4j + client
    it will be far better if the tutorial shows how we can use jdeveloper features for this task (if it provide any wizard...)

    This is an example of a client:
    public String listeningJMS (Context context) throws Exception
    String topicName = "jms/demoTopic";
    String topicConnectionFactoryName = "jms/TopicConnectionFactory";
    TopicConnectionFactory topicConnectionFactory = null;
    TopicConnection topicConnection = null;
    TopicSession topicSession = null;
    Topic topic = null;
    TopicSubscriber topicSubscriber = null;
    TextMessage message = null;
    String fileName = null;
    * Look up connection factory and topic. If either does
    * not exist, exit.
    try
    topicConnectionFactory = (TopicConnectionFactory)
    context.lookup(topicConnectionFactoryName);
    topic = (Topic) context.lookup(topicName);
    * Create connection.
    * Create session from connection; false means session is
    * not transacted.
    * Create subscriber.
    * Register message listener (TextListener).
    * Receive text messages from topic.
    * When all messages have been received, enter Q to quit.
    * Close connection.
    topicConnection =
    topicConnectionFactory.createTopicConnection();
    topicSession =
    topicConnection.createTopicSession(false,
    Session.AUTO_ACKNOWLEDGE);
    topicSubscriber =
    topicSession.createSubscriber(topic);
    topicConnection.start();
    System.out.println("Receiving: ");
    TextMessage msg = (TextMessage) topicSubscriber.receive();
    String xmlString =msg.getText();
    topicConnection.close();
    System.err.println("Received: "+xmlString);
    fileName = this.getFileName(msg.getText());
    } catch (Exception e) {
    throw e;
    } finally {
    if (topicConnection != null) {
    try {
    topicConnection.close();
    } catch (JMSException e) {throw e;}
    return fileName;
    public static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "welcome1" );
    env.put(Context.PROVIDER_URL, "ormi://localhost:12401");
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    return new InitialContext( env );
    }

  • Any expert OSX on Windows network people out there?

    I'm in desperate need of help. My company is all Windows and I have the only mac (yeah, i'm the marketing/design guy). I'm running OSX, latest-greatest with all of the updates on a Windows network. IT just upgrader their servers and eversince then I have had all kinds of problems. The network is super slow on the Mac but the PC in my office is not affected that much. I sometimes lose network conection on the Mac all together and have to manually GO get the servers again. On big pain is that I can send email (using Mac Mail) inside the company but I can't send anything outside. I have to use webmail for that.
    Oddly, the PC was also affected. Some network speed was restored using manual IPs but get this... Photoshop will not save to the server from the PC. It does fine on the Mac apart from the ultra slow server response but on the PC I have to save files to the local HD then move them to the server manualy.
    My IT network guy is no help. He is threatening to pull my mac and his only solution for the PC was to wipe it clean and re-install everything. He just took the PC today so I don't know if it is going to work or not (I have my doubts) and it's going to cause me productivity problems.
    I haven't been able to find anything on Apple's or Microsoft's site that seems related. (SHAME on Apple for having les info on mac intigration to Windows networks than Microsoft BTW)
    Here's the network set up:
    OS > Windows Server 2003 Enterprise with Service Pack 1 (Completely Patched with all updates as of 12-06-06)
    Mail > Exchange 2003 Enterprise with Service Pack 2
    All servers have Duel 3.2 GHz Intel Xeon Processors
    Any help would be appreciated.
    Thanks in advance

    Hi Mike!
    Up front I don't think you'll resolve all your answers without a Mac/Windows consultant. You've got too many variables in the mix for someone to be able to comprehensively answer all your questions plus you're possibly going to need some assistance from your IT guys because some things may be out of your control. A consultant would be able to speak Tech-ese for you.
    With that said, here are some ideas...
    1. For network speed issues, ask your IT guys if your network switch port has been forced to a particular speed/duplex or if it is set to Auto. Macs hate to be forced. You want Auto.
    2. I suggest using Microsoft Entourage 2004 over Apple's Mail application. Mail is using IMAP and SMTP to connect to your Exchange server. Entourage uses WebDAV, which allows you to take advantage of calendaring and public folders too. You've got webmail access, which means Entourage should work for you. Enterprise licensing for Exchange includes Entourage. Or if you have Office for Mac then Entourage is included.
    3. I suggest not using Mac OS X's built-in SMB client. It's clunky and doesn't play well with Windows servers for regular use. Invest in Dave or ADMitMac from http://www.thursby.com. It may very well help you with multiple network issues. A trial version is available for you to evaluate it first.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.8)  

  • Any non aggressive head parking HD's out there for Macbook Pro?

    Hello everyone,
    I recently purchased a 7200 RPM Hitachi Travelstar drive that suffers from the "every 20 second or so" ping noise of the hard drive heads parking aggressively. Are there any 7200 hard drives that are 200GB or larger that anyone can recommend that don't suffer from this same shortcoming?

    Have you turned off the Energy Saver option to put the drive to sleep when idle? If not try disabling that option. If the problem persists then contact Hitachi technical support. It's very likely what you are hearing isn't the head parking as typically that only occurs when the drive is idle, receives a sleep or park command, power is disconnected, the Sudden Motion Sensor is tripped.

  • Are there any DVD copiers and Video- iPod converters out there?

    I want something other than DVD Decrpyter and Videora, because they aren't working for me. Anything else?

    http://www.alltomp4.com/
    http://www.imtoo.com/dvd-to-ipod-converter.html
    I'm using both alternately and are both good. No need for decrypter. By the way, these are not free as well but mine are.

  • Sync with USB 1.1 slow - any firewire to usb 2.0 adapters out there?

    I know its been covered how slow the new nano is with USB1.1 but wow. Glacial. The G4 we use as a iTunes station has firewire. Is there a Firewire to USB 2.0 adapter?

    I do have a G5 which is my work station. The G4 is my wife's computer and her iPod/iTunes station.

  • Not sure if this is the right place...but is there any aggregate data repository/dictionary out there?

    And what I mean is...Is there any aggregate data dictionary out there that tells you how long and what type a data column should be?
    For example...Medical Provider Name...what is the normal length for something like this? Provider ID? Tax ID? Address Line 1? City? State?...Etc...
    Is like EDI X12 considered the Bible of Data Dictionaries? Yet you have to pay for that don't you? Is there anything else I can reference???
    Thanks for your review and am hopeful for a reply.
    PSULionRP

    Provider ID is well defined:
    "National Provider Identifier Standard (NPI)
    The National Provider Identifier (NPI) is a Health Insurance Portability and Accountability Act (HIPAA) Administrative Simplification Standard. The NPI is a unique identification number for covered health care providers. Covered health care providers and
    all health plans and health care clearinghouses must use the NPIs in the administrative and financial transactions adopted under HIPAA. The NPI is a 10-position, intelligence-free numeric identifier (10-digit number). This means that the numbers do not carry
    other information about healthcare providers, such as the state in which they live or their medical specialty. The NPI must be used in lieu of legacy provider identifiers in the HIPAA standards transactions."
    LINK:
    http://www.cms.gov/Regulations-and-Guidance/HIPAA-Administrative-Simplification/NationalProvIdentStand/index.html?redirect=/NationalProvIdentStand/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Any SB Audigy 2 ZS owners out there know how to load Synth A &

    Any SB Audigy 2 ZS?owners out there know how to load Synth A & B ?
    Mine is a OEM Version (for [url="http://homerecording.com/bbs/showthread.php?p=2960574#">HP[/url]) I got used for $40, didn't know it was until I had trouble installing driver,s but that's now resolved. Mine is model SB0359 but tag says Audigy 2 ZS and SB0350, but without MIDI port and 394 port. A real A2ZS is SB0350. 24/96 recording and playback.
    Everything is working great, 2 ms latency recording on some quick testing.
    BUT the Soundbank Manager doesn't seem to want to load any SF2 into Synth A or B , so I can use them in my sequencer (JAZZ++) for playback, and REAPER for recording (eventually). I don't want to be locked into the default [url="http://homerecording.com/bbs/showthread.php?p=2960574#">Windows[/url] GM sounds. At least in REAPER, I can use a VST approach and connect a SF, but I only want MIDI for Drums and maybe some Pads, in spots. I do have a MIDI bassline, but that will be re-done with real bass guitar.
    Maybe because I don't have a physical MIDI port on the OEM version, the program isn't functiing properly (guess)
    Is there another way to load the Synths ? Manual scripts ... via INI ?

    johnnymegabyte wrote:
    Everything is working great, 2 ms latency recording on some quick testing.
    BUT the Soundbank Manager doesn't seem to want to load any SF2 into Synth A or B , so I can use them in my sequencer (JAZZ++) for playback, and REAPER for recording (eventually). I don't want to be locked into the default [url="http://homerecording.com/bbs/showthread.php?p=2960574#">Windows[/url] GM sounds. At least in REAPER, I can use a VST approach and connect a SF, but I only want MIDI for Drums and maybe some Pads, in spots. I do have a MIDI bassline, but that will be re-done with real bass guitar.
    Maybe because I don't have a physical MIDI port on the OEM version, the program isn't functiing properly (guess)
    Is there another way to load the Synths ? Manual scripts ... via INI ?
    REAPER:
    As it's an OEM card, it's possible that MIDI features are ripped. Have you tried by installing nati've software by tweaking the installer?
    You find the original CD and instructions on how to patch the installed by searching here using "BadBoy" for CD and "ctcomp" for patching (as for an example).
    - on Options/Preferences/Audio/MIDI Devices, select synths A/B
    - create new track
    - on track I/O config, set MIDI Hardware output to Audigy Synth A or B and on Audio Hardware outputs, add a new one as stereo Left/Right
    - on track Monitoring options, enablethe monitoring
    - set the SF bank (Do not use big ones but those bundled ones beford getting everything working ... there are some size limitations)
    Remember also that drums are on MIDI channel 0.
    Hope this helps you to start ... (I don't have SoundFont Bank Manager installed so I can't try if this works).
    jutapa
    Message Edited by jutapa on 07-6-2008 0:53 PM

  • Are there any web-based products out there for client project and interaction...

    Dear Web Designers,
    Is there any open source, free, php software packages out there (or web products - a doc com tool) that allows a web designer freelancer (like me) who has their own business to take in client requests or new project request descriptions and requests from anyone and allow me to respond back with an answer, a timeline, status on the project etc etc. (besides just a standard contact us form - is there any project managment tool for web designers that works well for that?)
    Andrew

    Sure.  There are lots & lots of them.  It depends on your coding skills, which scripts and databases your server supports, and how many bells & whistles you want.
    osTicket ~
    open source (free), requires PHP & MySql on your server
    http://osticket.com/features.php
    Zendesk ~
    commercial help desk system.  30 Day free trial available.
    http://www.zendesk.com/pricing
    You'll find many others on Google
    http://www.google.com/search?q=web+site+help+desk+system&ie=utf-8&oe=utf-8&aq=t&rls=org.mo zilla:en-US:official&client=firefox-a
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Is there any way to access my data in case i didnt back up my data on icloud and also erased the data from my iphone?

    I accidentally erased all my data from my iphone and plus i also forgot to take the back up of the same, so i want to ask is there any way to get my data back?

    There might be an outside chance of getting the data back from your iPhone, if it hasn't been overwritten. There are some programs you can run on your computer to scavenge files from your iPhone, even though they have been deleted. You'll need to search on the Internet to find those programs, and then you'll have to buy one of them. And, it's always a "buyer beware" situation when you do that, so research carefully.
    Here's one search to start with ...
    https://www.google.com/#q=recover+deleted+iphone+files+no+backup

  • Multi-master replication questions for iPlanet 5.0, gurus out there?

    hi:
    I'm using iPlanet Dir Server 5.0 and I note that many gurus out there has
    been able
    to get this to work, that's good, but I have yet to. I have several
    questions, maybe
    someone can spend a few minutes and save me hours...
    I have a suffix called dc=calient,dc=net. I followed the suggestions in
    the
    iPlanet install guide and created 2 directory servers
    a) suffix o=NetscapeRoot, at some arbitrary port, 4601
    b) suffix dc=calient,dc=net, at the usual port 389.
    All my searches/create/delete work fine. However, when I try to replicate
    with multi-master between 2 machines, I keep getting into problems.
    Here's one set of questions...
    Q1: do people out there really split their tree from the o=NetscapeRoot
    tree?
    Q2: The admin guide says the the unit of replication is a database, and
    that each replication can only have 1 suffix. Is this true? Can
    a replicated db have more than 1 suffix?
    Q3: If I also want to replicate the o=NetscapeRoot tree, I have to set
    up yet 2 more replication agreements. Isn't this more work? If
    I just lump the 2 suffixes together, wouldn't it be easier? But would
    it work?
    Q4: I followed the instructions to enable replicas on the masters.
    But then I tried to create this cn=Replication Manager, cn=config
    object.
    But what is the object class of this entry? An iPlanet user has uid
    as its RDN... I tried a person object class, and I added a password.
    But then I keep getting error code 32, object not found in the error
    log. What gives? such as
    WARNING: 'get_entry' can't find entry 'cn=replication
    manager,cn=config', err 32
    Q5: Also, are there any access control issues with this cn=Replication
    Manager,
    cn=config object? By this I mean, I cannot seem to see this object
    using
    ldapsearch, I can only see cn=SNMP, cn=config. Also, do I have
    to give all access via aci to my suffix dc=calient,dc=net? Also,
    given the fact that my o=NetscapeRoot tree is at a different port (say
    4601),
    not 389, could this be an issue?
    Q6: when replication fails, should the Dir Server still come up? Mine does
    not anymore
    which is strange. I keep getting things like this in my log file
    [08/Nov/2001:21:49:13 -0800] NSMMReplicationPlugin - Could not send consumer
    mufasa.chromisys.com:389 the bind request
    [08/Nov/2001:21:49:13 -0800] NSMMReplicationPlugin - Failed to connect to
    replication consumer mufasa.chromisys.com:389
    But why shouldn't the dir server itself come up even if replication
    fails?
    steve

    Hi Steve,
    First, please read the 'Deployment Guide'. I think that is easier to
    understand when you want to setup multi-master replication. The
    'Administrator's Guide' gives you step-by-step instructions, but it may
    not help you to understand how to design your directory services.
    Stephen Tsun wrote:
    I have a suffix called dc=calient,dc=net. I followed the suggestions in
    the
    iPlanet install guide and created 2 directory servers
    a) suffix o=NetscapeRoot, at some arbitrary port, 4601
    b) suffix dc=calient,dc=net, at the usual port 389.
    All my searches/create/delete work fine. However, when I try to replicate
    with multi-master between 2 machines, I keep getting into problems.I don't understand something: which backend do you want to replicate?
    The one holding 'o=NetscapeRoot' or the one holding 'dc=calient,dc=net'?
    Do you want to setup replication between these two instances of the
    directory server (i.e. between port 4601 and 389 in your example)?
    Q1: do people out there really split their tree from the o=NetscapeRoot
    tree?If you have multiple directory servers installed in your environment, it
    is probably worth dedicating (at least) one directory server for the
    o=netscaperoot tree.
    Q2: The admin guide says the the unit of replication is a database, and
    that each replication can only have 1 suffix. Is this true? Can
    a replicated db have more than 1 suffix?Well, it is normal, since in iDS 5.x you have 1 suffix per database.
    You can, however, replicate multiple databases.
    Q3: If I also want to replicate the o=NetscapeRoot tree, I have to set
    up yet 2 more replication agreements. Isn't this more work? If
    I just lump the 2 suffixes together, wouldn't it be easier? But would
    it work?You can't lump the 2 suffixes together, because each backend has 1
    suffix associated with.
    Q4: I followed the instructions to enable replicas on the masters.
    But then I tried to create this cn=Replication Manager, cn=config
    object.
    But what is the object class of this entry?Usually, it is organizationalperson or inetorgperson. In most of the
    cases you want an objectclass which can have userPassword attribute.
    An iPlanet user has uid
    as its RDN... I tried a person object class, and I added a password.
    But then I keep getting error code 32, object not found in the error
    log. What gives? such asYou must have misconfigured something. Or perhaps, it is not
    cn=replication manager, cn=config, but 'uid=replication manager,cn=config'
    Q5: Also, are there any access control issues with this cn=Replication
    Manager,
    cn=config object? By this I mean, I cannot seem to see this object
    using
    ldapsearch, I can only see cn=SNMP, cn=config.The configuration tree is protected by ACIs, so you can not see them
    using anonymous BINDs. Try binding as 'directory manager' and you will
    find your entry.
    Also, do I have
    to give all access via aci to my suffix dc=calient,dc=net?For what purpose? For replication, it is enough to set user DN in the
    replication agreement and this user can update the replicated backend.
    Q6: when replication fails, should the Dir Server still come up?Yes.
    Bertold

Maybe you are looking for