When to compensate for and win on a PXI-5122 niScope change?

In my application, I use the niScope VI Fetch (I16 2D) to extract a multi-record, multichannel on a PXI-5122 digitizer acquisition.  Trying to optimize my code, this has led me to this question.

I am taking 32 successive acquisitions and adding (on average) all waveforms.  According to the notice in the scale and standardization of binary data, I first apply the parameter wfminfo.gain to data I16, sum which, then apply the offset.  MATLAB-like pseudocode for my Labview code, it is something like:

sum = zeros (1,1000)
offsetsum = 0
for i = 01:32
[wfminfo, samples_i16] is niscope_fetch_i16 (...);
samples_float = wfminfo.gain. * float(samples_i16[0,:]);
Sum = sum + samples_float
offsetsum = offsetsum + wfminfo.offset
end
Sum = sum + ones (1,1000). * offsetsum

So my question is whether it is prudent to assume that the wfminfo gain (and offset) settings remain constant for the duration of a session of acquisition (since time niScope Acquisition throw is called until the moment where the acquisition completed)?   The reference above on normalization coefficients indicates that these coefficients are a function of resolution and vertical calibration settings.  That would allow me to move the multiplication of gain outside the loop of the acquisition and perform arithmetic on integers.  It's a safe assumption?

Hi Gregory,

We tested this here, and you should be able to pull these gain and offset parameters before the while loop is entered and the arithmetic operation later outside of the loop.  To do this, you can place a niScope get Wfm Coefficients VI before the while loop, set it to obtain the Coefficients of standardization and route those elsewhere, because they will remain constant over the acquisition.

Tags: NI Products

Similar Questions

  • With the help of professionals to win 7 and win xp virtual my cahged screen. How to return to the original screen?

    When I started my screen today using win 7 professional and win xp virtual mode my screen changed colors and icons display in different colors. How can I change the original settings screen?

    Hello

    Thank you for contacting Microsoft Community.

    Go to control panel-> display control-> in the left pane, click screen resolution.  Now, Act resolution and change to a lower value, click on apply. Yet once, after a few seconds, change back to the normal resolution / by default, click on apply. It will be corrected.

  • I received a request for donation through TechSoup. When I go to the list of products I don't find an option for Acrobat Pro Win ESD XI. I tried to download Adobe Acrobat Pro 11.0 instead, but when the dowloand begins and the files are being extracted I a

    I received a request for donation through TechSoup. When I go to the list of products I don't find an option for Acrobat Pro Win ESD XI. I tried to download Adobe Acrobat Pro 11.0 instead, but when the dowloand starts and files are being extracted I'm then alerted my "device already has a more functional product installed. The installation program will end now. "I had already downloaded a free trial of Acrobat Pro DC. When the trial ended, I tried to activate my new purchase of product with the serial number gave me of TechSoup... no luck. Help, please

    Please uninsatll Acrobat DC version.

    You can install Acrobat XI pro from the link below:

    Download Adobe Acrobat products. Standard, Pro | DC, XI, X

    I hope this helps.

    Concerning

    Megha Rawat

  • an error "file does not have a program associated with it for performing this action" when you click office and recent places.

    Original title:

    Win7 victory explrer click dsktop & mployment plces & get eror msg file is not a CDSA wth to prfrmin ths field prgrm. pls instl one prgrm so is alrdy instld Credit Union assc ltvds cntrl pnl prgrms

    I don't know how to fix. Help, please.    Win7 windows Explorer click

    Office & recent locations & grterror msg:
    This file does not have a program associated with it for performing this action. Please install a program or, if it is already installed. create an asssociationin the default programs control panel.
     
    Information given in the new thread:
    Error Msg When you try open office spaces & recent since the win Explorer

    when im in windows Explorer and click on the desktop or the recent places the link I get a msg of error and they will not open, but all others open. I posted pictures of error msg to skydrive yesterday.

    Hello

    Welcome to the Microsoft Community Forums.

    I see you've found an error "file does not have a program associated with it for performing this action" when you click office and recent places.

    1. Have you made changes on the computer before this problem?
    2. What is the full error message?

    I suggest you to report to us the screenshot of the Advanced window so that we can understand what exactly the situation.

    See:
    Use SkyDrive download collected files and post screen shot/image
    http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/4fc10639-02dB-4665-993a-08d865088d65

    The average while you can try the following steps and check if the error reappears.

    Method 1:

    Step 1:

    Start the computer in safe mode and check the number.

    Some options, including the mode safe mode, start Windows in a limited State, where only the essential is started. If a problem doesn't reappear when you start in safe mode, you can eliminate the default settings and basic device drivers and services as a possible cause.

    Follow this link provided below to start your computer in safe mode.

    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Step 2:

    Put the computer to boot and check if the problem persists.

    To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 3 of the KB article provided above.

    Method 2: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.

    It will be useful.

    Back with the details so that we can help you further. We also indicate the result of the suggested steps.

  • ADOBE CC - Customer Service fail to resolve my problem (curves) and compensate for them.

    Event history:

    23 February:

    I discovered that Adobe Photoshop 2015 CC had a problem with the program

    -J' I import my raw image

    -Apply the curve

    -Curve pen

    -Save as a PSD and JPG

    -Image on the PSD and JPG file appear with no good hard and curve lines.

    I report this problem to the Photoshop customer service, they said, it was a problem to update. I uninstall and reinstall... She still took place. Customer service suggested that I use Photoshop 2014.

    I paid over 100 dollars for old hardware? I didn't think it was just... anyway. I waited.

    March 4:

    I reinstalled 2015 and the black lines were always there.
    -J' have customer service message, they acknowledged the problem (bug) and assured me that the problem could be solved on the next update.
    -The update for adobe Photoshop was in November... (at this point I'm still paying)

    -They recognized this was not my fault and gave me a 30 day extension.


    30 days after I requested additional since an extension I was using a lower quality product. They do not allow this. Now, I'm upset.
    Not only am I paying full price, I pay for something less.

    They referred me to a (top team) B.S. that would respond to my inquiries about the problem...
    A came response where I was told that I was unable to get the extension... The end.

    What kind of service is that? Still, I have black lines on my jpg files and cannot produce impressions of Adobe Photoshop 2015! I will not be satisfied with something obsolete! What is the point of subscription if I don't get to use the latest software?

    I have attached a picture for example, nothing special. It's not supposed to be a hard line on my image, but each image that I recorded with changes product LINES TOUGH! * Note This is a PSD file, but jpg files save and print the same!
    Photoshop Fail.png

    If you have a solution... I'm all ears, because the Adobe creative team can't do anything for me and will not compensate for me either.
    If you are interested in the transcripts between service customer and I have... I have them.

    Just out of curiosity, you reset the Photoshop preferences? Worth a try.

    Manually; course may be cancelled:

    http://TV.Adobe.com/watch/the-complete-picture-with-Julieanne-Kost/how-to-reset-Photoshop-Le file-Preferences-cs6s.

    Fast; cannot be undone:

    Win: Press and hold the keys Ctrl + Alt + Shift immediately after the launch of Photoshop starting. A box will appear asking if you want to continue with the reset, select 'yes '. If you don't see this, you're not fast enough... Try again.

    Mac: Press Cmd + Opt + shift then launch Photoshop. A box will appear, asking you if you want to continue with the reset, select 'yes '.

    In addition, as Warunicorn says, check updates of system which may include new graphics drivers.

    If you continue to see the problem, you could post a bug in the feedback.photoshop.com report

  • on the left are 3 red balls, yello, green, who go around in a circle. When I click it it says download assistance, what is it for and how can I learn more about them?

    to the left of the URL are 3 balls, red, yellow, green, who go around in a circle. When I click it it says download assistance, what is it for and how can I learn more about them?

    An add-on (extension) for download videos from Youtube-like on your hard drive

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • Each page is a zoomed out, and if I Zoom it, it is a normal size for a while, but when I close firefox and open it again, it has zoom out again, I have to zoom each page everytime I open a new page.

    Each page is a zoomed out, and if I Zoom it, it is a normal size for a while, but when I close firefox and open it again, it has zoom out again, I have to zoom each page everytime I open a new page.

    How to use Zoom?

    The function Zoom of Page Firefox does a level of field by field to save favorite settings level users zoom, there is no default Page Zoom level setting in Firefox. Try these extensions:

    -> Default FullZoom Level 4.5

    -> NoSquint 2.1.2

    Check and tell if its working.

  • Need drivers Win XP and WIn 7 for Satellite M30x-125

    Hello

    I'm looking for Windows xp and Windows 7 drivers for my laptop Toshiba Satellite M30x-125
    in the site of toshiba, under the download section, my laptop is not recognized, or the serial No.

    where can I find the drivers?
    Thank you

    Hello

    Drivers for Win XP can be found here:
    http://EU.computers.Toshiba-Europe.com/-> support & downloads

    in the driver download-> Satellite M-> Satellite M30X Satellite you choose Archive->

    Unfortunately, this is an old classic and Win 7 drivers are not included in this case, you need to collect the drivers of your own hands.

  • When I was able to remove the preinstalled Apple apps I have no use for and take my storage?

    When I was able to remove the preinstalled Apple apps I have no use for and take my storage?

    When Apple decides to make that an option.

    In total, I'd be surprised if apps take up more of one to two hundred megabytes.

  • If win 2003 is upgraded for the 2008 edition, it will fix alingment compensate for the problem with the SAN disks?

    If win 2003 is upgraded for the 2008 edition, it will fix alingment compensate for the problem with the SAN disks?

    Hi elvirkaric,

    Your question in Windows Server 2008 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/w7itproinstall/threads

  • KB2655992 and KB2698365 updates are for Vista and Win 7. Why my automatic update XP machine say I need them, then can not install them?

    Auto update on my Windows XP (SP3) checks every day, then trying to download and install the updates above that are for Vista and Win 7 systems. If I try to download and install manually, the XP machine has no idea about mail file ".msu" on these updates. My PC tried to install these on a daily basis since July 11, 2012.

    Thank you

    Hello

    Using Windows XP 32-bit or Windows XP 64-bit?

    KB2655992 and KB2698365 are also updated in security for Windows XP. I suggest to perform the clean boot, download and install the updates from the Download Center.

    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    Update security for Windows XP x 64 Edition (KB2655992)
    http://www.Microsoft.com/en-US/Download/details.aspx?ID=30220

    Update security for Windows XP (KB2698365)
    http://www.Microsoft.com/en-US/Download/details.aspx?ID=30228

    Note: Make sure that you reset the computer back to normal once the diagnosis is complete.

  • What happens when "Still waiting for network when starting the computer and logon" is enabled and that the computer is not connected to the network?

    In MMC, I created the group policy and found through web search that computers with mapped network drives can connect better if "always wait for network when starting the computer and logon" is enabled...  So far, it has been very nice to have allowed.  Is no longer mapped network drives see the place as disconnected.  But what happens if the computer is not connected to a network?  Say the wireless router will turn off and your computer always 'wait... '. "turned on, should the user could still log the computer timely?

    Check these:
    Troubleshooting intermittent slow connection or slow start of http://blogs.technet.com/b/instan/archive/2008/04/17/troubleshooting-the-intermittent-slow-logon-or-slow-startup.aspx
    Priority and group policy processing
    http://TechNet.Microsoft.com/en-us/library/cc785665%28WS.10%29.aspx
  • Hi, when using windows live, when in the chat and write the other answers of the person, but all that shows is a load of alphanumeric characters, for example, 13223d95-6618-11e0-a907-00248136cc7b

    Hello

    When you use windows live messenger, when in the chat and I write, other responses of the person, but all that shows is a load of alphanumeric characters, for example, 13223d 95-6618-11e0-a907-00248136cc7b. No idea of that which is causing this happens or a repair?

    Thanks in advance.

    Hello

    The question you have posted is related to Windows Live, and would be better suited in the Windows Live forum. Please visit the link below to find a community that will provide the support you want.

    Link: http://windowslivehelp.com/product.aspx?productid=2

  • Impossible to update for systems Win Vista x 64 base update KB968930 and KB982666

    Have a system Win Vista x 64 base. Am able to update most of the windows updates, but these two are a problem (KB982666 and Windows PowerShell 2.0 and Win RM KB968930 2.0 security update).  Anyone with the same system and the same problem, but found an answer?

    Hello

    ·         Were there any changes to the computer, lately?

    ·         What is the exact error code that you get when installing these two updates?

    To check the error code follow the below mentioned steps

    (a) open the Control Panel (all items view), and click the Windows Update icon.

    (b) click the view update history in the left pane.

    To view the details of an update of one-stop shops

    (a) select and right-click on a Windows Update list, and then click Details.

    (b) click on the link more information see more information about the Windows Update selected.

    I suggest you try the following steps know us if this helps

    Method 1: Perform a clean boot to verify if a third-party software or application is causing this problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Once you are done with the boot, follow step 7 of article to put your computer to normal startup.

    Method 2: Disable the security software, follow the steps mentioned below

    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Important: Activate security software once everything is done.

    Method 3: Download and install the update the system (CHEKSUR) tool:

    http://support.Microsoft.com/kb/947821

    In addition, try to install the stand-alone package of these two updates.

  • When running Need for Speed Most Wanted game a black screen appears and freezes the system

    When running need for Speed \u200b\u200bMost wanted... I am facing problem that I get a black screen and my system hangs... end of mission need for speed... I see a box pop up displays

    get the solution online and qyit

    close the program

    debug the program

    and on the opening of the details, I see this

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: NFS13.exe
    Application version: 1.0.0.0
    Application timestamp: 506ef77f
    Fault Module name: igd10iumd32.dll
    Fault Module Version: 9.18.10.3071
    Timestamp of Module error: 51493b0a
    Exception code: c0000005
    Exception offset: 0001 has 097
    OS version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Additional information 1: 0a9e
    More information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional information 3: 0a9e
    Additional information 4: 0a9e372d3b4ad19135b953a78882e789

    Original title: APPCRASH

    When running need for Speed \u200b\u200bMost wanted... I am facing problem that I get a black screen and my system hangs... end of mission need for speed... I see a box pop up displays

    get the solution online and qyit

    close the program

    debug the program

    and on the opening of the details, I see this

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: NFS13.exe
    Application version: 1.0.0.0
    Application timestamp: 506ef77f
      Fault Module name: igd10iumd32.dll
    Fault Module Version: 9.18.10.3071
    Timestamp of Module error: 51493b0a
    Exception code: c0000005
    Exception offset: 0001 has 097
    OS version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Additional information 1: 0a9e
    More information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional information 3: 0a9e
    Additional information 4: 0a9e372d3b4ad19135b953a78882e789

    What is gd10iumd32.dll?

    These files more often belongs to the product shim NVIDIA D3D drivers.  and were most often developed by the NVIDIA Corporation. These files usually have NVIDIA D3D Shim Driver, Version 331.65 description

    Source:

    http://SystemExplorer.NET/file-database/file/igd10iumd32-dll

    What you can do

    1 see if you have the latest driver from Nvidia display.

    2. If you already later, uninstalling and reinstalling Nvidia Display.

    3 roll back to an older driver

Maybe you are looking for

  • Cannot install Windows 8 on retina Macbook Pro 2011

    I try to install and run Windows 8 on my Macbook Pro 15 "retina end 2011 with OS 10.10.5." I read a ton of forums, and they say all get a Windows 8 ISO from Microsoft Web site. I did it. Then, they say get a Virgin USB key and plug it in. I did, and

  • Share icon has no option of mail

    Updated at El Capitan over the weekend.  I've been uploading photos to a digital frame by electronic mail and 'Share' icon no longer has the e-mail option.  Any suggestions?

  • H9 want - 1469ea Phoenix: CSO part of hard drive 0 indicates full - E Drive a 2.7 TB unused.

    I'm a H9-1469ea Phoenix office less than 2 years. The OSC Drive (referred to as disk 0) with 106 GB is full of programs etc and cause serious problems. The rest of the car O contains recovery (drive D), and I'm unable to increase the volume of the pa

  • There are horizontal and vertical lines on the screen

    I have an asus game monitor old 2 years... other days I let my 12 year old son House and when I returned, he said my monitor was broken... I shot to the top of the platform and there are... also.i .vertical and horazonaly can see the image on the scr

  • How to operate the two cams of LifeCam Cinema web on one computer?

    I would like to simultaneously run two webcams Microsoft LifeCam cinema of a single 64-bit Windows 7 computer. But I can only raise a Microsoft LifeCam instance at a time. I can do two at a time by using the sample available with Visual Studio 2010 M