Error-200088 on TaskHandle issues, NI PCIe-6259

Hi all, I'm working on obtaining a force/torque sensor to work in a custom application to Qt, but I keep running into the same error with the function

DAQmxCreateAIVoltageChan (taskHandle, daqPhysicalChannel.c_str (), 0, DAQmx_Val_Cfg_Default, - maxVoltage, maxVoltage, DAQmx_Val_Volts, "")

which always returns an error of-200088 type: DAQmxErrorInvalidTask.

I tried the return values for TaskHandle being generated by the DAQmxCreateTask, and every time the program ran there would be another value generated for TaskHandle, from 793410048 to 1387431424, with no rhyme or reason, from my point of view inbetween.

I tried to hardcode the values of the TaskHandle for the library, still the same error.

Someone knows something like that before?

I know that the F/T sensor works normally as I can run it using the supplied software and read the values of it in this way. I am building the Visual Studio 2012 library and run the program in Windows 8 in addition, and very similar code works on another computer in his laboratory on VS 2010 in Windows 7.

To anyone interested,.

I managed to solve the problem last week on F/T sensor, it was a question about the version of the software. the program runs in 32-bit Windows, but not 64-bit Windows.

It was on Windows 8, which is said by the way the 64-bit version has functioned well on Windows 7 on another machine. If you run this issue I would recommend recompile your libraries in 32 bits, and if this does not work in what concerns another version of Windwos. Curiously, the National Instruments software for playback of the F/T Probe works perfectly, so there was probably some questions on the code on my end.

Good luck!

Tags: NI Software

Similar Questions

  • DAQmx Base 3.2 on Ubuntu for PCIe 6259

    I'm trying to install the package DAQmx Base 3.2 for card PCIe-6259 on Ubuntu with kernel 2.6.27 - 14-generic. I followed the suggestions of other messages to convert the *.deb packages software packages, install these and rpm install the original rpm on top packages. All this worked fine, and I can update the driver with updateNIDrivers, which prints the message as shown below. But when I try lsdaq, I get the error (as also reported by many others):

    --------------------------------

    Detect of National Instruments DAQ devices

    Find the following materials:

    libnipalu.so, failed to initialize

    Maybe you need to run updateNIDrivers

    / usr/local/bin/lsdaq: line 7: 25859 Aborted/etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices

    --------------------------------

    As a note, I have NOT more than 4 GB of memory installed, and I use the mem = 4096M option at boot of the kernel.

    The logs show:

    Apr 24 00:25:43 xenomai daqmxbase_listdevices: [libnipalu.so.2.3] WARNING: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: cannot open nipalk, errno: 2

    Apr 24 00:25:43 xenomai daqmxbase_listdevices: [libnipalu.so.2.3] WARNING: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernel: failure! status =-50204

    Apr 24 00:25:43 xenomai daqmxbase_listdevices: [libnipalu.so.2.3] WARNING: source/package/posix/ulibEntry.cpp:199 - initialize: unable to load OR-PAL. status =-50204

    For example, libnipalu.so does not load because of problems with nipalk. I added the niSystemReport output in this file.

    How could I continue debugging this issue? Any help would be greatly appreciated!

    -Stefan

    Print updateNIDrivers:

    ------------------------------------

    Configuration for linux kernel version 2.6.27 - 14-generic.

    ********************************* NOTE *********************************

    With the help of the kernel headers found in lib/modules/2.6.27-14-generic/build.

    If this does not match the location of the headers-2.6.27 - 14-generic,.

    Then set KERNELHEADERS in your environment to point to the location

    headers for the kernel to set KERNELTARGET as the version of the

    kernel for which compile and run him again. / configure.

    ********************************* NOTE *********************************

    A-team reparent_to_init(): no

    Number of arguments for do_munmap(): 3

    pte_offset function: pte_offset_kernel()

    Levels in the table on page: 4

    A-team remap_pfn_range: Yes

    Name altsetting USB: cur_altsetting

    A-team usb_get_intf(): Yes

    A-team intf_cache usb_host_config Member: Yes

    A-team members in usb_device ep: Yes

    Export kernel usb_set_configuration(): no

    USB_CTRL_GET_TIMEOUT units: msec

    A-team member owner in usb_driver: no

    A-team put_page_testzero(): Yes

    Kernel mutex method: Yes

    A-team kthread: Yes

    A-team config.h: no

    A-team ioctl32.h: no

    IRQ managers pt_regs: no

    A-team work_struct and delayed_work: Yes

    Core supports the fault method in vm_operations_struct: Yes

    Save the configuration to Makefile.in

    If the recorded values are incorrect, they can be changed before running make.

    Uninstalling OR KAL (nation): fact

    / bin/rm - rf Insertion objects

    Update OR-KAL:

    KAL-NOR up-to-date.

    Update of client modules:

    / usr/local/natinst/nation/SRC

    Updated NiViPciK.ko to date.

    / usr/local/natinst/nation/SRC

    Updated NiViPxiK.ko to date.

    Restart is necessary to ensure that National Instruments drivers

    have been updated.

    After a while of research and trying, I finally found a solution:

    (1) install Ubuntu 9.04

    (2) downgrade to kernel 2.6.24.2 source at http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.2.tar.bz2

    3.2 Basic 3) get NIDAQMX and NIVISA 4.5, convert RPM to deb with alien package, install the deb package, install RPMS on top (make sure that Ubuntu does not use the shell of dashboard (dpkg - reconfigure dash))

    (4) missing patch of symbolic links for additional modules such as in/usr/local/natinst/nation/etc/clientkdb, you will find:

    NICORE/nidimk - unversioned.o-> /usr/local/natinst/.nicore/src/objects/nidimk-unversioned.o

    NICORE/niorbk - unversioned.o-> /usr/local/natinst/.nicore/src/objects/niorbk-unversioned.o

    nipple/nipalk - unversioned.o-> /usr/local/natinst/nipal/src/objects/nipalk-unversioned.o

    nipxi/nipxirmk - unversioned.o-> /usr/local/natinst/nipxi/src/objects/nipxirmk-unversioned.o

    vxipnp/NiViPciK - unversioned.o-> /usr/local/vxipnp/src/objects/NiViPciK-unversioned.o

    (5) then the updateNIDrivers should compile fine and lsdaq works

    (6) as an aside, I could even patching this kernel with xenomai http://download.gna.org/xenomai/stable/xenomai-2.4.2.tar.bz2 , and the driver OR still works.

    A few minor corrections may be needed in this procedure to solve the problems of compiling because of the gcc - 4.3.3, but all errors may be google and trivially fixed by minimal changes in the makefiles or C-files.

  • increase the counter timebase pcie 6259

    Hello

    Im trying to perform 2 two edge measures 2 TTL signals separation using pcie 6259. I get an error msg 200140 ' 2 active edges consecutive input signals occurred without an edge timebase counter. " Use a faster counter time base. Ive tried to change the basis of counter time through the DAQmx channel nodes but my card is limited to a mx of 80 Mhz.

    Are there ways around that?

    concerning

    Don

    Hi the polar bear,

    Ive tried steve's idea to generate the PWM and it feeds my ctr and it works fine. If the problem was with my coupled signal with voltage comparator... you think you genius!

    Thanks heaps for your help.

    Don

  • Tiara dac combined with the NI PCIe-6259 does not send the data

    Hello

    I have a card OR PCIe-6259 & DIAdem 11.2.0 (version 2010) on a windows 7 PC.

    Inputs outputs & analog analog + digital are configured in MAX 9.8.0f0. (Global virtual channels)

    When I run a dac, entered analog works perfectly.

    Outputs analog and digital does not work. Only one of the four analog outputs give the value that has been send.

    In the past, I had the same problems with this version of DIAdem in combination with a third party USB card, but this has been resolved by the new firmware & software drivers.

    Someone who has had similar problems?

    Thank you.

    After trying many things, I finally found the solution.

    In the output ==> pilot ==> options pilot "weighting the digital bus" must be verified.

  • What is this on my PCI DAQ connector? (PCI 6259, M-Series)

    I'm building a new rig which includes a PCI-6259, am confused by this connector:

    What this is, and which mates with it? This is the place where I expect the power connector PCI-E to the power of the system, or the 'hard drive connector"that the M series is supposed to have. But this has about four times as many pins I guess than to have. It is not schematized or mentioned in any job I can find online.

    Yes, version PCIe card has the supply and on the back of the card connector.  The PCI version does not work.  I think it's because PCIe is a lot of current as long as PCI, so the extra power is needed.

    Both versions have if the RTSI connector.

  • My PCIe-6259 will work in a different PCI slot?

    I have a DAQ PCIe-6259 case in an old computer that experienced a motherboard failure.  I'm looking at building a new computer, but I wonder if I have to get a motherboard that has a dedicated x 1 PCIe slot, or if I can put my PCIe-6259 in a different PCI slot?  I would also welcome the recommendations of the computer/motherboard.

    Your knowledge would be greatly appreciated.

    Thank you!

    It must be a home PCI Express (PCI, not), but it doesn't have to be a PCIe x 1 location; Peripheral PCIe work in PCIe connectors longer, they don't just use the additional lanes.

  • Error 200088 using the DAQmx reading VI in a case structure

    Main problem: I'm writing a VI that will read data from a data acquisition and write to a text file when I hit a button "registration". To do this, I use the VI of reading DAQmx in a while loop, which is located in a case statement (I hit the 'Save' button for the case of true), which is in another while loop. My DAQmx create Virtual channels screws are outside of the loop, so a wire goes through three structures to connect these screws to the VI DAQmx Read.

    After clicking on 'Save', my VI works until I hit the "Stop" button, how I get error 200088: ' specified is not valid or does not exist. " If anyone can help me get rid of this error, that would be greatly appreciated!

    I enclose my VI and an image of the error.

    Secondary problem: currently, I use two different DAQmx read live: one mentioned above, which lays down: after clicking 'Save' and the other who reads data continuously to display on maps. I want to combine these two, but I don't know if this is possible given the case statement.

    Thank you!

    Hi Alexwright,

    I made some quick changes to demonstrate the producer consumer loop that would be effective in your case. You want to loop of producer in the first while loop so that you use and the same closing DAQmx task. Moving a forwardthis will require some trial and effective change for your application. Please also make sure you use our debugging tools: http://www.ni.com/gettingstarted/labviewbasics/debug.htm.

    I hope this helps.

  • Card PCI-6259 is compatible with the Dell Precision 390?

    Hi all

    I need help in answering this question.  I want to buy a better computer for my data PCI-6259 acquisition card.  I tried to search to see if the card is compatible with the PC and there's previous numbers with this set-up before other users.  Do you have a link to the list of the DAQ cards with tested PC configurations?  I want to just make sure that when I buy the computer, everything will work without problem because I only have one shot at this.

    Thanks to all in advance.

    Kind regards

    justdomechanicalengineering

    Hello

    We do not have a link to specific DAQ board/PC pairings, but the specifications for the Dell Precision 360 indicate that she has three ports PCI 5V which must be compatible with your PCI-6259.

    Best,

    Dan Nelson

    Technical sales engineer

  • Bad drift with USB-6259 devices and acquisition of data PCI-6259

    We have both a USB-6259 and PCI-6259 installed on a single computer, linked to a SBC-68, with Matlab and Toolbox of data Acquisiution.

    For the purposes of test base, I wrote a script that generates a sinusoidal signal output based MATLAB, for a single DAC output.  I wired this single DAC output to two channels of ADC of entry.  For each sample output DAC, the script also takes a sample entry of ADC on each channel.

    --> Ideally, if everything works correctly, after you run the script, I see two channels of input ADC vector.  Tracing of each channel should give me a nice sine wave in Matlab.

    --> When I made trace data, here's what I get (see attachment).

    -->, I looked at the DAC output with an oscilloscope, and the DC offset is very close to 0 (this indicates to me that the part of output DAC works very well).

    Why is there this negative DC drift on two entries?

    Forgive my lack of knowledge - I know the difference between the DIFF and CSR connections, but I don't know where is the 'setting' for DIFF/CSR (what is a button/switch on the USB-6259 case?  Is it a software control in the code?)

  • A single device showing on MAX for PCI-6259

    Hello

    I'm having a problem seeing all the channels available in a card PCI-6259. In MAX, the card is correctly classified NI PCI-6259, however in the tree view of the devices only one device is indicated 'Dev1' - where is "Dev0?

    Two devices used to be, but we gave up and I don't know why.

    I tried to reconnect the cables from the Commission on the two connector blocks has BNC-2090, or tried to reinstall the card of the Manager of Windows devices & MAX, but only 'Dev1' appears after you have reinstalled.

    Any ideas?

    Thank you

    Simone

    Peripheral will appear as a single device in "Devices and Interfaces" little matter how many connectors they have. (it's a device to the driver OR as it appears as a Windows device) The second connector simply implies that, when you run a program or a test Panel, you can now select more channels in the drop down menu to have and ao. You should be able to address all the channels of the AO in the same test Panel.

    Germano-

  • If I use a few channels on PCI-6259 to increase the sampling rate, channels numbers can I be contiguous?

    We are looking to buy a card PCI-6259 usable on a Linux machine. We would use NIDAQmx to access the card. If we were to use only a few channels to increase the sampling rate, do I need to select specific channels?

    For example, the card is 1 MHz. If I select the channel 1 and channel 2, I can taste each channel at 500 KHz. could I choose 8 channel and channel 13 and still be able to sample each channel to 500KHz? Or need of specific channels to use when a subset of channels are selected?

    Thank you

    -Tom

    Thanks for the quick response.

    -Tom

  • Measurement of temperature using Iex thermistor with PCI-6259

    Hi all

    I have I encounter some difficulties to measure the temperature using MAX with the installation of the thermistor Iex and would like to know if I missed something important. I use external current thermistor excited with 2 ladders and card PCI-6259 with MAX.

    This is a channel that was originally set to measure voltage and MAX approx. 900mV since this channel, OK, the voltage converted temperature is about 30 ° C. Then I added a new channel and configured to measure the temperature directly with default installation MAX Iex thermistor. This is so the problem appears: I'll get a constant-273 C instead of 30 C as expected by operating the canal in MAX. I must have done something wrong here.

    Your help is greatly appreciated!

    Bryan

    We discovered that the problem came from our wiring to thermistor does NOT of installation. If Differencial has been used, the conversion of MAX worked well. If this is not the case, only directly blood pressure will work.  Bryan

  • Using a Mac OSX updated 10.9.5, to update to the latest update of Lightroom, now get error - Lightroom met permission issues. Click on fix - cannot fix. You click on read more and I tried all the solutions. Always error. Uninstalled and reinstalled - alwa

    Using a Mac OSX updated 10.9.5, to update to the latest update of Lightroom, now get error - Lightroom met permission issues. Click on fix - cannot fix. You click on read more and I tried all the solutions. Always error. Uninstalled and reinstalled - always error.  Cannot set up a new admin on Gov't computer user. Help

    Please make sure that you gave permission for the folders listed in the article, follow these steps.

    1 - give read and write permissions for the Application Support folder and preferably on User Library and the secret library.

    2 - Add user and admin both permissions.

    When you open the Get Info option for specific folder.

    Make sure you click on '+' symbol, it will open the list of user accounts. Add currently logged in user account and Director of user account, if it is not added.

    Both must have read and write to prevent access these some questions in the future.

    Important:

    Once you added as currently logged on user account and administrator user accounts and provided access for reading and writing.

    Make sure you click on the gear icon and select apply to closed.

    Lock dialog box and close the Get Info .

    So that all the folders in the folder Adobe will get read and write access.

    Let us know if this helps

    ~ Assani

  • reading of the analog inputs of tension about a 5% error PCI 6259 of gain


    A possible solution could be to read data not adjusted with the driver of comedi and apply your own scaling in software.  You can see my post here showing how to get the coefficients of calibration of your DAQ with DAQmx hardware.

    I agree with Andrew that the offset of 5% is very suspect, given that it is the amount above the nominal range DAQmx cards actually given to the.

    -John

  • Error-200088 on digital read

    LabVIEW 8.5 / DAQmX 9.3 / USB-6211

    I did not want this post without trying everything I could think of, but after a week I'm ideas.

    I create 2 config Subvi, read analog and digital tasks. When I run the main vi (digital playback problem), it runs without error until I have call the config.vi. Then, it throws an error-00088 (invalid or unassigned task). I ran with the tracer on (bulb) and the digital reading (where I have indicated in the block diag) is the area of the problem. The error is 'OK' to go in, "-200088' coming-out.» I have defined the task until it's called, but he seems to think that I don't have. I'm sure that I made a mistake of workflow, but I can't find it. Any ideas?

    BTW, there is a file of menu RT with this project that this forum doesn't let me download. I hope that the vi can work without it she

    is a choice of menu that calls the config.vi

    One thing I immedaitely see it is that the structure of your event in the Subvi makes void the task because you have "use default if Unwired.

Maybe you are looking for

  • A week old Time Capsule roars momentarily when starting. Is this a problem?

    My new Time Capsule makes it a notable howling sound when it starts at the beginning. Sounds almost like the sound a modem makes when you connect - back in the day. The sound lasts a second or two. Then runs perfectly from that point on. The noise oc

  • I can't downgrade iPhone 4s to 8.4 9.2

    Hiiiiii my name is salima I live in Iran I have an iPhone 4 (16 GB, white) s Pentecost IOS 9.2 I want to downgrade to IOS 8.4 BUT can not Why?????????????????????????????????? error (3004)

  • focus on the item clicked - GUI

    Hello I have a form that the user will fill out which has many controls for string and enum, over 40. Wil user tab and fill out one by one. I want to set focus on the control when the user clicks on it. I don't want to do more than 40 cases of events

  • Error code of 0x8004fceb blackBerry Smartphones?

    I was very happy with the operation of the 8900, until yesterday when I got 0x8004fceb error code when you try to do a sync... any ideas on an easy solution?

  • Cannot find .aex generated in ae

    I build ae sdk example with visual studio, generate .aex in C:\Program Files\Adobe\Adobe after effects CC 2014\Support (Media Core plug-ins) can file, but I find no aftereffects. I don't have it generated in the correct folder, or what should I do?