PCI-5105 FetchForever with 2 or more channels?

I use the PCI-5105 and MS Visual Studio 2008 to pick up a signal.  I based my code out of the FetchForever example and it works very well for a channel.  I now need to continually monitor 2 channels.  Can someone help me building this?  The example allows only one channel.  Maybe there is a better way.  Currently I use algorithms on the data from one
channel.  When there is a signal that triggers in my code, I save
~ 25 ms of data on this channel.  My goal is to now record two channels when the first string triggers in my code.

Thank you

Tom

Hi Tom,

What is your ultimate goal in terms of data acquisition?  I understand that you would like to acquire the 2 lanes of a data value, but it is is not clear as to whether you want continuous samples, several records of samples, the last available samples etc..  There are many possibilities.  Also, do you need to correlate the data to a trigger?

Assuming that you are looking for continuous data, you want to stay with the example FetchForever rather than try the configured Acquisition example (I would refer only to see how 2 channels are recovered).

FetchForever is not the most intuitive examples.  So, here's a quick explanation of how/why it works: continuous data Acquisition

Basically, a reference trigger is a trigger that tells the jury when to stop the acquisition.  By defining this trigger to the software, do us the digitizer to wait for a trigger and guaranteeing that he will never get a (because we're not going to send a).  Records are normally formed around the trigger of the judgment, and when search you, you get recording including pre and post release samples.  In this case the digitizer is permanently by filling a buffer of samples that could potentially become before triggering samples (if a trigger has been sent). We simply use the reading pointer to follow the samples we have already read & so what samples to read further.

checkErr (niScope_SetAttributeViInt32 (vi, VI_NULL,
NISCOPE_ATTR_FETCH_RELATIVE_TO,
NISCOPE_VAL_READ_POINTER));

The reason why your application reads the same data is that you are setting and triggering a single record, then go get this record over and over again in a loop.  There is no manipulation of the stylus, and you sent a trigger immediate reference so the digitizer has ceased to acquire new data.

As a side note, to avoid surprises, you can consult your weighing to non-automatique functioning NOR-5105 for valid sampling rate and voltage ranges.  Based on a sampling 8V and 8MS/s rate, your actual settings will be converted to 30V and 60 M/7 = 8.5714 MS/s.

-Jennifer O.

Tags: NI Products

Similar Questions

  • PCIe-653 x with DAQ traditional

    Hello

    We want to update some of our network using a PCIe-6536. Is it possible to run this card with traditional NIDAQ?

    Does anyone have experience with the PCIe-653 x with DAQ traditional. Or is it only possible to run this card with DAQmx?

    Greetings

    Oliver

    Hi Oliver,.

    PCIe cards not are usually not supported by the old traditional DAQ driver.

    In any case, you should consider updating your application to DAQmx as TRANS. data acquisition support is quite limited (see also the official statement of OR below)

    "Caveat ".  NOR-traditional DAQ
    (Legacy) is an older driver with the obsolete application programming
    interfaces
    (API) for the development of acquisition data, instrumentation and control
    requests for former of National Instruments DAQ devices. You must use
    NOR-DAQ traditional (old) that in some circumstances. Refer to the
    File Readme of NOR-DAQ for a glimpse of the two API NOR-DAQ, the
    benefits of
    NOR-DAQmx and more information about when to use NOR-traditional DAQ
    (Legacy)
    including a complete list of devices supported, operating systems,
    application
    versions of the software and the language versions. You can install the most recent
    version of
    NOR-DAQmx software, available at ni.com/downloads.
    "

    Kind regards
    Bernd

  • System-> DevNames DAQmx detects not PCI-5105

    Hi all

    I use the property system/DevNames DAQmx node to remove all the hardware connected to the system and to dynamically assign device names to measures/controls s/w. This property node has worked well up until now - when I then added a PCI-5105 (digitizer).

    I understand that this use the niSCOPE IVI instrument driver when you write Labview code and perhaps this has something to do with the problem, but my understanding was that if the Measurement & Automation explore displays the device and name under the directory under devices and peripheral Interfaces/NOR-DAQmx then this property node needs to pick it up. (IE NI PCI-6255: "Dev1" or NI PCI-5105: 'Dev3, etc...)

    Is there a way where I can automatically detect the device name? Or is the problem, because its use IVI and requires a class IVI to define?

    Would be happy for some advice!

    Hi Barkusmaximus,

    In fact, you can use the scope OR api to detect devices connected to your system.  The VI under NI Scope > utility > ModInst will detect and display the details of the device.  See the VI attached for an example.

  • 6225 PCI residual voltage in the analog input channel

    Hello, I'm new to the Forum and just start working hands with NI hardware/software/etc.

    I use MAX (differential setting) to monitor an input channel analog (ai71) through a PCI-6225 card with an SCB-68. The voltage displayed in this MAX sometimes regular 10.6 volts and sometimes intermittent noise 0 to 10.6 volts or vague angular. I watched the disintegration of noise and waves to zero. The voltage displayed in MAX is (seemingly at random) changes when a voltmeter is used to measure the voltage between pins 1 and 35 (with no wire signal)

    When an external square wave (2.7 volts DC) is applied to the pins 1 and 35 in the SCB - 68 the value in MAX is dominated by the 0 - 10.6V 'noise', while a voltmeter between pins 1 and 35 simultaneously shows the square wave.

    Any suggestions? Thank you in advance.

    If you dig into the data acquisition specifications, input voltages must be referenced to the mass of AI or you may damage the Board.  Have a good read of this article: wiring field and considerations of noise for analog signals.  Since you're probably dealing with a differential signal with no mass, what you want to do is to add resistance on each side of the signal to ground.  This article recommends until 100kOhm 10kOhm resistors.

  • I find these records long name with 20 or more charactors and inside them is nothing else than "mrt.exe" file. I find them in random places.

    Original title: MRT. EXE files are all over my computer.

    I find these records long name with 20 or more charactors and inside them is nothing else than "mrt.exe" file. I find them in random places on my drive c: and many of them on my external G drive in the root. A new appears approximately every three months.

    I know the mrt.exe is supposed to have something to do with the malicious software removal tool, so I don't want to just delete them and have a problem.

    Allen

    Hello

    Are you prevents the tool from running?

    See Q21 at the end of this article

    The Microsoft Windows malicious software removal tool helps remove specific and prevalent malicious
    software for computers running Windows 7, Windows Vista, Windows Server 2003, Windows
    Server 2008, or Windows XP
    http://support.Microsoft.com/kb/890830

    What you do not know the Windows Malicious Software Removal Tool
    http://blogs.Computerworld.com/what_you_dont_know_about_the_windows_malicious_software_removal_tool

    What is Windows Malicious Software Removal Tool (mrt.exe) and how to use it
    http://www.vista4beginners.com/Windows-malicious-software-removal-tool?page=1

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Problem "there could be a problem with one or more network adapter on the computer?

    Hi, I just changed my modem, I can't connect to the internet. I can connect to wireless network but not to the internet. When I diagnose, he said, "there could be a problem with one or more network adapter on the computer. I searched the internet but I can't find anything. When I diagnose, I have also seen something on the 'hot spots', but I can't remember it clearly? Any help please?

    Also, when I go to Device Manager network adapters, each of them has WARNING signs except two of them.

    Hello:

    If your laptop is an Atheros AR5007 wireless card, see if installing this driver solves the problem, you have to be able to connect to wireless but no internet network.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-108905-1&cc=us&DLC=en&LC=en&JumpID=reg_r1002_usen_c-001_title_r0004

  • Problem with the primary dns server, get the error "There could be a problem with one or more network adapters on this computer."

    Hello

    I was all of a sudden having problems connecting to my wifi at home. When I was diagnosed, he says cannot communicate with primary dns server. I tried all methods in similar positions, but nothing works. I am also unable to connect to internet with my iphone and the itouch. It's really frustrating, because I've already tried all of your suggestions. I just ran another ' diagnose connection problems and it says the following:
    "There could be a problem with one or more network adapters on this computer." Help, please!
    Thank you!

    Thanks for your help, but I have tried this before. In the end I just unplugged my modem and plugged in again and it worked? I feel a bit silly not to try first.

  • Why vista sp2 usually start with 2 or more GB of ram

    Why vista sp2 usually start with 2 or more GB of ram

    Hello

    To better assist you, please provide the following details:

    (1) what happens when you start the computer with 2 or more GB of ram?

    (2) if it works well before?

    (3) remember to make changes?

    It is sufficient to indicate the complete error message you receive.

    You can run the memory diagnostic tool

    How will I know if my computer has a memory problem?
    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-know-if-my-computer-has-a-memory-problem

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer
    ***************************************************************************

  • How to use video with HTML5 Canvas alpha channel? is this possible?

    How to use video with HTML5 Canvas alpha channel? is this possible?

    Thanks in advance

    There is a video in HTML5 tag, as there is a canvas tag. But you want to alpha. He is not an alpha channel in HTML5 video.

    Transparency alpha in video Chrome | Web - developers of Google updates

    Tag video example

    video controls style="width:640px;height:360px;" poster="poster.png">
        type='video/webm;codecs="vp8, vorbis"' />
        type='video/mp4;codecs="avc1.42E01E, mp4a.40.2"' />
        kind="subtitles" srclang="en" default>

  • I have Adobe Acrobat and it is not letting my edit my pdf, she continues to redirect me to a page with a link "more" and click on who goes to a page that requires a payment of $14.99. I bought this product, the money came out of my account and

    I have Adobe Acrobat and it is not letting my edit my pdf, she continues to redirect me to a page with a link "more" and click on who goes to a page that requires a payment of $14.99. I bought this product, the money came out of my account and I restarted and stop my computer and the same page continues to appear when I click on edit my pdf file.

    When we've seen this before, it is because people buy Adobe Acrobat Pro, but in fact are not running. If you have Acrobat Reader, you get the same message.

    So if download you Acrobat Pro, but not install it, then install it now.

    If you have installed it, and then start it (with start menu or launch pad) and open the PDF file there.

  • Hello good day. I made a text in photoshop, but it's all jagged crept with few DPI more it already with a resolution of 300 DPI. I wonder if is to improve the text of the resolution, then it only would not serrated, to stay a vector type. Thank you.

    Hello good day.

    I made a text in photoshop, but it's all jagged crept with few DPI more it already with a resolution of 300 DPI.

    I wonder if is to improve the text of the resolution, then it only would not serrated, to stay a vector type. Thank you.

    Judging by 277% zoom, this text seems to be too small in size in points for a good

    reproduction in the form of a chart with 300 DPI raster.

    If this text could be exported as PDF vector illustration is doubtful.

    Finally the effects prevent the Visual text to be managed as a vector.

    It is not yet clear if the glyphs are typographically clean (not distorted).

    A debate on these issues is here:

    preserve the vector text when converting psd to pdf

    Cordially - Gernot Hoffmann

  • Find County/VMs with 2 or more VMDK on different data warehouses

    Hello:

    I wonder how to find (and later) all VMs with 2 or more on the different data store VMDK...

    Thank you

    qwert

    Argh, you can still see that the single line in my script that I did not test, the Export-CSV cmdlet, gives you bad. The following script, I tried from the beginning to the end and gives even better output:

    $report = @()
    $allvms = Get-VM
    foreach ($vm in $allvms) {
         $clusterName = ($vm | Get-Cluster).Name
         $dstores = $vm | Get-Datastore
         foreach($ds in $dstores){
              $row = "" | select VMNAME, DATASTORE, Cluster
              $row.VMNAME = $vm.name
              $row.DATASTORE = $ds.Name
              $row.Cluster = $clusterName
              $report += $row
         }
    }
    $report | `
    Sort-Object -Property VMName,Datastore -Unique | `
    Group-Object -Property VMName | `
    Where-Object { $_.Count -gt 1 } | `
    Foreach-Object {
         foreach ($Record in $_.Group) {$Record }
    } | `
    Export-Csv "C:\VM_DS.csv" -NoTypeInformation
    

    Update: I saw that the first line was missing, so I added the first line of the script.

    Post edited by: RvdNieuwendijk

  • How can I transcode images with all 4 audio channels of P2?

    I'm in transition from FCP7 to Premiere Pro CS6, and one of the single crash that I meet is transcoding P2 footage and keep all the 4 audio channels separated.  I can't find a way where prelude compresses all 4 channels in 2.  My workflow so far has been to use Final Cut Pro to transcode my images in ProRes with all 4 audio channels and then only put in first to edit.  Needless to say, I don't want to have to keep doing it this way.  Thanks for your help!

    Hello

    You will need to update your Adobe encoder support and Adobe prelude to the latest versions: 6.02. Update of the prelude was disclosed last week, and I believe that the SOUL is also available.

    This issue has been corrected in SOUL 6.02.

    You can update directly from each application via the menu or you can visit the page of each product on adobe.comhttp://adobe.com> and get the updates it.

    I hope this helps.

    Michael

    Sent from my iPhone

  • 2015 Macbook Pro 2.8 GHz > 16GB RAM 1 TB > PCIe SSD > overheating with Thunderbolt Display 27 "> Constant MAX RPM fan speed

    Hello community,

    First of all, I want to congratulate Apple on the construction of such a laptop well. It is a luxury product that is clearly desired by most people, which I understand very well that he's a new owner. But entering the heart of the problem that I face outside this machine being an external engineering masterpiece.

    Professional background:

    I'm a computer engineer / scientist / programmer by profession. I am currently employed at Hewlett Packard Enterprise (HPE) as a Senior Consulting Engineer level IV for their BIG Data Software Division. Yes, I program (Java and c#), scripts (powershell, batch and SQL), solutions architect, design, to test software and debugging, implement large enterprise-level solutions ranging from a cluster of 2 mirrors servers-to-of thousands of servers to multiple clusters (even from a perspective of work station of the missions of deployment from 200 KB - to - 50 jobs in the world) work with SQL databases on a daily basis, working with storage devices (SAN mutli-million dollar NAS and DAS), provide an infrastructure troubleshooting and problem resolution, have 8 international recognised certifications, a degree of master of science and involved with concerts on the side as well as build computers as a hobby. My computer knowledge is vast and my RESUME goes beyond what I have briefly described. It is important that I give this background to demonstrate that my level of computer knowledge is beyond the scope of this post.

    Laptop Usecase:

    Recently I bought mid-2015 Macbook Pro 15 "2.8 GHz Intel i7 quad core, AMD dedicated GPU, 16 GB of RAM, 1 Portable SSD PCIe TB from an authorized Apple dealer. To maximize the beauty of this gem, I also bought a monitor Thunderbolt Apple 27 "due to its ability to offer a dedicated gigabit NIC and additional USB connectors. Basically, the screen acts as a central docking for the laptop and offers additional i/o that does not have the laptop (somewhat a disappointment that it's called a 'PRO' for laptop - this can be discussed in an extra thread).

    I will mostly use the laptop for tasks related to work as operating on dozens of remote servers via RDP, using office 2011 and 2016 Lync, Eclipse for Java programming, access the HPE intranet for related tasks at work, set up conference calls, connection with clients remotely via WebEx or TeamViewer and typical everyday computing. For fun, I'll use the laptop to compose music through Logic Pro X, browsing the Web, doing work with Photoshop/Lightroom/and other products Adobe, Web browsing, Email, Youtube, NetFlix, coding, and other basis for computing tasks.

    Question:

    I am primarily an engineer Windows to the heart and don't work well with Unix/Linux, so forgive me if certain acronyms and terminology is slightly outside when it comes to the OS.

    The question that I am currently facing is how HOT and high cell phone VOICE gets during very little use. It seems that, given the 27 "Apple Thunderbolt connected display cause heating and the fans to be excessive and loud. 'A little' work around the question I unplugged the lightning poster power adapter and have dedicated the trendy laptop adapter. It 'a bit' reduces the amount of heat generated, which reduces the speed of the fan to be a little less quiet. However, the noise level of fans and heat is not reduced enough to convince me!

    After the control process during the time of the laptop being extremely strong and warm, I noticed the only vivid process is the process of "kernel_task". However, I debunked this theory by leaving the unit to return to a normal state, that required me disconnected the Thunderbolt display, and the process ran again without all the negative effects of heat and noise.

    So, why Apple would create a laptop that indicates the external monitor is fully compatible, can support up to 2 external displays with no problems and provides a support for this configuration, if there are any other problems when connecting?


    * Please do not provide responses that I have received a bad laptop or a bad monitor. Appears not to be the case because when I am doing absolutely nothing on the machine, heat is minimal and the fans are 'enough' quiet, even when connected to the Thunderbolt display. However, even simple web browsing on the Thunderbolt display forces do MAX out fans and heat is generated quickly.

    I love this laptop. His elegant, fun to work on, is luxurious and is a potential item that meets all my needs. But I just can't justify spending more than $4 K on a configuration that will cause problems and significantly reduce the lifetime of the laptop.

    1 should I return the laptop and love at first sight appear and waiting for Skylake edition which will be released in the coming months (energy consumption reduced, rising in power and performance, and (?) one possible different GPU that excels much better than 'crap' AMD GPU?

    2. or should I paste and see if a solution or resolution is proposed to the issues that I am experiencing?

    3. I see the same problems all over the internet. Anyone else here has the same problems?

    4. why Apple would invest in this GPU 'cheap' for such a machine power? AMD? Really? (< (less="" than)="" $150="">

    5. How can I host a Lync call with clients when I hear more the laptop that I can hear them?

    My thoughts:

    I spent $6 000.00 on the construction of an incredible machine at home. It has an Intel i7 5960 X Octa-Core processor, nVidia GTX 980, 64 GB RAM Corsair DDR4, 12 TB of disk 7200 RPM, a 512GB SSD for the OS and temporary storage, power 1200 Watt, card reader 5 in 1, a player Blu Ray optical blazing fast, liquid cooling, a Premium Asus Sound Card, the card mother 'best!' on the market (I finished this statement that fans just went back to MAX RPM0 - maybe) because I'm throwing my personal build an Apple forum?), a mechanical keyboard, mouse laser with 12 K dpi and five monitors 24 ".

    I was willing to spend that money on a laptop of luxury that I can travel with, but is it really worth what I'm going through? Also, others on the Internet said they have returned their Macbook Pro for the same model without the dedicated GPU and no longer meet the problem. BUT why someone would invest $3 K in a machine without a good graphics card? IT MAKES NO SENSE TO ME.

    PLEASE, I BEG YOU! Can someone help APPLE me this question?

    If I am not convinced to the contrary, Apple then lost me as a customer forever and return to Windows, I oppose the $4 500.00 I spent. If I am convinced to stay, then Apple will get $4K out of me at all times every 3-4 years, I invested in most any software.

    Also, if I can post a video showing you what I'm listening to, then you will be in shock. Honestly, I'd like to keep this machine, but I need help to understand what is happening and what can be done to correct the problem.

    Thank you

    mjaestewart

    Everyone from Apple have a preview? I am pretty surprised to have not received a response.

    Please help me out here.

    Thank you

    mjaestewart

  • The NI PCI-5124 scope with 2 triggers

    Hello

    I would like to ask about the trigger for starting and reference with PCI-5124.

    I found a sample VI on the following link, but it does not work as I expected.

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

    VI 'start_and_reference_trigger.vi' can detect the outbreak starting and reference in my system, and they begin data acquisition.

    He starts data acquisition when both start and reference triggers are entered.

    However, what I would do is:

    1. sampling at 200 MHz with a 1500 with a single channel record length.

    2. receive the signal to start (i.e. 50 Hz)

    3 receive the reference signal (i.e. 50 kHz)

    4. for each trigger reference, I would like to acquire the data, i.e. data of 1500 for each 100 trigger acquisition reference (not with the combination with the shutter release to start)

    Start trigger: _|^|_________________________________________

    Ref   trigger:______|__|__|__|__|__|__|__|__|__|__|__|__|__|__|____

    ^    ^    ^    ^   ^   ^   ^   ^    ^    ^   ^    ^    ^   ^

    hours of relaxing I want to acquire

    Trigger channels I use are:

    Start the trigger: PFI 0

    Trigger for Ref: PFI 1

    With the sample VI 'start_and... '. ", I found that it acquires when the two begin and trigger reference comes and data collection was only after the release of a single reference.

    I hope my explanation is understandable and I can have a solution soon.

    Hi Tom,

    This example configures a trigger starting and reference, but only for a single record. It is inside a loop, so it will continue to require a trigger start and each record. According to your description of the problem, you want to make an acquisition standard multi-record of 100 records, but you want to implement a trigger to start at the beginning of the acquisition. "' To do this, you can simply open the example of shipping"niScope EX Multi Record.vi"found in the example Finder LabVIEW or by browsing in your Start menu programs" National Instruments "NOR-SCOPE ' example. You need to add the property node to define your Trigger source begin to be PFI 0, but other than that, it should work fine. I have advanced and created a simplified with the trigger Start implemented, attached below. I hope this helps!

Maybe you are looking for