Delphi

Hello

I connect to a scope TDS 2002 b under Windows 7 (x 64) via USB using a combination of NIVISA (for support of 64-bit drivers) and TekVISA (for the ActiveX control I need using Delphi 7).

All I want to do is dump the data of a graphic waveform (as in the TekVISA (ActiveX) Delphi example) which works very well.

Under Delphi XE/XE2 TekVISA ActiveX control fails (on a single line of code Pascal) when importing which is a shame that the project will have to be developed using Delphi 7.

I know that Delphi is not officially supported, but if another Delphi user had this problem when you try to use the TekVISA control in new versions of Delphi.

The control looks pretty old (from the date of the OCX file and the command button graphics!), there might be something I have to live with, unless there is a more recent version, that I don't know.

Control of the assets of NIVISA also has the CW3D graph. I can't seem to find the ActiveX control that uses the CWGraph (version not 3D). Still, I expect to the latest version of NIVISA passed.

Best regards

Richard

Hi Richard,

Welcome to the National Instruments forums!

I recommend contact Tektronix or Delphi support and post this question on their forums, as you might get better answers in assessing compatibility TekVISA and Delphi.

Tektronix: http://www.tek.com/

Delphi: http://www.embarcadero.com/products/delphi

NI-VISA is a set of drivers that are used for communication with instruments and contains no graphic CW controls. These controls are part of the CWGraph ActiveX MeasurmentStudio controls.

I found a few resources to do with the CWgraphing that may be useful:

http://zone.NI.com/DevZone/CDA/EPD/p/ID/5402

http://digital.NI.com/public.nsf/allkb/FBDD8265C99866CA86256F770072A017?OpenDocument

http://digital.NI.com/public.nsf/allkb/5E205D2D81C37A5086256FEE006CB378?OpenDocument

I hope this information helps. Feel free to post if you have any other questions or need to better understand the problem.

Kind regards

Tags: NI Hardware

Similar Questions

  • HP DELPHI D40: computer laptop delphi d40 BIOS

    Hello, where can I download the bios laptop delphi d40? Thank you.

    I'm afraid, I can't find your model in the HP support site and I'm not familiar with 'DELPHI D40'. What appears in the Google search on DELPHI D40 is very unclear results.

    Could you provide details on your model - could you post the complete model name and product number > > http://h30434.www3.hp.com/t5/Miscellaneous-Topics-Read-Only/Advice-for-asking-the-quot-Very-Best-Question-quot/td-p/83280

    Another option if you are using WIndows is to visit http://support.hp.com with Internet Explorer > section downloads and drivers and the system will provide you with an option to detect the pattern. It will offer you then the possibilities for including the BIOS downloads.

    You can also try to download updates for the HP computer, including updates to the BIOS/UEFI with HP Support Assistant.  Here's how to use HPSA:

    > > https://www.youtube.com/watch?v=rzLspKRGoSY

    > > http://support.hp.com/us-en/document/c03467905

    Try the other option to update the existing in the existing BIOS/UEFI BIOS:

    > > http://support.hp.com/us-en/document/c00042629#AbT1

    I would like to know if it works.

  • NI-CAN for NOR-XNET delphi application migration

    I want to migrate a NI-CAN for NOR-XNET application. My application running on a NOR-PCI-CAN Series 2 and I need work on an NI PXI-8512.

    I develop with delphi.
    I followed the tutorial 'NI-CAN NOR-XNET Applications migration': http://www.ni.com/white-paper/9717/en/
    I can see the map to the MAX as explain in the tutorial.

    I realized a small application that displays the data. This application works well with my first card, but did not work with the new.

    It draws in the NI-CAN, I use: ncConfig, ncWaitForState, ncOpenObject and ncRead.

    I want that my request of NI-CAN work on my new card without touching the source code. Is this possible?

    This tutorial is only for LabVIEW. I think you need to edit your source to use the new card.

  • LabView 2011 Application launched as COM server via the Application Delphi lance is more if installed under 64 bit, Win 7

    I have a 32-bit LabView Application written using LabView 2011, that installs and registers as a COM Active X server.  I then used the resulting type library with a 32-bit Delphi Application to launch and communicate with the LabVIEW application (Boolean change States and collect data etc.).

    All this worked fine on Windows 7 32 - bit OS but not on Windows 7 64 - bit OS.

    The LabView application seems to work on its own, The Delphi launch application will not launch it?

    I used mmc comexp.msc 32 to set up the COM server to run as servers with launch of site privileges.

    Hi Luke,.

    Thanks a lot for your answer.  I have just managed on the basis of track down the problem almost at the same time, your answer came through.

    My Delphi application is also a COM server, allowing me to start it remotely from another system.  What I forgot, it was that the remote system makes the connection to the LabView Application otherwise the local application of Delphi just is there and does nothing.  I did it it as a work-around a few years ago because I could not the remote application of Delphi to launch the labview application or attaches to it as a running instance directly.

    Thanks again

  • How to transfer data from a DLL Delphi pascal class to a LabView data cluster?

    Hi all

    I have the following problem:

    I use a dll written in Delphi Pascal to transfer data to LabView by using the "Call library function node".

    My Delphi dll contains this class:

    TFlash = class
    Fi: TFileInfo;
    constructor Create;
    procedure LoadFi (Filedir_and_nametring);
    end;

    TFileInfo = record
    IDX:smallint;
    IdxLstSpl:array [0.4] of longint;
    Ms: Word;
    [0.4] SP:array of the word;
    end;

    I created the record datastructure of TFileInfo in a cluster of LabView to have the 'same' variable.

    My plan was to call a DLL Deplhi function with the "call library function node" and pass the address of the folder TFileInfo, so the data would be transmitted to the cluster of LabView.

    When I do a simple delphi dll function as this works because I only spend a small integer to Labview (without reference to the data structure):

    ...

    var data: TFlash;

    ...

    function GetNrOfRows(FilePath:_string):integer; STDCALL;
    Start
    Data: = tflash. Create;
    Data.LoadFi (FilePath); This function returns the number of lines in the selected file.
    Result: = Data.Fi.Idx;
    end;

    When I try to use this procedure instead of the above function, in order to pass the address of the data set structure complex 'Data' (TFileInfo), I am unable to get the information of 'Data' in my Labview cluster:

    procedure LoadFileInfo (FilePath: string;) DataPointer: Pointer); STDCALL;
    Start
    Data: = tflash. Create;
    Data.LoadFi (FilePath);
    DataPointer:=@Data;
    end;

    Parameters of call library function node:

    -stdcall (WINAPI)

    -Run in the UI Thread

    -Function prototype: void LoadFileInfo (PStr FilePath, void * DataPointer);

    * DataPointer--> Type: "adapt the type" and the format of the data: "pointers to the sleeves.

    * FilePath--> Type: 'string', format of the string: "pascal string pointer.

    I'm struggeling with this problem for almost a week now and I can't really find a solution on the forum or google.

    I also read the following posts:

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=229930&requireLogin=false

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=77947&requireLogin=false

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=51245&requireLogin=false

    (or did I miss something in these messages?)

    Hope my explanation is clear.

    THX

    A little further:

    Seems like it's not possible to pass data from Delphi to Labview through a DLL when I create a cluster with 2 bays in it in Labview.

    This part of Delphi, I've had to make in Labview:

    TFileInfo = record
    IDX:smallint; {integer; Convert tool}
    IdxLstSpl:array [0.4] of longint;
    Ms: Word;
    [0.4] SP:array of the word;
    end;

    Instead of using 1 cluster with all the different data in it, I did a unit (1) with my 2 items (smallint and word).

    To pass my data in my tables from delphi to labview, I created another group (2) in the unit (1) with 5 elements of longint (because my delphi is going to 0.4) and another group (3) in the unit (1) with 5 Word elements.

    Right-click on the unit (1) and the clusterorder in the right order. First the smallint, then the longint table, then the word and the Word table.

    When I then use this code in my dll Delphi, IT WORKS! :

    procedure LoadFileInfo (FilePath: string;) DataPointer: PtrTFileInfo); STDCALL;
    Start
    Data: = tflash. Create;
    Data.LoadFi (Copy (FilePath, 2, length (FilePath)-1));         --> I need to cut the first part of the pascal string because it's length, and I only need the string itself
    DataPointer ^: = Data .fi;       --> pass the record structure to the cluster of Labview
    end;

    Thanks for the info Ralf!

  • Possible to use Delphi strings?

    I know that LabView can, when calling external libraries, use Pascal string pointers. However, is those who are limited, possible to call an external library using a Delphi string?

    FYI: a Pascal string uses a byte to its length, a Delphi string uses 4 bytes. Since I use Delphi to the implementation of the DLL, using strings Delphi would be much simpler to use C strings.


  • Delphi D40

    I searched the site of HP for my Delphi D40.

    I can't find a single thing for this laptop.

    He's found nothing all the time.

    I wanted to know if the wifi module can be replaced? Maybe with a double band?

    Y at - it a product page for this laptop?

    Jürgen cordially

    You can get your pc support page and I'll show you a page how and when you get to this page, and you need to do this in IE (internet Explorer) and on this page you click on start and go from there and it will prompt you to install scanning software and update this page and it will detect your pc and you can find on this model and all that and you can go to such a page of specification product or software that you can download... Here is the link http://www8.hp.com/us/en/support-drivers.html

  • Problem importing JvueAX.ocx in Delphi XE2

    Hello

    I can import the activeX and install it in a Delphi package, however when I try to set the control imported on a form I get and the "external Exception." Generate subsequent attempts to add it

    "ClassFactory cannot supply requested class". I did a search on this message, and most results indicate a problem with the installation of an activeX or a little version control question. I think that the installed version is

    32-bit.

    How can I test the JvueAX.ocx file is properly installed, is there an easy way to do this?

    Anyone have any suggestions on how to solve the problem?

    We desperately need to get this working.  Already, we have an (old) application working with an older version and did not expect the new version to be a problem.

    The version of AutoVue we use is 20.2.2 (I think that the most recent). I installed it using ISDK and DesktopDeployment installers.  I have installed the Java runtine and tested it too.

    I tried to save the jvueax.ocx using regsvr32 and it does not work, I don't know if this is the problem or not.

    I know that Delphi is not in the list of supported languages, but Delphi almost always works perfectly with imported activeX controls.  Y at - it patches or updates available that might help.  Ocx version we have is 20.2.2.8633.

    Thank you

    Rob

    Hello

    FYI, the resolution of that question was this...

    1. Open your autovue.properties file (located in ""\bin "").
    2. Find the line that starts with 'autovue.cmdline '.
    3. Change '-Xmx512m ' to '-Xmx256m '.
    4. Save the changes and test again.

    This is supposed to be a fix for Windows XP, but I am using Windows 7 and it resolved the problem for me

    See you soon

    Rob

  • Update 11.0.07 causes crash on Delphi applications ActiveX

    In the 11.0.07 version acropdf.dll behaviour change there. An exception occurs when the application calls the method "SetClientSite' of the dll. I don't know if there is a relationship, the dll is now call for 'GetContainer' method Delphi applications.

    We have a system of office used by thousands of businesses, which allows you to view the pdf in our application. With the automatic update this new version we have several phone calls and duty install older versions on thousands of stations.

    Is there something I can do? I appreciate all help.

    solution for users of Delphi.

    Copy oleCtrls.pas to oleCtrlsAdobe.pas.

    then remove to TOleControl:

    -IServiceProvider
    -function QueryService (...): HResult; STDCALL;
    -function TOleControl.QueryService (.): HResult;

    the definition is as follows:

    TOleControl = class (order Twin, IUnknown, IOleClientSite,
    IOleControlSite, IOleInPlaceSite, IOleInPlaceFrame, IDispatch.
    IPropertyNotifySink, ISimpleFrameSite)

    then replace in the OleCtrls of AcroPDFLib_TLB.pas of OleCtrlsAdobe unit.

  • CS3 and Delphi: Place pdf in indesign

    Hello

    I'm developing a script with Deplhi that automates the creation of documents.

    I would like to be able to place pdf documents in an InDesign document. I adapted a script I found in this thread: http://forums.adobe.com/message/3013174

    I didn't define the types appropriate for variables, because Delphi does not not typed variables. There was a line in particular that I had to change completely:

    myPDFPage = myPage.place(File(myPDFFile), [0,0])[0];

    The nervous parameter must be an array of double, and missing parameters should be defined. Finally, the following worked:

    var
      APoint:      array of double;

    begin
      ...
      SetLength(APoint, 2);
      APoint[0] := 0;
      APoint[1] := 0;
      myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false);
      ...

    Original, the result of the function of the place is assigned to the myPDFPagevariable in the script, and I have problems to get this assignment work. Often uses TypeLib by as olevariants and we must understand ourselves what types are permitted and must be used, and what kind of actors.

    In the original script follows this code:

    myFirstPage = myPDFPage.pdfAttributes.pageNumber;

    Only interfaces in the type library that have a property called pdfAttributes are PDF and ImportedPage. But none of these types of work if I set pdfAttributes of this type. I'm not sure if that place seems to return a table only adds additional problems. Most of the time, TypeLib tables are based at index 1, not zero.

    But I tried

    var
      APoint:      array of double;
      myPDFPage:   PDF;
    begin
      ...
     
    myPDFPage := PDF(myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false)[0]);
      ...

    and

    var
      APoint:      array of double;
      myPDFPage:   ImportedPage;
    begin
      ...
     
    myPDFPage := ImportedPage(myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false)[0]);
      ...

    and even with the array index to 1 instead of 0 and without a clue. But none of this should be compiled without error.

    Justifications know how this command line must be or what type of myPDFPage ?

    And more generally: how could determine the types possibla of a parameter, variable, or return type which is an OleVariant in the type library?

    I found a few InDesign CS3 scripts specific documents PDF here: http://www.adobe.com/products/indesign/scripting/, but no reference full of functions and types.

    Best regards

    Christian Kirchhoff

    Hi Christian

    I don't know if anyone else uses Delphi on this forum.

    But here is what I get JS - we will perform a simple test:

    var doc = app.activeDocument;
    var myPDFFile = new File("~/Desktop/Sample.pdf");
    var page = doc.pages[0];
    app.pdfPlacePreferences.pageNumber = 1;
    var a1 = page.place(myPDFFile, [0,0]);
    var a2 = a1[0];
    

    A1 returns an array of objects PDF, but declare you it as doubles. AFAIK, it is always an array of single item since you cannot place more than one page pdf at a time.
    A2.constructor.name;
    Result: array

    A2 returns the class PDF object
    A2.constructor.name;
    Result: PDF

    Kasyan

  • Re-use of SDC - 1vc on pc

    recently bought a pump of SDC - 1vc Delphi of an old g5, I have had the pump power for use on a pc and stream is pleasant and there really quiet calm but I have no tach output, I tried to change the wires round but nothing. Everyone wired one of them with a tachometer/RPM out of work.

    This RPM wire only work on a mac. I've seen images where resistance is welded over the tachometer and fed 5V to operate, don't want to try it incase I FRY my pump.

    Thanks in advance

    Given the specialty of your request and the technologies involved you can

    need to study a specialized research and hope to find detailed options.

    https://DuckDuckGo.com/?q=Delphi + SDC - 1vc + pump + of + PPC + G5& t = ffsb & AI = videos

    PPC G5 is not exactly a Mac Pro, so most of the visitors in this area only

    necessarily relate to the PowerMac G5 water cooled Tower. But some may.

    {Looking around, I noticed your request in the forum 'overclockers UK'.}

    Technical issues such as this can find some answers in CSA but goes

    before, so probably not. Maybe someone can review this, if it is placed in a

    provides that the area where visitors are familiar with the technologies.

    Maybe a users turn PowerMac G5 can affect your application.

    And a host may - or may not - relocating your question here.

    In any case...

    Good luck & happy computing!

  • Thermal Quad 2.5 paste reapplying.

    Hi all

    I have to admit that I went out and bought a refurb MacPro and rigged up until I dared to try this with my BFF 2.5 PowerMac quad. I have a:

    Long Sleeve T 4 mm ball hex.

    Ball hex T long sleeve 3mm.

    CERAMIC Arctic silver,

    92% alcohol,

    cloth wipes,

    ESD pad,

    Braid and earthing strap

    a magnetizer:

    and girded my loins because I finally.

    The issue I had was my CPU has worked at 20 ° C higher than CPUB idling. I had to cut my power in half so he can operate without KP/s or just too much noise from the fan.

    I have to report the success at least partially. My cpu that now is good idling at 39-40 ° C my CPU B, however, who had run to 39 c now idling at 47-48 (grrr)

    Fans are still too strong, but with the computer running all 4/s CPu to 100% for hours, my time higher on a CPU was perhaps 65 c

    I hope this money claim Arctic it may takes days of the run time to the correct position will be granted and bring down this cpu B to reduce time to loads of minor work. The higher temperature problem I solved and the most used A CPU is nice and chill already. If CPU B is not online in a month, I will not hesitate to fire again and again B CPU only because it is much easier that I had feared. If you are quiet, the work does not take more than an hour.

    Firstly, my computer has the LCS double pump (no Delphi).

    One: follow the steps for the removal of the screws of LCS or loosen (many will remain on and not fall off if you leave just a tiny bit of wire engaged).

    Two: pull the LCS directly outwards.

    Three: simply delete everything that the screw look like they hold the heat sink copper (if you remove each screw, as you can see, then you did it right).

    Four: Remove the two screws at each end of the cpu card.

    Five: Pull the heatsink and the cpu card up on the side of the LCS

    6: Return the jury (note the pins that you do not overwrite handling) and see the dry dough on the small of CPU.

    Seven: clean old dough dried off the coast of the matrix with alcohol or a special liquid of Arctic Silver.

    Eight: Clean the copper shim of the LCS Similarly

    New: Remove dust on the circuit board with a wipe of alcohol if you can't stand too much questioning dusty) but know you may brush your PIN if you're not careful.

    Ten: Search your CPU on the ARCTICS Silver system Web site and follow their instructions exactly (is where I messed up then I think since I have used a credit card for "Tin" the copper LCS hold I do not use a specific model and the amount on the face of the matrix). Having just made this addition GHZ 2 x 3.43 six main my new MacPro Xeon... Grrrrr... I have no excuse).

    11: replace the CPU card by sliding it in its task of so that the heat sink is just right. (since you do one at a time, you have a model just next door).   Tighten all the screws. I went around as if I had to change a tire).

    12: Repeat all the steps above for the other CPU card.

    Then, replace the lCS by following the manual of maintenance again (after a one). The power cable that passes under "LCC" spirit. I'm scared me silly when the LCS abandoned too fast for my taste on the spacers of guide. I had to have a friend to support a bit on this cable and when its support was gone: down, went to the LCS.  Gently swinging it from one side to the other several times. Finally, replace or tighten all the screws in the exact order shown in the manual.

    Renumber to replace the battery, that I would have been listed as a first step. I have not and it started but my reved fans and I thought that I didn't.

    This brings me to my question. I hope BD Aqua reads this, but anyone feel free to jump in. Given that my fans were reving too fast when I started with the battery, I decided to make sure that my ASD boot disk worked and 2.6.3... it didn't.

    It turns out that Darling 2.6.3 was simply a cruelly classified 2.5.2 and, therefore, did not work.

    Can someone give search terms that will make me a real copy?

    Phew.   Never mind. I searched my other Raid array and found the real thing. I tested it and it starts but I will not try to calibrate it to less than one month or a daily driving. BTW, the hypnotist, I noticed was really get your heads long keys T super super attractive to screw who would otherwise sink and fall into the areas of power supply and laugh at me.

  • By default not listed as alternative external protocol handler

    In Windows, I recorded my own Manager for an external Protocol in the registry. When I click on the link in Firefox or Thunderbird, I show the dialog box "launch the Application' in which I should choose an application for the management of the Protocol, but the program that I saved as default handler is not listed as an alternative, that is the only entry in the list is"choose Application ".

    Comments:

    • I'm never shown a message indicating that the Protocol is unknown, that is, the registry entry is
    • The links work as expected in Internet Explorer.
    • If I sign up to the application to another of my programs I get an entry in the dialog for some programs, but not for others. I found no difference in programs that would make them appear or not. The icons are never displayed in the dialog box, although defined in the protocols registry settings.
    • If I put an illegal program path in the registry, I get an entry in the dialog box.
    • The same problem occurs regardless of the protocol identifier that I choose
    • The behavior is the same no matter if the Protocol is registered under HKEY_CLASSES_ROOT or HKEY_CURRENT_USER\Software\Classes
    • If I change "Network.protocol - handler.warn - external-default" in subject: config false my program is successfully launched when you click on the link
    • Running on Windows 7 Starter Edition, but the same thing happens on other versions of Windows 7 and Windows Vista 64-bit

    I found the cause of the problem. It was caused by the applications version information in my case. My applications are created with Delphi 2010.

    If I create a small test project and do not check the project "Information to include in the draft version" option, the application will appear in the dialog box (in fact the arguments and the path of the applications appear as defined in the registry).

    If I check the project "Information to include in the draft version" option the application appears only in the drop-down list if I put the text in the FileDescription field.

    I think Firefox should always show the application regardless of version information. If missing the FileDescription Firefox should failover using the software "productName" or the path of the applications.

  • Special features of SSD W100

    Yesterday, I bought a w100. I like it.

    I'm programming Delphi / Visual C++ / Python + Qt...

    Tomorrow I'll start programming.

    Is there a development kit for the peculiarities of the w100 (two screens, new icons on windows, tools of toshiba...)?

    I want to program a keyboard that sits on two screens (with full width).

    (Are there code examples?) Are there features of the toshiba virtual keyboards?)

    Unfortunately, I wasn't able to find these additional details or information on Kits SDK or developer for the Libretto W100

    Maybe you should look in the forums especially for programmers or developers for more information. But it s Windows 7 OS so I think that you will get information on the pages of developer Microsoft Win 7.

  • Satellite U400-10 oC (may be not only) perform GDI32 "SetPixel" incorrectly

    Gdi32 procedure 'SetPixel (hDC, X, Y, Color)' changes only the pixels with some values of X:

    So odd (X div 256) then pixel will not change properly, otherwise properly (0.255, 512.767,--, 256.511, 768.1023,--not properly)

    For example, under Delphi/Lazarus code must draw this line without interruption horizontal red line on the form, but on my Toshiba Satellite U400-10 ºC, consist of several parts (depends on the width of the window):

    procedure TForm1.FormPaint(Sender: TObject);
    var
    i: whole;
    Start
    for i: = 0 to width-1 start
    [[I, 10]] Canvas.Pixels: = $FF;
    end;
    end;

    I have Mobile Intel 965 Express Chipset Family Driver 7.14.10.1329 (later).

    Thanks for the link!

Maybe you are looking for

  • 4 GB OF RAM - UPGRADE.

    Hello! I have a MacBook Pro (15 inch, mid-2012), 2.3 Ghz, intel Core i7. How much RAM can I put in? I want to update my 16 GB RAM. On the other hand, I have a 500 GB SATA Hard Drive (Toshiba). This hard drive do you recommend me to install? Thank you

  • The new hardware wizard finds

    I have a Western Digital external backup drive. I get the wizard Found new hardware message whenever I start the system. The salesman says this means that the operating system does not have drivers for my device on the record, they made a correct ins

  • Calibri fonts mysteriously disappeared!

    I had problems with the sites that have as their default font calibri fonts. Especially my outlook account (but also of craigslist and other). I don't see the content that is found in this policy. At present, the only way I can read my e-mail message

  • iPhone does not display PDFs from email

    I have send an email every night with the customer will be charged attached as a PFD.People with the Iphone can not read the attachment or can read only a part of the PDF file.

  • What are the elements and ARE NOT able to go 100% width?

    I don't understand why sometimes it will save me items 100% and others it won't.  I'm doing something wrong?  Thank you!!