Denver Instrument TP-12 Balance with VISA in LV 2013

Hello!
I am having some issues with a Denver Instrument TP-12 analytical balance.
I have set up the balance and made sure that all the VISA settings match in LabVIEW.
I do manage to read accurate weight from the balance, and the read buffer works correctly, but every 30 seconds or so the read buffer gets filled with gibberish (random non-numeric characters) and so the numeric data (after converting from String to Numeric) is read as 0.
I contacted Denver Instrument (now Sartorius) and was told that the problem probably lies in LV.
Attached is the VI that I am using as well as screenshots of the read buffer when it reads the gibberish.
Any advice as to why I am having these weird reading and what I can do to either prevent them or a method to have the numeric data ignore the spikes in the reading would be GREAT!
Thanks-in-advance,
 4Strings
Solved!
Go to Solution.
Attachments:
Example.vi ‏27 KB
Capture.JPG ‏11 KB
Capture2.JPG ‏10 KB

Hi,
In order to know if LabVIEW is the culprit of this behavior, it might be very helpful to use this architecture :
and tell us if you see the same behavior.
Regards,
Mathieu_T
Certified LabVIEW Developer
Certified TestStand Developer
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;}
LabVIEW Tour
Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014
Attachments:
Other_Architecture.vi ‏32 KB

Similar Messages

  • I want to connect a balance with a PC.

    I want to connect a balance with a PC.
    I search a free soft to capture the data on the rs232 port.
    thank
    * Remove the ~ me to contact *
    * Go to F.W.I with Media Evasion. *
    * http://www.multimania.com/vdelorme *
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    The manufacturer of the balance is a pretty important bit of information
    to know here. It could well turn out that there is driver software (a
    software programming interface written specifically to make
    communicating with the balance easy) available in LabVIEW or some other
    programming language.
    At the least, you could probably find out the list of commands that the
    balance supports on the manufacturer's Web site and then write your own
    serial I/O code in LabVIEW to interact with it.
    Regards,
    John Lum
    National Instruments
    > I want to connect a balance with a PC.
    >I search a free soft to capture the data on the rs232 port.
    >thank

  • Working with VISA resources in Labview 6

    I am having difficulties programming through VISA in Labview 6.0.2. I have installed MAX 3.2, and have configured my two devices going through USB:
    1) an Agilent 82357A USBtoGPIB adapter connected with an Agilent 53131A Universal Counter
    2) a USBtoRS422 converter registered as serial COM4 connected with a Rainin Peristaltic pump
    I can open communication with both devices from within MAX, and send/receive data with no problem.
    When I try to program in Labview 6, I cannot communicate with either VISA device, even though I am using VISA instrument IO vi's with the configured VISA resource name from MAX. I'm not sure what I'm doing wrong.
    Is there an incompatability between MAX 3.2 and Labview 6.0.2, or have I configured something wrong?
    Thank you for the assistance.

    Hello,
    I think we can defeat the problem with Device 1 fairly quickly. If you have established that you can communicate with the device in MAX, I think we simply have a small programmatic change to make in LabVIEW. I am interested in having you attempt using the VI I have attached, which allows you to specify the bytes you would like to send in an array, and then simply sends the corresponding the string of ascii characters (the characters corresponding to the values in the array); this way we can be sure to send exactly what we would like. The following link has an ascii table in it, which you can use as a reference when putting the values into the array: (where the first byte specified will be the first character in the string)
    http://www.ni.com/pdf/manuals/371253a.pdf
    Simply change the VISA resource name to reflect your device and give it a try.
    As for Device 2, let's try using the same VI (attached) and write a command which the device is known to understand. A simply query would be approprite, where you can write using the attached VI, and then read using another VI which literally only has a VISA Read function in it (and a resource control or constant connected with your resource specified).
    One thing to verify before reposting is whether the devices you have use EOS (end of string) and/or EOI (end or identify) termination of GPIB operations. For EOS, a character is sought by the listener to indicate the end of a transmitted string, such as a linefeed or carriage return (or both). EOI termination is defined by the talker asserting the EOI line when the last byte to be transmitted is sent; the listener knows it has received the last byte of that transmission.
    Definitely repost; it is likely that we are only few programmatic changes and perhaps a spec check (for the devices) away from dependable communication
    Thank you,
    JLS
    Best,
    JLS
    Sixclear
    Attachments:
    WriteByteArray.vi ‏14 KB

  • Accessing Parallel Port Control and Status Registers with VISA and Win7x64

    Hello all,
    I've posted this in the I/O forum for VISA, but this main forum seems to get a lot more traffic so I'm posting here too.
    Wondering if anyone has a solution for accessing the Control and Status registers on a parallel port with VISA, now that Win7 has locked down the I/O ports and In Port.vi and Out Port.vi don't work anymore.  I've been looking all over for a solution and haven't found anything that will help; either the VISA solution is shown but doesn't mention if the Status and Control registers are accessible, or the solution is for a 32 bit system.
    The one thing I found was under Instrument I/O>VISA>VISA Advanced, there is a group of functions called Register Access; but, when I investigate that, it seems to need an address that the detailed help describes as "VXI, VME, and GPIB-VXI" or "PXI" with no mention of Parallel Port usage, so I'm pretty much at the end of what I can figure out.
    Basically what I need to do is use the data lines to send info, and watch the status lines for incoming discrete signals.  Since parallel ports are half duplex, I can't have the data lines be both inputs and outputs simultaneously, which is what I need.  A cheap D I/O card would be the easiest solution, but to make a long story short I'm dealing with a legacy system and that's something my higher-ups want to avoid.
    Any help is greatly appreciated!

    Hello,
    I was able to solve this problem using software from Entech Taiwan; it's called TVicPort and it's available for free for personal use, and very cheaply for commercial license.  If you have questions let me know, I'll do my best to answer them but investigate Entech's solution and see if it'll work for you:
    http://www.entechtaiwan.com/
    http://www.entechtaiwan.com/dev/port/index.shtm

  • GPIB reads/writes compared with VISA reads/writes

    Hello all,
    Being slightly new to LV (3 months of casual use, and 1 month of really getting to know it)...
    I was just wonder what the difference between VISA reads/writes and GPIB reads/writes.
    Actually this is my main question: Is the GPIB Write "data" parameter and the VISA Write "write buffer" parameter the exact same thing?
    Would I write the exact same command with either parameter and get essentially the same effect (if all parameters are correct?).
    I have a list of GPIB commands that I want to use to write drivers for  a PSA, and I really want to use VISA, and not have to change my paradigm of thinking.
    I would hope they are quite similar.  In fact, my research is telling me that GPIB is almost like a subset of VISA?
    Thanks for your help.

    The data you write with the GPIB functions is identical to the data you write with VISA. There are some things that are a bit easier to use the traditional GPIB calls but for 99+% of the time, VISA will do the trick. VISA was originally conceived as a common api for GPIB and VXI instruments. The first VXI instruments were basically the same GPIB instruments without a power supply and the user interface (buttons, screen, etc.) but they required different drivers. VISA permitted a single driver to be used for both types of instruments. Now, VISA has expanded to include serial, Ethernet, USB, and PXI and not having to change your "paradigm of thinking" is one of the big reasons that VISA is so widely used.

  • Problem on WinXP / Labview 6.1 with VISA (serial port)

    There is a problem on WinXP / Labview 6.1 with VISA which i use to poll the state lines of the serial port. The only functions that i use are "VISA Open", "Find Resource", line state properties and "VISA close".
    On my own machine (WinME) it works fine as a standalone application (with runtime engine in the same direction), even if i rename the Labview directory so that Labview is not found.
    From my VXIpnp directory i deleted all but these files:
    directory "Win95",
    subdirectory "Bin" containing "NiViAsrl.dll",
    subdirectory "NIvisa" containing "visaconf.dll".
    When shipping this to WinXP (and copying "VXIpnp" to the root directory), the serial port was not found, so i renamed the direction "Win95" to "
    WinNT", but this did not work also.
    I installed the VISA server, although it seems not to be required -- no result.
    Final question:
    What must i do for distributing the program as a standalone application for all windows platforms?

    Hey Joachim,
    In order to create an installer that includes the VISA Run-time engine for serial IO you will have to purchase LabVIEW 7.x. See screen shot. This packages a small compact version of the run-time that can only be used for serial, but it takes up much less space. The installer that I created has my application, the LV Run-time, and the VISA run-time and it is about 26 MB.
    That is much smaller than if I had to include the 32 MB LV 7.1 run-time and the 14 MB VISA run-time separately. It would have been even smaller if I would have uncheck some of the items that I wasn't using.
    -Josh
    Attachments:
    advanced.JPG ‏31 KB

  • Runtime error - FBL1N - vendor balance with customer line item

    Hi gurus,
    One scenario where i have assign vendor as customer & customer as vendor in vendor & customer data. also make tick mark for both clearing with vendor & customer.
    when i see the customer report with vendor item it shows me the customer & vendor dues but when i tried to see the vendor balance with customer line item it gives dump error.
    Runtime Errors         PERFORM_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_FORM
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FORM', was
         not caught in
        procedure "%_LDB_CALLBACK" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The program "RSDBRUNT" is meant to execute an external PERFORM,
        namely the routine "CB_DDF_GET_KNA1 " of the program "RFITEMAP ", but
        this routine does not exist.
        This may be due to any of the following reasons:
        1. One of the programs "RSDBRUNT" or "RFITEMAP " is currently being developed.
        The name "CB_DDF_GET_KNA1 " of the called routine may be incorrect, or
        the routine "CB_DDF_GET_KNA1 " is not yet implemented in the program "RFITEMAP
        2. If the program SAPMSSY1 is involved in the runtime error, one of
        the function modules called via RFC is not flagged as remote-capable.
        (see Transaction SE37  Goto -> Administration -> RFC flag)
        3. There is an inconsistency in the system. The versions of the
        programs "RSDBRUNT" and "RFITEMAP " do not match.
    Warm regards,
    Dhananjay R.

    Hi martin
    still problem was not solved. actually i am working on ECC 6.0 & not required to implement the sap note on development. i had done the configuration in vendor master & customer master for clearing.
    please suggest me.....what to do ?
    Than'x
    Dhananjay R

  • LVDiff with VIs in library

    Hi, 
    I've successfully setup both LVDiff and LVMerge with TortoiseSVN and I'm using it heavily, but I get an error from LVDiff if the VI belongs to a library:
     Error 1004 occurred at Open VI Reference in NI_procmphier.lvlib:CMP compare two VIs.vi->lvdiff.viPossible reason(s):  LabVIEW:  The VI is not in memory.
    To load a VI into memory with the Open VI Reference function, a path must be wired for the VI Path input.
    VI Name: TMCalc_Qp.vi
    Has anyone changed LVdiff so that it works with VIs in library?

    I just had the same problem, strange that no one has seen it before...
    The correction is committed in the project's repository since 2 years, but the download archive contains an older version.
    You can download the right version from this link. Just replace the vi in the lvdiff directory!
    Charles

  • MHDDK with Visa: event when DMA transfer complete?

    We are using devices like PXIe-6363, PCIe-6321 depending on requirements and these are dealt with using the MHDDK with Visa backend on Windows (I hope that is the correct terminology).
    All I/O, both analog and digital simultaneously, is done using DMA transfers using the standard MHDDK classes for doing so. This all works without problems.
    One last improvement is I'd like to be notified using a callback/event system when a new block of data is ready: currently I'm just polling the input DMA's available number of bytes in a continuous loop with no sleep() in order to be able to process data as soon as it's ready. Works, but keeps one cpu busy the whole time.
    I didn't see any way to use callbacks using the MHDDK which makes sense since it's purely based on register I/O if I understand it correctly.
    However I noticed Visa has viInstallHandler, viEnableEvent and the likes. I went through some documentation on the event types but admit this is over my head and I have no idea where to start.
    Could anyone point me in the right direction?
    First question is if what I'm asking for is possible? Second I think I just have to call viInstallHandler for the correct event type, then figure out if the event is for an input DMA transfer from PXI? Using viGetAttribute somehow?
    Thanks in advance!

    You'll have better luck posting to the ddk board - http://forums.ni.com/t5/Driver-Development-Kit-DDK/bd-p/90

  • CF 10 Load-Balancing with Remote Instances

    I was reading an article on Clustering/LB/HA using CF8, but have not found any updates for CF10.
    Using VM VirtualBox to setup a few virtual servers, I am looking to setup a load balancing of ColdFusion 10 on 2 remote instances. The goal would be have ColdFusion Cluster Manager be able to point http request to one of the two servers based on load/availability. Not really having a hardware cluster/failover setup, just managing resources on two CF instances instead of a standalone.
    The servers are Windows Server 2008 R2 with IIS7.5 and ColdFusion 10 Enterprise on installed on 3 of these machines. Let's call them CF-LBManager, CF-Web1, and CF-Web 2. In the CF Docs, they show the Cluster Manager adding the local CF instance and "if you want" a remote instance. However, this scenario would require the main instance to be running and not fail for it to direct to the other instance.
    I am trying to set this up now with CF-LBManager as just a manager of the requests coming in. In the Enterprise Manager >> Instance Manager, the local instance is shown and I add the two remote instances with the correct Remote Port, JVM Route, etc. I also made sure the <Cluster>...</Cluster> block was added to the two remote instances (CF-Web1 and CF-Web2) \runtime\conf\server.xml file too, Jetty Services also is running. Now under the Enterprise Manager >> Cluster Manager I add the two remote instances to the cluster, not the local instance on CF-LBManager with Multicast Port and Sticky Sessions enabled. On Submit, I get a green message "You must restart all the server instances and any configured webservers for these changes to take effect.". I go ahead and reboot the servers and come back.
    I now browse to the ColdFusion page as a test on CF-Web1 and CF-Web2 to make sure CF is running properly, they do. I then browse the IP of the CF-LBManager, however it only returns the local IIS web site and not redirect to one of the two cluster members. I am not seeing any message on the coldfusion-out.log on the remote instances. Am I not setting this up correctly or not enabling the Cluster Manager to take over and pass along the requests to those in the cluster?

    Unfortunatley I don't have a lot of experience with CF10 on Windows, but if you are running CF behind IIS I think  you will need to update the Tomcat connector configuraiton to do load balancing. I'm not sure if re-running the wsconfig tool on all of the servers will do this or not, but that is what I would suggest trying first. If that doesn't work you will need to update the Tomcat connector configuraiton manually. You can find more information on load balancing with the Tomcat connector here: http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html.

  • FBL1N error - vendor balance with customer item

    Hi gurus,
    One scenario where i have assign vendor as customer & customer as vendor in vendor & customer data. also make tick mark for both clearing with vendor & customer.
    when i see the customer report with vendor item it shows me the customer & vendor dues but when i tried to see the vendor balance with customer line item it gives dump error.
    Runtime Errors         PERFORM_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_FORM
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FORM', was
         not caught in
        procedure "%_LDB_CALLBACK" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The program "RSDBRUNT" is meant to execute an external PERFORM,
        namely the routine "CB_DDF_GET_KNA1 " of the program "RFITEMAP ", but
        this routine does not exist.
        This may be due to any of the following reasons:
        1. One of the programs "RSDBRUNT" or "RFITEMAP " is currently being developed.
        The name "CB_DDF_GET_KNA1 " of the called routine may be incorrect, or
        the routine "CB_DDF_GET_KNA1 " is not yet implemented in the program "RFITEMAP
        2. If the program SAPMSSY1 is involved in the runtime error, one of
        the function modules called via RFC is not flagged as remote-capable.
        (see Transaction SE37  Goto -> Administration -> RFC flag)
        3. There is an inconsistency in the system. The versions of the
        programs "RSDBRUNT" and "RFITEMAP " do not match.
    Warm regards,
    Dhananjay R.

    Hi Dhananjay,
    Pls show the error/ dump to the ABAPer
    Regards,
    Kiran

  • Rec.acc balance with vendor wise

    Hi all,
    one rec. acc using for many vendors
    how i can get the report
    one rec acc balance with vendor wise.
    thanks!!
    lakshmi,

    Hi Lakshmi
    you can take this report with the help of ZFBL1N- mention the details and here you can give your recon account towards GL Account. mention the vendor code in the range- genearate report. this will give exactly the same as you are in need.
    Regards
    Shridhar

  • The option 'Display Credit Balance with negative sign" was not activated.

    I've encountered with a huge problem after load opening balance.
    I forgot to tick the  option 'Display Credit Balance with negative sign"
    It makes my client's Chart of Account  uncommon such as credit balance in Cash Account, AR .....
    However, I've search the sap  note to solve it  as follow:
      Description of the bug::     
    When creating the company in the system the option 'Display Credit Balance with negative sign' was not activated.
    Once transactions were created in the system the functionality can not be changed.
    Limits of the query:     
    After running the update query, please restart SBO first and then   run the restore 'GL account and bp balances';
    otherwise, the cashed value of SBO will not be updated and restore function may not take effect.
    1. Meaning of  restart SBO => restart SBO Service Manager right?
    2. Please help me please to find "The restore G/L account and bp balances" form.  Where is it?;
    Thank you

    Hi,
    I would think that you are following the PEQ instructions for note 970813, correct?
    If this is the case and you are using 2007 then you will find the restorev in the top menu; Help -> Support Desk -> Restore. You will find the functions here. Please note that this should only be used on direct instruction from support or a note like in this case. A backup should also be taken before running restore.
    Regards,
    Jesper

  • Play sound in specified duration and desired file when reading data with VISA functions ?

    Hi.
    I read data with VISA read function and then I use functions like multiple for showing data on Chart. every thing is OK.
    now I want play a specified sound (like a 3s song in my desired folder) when signal amplitude cross over from specified value. then after desired time, it will be wait for new cross over from specified value and this procedure repeat again until I stop the program. 
    Data comes from MCU and it doesn't stop when system play sound and when system play sound, incoming data for this part (play sound) will be ignore them until specified expired.
    I use this VI for reading data and mentioned part which is sound part is empty and I don't know what I must done ?
    altougth I use another while loop for sound apart because I want save CPU time.
    Thanks.
    Solved!
    Go to Solution.

    I would recommend making the data type of the notifier a cluster that contains a path and a numeric (double).  The path tells the player which file to play.  The numeric is the duration.
    Now for a slightly complicated, but really neat, way to stop your second loop.  Do not use a second notifier.  Instead, send the normal notification but use Not A Path for the path in the cluster.  Your second loop can do a check for the Not A Path and stop when that is recieved.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Recon with G/L account balance with vendor Balance

    Hi,
    There is difference in vendor balance with G/L account balance. How to do Reconcilation,
    let me know the steps/precess.
    Thanks in Advance

    Start of by comparing all the documents in the gl recon account to the documents from the ap list (for the same period).
    They should match. Put them in a spreadsheet and do look ups. Lots of fun ahead.
    pts appreciated.

Maybe you are looking for

  • How to make the cursor global if it has parameters that would be passed through calling environment

    What I am trying to do is: 1. Pass two dates "p_start_date" and "p_end_date" to a procedure "calc_percnt". Based on these two dates the procedure creates a collection that has ticket info between the date range provided. 2. Iterate through this colle

  • IPod recognized as camera

    Yesterday I upgraded my iTunes to the latest version [10.1 I think]. Now every time I plug in my iPod Touch 2nd gen., a yellow window at the bottom right of my screen says "Found New Hardware: Apple Mobile Device USB Driver" and then another window c

  • Release not possible

    dear expertrs today we create one pr, that pr is not possible to to release the message is come as below Purchase Requisition cannot be Released. but we choose material group, purchase group, plant, document type, everything is properly even though a

  • My ipod got wiped clean when trying to connect with our new computer

    After installing Itunes on our new computer and the trying to move my Library to the new file, my ipod was wiped clean of all music and because my original computer with the library on its hard drive was destroyed I now have nothing...how could this

  • Questions on Install [install and makeselectable]

    Hi! I have uploaded a load file to my card. The AID of the package is A0 00 00 00 62 03 01 0C 01. The AID of the applet is A0 00 00 00 62 03 01 0C 01 01. Then I tried to install the application and make it selectable. The application AID I used is A0