Im using a DLL and sometimes my Testexec is closed

I having problems with Teststand , i have a dll that create a socket connection to a server ,and i call that Dll using a code made with labwindows CVI 5.5 and sometimes all testexec and sequence is closed ,im attching the part of code
Attachments:
autosfdc.txt ‏8 KB

Hi,
Is the problem that you are seeing is that the Operator Interface and the Sequence Editor crash completely when running this code? If not, can you give a little bit more detail about what problems you are seeing?
If it is crashing, I would suggest stepping into your code with a breakpoint and identifying which part is causing the problem. Either way, it is highly unusual it is completely closing down on its own just by running this one step.
Best Regards,
Allen P.
National Instruments

Similar Messages

  • My MacBook Pro is running very slow when using the internet and sometimes gives the pinwheel of death, any suggestions on how to fix?

    My MacBook Pro is running very slow when using the internet and sometimes gives the pinwheel of death, any suggestions on how to fix?

    <http://www.thexlab.com/faqs/sbbod.html>

  • How do I use a dll and C++ code to create a labview driver

    I have a dll and some .net code to read temperature from a USB HID device I purchased from the website below. In addition some other people have posted their methods/codes of reading the temperatures. I am trying to convert this into a Labview VI but I am very lost.
    http://www.no-feature.com/2008/01/taking-advantage-of-your-temper-device.html
    It seems I can use the call function to see the functions in the DLL but I cannot use them to actually do anything. I have used serial communcation in labview before but never USB so I feel like I am in a little over my head and would really appreaciate some guidance. 

    This is not quite easy But to find out how try to reverse engineer this code http://pc8-termo.fis.ucm.es/~josechu/mitemper.zip
    Before starting on the job I would recommend doing some testing to see if the code work with your device. I can help if you promise to post the tested code here in this forum. It doable in Labview. It just requires some bit manipulation. Also the unit drive must be installed
    To establish a communication link with the device, the settings can be extracted from function SetupCommPort in MITEMPer.c, which are:
    9600bps, 8 bits, no parity bit and one stop bit with DTR and RTS enabled.
    To initialize the device, the function is init in functions.c. The sequence is:
    Calling the Start_IIC function, which in turn calls the SetDataLine and SetClockLine passing 1 as parameters for both, and then calling those two functions again with 0 as parameters.
    SetDataLine function sets the RTS line if the passed parameter is 1 or clears the RTS if the passed parameter is 0.
    Similarly, the SetClockLine function sets the DTR line if the passed parameter is 1 or clears the DTR line if the passed parameter is 0.
     In other words to to initializes the device, we first have to set the RTS, set the DTR, then clear RTS and clear DTR.
    So to some part that involves a technique that is often referred to as bit banging. There are 3 groups of 8 bits (one byte) that need to be transferred. Which are, first group 10011110, second group 00000001, third group 01100000.
    Then stop the IIC (look in the respective function on what have to be done here).
    Start the IIC again.
    Transfer another 3 groups of 8 bits.
    Stop the IIC.
    The sequence of transferring the group can be obtained from the function Transmit in functions.c:
    The transmission is done through the DTR and RTS line only. Not through the usual TX data line.
    If the data is 1 set the RTS or if the data is 0 clear the RTS.
    Then the tick (clock), set the DTR followed by clearing the DTR.
    Loop to the next data bit for 8 times.
    After 8 bits, set the RTS line and set the DTR line.
    Then read the CTS line for acknowledgement (inverted).
    Closed by clearing the DTR.
    You can follow the C code and find the necessary sequences and data that you need to talk to the device and obtained a reading.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Get a license for using craxdrt.dll and crpe.dll

    Hello,
    I posted a question about the difference between the .Net Runtime and Crystal Report print engines :
    Print in text mode to detect escape sequences
    The response was : the .Net Runtime print engine can't print in text mode and you're not licensed to use the craxdrt.dll.
    We need to print in text mode.
    So, is there a way to get a license for the use of craxdrt.dll and crpe.dll ?
    Or any suggestion ?

    Hello Philippe,
    The RDC COM components (craxdrt.dll is one part) were retired after CR XI R2 (v11.5). Unfortunately, you can't get a license for the CRAXDDRT.dll that is part of CR2008. The CRAXDDRT.dll is used for report previewing from with the Visual Studio IDE.
    The CRPE is the underlying engine, and there's no public API for making direct print engine calls.
    As for your underlying question - printing in "text mode" with the CR.NET SDK - I don't have any suggestions. Maybe others can respond to that on your original thread.
    Sincerely,
    Dan Kelleher

  • I'm useing lvwutil32.dll and am getting a "Error 10" (New I/O attempted with old I/O in progress), help :-(

    Like my question says, I'm trying to use a buntch of vi's I had gotten about 3 years ago. They work with windows and managing them, along with other standard PC events. I have no problem with the implementation of these vi's into any of my diagrams nor while running the application where my IDE is installed. However, when I try to compile it, I get the "Error 10 occurred at C:\Program File\...\user.lib\lvwutil32.dll". It states 2 possible causes: 1) LabVIEW: Duplicate path & 2) NI-488: New I/O attempted with old I/O in progress".

    It has to do with the way you have your build file constructed. The source and destination can't be the same because the application builder attempts to copy the dll into the build directory-which causes the error.
    To fix the problem, create a directory containing the dlls you will be using in the build. Specify the dlls in this directory as the source file. Next, after adding all the dlls to the project, click on the "Custom Destinations..." button and for each of the dlls you've added, specify the "Windows System Directory" as the destination WITH NO RELATIVE PATH.
    The build should now work...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Sometimes the text on a web page is distorted or looks like it overlays other text. Some web sites the text gets totally mis-aligned. The same sites are fine when I use IE. And sometimes, when typing ... the cursor goes awry.

    Text is overlaid on text to render the page unreadable. sometimes columns are totally misaligned.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)<br />
    See:
    * http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you have increased the minimum font size then try the default setting 'none' as a high value can cause issues like you described.
    * Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    * Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    See also [[Websites look wrong]]
    If you need to increase (or decrease) the font size on websites then look at the NoSquint or Default FullZoom Level extension.
    * Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • I am using Firefox 4.0 Beta 10. It doesn't start immediately after I click on the Firefox button located in my shortcut bar. And sometimes it even doesn't open. I don't know why it occurs, so please look into this matter. Thanks!

    Whenever I click on the button of Firefox 4.0 Beta 10 located in my shortcut bar. It opens after a very long time i.e. after 5-10 minutes after I get irritated and start using Safari. And sometimes it doesn't even open. Please look into this matter. :D
    Thanks

    Try disabling hardware acceleration in your Firefox settings and see if it helps:
    From the Firefox menu, go to '''Options''' and click the '''Advanced''' panel, then select the General tab. Clear the box in front of "Use hardware acceleration when available" so that it is unchecked, then restart Firefox. ([http://support.mozilla.com/media/uploads/gallery/images/2011-01-27-04-52-31-8c9d82.png screenshot]).
    Ref: <br>
    https://blog.mozilla.com/tglek/2010/12/21/rude-surprise-startup-overhead-of-windows-font-apis/

  • How to use Dlls and Header files in my java Code?

    Hi All,
    I want to make use of dll and header files of DataStage, from my Java Interface.
    i am buliding a product where i need to contact DataStage server from my Java Code alone, For this they provided dlls and header files
    Now i wan to make use of them and need to perform DataStage operations from my Java Interface.
    Can any on help out me regarding this?

    Try Java Platform SDK for native function calls without JNI writing code, like it done in .NET languages.
    For MS Windows:
    http://www.simtel.net/product.php[id]100916[SiteID]simtel.net
    For Linux/Unix:
    http://www.simtel.net/product.php[id]117719[SiteID]simtel.net

  • Ldapssl_client_init always returns -1 when using nsldapssl32v50.dll

    We have an iPlanet Directory Server v5.2 installed and SSL has been configured on it.
    When we call ldapssl_client_init(CERTDBPath, NULL) we always get a the return value as -1.
    We used nsldapssl32v30.dll and the corresponding lib and tried the same program and it worked perfectly fine.
    Now the question is why does this call fail when using the 5.0 version of the library.
    We have tried calls to ldapssl_client_init in the different ways like
    --> ldapssl_client_init("D:/Program Files/Sun/MPS/alias", NULL)
    with the cert7.db in this path. This failed
    --> ldapssl_client_init("D:/Program Files/Sun/MPS/alias/slapd-mydb-cert7.db", NULL)
    This also failed
    We need to use the v5 of the library bcoz the older versions are not compliant with LDAP v3 for referral support.
    Our current environment is Win2k Server SP4 and iPlanet Dir Server 5.2.
    Please help us sort out this issue.
    Thanks
    Raghu

    The function "ldapssl_client_init" returns -1, if I use LDAP SDK 6.0 binaries (source downloaded from http://wiki.mozilla.org/LDAP_C_SDK and compiled). It returns same error code i.e. -1, if we use precompiled binaries.
    But if I use the old LDAP 5.2 binaries, it works fine.
    Here is a sample code that I used to test ldapssl_client_init() on RHAS3.0:
    #include <ldap.h>
    #include <ldap_ssl.h>
    #include <stdio.h>
    /* Initialize client, using mozilla's certificate database */
    int main(void) {
    /* "/home/infwaer/test/" is the folder that contains cert7.db and key3.db*/
    if(ldapssl_client_init( "/home/infwaer/test/", NULL ) < 0) {
    printf( "Failed to initialize SSL client...\n" );
    return( 1 );
    else
    printf( "Initialized SSL client...\n" );
    I used the following command to compile it with 5.2 binaries, and was able to successfully call the function ldapssl_client_init:
    gcc ldapclient.c -I/home/infwaer/nsldap/5.2/RHAS3.0/include
    -L/home/infwaer/saurabh_review/lib -lldap50 -lnspr4 -lplds4 -lplc4 -lsoftokn3 -lnss3 -lssl3 -lprldap50 -lssldap50 -ldigestmd5 -lsasl
    But when I compiled it using 6.0 binaries using the same command:
    gcc ldapclient.c -I/home/infwaer/nsldap/6.0/RHAS3.0/include
    -L/home/infwaer/saurabh_review/lib -lldap60 -lnspr4 -lplds4 -lplc4 -lsoftokn3 -lnss3 -lssl3 -lprldap60 -lssldap60 -ldigestmd5 -lsasl
    It gave the error "failed to initialize" (as written in the code !)
    Please help me out; n let me know if it is a known issue with LDAP SDK 6.0. Or we need to do some special settings for version 6.0 to work properly.
    Thanks & Regards,
    Saurabh

  • Problem in using AcroPDF.dll in vb6 application

    I have an vb6 application and i want to display a PDF file in a form. I have used AcroPDF.dll and works fine on developmeny system.
    But when i install application on client's system i get error "Out of memory" when i try to open the form with PDF control.
    can anyone help me with this.
    Thanks

    Try asking this question in the Acrobat SDK forum.

  • Open in  PDFVIEWER using adobe.dll using c#

    I have a PDF i want PDF to be open in  PDFVIEWER using adobe.dll. and highlight,annotation the text in same PDF using c#. Can any of them please me suggest me steps . or how it can be done uisng c# .

    no it is not  related to illustrator. i want to create an GUI to display PDF and highlight text or edit text based on code . so i thought i wil use Plugin . i may be wrong. please suggest me how can i do .

  • How to use 'SBOAddonReg.dll'

    Hi,Everyone.
    I want to use 'SBOAddonReg.dll' and to delete registry.
    Is it possible although development environment is 'VB.NET2003'?
    Thanks for help.

    Hi Barend.
    Do you think that it is right to use the following coding instead of using 'SBOAddonReg.dll'?
    Dim regkey As Microsoft.Win32.RegistryKey = _
        Microsoft.Win32.Registry.LocalMachine.OpenSubKey( _
            "Software\SAP\SAP Manage\AddOns\TEST", True)
    regkey.DeleteSubKey("TEST01", False)
    regkey.Close()
    Although this coding should just be carrying out the same motion as
    'UnRegisterAddOn' of 'SBOAddonReg.dll' ...

  • HT1277 i am using Microsoft outlook and i keep getting asked to rebuild why do i keep getting this i also keep losing the emails i am saving.

    i am using microsoft outlook and sometimes i keep getting asked to rebuild and i lose my emails why is this.

    Please post Outlook related questions on Microsoft's own forums for their Mac softawre as Apple Communities only provide support for Apple products:
    http://www.officeformac.com/productforums/

  • 32bit native dll and 64bit jdk

    is it possible to use 32bit native dll with 64bit jdk5 and 64bit win2003?
    i am trying to use mlib_jai.dll and i think i copied it ot the right place, still i get message that it isn't available. my only gues is that it is related to 32/64 bit isuses, as mlib_jai.dll is comppiled with 32bit compiler. it works on 32bit windows and jdk1.4.
    any ideas?
    dario

    Hi,
    Yes you can run your 32 and 64-bit applications side by side. You will need to install both the 32 and 64-bit oracle client as well as the required data access driver for each application in separate oracle homes. The only gotcha is if these applications are running as a hosted applications within IIS, you will need to be sure you are on a version of IIS that allows you to configure separate application pools for 32 and 64-bit worker processes. i.e IIS 7.0. IIS 6.0 allows you to configure worker processes for 32-bit on x64, but it has to be one or the other. You cannot use both at the same time. See the following: http://support.microsoft.com/kb/894435. If you are running IIS 7 then you can configure separate application pools for the 32 and 64-bit apps. If you are running IIS 7 then its easy to configure the application pool for your 32-bit hosted app to enable 32-bit support by setting a property of the app pool.
    HTH
    Jenny

  • Get "Creation Script" of the existing table ( in SQL database) using C# and without using SMO dlls

    Hi All,
    I need to get the "Creation Script" of the existing table using c# and without using SMO dlls (is it possible? I don't know).
    I.e. In SQL Management Studio -> right click on any table -> Script table as -> Create To  - > open in the new query editor window. This will give you the schema of the table with the constraints of the table.
    For E.g. In Northwind database, for the table "Categories", I would like to get it as show below
    USE [Northwind]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[Categories](
        [CategoryID] [int] IDENTITY(1,1) NOT NULL,
        [CategoryName] [nvarchar](15) NOT NULL,
        [Description] [ntext] NULL,
        [Picture] [image] NULL,
     CONSTRAINT [PK_Categories] PRIMARY KEY CLUSTERED
        [CategoryID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    I would like to get the same schema using c#. Please help.
    Thanks & Regards,
    Kalai.

    SMO is the easiest way to get this. This is what Management Studio uses. If you can't use SMO, get a Profiler trace of the queries that SMO executes when generating the script and execute the same using ADO.NET.
    Regards,
    Farooq Mahmud
    Support Escalation Engineer 
    •  Microsoft Health Solutions Group

Maybe you are looking for

  • How much lifespan should I expect from MBA 2013?

    Never been into Macs before, but finally going with one. My laptops usually lasted me 2-3 years. How much would a standard macbook air last? and what if I add 8GB Ram ( not money issue, but rather that I might not find it available where I live.) Use

  • Having some major issues with track numbers in the newest iTunes

    I just recently went out and bought some new albums today for my birthday which was over the weekend and I ripped them to my computer, but when I go to put them into iTunes their track numbers are wrong. So as normal I went to change them, but found

  • [SOLVED] Proxy settings don't work

    Hi there I hope I don't bother you with a topic that already came up that way. While I was installing Arch Linux I had to use the proxy of our company, which worked for me. After the installation I noticed that I had to reenter the command "export ht

  • Is there a way to selectively download from your Itunes library?

    I have a 4G and download tunes + podcasts - 3G memory consumed. Now I bought a 2G and want to use it just for podcasts. Can you do this and from the same computer? Thanks - p

  • Concerned with security....

    Hello Everyone, I am not sure exactly where to post this.  I have unfortunately been through the wringer the past few weeks.  I believe someone or something (program/malware) gained access to my computers and possibly my lan.  I have never had proble