NI-DAQmx for 6251 under LabView 8.2

Hi
We just started using Labview 8.2, and have a program which we wrote in 8.0.
When installing the latest drivers for the NI USB-6251 DAQ (it shows version 8.1), there is only an option on support for Labview 8.0. I don't know if the driver installs 8.2 support as default and ask for 8.0 support as an option.
8.0 support does not want to install (it says Automation explorer 4.0.3 is not installed as we have already version 4.1), so we have just installed it without this option (Automation explorer 4.1 ).
Anyway, there is no NI-DAQmx VI's after starting Labview and Automation explorer seems to work fine.
What do I do to get the NI-DAQmx VI's and start communicating with the DAQ box?
Renato

Version 8.1 is not the latest version of DAQmx. You can go here and see all of the versions. I think 8.3.1 was the first to support 8.2. This is what you should have gotten with your 8.2 CDs.

Similar Messages

  • Problem with running a program under Labview 8.6

    Hello,
    I am writing you this to ask for your technical support to fix the problem I am facing at our Lab at University of California, Irvine.
    Ms. Vanessa Trujillo has kindly come to our lab a couple of times and tried different things to resolve the issue, but unfortunately the issue is not resolved yet. Here is a summary of the problem:
    We used to use Labview 6.1 for our fatigue testing and data acquisition.
    Our
    program worked just fine under the 6.1 version We recently upgraded our software to Labview 8.6. We have also purchased a new computer that has higher capacity than what your website requires for Labview 8.6. The new computer has Windows Vista We transferred our old program/subprograms from the old computer under Labview
    6.1 to the new computer with labview 8.6. However our program that worked fine with the 6.1 version is not working with the updated version (ver 8.6).
    There
    are 6 errors in the error list. It appears there are six files of my program missing under the new version, even though we transferred all files.
    The software searches for those files but can't find them.
            For example one the box pops up indicates:
            loading:
                        <vlib>:\Daq\lvdaq.dll
            searching:
                        C:\Program Files\National Instrument\LabVIEW 8.6\instr.lib\Agilent34401\public\utility
            I get several message like this. I have to cancel/ignore them all to be able to open the program.
    When we go to VI's under Measurement I/O there is nothing (empty).
    We use a PCI-MIO-16XE-50 for our data acquisition During Labview installation on the new computer, I was asked if I wanted to install the device drivers. I had two options, "Now" or "Later", I picked Now but I didn't have the DVD's/CD's for the device drivers. Therefore I had to select later to complete my software installation Later after Labview 8.6 installation, we installed the device drivers (traditional Ni DAQ and Ni DAQmx) from the two old CD's we had in our lab from a couple of years ago (the CD's were Ni DAQ 7). after installation, the PCI board on the computer was recognized by the device driver. However we still could not run our program under the new version of Labview (same situation and the same messages) I called 1-866-275-6964 on 9/2/08 and talked to Grant (service number:
    1228841). He recommended that I download and install the updated version of device drivers.
    Since I didn't have the DVD/CD for updated device drivers, I contacted Vanessa Trujillo. She gave me the DVD for the updated Ni DAQ (Traditional and mx).
    But
    when I tried to install the updated device drivers I got a message something like "some unsupported filed have been detected,..." so the updated device
    drivers were not installed. It should be noted that up to here we still had the Ni DAQ (traditional and mx) installed on the computer from our old CD's (Ni DAQ 7).
    Vanessa and I talked to Tom at the technical support department. He recommended that we download and install the Beta xx version for Ni DAQ since we were using Windows Vista. Mike put the Beta software on the Ni website/outgoing so I could download and install it. He asked me to uninstall the traditional Ni DAQ that we had on our computer from the older CD's. He
    asked me not to un-install the Ni DAQmx (that we had installed from the old
    CD). I was able to download the Beta software, however I could not install it since I got a similar message that some unsupported files were detected.
    Right now we don't have any version of traditional Ni DAQ installed on the
    computer but the NI DAQmx (from old Ni DAQ 7) is still installed on the computer. Vanessa let me borrow her new Ni DAQ DVD but as I explained I am not able to install the device drivers.
    Vanessa - Did I miss anything?
    Please advise. My cell number is 619-778-2033. I will be at our lab at UC,
    Irvine at 2:00pm (CA/Pacific time). Please call if you have any questions.
    Thank you

    To me, it looks like you are missing some of the drivers and subVI's used in your program.
    Whatever device you are using to measure fatigue or any other device probably came with a driver.
    You need all of these drivers installed on this new computer.
    Also, any subVI's and libraries you use in the program must also be installed on the new computer.
    Whenever you get a message that says you are missing some component (the ones that you said you press 'ignore'),
    see if you can find that library or subVI on the older computer. If so, save it to something so you can transfer them to the new computer. 
    Cory K

  • Web server log files under LabVIEW RT

    Hello,
    Is there any log files for the web server under LabVIEW RT running on a PXI?  The log file checkbox is disable in the target options.
    Also, is there a way to find out if the web server is running on the target?
    I'm asking the question because I can't access anymore a remote panel (and even the root of the web server) on my PXI.  I reinstall everything and I still have the issue.  I'm pretty sure that IT changes some network settings but they say no.  I need to validate that everything is working on my side before before taking further action.
    Thanks,
    Patrick

    Hi Patrick, 
    I would suggest having the log file checkbox enabled in the target options.  That should show if errors are occurring while it is running. Are you running remote front panels and web services, or just remote front panels?
    Can you provide a picture of all the software you have installed on your PXI?  You should be able to find this in MAX under the PXI in Remote Systems.
    Scott A
    SSP Product Manager
    National Instruments

  • Pass a value to a dll under labview

    I have to build a dll under cvi and use it under labview. my problem is to pass a value to this dll from labview.
    But when I use it, labview return an error code and close the software...
    I can return value from the dll to labwiew but not the contrary. can you help me please.
    I am a beginner and I am sorry for my english..."
    don't think it's a calling convention beceause When I use the box "call a dll" in labview and I select my dll, I can see all functions I have create in the dll (just the extern functions). for the datatype, I use int or unsigned int and sometimes char. and I can receive this value in labwiew...
    but for the pointer that's certainly my problem
    this is the sourcecode of my function. I drive a digital
    to analogue converter and I want to select the exit (There is 4 exit 0x00,01,10,11 )and a voltage (0 to 255 in décimal):
    void __stdcall dac_sortie_tension (int sortie, int tension)
    outp(LPT1+0x000,4); /* not important*/
    outp(LPT1+0x400,sortie);
    outp(LPT1+0x000,2); /* ecriture de l'adresse2*/
    outp(LPT1+0x400,0x00); /* not important*/
    outp(LPT1+0x000,3); /* not important*/
    outp(LPT1+0x400,tension);/*write voltage*/
    if I use a constant to "sortie" & "tension" it's OK...
    I try to use this:
    void __stdcall dac_sortie_tension (int *sortie, int *tension)
    but it's the same..."
    when I select the fonction in labview, I can see them
    but there isn't argument' ("sortie" & "tension") and I have a void like this:
    void fonction (void)
    what is the problem..
    I can give argument to the function but there aren't used..."

    /*draven*/;
    You need to configure the function manually. Once you select the dll and select the function, select the button Add a Parameter After. You can change the name of the parameter to sortie, keep the Data Type as long and then change the Pass field to Pointer to Value. Click again the Add a Parameter After button and do the same for the your variable "tension".
    For more information about calling external code in LabVIEW, refer to the following document (which should be also included with LabVIEW):
    Using External Code in LabVIEW
    Instructions on-line are here:
    An Overview of Accessing DLLs or Shared Libraries from LabVIEW
    Check also examples here:
    Communicating with External Applications
    Regards;
    Enrique Vargas
    www.visecurity.com
    www.vartortech.com

  • Please help me with my electrical engineering homework : temperature control and watering system for greenhouse using labview and arduino

    temperature control and watering system for greenhouse using labview and arduino
    spesification :
    1. max temp : 28 celcius (when temperature is more than 28 celcius, fan ON)
    2. min temp : 20 celcius (when temperature is under 20 celcius, heater ON)
    3. watering system : aquaponic (grow plant and fish in separate tank but connect each other). Plant roots help filter water for fish. Fish poop for plants fertilizer. So I need a pump to distribute water.
    Please help me create VI file simulation.. I'm sorry I'm not fluent in English. May God bless you all
    Attachments:
    YOOOSHH.vi ‏88 KB

    Duplicate thread.   Please keep the discussion in that thread where you already have a response. It is also the more appropriate thread for your question.
    Lynn

  • Scilab Gateway under Labview 8.2 and 8.5

    Hi Newsgroup,
    i am a Labview Starter and working for a longer time with Scilab.
    Herefore, the gateway function is a nice tool for me.
    When i create a VI with the Scilab Gateway, it works really perfect
    under Labview 8.2.1 (Jubilee Edition), but under Labview 8.5 the VI
    seems to be not correct. The "Run"-Arrow is displayed broken, nothing
    works.
    Funny Effect in Labview 8.5 beside: In a few cases i've seen the
    effect, that my VI works just one time, then never again ?
    Have i done mistakes while installing anything. Or are there hidden
    registry entries ?
    Best Regards
    Andreas

    Andreas wrote:
    i guess, i find one point: In the block diagram window in LabView
    8.2.1 i make a right click on the script-box and open the menu item
    "choose script server". Here, Scilab is displayed and choosen.
    When i do the same in LabView 8.5, the menu item "choose Script
    server" does not show me Scilab. The entry "Scilab" is not available.
    Works just fine here in LabVIEW 8.5. Did you restart LabVIEW after installation?
    Message Edited by altenbach on 10-31-2007 01:00 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SelectScilab.png ‏11 KB

  • Bug in Formula node under LabVIEW 2010

    appendix is my test project.
    there is a test.vi in the project.  The test.vi contains only a case structure with 5 SAME subdiagrams. Each subdiagram contains a formula mode. The formula code does some calculation with an 2d array of double.
    If i run the test.vi under LabVIEW 2010(or SP1), it may cause  LabVIEW 2010 corrupt occasionally. If I build application form the test.vi, and run the application ,the application will definitely corrupt.
    if I delete one subdiagram of the case structure , the test.vi and the application both run well.
    however, the same project works well under LabVIEW 2009.
    so is it a bug with LabVIEW 2010?
    Attachments:
    Test.zip ‏7 KB

    'corrupt' means the program exit unexpectedly without any warning or error message. it just disappeared and you can't find it in the 'process' tab of windows task manager after that.
    If LabVIEW corrupted, once i reopened it, there may be a error message dialog pop-uped before the LabVIEW interface appeared. The dialog said something wrong with 'undo.cpp'. I zipped the failure long to the appendix. I can't find any other error or warning message from LabVIEW or Windows ( I checked the Windows Event Viewer).
    If the built exe corrupted, There isn't any message for  LabVIEW or Windows neither.
    I tested the project on my own laptop with Windows XP(SP3) Chinese Version and NI PXI-8810 with Windows XP(SP3) English Version which is my target machine.
    Appendix also contain a exe build in my laptop. If I run the exe file, once I click the run button , it will corrupt. I wonder if it works the same on your computer.
    Thanks for your concern.
    Attachments:
    lvlog2011-05-13-23-23-35.zip ‏150 KB

  • I want to open a txt file and output data through an AO-using DAQmx for PXI

    I have a PXI running a 8145RT CPU. I have a PX6040E Multifunction DAQ card installed in the PXI. I want to program an application where I open a txt file (existing in one of the the RT machines' folders), read the first row, and output its data through an AO channel. The drivers I should use is DAQmx v7.1, and the Labview RT v.7
    Any idea?

    What exactly are you having problems with? Reading a text file can be done a number of ways. Look at the File I/O palette and check out Read Lines From File or Read Characters From File. There are string to number conversion functions on the string palette (i.e. Scan From String). There are also numberous shipping examples on using DAQmx for analog out. If you have a specific problem or question, please post back with additional details.

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • Data acquisition of CV7-V wind sensor under labview using NI 9403

    hello
    I want to measure a numeric type RS232 signal at the output of a CV7-V wind sensor (attached PDF file)
    I used the module CDAQ 9191 and NI 9403 under NI MAX and I got the result on the attached figure
    how I can retrieve the information from this sensor under labview using CDAQ  9191 and 9403 Module
    Attachments:
    2015-01-25_120704.png ‏10 KB
    CV7-V_OM_GB_150910.pdf ‏499 KB

    If it's an RS-232 Serial Device - why don't you use a serial port instead? That way you can just read the data using simple serial functions.
    If you have to use a digital I/O device - then you will need to convert the signal into digital data (using the timing information of the RS-232 device) and then convert it into the numeric data output by the device. It's not something I've ever tried to do but have a look at the digital waveform functions in LabVIEW as that might help you convert the analogue signal into binary data which you can then convert into a string.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • I have 2 Apple IDs. How can I move all my purchased (paid-for) apps under only 1 of my Apple IDs?

    Long ago I bought several, relatively expensive, apps under a old Apple ID.
    I then purchased many more paid-for apps under a new Apple ID.
    I was unaware that the purchased apps are tied to the Apple ID which I happen to be logged in with, at the time of the purchase: I thought they'd be tied to my authorised PC(s).
    Now I'm absolutely sick of having to constantly switch between IDs, even just to CHECK for updates.
    What I want to do is move all the paid-for apps which I bought under the old Apple ID to the new Apple ID. Both ID demonstrably belong to me.
    Having all my apps under 1 only Apple ID would allow me to update them easily, and no longer be FORCED to switch IDs all the time.
    In short I want to use only 1 Apple ID for the future.
    If the Apple Store locks the apps to the Apple ID (as it does) instead than to the authorised PC (as it should do), then it should also PREVENT a user from creating a second Apple ID (at least, from the same iTunes installation on the same PC!), or at the very least display a HUGE warning that any paid-for apps purchased under another, older Apple ID will be unavailable under the new Apple ID! The apple Store, and iTunes, do neither thing,
    Then the Apple Store and iTunes should at the very least allow a user to put all apps under the same Apple ID!
    After all, the Apple Store and iTunes on my PC and iTunes on my Iphone can all "see" that I own TWO legitimate Apple IDs (with purchases and updates): it must be possible to move these apps from one ID to the another ID, at least once! They're MY OWN purchases, paid: can I manage them a bit easier?
    Marco

    No, it seems you don't (want to) understand. I see 2 things very wrong with your explanation.
    1. The move would only need to happen between "accounts" demonstrably and legitimately belonging to the same user. In fact, I'm still using both the old one (for updates only, no new purchases) and the new one (updates and purchases -- actually no morep urchases until Apple solves this). And unless I'm mistaken, I can already have my apps on more than one iDevice at the time: eg. on 1 iPhone and1 iPad. I don't ask for apps to be moved between unrelated accounts: only between accounts belonging to the same "person". And I do not see how changing what is effectively just a "label" embedded in the binary files residing on my hard disk (or in the cloud), which can be verified as legitimately belonging to me thru two ID registered on the same authorised PC could possibly allow anyone to cheat the system. The apps' files have embedded an old label before, and a new label after the operation, both belonging to me, associated to my payment details. That's not rocket science.
    In fact, both my Apple ID were at some point linked to the same credit card. And in fact, I only created a second one because at some point I managed to forget my Hotmail EMAIL password, not my Apple STORE password!
    The two passwords needn't be the same, adding to the confusion. For months I used that account to buy apps, and never checked the email, since I was not interested in marketing from Apple, and I could see the payments from my credit card statements: that's how I forgot my Hotmail EMAIL password for that Hotmail email address.
    Since Microsoft wouldn't allow me to access my Hotmail account anymore (and rightly so, becuase I managed to exhaust all possibilities, and even forgot the security question), and so I could not check my Apple Store emails, I then decided to create a new account, this time with a Live! email address, and this time I used the same password for both the Live! EMAIL and the Apple STORE authentication.
    For more than TWO years I used the old Hotmail Apple ID to get updates, without during all that time being able to read the email or access that Hotmail account: this should tell you how stupid this system is! And for the same time, and until last month (I no longer buy anything), I used the new ID for both NEW purchases and their updates.
    Now after getting both a new iPhone (only because the old one was unfortunately stolen on my holiday) and a new PC, i NO longer want to be forced to use both IDs, which forces me to constantly switch between them, and also carries the risk that I inadvertently purchase something with the old one, to which EMAIL address I no longer have access: so I can't even check invoices. But most of all, I don't want to be inconvenienced like this by Apple.
    Since the Apple ID is such an important concept, forever ID tied to your purchases, it should NOT be an email address, which are disposable by their own nature. When creating it, one is naturally driven to think it'll only be needed to check Apple Store's emails and newsletters and the such. Why should people be forced to FOREVER use an email address, perhaps linked to a job or relationship they had years earlier, to update their purchases?
    The thing is, Apple made the Apple IDs as email addresses simply to ensure that as many people as possible can at any time buy as many apps and songs as possible: just create a new Apple ID: after all, it is (seems) just an email address! and you're done. But they DON'T telly you they'll tie FOREVER your purchases to it. So you're reasonably entitled to think they'll tie them to your payments details, until you discover otherwise the hard way.
    And since most Apple users feel humbled by Apple (the "genial" idea of calling "Genius" the support guys at the stores, wo usually don't have a clue on anyhting less than trivial, is part of this) and fear of feeling "stupid" for getting wrong soemthing with what are supposed to be the most user-friendly company and products, they will simply buy the apps again under the new ID, bringing more profits to Apple. This also can't be casual.
    My apps are available, under both Apple IDs at the same time, to iTunes: be it on my PC on in the iCloud. The same mechanism that physically "embeds" that Apple ID in the app file when I first buy it, can surely be used to change it afterwards. It's just a matter of willing to do so. This content (apps, songs, etc) may be digital (that is, files) rather than traditional (eg. books), but I assure you that the disk blocks taken by the app or song files in the iTunes directory on my PC or in the iCloud are as physical as a book or a mp3 player: they CAN be changed in a perfectly safe and trackable way, without risk of cheating. Ever heard of MAC addresses? Or other unique info that can easily be gathered from the PC's operating system or BIOS? or credit card details, already available?
    2. The policy of inconveniencing (punishing) the huge majority of users (citizens) to prevent a tiny minority from misbehaving can be good for sheep, but not for rational people. It's typical of unimaginative, monopolistic companies (oppressive governments), not of progressive, modern and innovative ones. The cost of protecting their proficts from those who would steal from them is theirs (the company's), not ours (the users'). They should be more creative and inventive, in finding solutions to stop 10 people who would misuse their system, rather than annoying the 10 million who won't. I would never do so (mostly because I thing it's morally wrong, but also because I can't be bothered), but I understand why people invent ways to circumvent this gratuituos, bullish constraints.
    Also, CAN'T you REALLY see the difference between these TWO options:
    - allowing a user to change an app's associated account ONCE IN A LIFETIME, even only ONCE per app
    - FORCING a user to switch Apple IDs EVERY TIME (DAY, OR WEEK) FOREVER, to check and/or update
    ??? Am I talking to a person, or to a robot, or to a undercover Apple employee here?
    Both things are possible. The second is more convenient financially for Apple, that's all.
    But it's also so clearly unfair to their customers. No more, thanks.
    To finish, many if not almost all of the issues in threads like https://discussions.apple.com/message/18954743#18954743 (like husband and wife sharing a PC with two iPhones, or kids' gifts, etc) really boil down to this issue, despite being often complicated by sloppy explanation (when they say "password" , do they mean the Apple ID's or the Email account's?, and so on) and unreasonable requests (like having the same app, only paid once, available under two IDs, even if on the same PC: this is not what I ask, and it's unreasonable) -- and could be solved by the concept of a "master" ID and "secondary" ID: if you read well, the real issue is almost always for everybody having to switch between "old" (or "wife's", "kids'") and new (or "husband's", "dad's") Apple IDs: and this must be done on BOTH the iTunes application on the PC or Mac, and on the devices themselves.

  • My iPhone 4 lock button broke, will Apple fix/replace it for free under the one year warranty?

    I've had my iPhone 4 for just under a year now and a couple weeks ago the lock button broke. At first, it was just difficult to press down and now it's just completely stuck. I've been using the assistive touch but it's kind of a hassle. I still have a few days left of my one year warranty, so if I went to the Apple Store would they fix/replace my phone for free or would I have to pay? Also, I was having issues with my speakers previously so I went to get it fixed and they said my phone has water damage and I would need to pay to fix it. Will the water damage effect them fixing my lock button too or is it different? Any advice/guidence is greatly appreciated!

    If there is water damage then they will likely conclude that your issues are a result of that and you will have to pay.
    But don't ask us, ask them. We're users and this have no idea what Apple will say in your case.

  • Down payments request for Asset Under Construction

    Hello Expert
    while Down Payment request  to vendors - for Asset Under Construction, system showing error.
    Contact your system administrator (table error)
    Message no. AA866
    Diagnosis
    No account has been entered for posting down payments in area 01 under the account assignment key IN95 (chart of accounts YAIN).
    Procedure
    Enter the account using the Customizing menu.
    Pls Reply frinds.
    regards,
    Riten patel

    Dear:
                   First check in OAYB that have AUC class been specified for down payments and then go to transaction AO90 and maintain the GL account for depreciation are 01 under the Balance Sheet account in the field Acquisition: Down Payment. It will resolve your issue.
    Regards

  • Down payments for Asset Under Construction

    Hi Experts,
    Urgent!
    My client paying advances to vendors, thru TC-F-48.
    Previously there is no PO requirement ,now asper client requirement I put  PO fild as requirement in posting key 29.
    1)There is no problem for payment to vendors -for Raw materials.
    2)while paying advance to vendors - for Asset Under Construction, system showing error.
    *Error is:
    Contact your system administrator (table error)
    Message no. AA866
    Diagnosis
    No account has been entered for posting down payments in area 01 under the account assignment key 4800 (chart of accounts FTL).
    Procedure
    Enter the account using the Customizing menu.
    Pls Reply frinds.
    Regards
    vinod

    Hi Vinod,
    I hope that you are following Valuated goods receipt concept.
    Valuated goods receipt: Asset will be debited at the time of goods receipt
    Non valuated good receipt: Asset will be debited at the time of invoice receipt
    If you follow valuated goods receipt concept, then at the time of making down payment, AUC should not be debited (whatever the value date/ capitalization date be). Please refer SAP note number 310368 (valuated goods receipt paragraph) for reference. In that they have clearly mentioned the steps to make down payment against asset under construction Purchase Order without debiting to AUC and without any error message. You have to make F5 378 message number from error message to warning message and in posting key 29 and 39, you have to supress the asset related fields. If you have done the above settings, then system will not show any error message to update G/L account in AO90 transaction code for the Acquisition: down payments and Down payment clearing - 2nd and 4th field or for AUC related fields.
    Hope this helps. Assign points if useful.
    Regards
    Dwarak.

  • Gl a/c for overpayment/under payment

    hi
    what is gl account for overpayment /under payment.
    it is expense or income a/c
    thank u
    shusma

    there is nothing like overpayment/underpayment ledger account.
    If any excess payment  made it should be treated as advance payment and underpayment as payable amount.
    Considering expense/income...This is purely depends on transaction type.
    Vijay

Maybe you are looking for