Lack of external function DAQ channel read

Hello

I did a few installers to share on the network variables, one is based at DAQmx readings of analog channels use modules of simulations and the second donkey receives variables shared these radings... I thought it was pretty good, because I have the main application (channels read and share variables) in my main PC (which has istalled LabVIEW 2012) and the other track in a regular PC (no software OR installed until my Installer Act) and it worked fine. However, I installed the main application in the regular PC and I got an error stating: lack of external function DAQmx read single sample DLB... I guess I should include in my Installer features on DAQmx but I Don t know which ones to avoid this error and be able to install my apps in any PC... Thanks I await your advice!

Well, I found the solution...

I've just included confiuration NI DAQmx MAX support to my app Installer and I solved the problem...

Tags: NI Hardware

Similar Questions

  • Error opening a VI (LabVIEW: unable to load dynamic library due to lack of external symbols or dependencies, or a format file not valid.) The file could not be loaded)

    Hi all!

    Yesterday, I worked all day in a VI and today, unfortunately, I'm frustrated when I tried to open it. Received the following error message:

    LABVIEW: Unable to load dynamic library due to lack of external symbols or dependencies, or a format file not valid. The "ENG633 v1.vi" file could not be loaded.

    This message repeats when I try else open a Subvi.

    Step by step:

    1. I created a copy of the LabVIEW VI example: "FuzzyEx Tanks with control of PI." I kept the copy in the same original directory.

    2 - I have edited the copy, created Subvi etc.

    3 - once I finished my course of programming I closed all the cut (ctrl-x) files and copied (ctrl v) into the other folder.

    4. then I tried to open the next day and... bug! I just couldn't do

    What can I do to open/recover the VI?

    I am using 32-bit LabVIEW 2016 in a Windows 10

    I tried opening them and got the same error you did, so I them opened with a hex editor to see if there was something in the file, and there is literally nothing other than the value of 0x00 for the entire file.

  • How to call external functions without one. DLL (just using a.) H and. LIB file)?

    Hi all

    in fact, I am facing difficulties on how to get an external function is called in CVI (Version 2009).

    I was delivered with a. H file and a. LIB file to call an external function of my project CVI. The. H file looks like this:

    void exportedFunction(double *parameter);
    

    As far as I know, the external function was written with MS Visual C++ 6.

    So, I tried to link statically to the al extern like this function:

    -Add the. H file and the. LIB file to the CVI project

    -#include the. Folder H when I needed to call the external function

    -do the external function call

    During construction I get unresolved CVI external function call error, so this seems not work.

    I did some research autour and stood up with two possible problems. Maybe one of you can help me get a bit further and do work things out.

    (1) of the code of the 'real' function inside the DLL file that was not delivered to me. Or y at - it a way to get concrete results (calling external functions) with just one. H and a. LIB file (with none. Included DLL file)?

    (2) the external function does not export according to the rules of Style 'C '. The signature of the function in the. H file shows some things don't like

    extern "C" __declspec(dllexport) void __stdcall ...
    

    Or maybe it's a combination of these two issues (missing. DLL + bad export style function)?

    I guess I could get around the incorrect service export style when I managed to write a wrapper around the original function that actually uses Style C exporters. But I guess I need to the. DLL file for this test as well.

    Thank you very much for your answers.

    Best regards

    Bernd

    There is no need for the stuff of dllexport. There is also the option of a static library without any DLL.  But the "extern"C"' is essential, because it forces the C++ compiler, which was probably used to compile the library to use the C calling convention.

    If you are unable to ask the library vendor to provide a version that was compiled using C calling convention is the way to write a wrapper with VC ++ 6 around this library that functions using C calling convertion reexports. Something like

    extern 'C' myfunc1 type0 (type1 arg1,...) {

    Back to func1 (arg1,...);

    }

    for each function, you must use.

    BTW. "unresolved symbol" is the error message from the linker, you can expect if you try to bind the C code against a generation of library with the C++ calling convention.

  • This.Play external function

    Hello

    I wonder how I can tell the main timeline to play an external function on the html wrapper?

    Thank you

    Rodrigo

    Store a reference to the timeline you want to order in a global variable. So put something like that in the first picture of the scenario:

    theTimelineIWantToControl = this;

  • Extend the functionality of Adobe Reader

    Hello


    I am working on a form that contains several menu drop-down lists the fields wrapped individually in hidden subforms that become available (visible), once their assigned boxes are enabled. After testing the form, everything works fine. However, the question that I am running is actually come to that after I Extend features in Adobe Reader. The issue has to do with the items in the drop-down list, in which I use a loop for my list of items
    very much in the same way as the form 'command' that comes with Adobe LiveCycle. The problem is that, before you extend the functionality of Adobe Reader, the drop-down list shows all my items displayed in my planned just like loop, however, once I have extend the functionality of player, all list items appear twice i.e. item1, item2, item3, then item1, item2, item3 again as if she 'Shadows' everything.

    When I noticed the issued in my form, I thought I had done something wrong, but after checking the double I confirmed that issued occurred on the file extended and not on the original file. So, I decided to test it on the 'Order' by 'Extension functions in Adobe Reader' form and and the same thing happened to the elements "ID." You can check it out for yourself!

    I'd appreciate any help you can give me for this problem.

    Thank you!!

    Hello

    If you look here, you will see that some events 'appear' to fire twice when the form is activated: event triggered twice

    I suspect that you have the script in an event like docReady or initialize.

    You can move the script to the preOpen the dropdown event. It just fires the user opens the drop-down list.

    Another possible solution would be to include the following line at the top of your script to stand for the drop-down list:

    this.clearItems();
    

    This would erase the list when the event triggers the second time in the active player form and then fill it up again once.

    Good luck

    Niall

  • Problem with the extension of the functionality of Adobe Reader

    I created a set of subforms, each subform has a table with repetition of lines through the Instance Manager. Each of the four tables is defined to "repeat the line for each data element" with a minimum number of "1".
    Everythings seems to work perfectly, both seen in preview mode LiveCycle and Adobe Acrobat. Each of the four tables has a line showing through the minimum number of "1".


    The problem arises when I extend the functionality of Adobe Reader.

    When the form is opened in Adobe Acrobat or Reader, rather than each table with a single line, the Summit table on the page has now four rows one the remaining paintings, three have a line. I have experimented with him and if I add another subform with a table, extend the functionality and save it, the upermost table with now have five rows showing. The number of lines showing appears to increase a each added table.

    I have attached two examples of forms, a front extended to Adobe Reader features and one after.

    I am really confused as to why this problem appears after features are extended for Adobe Reader.

    If someone could help me with this, I would appreciate it.

    Thank you!

    OK I found what is causing the problem. You must have a unique name for your fields in each table. I think that when it will add a new Table he confuses this field with that of the first table. This is a modified form with unique names and is no longer the problem. I had to modify your script on the tables to use the names of the objects of law as well.

    You should not do (I think it is a bug), and you open a support incident.

    Paul

  • DAQ write + read analog channels

    Hello

    I need urgent help to solve a simple problem:

    My job is to write an analogue channel to a data acquisition device, then read two analogue channels of the device.

    It must be made at the rate of 5 KHz.

    For the smaller rate I can do using normal loops (or timed loops). But I don't know how to make using the DAQ features.

    Please give me an example.

    I found something but I don't know if it can be used in this way (see attachment)

    Thank you!


  • DAQ Assist reading bad voltage

    Hello

    I use the DAQ Assistant VI to read a voltage analog input of a card of National Instruments PCI-6221. I read the AI0 pin voltage. I provide voltage directly on this pin of a continuous feed, but the measurement of voltage obtained from the DAQ Assistant is incorrect: it seems to be reduced by a factor of about 1/3. For example, if I have 4 volt power to pin AI0, DQA help bed 1.43 Volts. I used a multimeter to confirm that the voltage on the PIN AI0 is actually 4 Volts and I know that the problem is with my LabVIEW program and not my diet.

    Here are the steps that lead to my problem:

    1. in the block diagram, I insert a block DAQ Assistant.

    2. in the Properies of the DAQ Assistant, I select an analog input-> voltage

    3. select channel ai0

    4. I click "test" to test the channel

    5. the tension is indicated as being 1.43 Volts, although 4 Volts is provided to pin (this is confirmed by a multimeter).

    6. to ensureI click OK to complete the configuration of the DAQ Assistant. I run the program and draw blood. The graph also 1.43 Volts.

    Does anyone have an idea why this can be produced. I have spent a good 4 hours trying to diagnose this and haven't found anything.

    Thank you

    Alnaif adnane

    It's normal. Do a search for the topic "ghost".

  • Is a serious lack of export functions

    Could you tell me why you can't select a backup for the function of web as a jpeg, gif or png? If you want to than this app to take seriously using the name of photoshop and Adobe, then he has the ability to save used different file formats. People want the ability and features of photoshop on iPad, which is that this app is all this. But it lacks the main features, people expect during the creation of work. £6.99 is used on adobe inflated price. But people are willing to pay as long as they get the features they have come to expect from the name of photoshop. These come in future updates...?

    Or is this just a brilliant app which can create JPEG files?

    Markt109 wrote:

    Could you tell me why you can't select a backup for the function of web as a jpeg, gif or png? If you want to than this app to take seriously using the name of photoshop and Adobe, then he has the ability to save used different file formats. People want the ability and features of photoshop on iPad, which is that this app is all this. But it lacks the main features, people expect during the creation of work. £6.99 is used on adobe inflated price. But people are willing to pay as long as they get the features they have come to expect from the name of photoshop. These come in future updates...?

    Or is this just a brilliant app which can create JPEG files?

    ?

    A tactile model PS can be downloaded to the creative as cloud:

    PSDX (whose only Photoshop can read via a plug-in at this time)

    JPEG

    PNG

    PSD

    Saved locally ("Save to Camera Roll"):

    JPEG

    PNG

    Shared by e-mail:

    JPEG

    PNG

    PSD

    (Note that it is on Android; "I'm sure that iOS users have the same good options.)

    Is your complaint that it is not as intuitive (as the simple fact of having a dialog box "Save as")?

  • Problem call Matlab external function under Labview 7.1

    Hello

    I have the problem when I want to call my m.file function in the script Matlab under Labview 7.1, that labview does not seem to be able to find this external Matlab function. I searched this forum, someone talked about setting search path in the tool-> option-> Matlab search path, but it seems that it does not exist in the version 7.1.

    Is it possible to solve this problem in version 7.1 or update to the latest version, the only solution?

    Thank you

    Hello

    I think you're confusing the LabVIEW MathScript nodes and the MATLAB® script.  The MathScript node is introduced in LabVIEW 8.0 and the setting of path search that you speak to MathScript, reason why it does not exist in LabVIEW 7.1.  Look at the example of differential equation Lorenz for the MATLAB script node.  It shows how to set the path of research to be compared to the VI.  The example is found in the node of script examples\scriptnode\MATLAB - Lorenz Diff Eq.vi.

    MATLAB® is a registered trademark of The MathWorks, Inc.

    Grant M.
    Staff software engineer | LabVIEW Math & Signal Processing | National Instruments

  • problem by creating a virtual traditional NI-DAQ channel

    Hello friends,

    in fact I change computer daq to a machine, but for now I have problems when I try to create a virtual channel.

    I see the jury on the devices and interfaces but when I fill in the parameters of the analog track exactly in step giving the ports, and the channel of material not appear anything and when I finished the configuration in the virtual channel properties appears invalid configuration and there I can't select anything in the hardware channels.

    I don't know what is happening?

    I installed labview 2009 Windows 7 with MAX 5.0 and NI DAQ 9.4

    Please help me or ideas on the...

    Thank you...

    You change os or change at DAQmx. Traditional DAQ has been made obsolete when DAQmx was introduced with LabVIEW 7. If your card is one of the old cards that didn't is not supported by DAQmx, then Yes, you would also have to replace one if you stayed with windows 7.

  • Data channel read name DAQmx without installed DAQmx

    We have data files, including a header with the names of channels in the DAQmx channel name format.

    Now, we want to send a Labview application to our customer by which they can open these files and just seeing the names of channels in the form of text. Can we make such an application without requiring the customer to install DAQmx. We use Labview 7.1.1 and after installing the application, it asks for nivaiu.dll, nipalu.dll nipalut.dll and so on. Change the simple arrays of strings file header gives compatibility on old data problems.

    Concerning

    Dan Larsson

    Problem solved!

    Control of channel name DAQmx can serve as a binary file read model without installing DAQmx separately. I found a Subvi calling "DAQmx unflatten string. After the removal of this call everythings working.

    Sorry for all you mind!

    / Dan

  • Lack of external input clocked with USB 6008

    I'm a little confused on how to extract digital data without an external clock.  I guess that there is a way to do it, or this device would not do any digital input advertising, but I don't understand exactly how that would work.  Apparently, my only option is ' we demand. "

    I take data frames occurring about every 1 ms with a frequency of 950 kHz clock.  I have this completed with a more sophisticated Board using a clock from the data source.  We now want to translate this to the USB-6008, so we can use the 6008 OEM like a daughterboard for our data source.

    Avoiding him depends on the software you use, the pc, the os, etc. Whenever you want to do a reading of a line, you do a Read DAQmx. Absolutely no correlation with a time given because windows is not even close to deterministic. You may have readings in the low khz range.

  • NEITHER 9213 working with 9174 DAQ for reading of temperature

    Hello

    I use NI 9213 and DAQ-9174 to monitor the temperature. Without thermocouple wire connected, using NOR-DAQmx tasks, reading is 2.296334 K. When I use DAQmx Read (Analog DBL 1Chan 1Samp) .vi, reading is 1377.69.

    1. What is the good?

    2. why reading is not taken into account the room temperature which is around 26?

    3. do I need to do the calibration for NI9213 before using it?

    Thank you

    Ott

    Hi Ott,

    If you do not have a thermocouple attached to the 9213 module, the module just go read electric noises. This electrical noise has no physical relationship to the room temperature. When you do actually connect the thermocouple, be sure to configure the DAQmx task as a task of thermocouple to HAVE. Also be sure to select the correct thermocouple specifications (i.e. type of thermocouple).

    Here is a good article giving measures by thermocouple.

    Here is the acquisition of data getting started guide.

    Hope this helps,

    Chris G

  • Can LabWindows libraries call function inherited from read the Datalog file?

    We are currently updating some old software written in LabVIEW 6.0.3 to Java. One of the features of the original software is to create data files using the function "Write Datalog" and also remind these databases later using 'Read Datalog'.  To maintain backward compatibility with old data users, we want that new software to also be able to read and display the old datalogs.  I have read several posts here about how the only way to get data off datalogs uses the function 'Reading Datalog' of the same version of LabVIEW to write the paper in the first place. I have the original LabVIEW code so I don't know the structure of the data that has been written.

    I want to know if there is the same function in LabWindows libraries.  Specifically is there is no support for a 6.0.3% version of the function of reading Datalog to support interfacing with a call to java?

    To knock out a possible solution, this software is shared with clients.  We want to avoid the way of compiling an executable separated from LabVIEW to be distributed with the main Java software which batch processes all the old data files in reading them with the old function of LabVIEW and spitting out files in a new format.  We would prefer for the old files to be transparent open into the new software.

    WARNING: I use LabVIEW for dark days before the invention of the button cancel, but never touched LabWindows/CVI. Please enter slowly so I will understand

    Thank you all!

    I guess that is not a built-in library capable of reading files datalog LabVIEW simply because they do not have a fixed format... Even in LV, you will need to pass the data structure for the opening function in order to be able to read the data back.

    Searching the forum I found this discussion that can give you useful to begin with.

    Apparently, you need detect the beginning of the section of the data file after the initials "DTLG" and rest of the header (which is the part not documented). After this point, read the file should be simple if you know the data structure the program writer used. The data > storage section of LabVIEW help can give you information about the content of the memory of each type of data used.

    A simple test, I did write the clusters with a string and an integer shows that: 1. section of data begins at offset 0x22F; 2. the cluster is poured into the file preceded an int with the length of the string; 3. documents may have a variable length according to the length of the string; 4. There are no bytes of padding between elements of the cluster; 5. records are packed in the file consecutively.

    I did this test using LabVIEW2009: it is possible that older files of LV are structured differently.

    An alternative to this is to generate a DLL in LabVIEW that reads files datalog and passes their content to the appellant. Since you are experienced in LV, you are certainly more comfortable than me by doing this.

Maybe you are looking for