DAQmxCfgSampClkTiming NICARD 6031 PCI E and Visual C++ 6.0

To the attention of the customer or any other wellcome! -):

I use a NICARD 6031 E PCI. I am also using Visual C++ 6.0.

I declared a variable for an external CLOCK of SAMPLING ANALOG. I am providing
This CLOCK signal to the Dev1/PFI7 PIN entry

m_sSampClk (_T("ai/SampleClock"))

I'm not using this variable now and that's why is commented. Instead, I
Just call/Dev1/PFI7 below in the routine.

I use the following routine for EXAMPLES of input based on the
external CLOCK Signal enter PIN Dev1/PFI7

nErrorCode = DAQmxCfgSampClkTiming (m_hAnalogTask, //task handle
' / PFI7/Dev1 ", //Sample ATMEGA88 clock (AI SAMP CLK)
50000 points in rate (float64) //Sampling per second
DAQmx_Val_Rising, samples of //Acquire on the rising edges of the
Sample clock.
DAQmx_Val_FiniteSamps, //Finite for the buffering mode
timing acquisition
(128); 128 samples per channel

if(nErrorCode!=0) met //error
{
DAQmxGetErrorString (nErrorCode, szErrorMsg, 1024);
AfxMessageBox (szErrorMsg);
}

Can you please let me know if my routine is correct and I didn't need to
Declare a variable for SAMPLING CLOCK because I call the routine
directly? I looked for examples on your Web site, but I find that LABVIEW and
no examples of Visual C++.

Kind regards

Javier Contreras.


Tags: NI Hardware

Similar Questions

  • Portege 7020 error message: PXE - E01 PCI vendor and device ID do not match

    Hi all

    I get this error message (ID PXE - E01 PCI vendor and device do not match) when starting, when I use my portege 7020CT on a cd-docking station. The error message occurs only when I boot with the power adapter.
    I know what means the error message, and I tried to change the boot priority and the BIOS update. None of that helped him. I can't say when the error occurred since I used a LAN card wireless for a long time.
    The ethernet LAN for now, so im card dosnt work using an ethernet pccard.

    Toshiba has released a "patch" for this problem but only with the station of transhipment on the DVD, I also tried, but it didn't work either.

    What seems strange is why the problem only occurs when the power supply is turned on?
    When the message appears, the screen is locked and I can not pass.

    hope someone can help me.
    / Dreadeye

    Hello

    Well, you're right. This message is displayed if it of not possible to boot from LAN.
    In this case, it s advisable to change the boot priority.
    But it seems that you have already tried to change this option. It s very strange questions because it s occurs only if the power supply is turned on.
    I n t really have no idea, but I found this site:

    http://support.Intel.com/support/network/adapter/1000/sb/CS-010508.htm

    Try installing the latest Boot Agent. I put t know if it helps but you can try it.

    Good luck

    Good bye

  • Satellite M40X driver PCI Device and NetworkController problem.

    Hello..

    I formatted my German original OS version for the English version. I downloaded all the drivers from the toshiba site and installed. The/CompuMgr/DeviceManger /AdminTools of /ControlPanel of system, I see that the drivers for the PCI Bus and network controller are missing.
    Any suggestion on which driver files may resolve this problem.

    Thanks in advance
    Shine

    Hello

    As Tobi said check the installation instructions. It has listed all the necessary drivers and tools and utilities. As far as I know this list is also important because it is a proper installation order.

    Good bye

  • Yellow brand - PCI Device' and 'Network controller' on the Satellite A100-787

    There is a yellow question mark in Device Manager for a pilot called "PCI Device" and also for "Network controller" even if the network (LAN) connection is working well and all the other computer functions seem to work well.

    What are these devices?

    The second device appears to be a LAN or WLan card. You should check if one of these cards were not installed under network adapters.
    The PCI device can be a card reader. Check this box too.

    But I really don't understand why these yellow exclamation points appear in Device Manager. I assume that you have installed all the drivers available. Did you?
    Please check if some drivers were not installed.
    If so, then download and install!

  • PCI device and SM Bus, MISSING controller and impossible to INSTALL - HP Pavilion g4 1264ca

    I had recently done a clean install on my laptop and when I rebooted, it was missing the drivers for the PCI device and SM BUS controller. When I go to Device Manager and try to reinstall or search the hardware changes, my computer is unable to install. Also, I was missing my network Ethernet and wireless drivers, but I installed the appropriate via the HP website drivers. However, still miss me these two pilots. I tried to install on my laptop, but just AMD chipset, which creates more problems because once the program asks me to restart the computer it remains stuck to the Windows loading screen (rotation around the Windows logo colors). If someone could find the right drivers for me download or ways to diagnosis this problem, any help will be greatly appreciated.

    Laptop model: HP Pavilion g4 1264ca

    Hello:

    You should definitely the amd chipset drivers to install the smbus controller.

    Here's what I've done for you...

    I have zipped and attached just the driver files raw you must install manually only under attachments below smbus controller.  As you saw that the chipset driver file contains a lot of other things as well.

    Unzip the files in a folder.

    Go to Device Manager and click the controller smbus needing drivers.  Click on the driver tab, click on set to update driver.  Select her browse my computer for driver software method and navigate to the driver folder, that you unzipped.

    Make sure that the include subfolders is selected and the driver should install.   Then restart.

    The PCI device is the card reader that needs a driver...

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-103100-1&cc=us&DLC=en&LC=en&OS=4063&product=5186397&sw_lang=

  • PCI device and unknown device (code 28)

    After the installation of Wind8.1 my Hp 250 G2 (FOY89EA #ABE) lost the PCI device and when I connect to HDMI or VGA, no image is produced on the TV. How can I solve this problem?

    You are the very welcome.

    You need this driver that is not on your PC support and driver page...

    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5405424&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dob_124774_1%257CswEnvOID%253D4158%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • I use an analog input on a PCI-6224 and are having problems with the clock source

    I use an analog input on a PCI-6224 and are having problems with the clock source. I'm trying samples of 16 different analog inputs very quickly. I have the sample mode: Timed Single Point material. The rate, that I am running is the maximum (250 kHz (15625Hz per channel)). I left the default clock source and trying to taste several times. The analogue input works for a short time (2-3 seconds) and then everything stops. I'm doing something wrong or is there something I'm missing? Any advice would be great.

    That's how you samples using the sample clock clock. If you see a delay then something is wrong with how you track/data visualization.

    Single point NI the hardware is for PID control with a real-time operating system.

  • PCIe-7852R and OR USB-7856R OEM Calibration with Calibration Executive

    Can I calibrate PCIe-7852R and NI USB-7856R OEM with NI Calibration Executive?

    How?

    Our version of National Instruments Calibration Executive Software is 3.5 and it has no procedures to OEM PCIe-7852R and NI USB-7856R products.

    Hello

    There are several ways to calibrate your instruments.

    First of all, the help file for the calibration of R Series devices to the Calibration Executive can be found by navigating using the Executive of Calibration > calibration device > data acquisition (DAQ) devices > NI dynamic signal Acquisition > NI R series calibration procedure

    You can also follow the instructions in the following document.

    http://www.NI.com/PDF/manuals/372004d.PDF

    Finally, you can also calibrate your software for the R Series devices using the calibration installed with the drivers. You can get "calibrate the device 78xxr" and run the executable file to calibrate your devices.

    Thank you.

    Kind regards

    Nigel

  • PCI Device and SM BUS controller

    Mr President, I am looking for PCI devices and BUS SM Controller.I have treid upgrade my PC, but it doen't work. It shows me to install from the Internet.

    ID of MODEL - HP COMPAQ NOTEBOOK 15-s004TX

    PROCESSOR-INTEL i3

    PART NO. - J8B59PA

    OS-WIN 8 64-BIT

    Just use this driver instead...

    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5405424&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dob_134503_1%257CswEnvOID%253D4132%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • BNC-2110, 6023E PCI card and Labview V9.0: is the sensitivity of data acquisition (change more little detectable voltage) 0.002V?

    BNC-2110, 6023E PCI card and Labview V9.0: sensitivity of data acquisition (change more little detectable voltage) is 0.002V

    Hi, I use the software/hardware above to read a voltage of a potentiostat world Precision Instruments No..

    I'm trying to record changes in voltage as low as 0.0003V but using the wizard DAQ, I seem to be limited to a sensitivity of 0.002V.  This is the limit of real sensitivity or have I missed something?

    Any help would be greatly appreciated.

    Hi DCAM77,

    Thanks for joining the forums!

    The PCI or 6023E has a 12-bit ADC.  In other words, it can make the difference between 4096 (2 ^ 12) different levels within the range of cards.  The card you have has a selectable range by ± 10 V, ± 5 V, ± 500 mV or ±50 mV software.

    This means that the minimum detectable variation will be 4 mV, 20 mV, 244 µV or 24, depending on the chosen range µV.

    You should be able to use the ± 500 mV or ±50 mV to get the least significant bit (LSB) value, you need, even if it means that your signal is located between these values.  If not, then you need to consider other materials to the application, or the addition of external circuits across the signal.

  • Strange problem with analog output PCI 6251 and BNC-2110

    I'm controlling current source of third parties using the connectors of analog output on my card PCI 6251 and BNC-2110.

    The current source needs an input signal of 0.1V. I tested it using a battery, the potentiometer and the voltmeter, and by manually adjusting the voltage of power current works - current output with control voltage scales according to the specifications and is relatively stable.

    The data acquisition card works too - when I connect a voltmeter to the AO0 AO1, the measured voltage corresponds to the target with great precision value.

    But when I connect the current source of third AO0 AO1 data acquisition card, the measured output voltage drops and fluctuates. This applies to both channels of the AO.

    I wonder what is the problem here. I suspect it could be a matter of the grounding - the current analog control of the source is an entry with two floating terminals differential. I tried to return the switches FS/GS on the BNC-2110, but that makes no difference.

    Anyone knows similar behavior? Does anyone have any suggestions?


  • Cable RTSI with PCI 6034 and 6602. Test validation of LabVIEW code.

    Hi all

    Please could someone take a look at my code (LabVIEW 8.5) and tell me if it does what I hope it is? (!)

    My goal:

    To connect to analog to a PCI-6034 and data of angular encoder to a PCI-6602 tensions. I want my tension and angle data to synchronize.

    My approach:

    Both cards are connected with a RTSI cable and configured in MAX. One of the counters on the 6602 is set up like a clock. I think I use this clock to make sure that my angles and tensions are synchronized. I want to read in a load of data from two sources, treat it, and repeat.

    The synchronization set is a little new to me - the code execution, but right now, I'm not sure if I get the sychronisation I need. Please what could someone comment if this sounds right or give me any advice for the improvement?

    Thank you!

    Ian

    Sorry Ian,

    This code was a bit thrown together then you might need to forget it. The table of construction was incorrect, and I don't quite know how it got there.

    The output of the counter in the middle of your task is not doing anything. You can remove this, and as long as you had a single start task depends on the other that you already do and share all the same settings of the clock, which should start the task at the same time and keep it synchronized to readings.

    On top of that my tip for better start synchronization would be to use a hardware trigger to start tasks. the start is so dependent on a hardware clock and not software.

    Kind regards

  • Who is the "end of support" of "Visual C++ 2005 SP1 Redistributable Package (x 86) 'and 'Visual C++ 2008 SP1 Redistributable Package (x 86)'?

    I work in a review of the life cycle of several microsoft products. "The information of ' Microsoft Support Lifecycle" web. But the end of support for the application dates "Visual C++ 2005 SP1 Redistributable Package (x 86)"and 'Visual C++ 2008 SP1 Redistributable Package (x 86)' I could find. "

    There is no any date end of support for this application?

    Thank you

    Hi Anto2,

    You can check out the following link and check.

    http://support.Microsoft.com/lifecycle/search/default.aspx?sort=PN&Alpha=Visual+C%2b%2b&filter=FilterNO

    Hope this information is useful.

  • problem of analog with PCI-6115 and BNC-2110

    Hi, I have an acquisition of data PCI-6115 and BCN-2110 connector card I want to measure continuous analog voltage. Now I can permanently measure the intensity of light laser of photodiodes through channel 1 and get the reference through the 0. Then I can get the harmonic signals by the multichannel lock - DAQmx.vi. However, I also want to simultaneously detect another analog signal in channel of gold voltage 2. The problem is: Channel 2 voltage range is approximately 0.3 mV to 6 mV which is significantly lower than the other channel 2 (0 - 10V), how could put different prescription by channel continuously and simultaneously acquire all data?

    I found that Dennis Knutson has provided the solution a year ago, which is listed below:

    In the solution, it should be arrays of strings, lines, patterns, but I do not know how to apply it to my case. Is there a suggestion or another solution?

    Thank you very much!

    You have the autoindexed exit task and is not correct. Try the code below.

  • 15 - r036tu: pci encryption and decryption hp 15-r038tu

    Dear Sir
    I parchase a new laptop model number is 15-r036tu I got this laptop with window 8.1 after using a few months I failed to ease with the 8.1 that I HAVE LOW grade of 8.1 for Windows 7 (32 bit) now my all software are missing, but I can downlode my software all except pci encryption and decryption I try this software downlode by going to computer management and make a right click, but fails to update driver please give me any advice or links to how software downlode.

    Thank you
    Og2

    Hello:

    You need the driver for this device...

    Intel driver execution of the trust Interface
    Version:

Maybe you are looking for