Where is the gain and offset of USB-5132, running in c#?

Hello

I just read the post https://forums.ni.com/t5/High-Speed-Digitizers/How-are-offset-and-gain-in-the-niScope-fetch-function... on the gain and offset of the digitizer, to be used to rebuild data.  Like the other poster, I would also like to find the gain and offset of our USB-5132, but spin in c#.  Someone would be able to tell me the location of the gain and offset of our device, in the drivers c#?  (If I try to estimate myself parameters digitizer my reconstruction is OK but not perfect).  Thank you very much.

Kind regards

Penny

All together.

Info [] ScopeWaveformInfo = e.WaveformInfo;
MessageBox.Show ("gain [0] is" + info [0]. Gain.ToString ());
MessageBox.Show ("offset [0] is" + info [0].) Offset.ToString ());

Thank you

Penny

Tags: NI Products

Similar Questions

  • How to extract of gain and offset by AnalogWaveform?

    Hello

    On a similar note to the posts at https://forums.ni.com/t5/High-Speed-Digitizers/How-are-offset-and-gain-in-the-niScope-fetch-function... and http://forums.ni.com/t5/High-Speed-Digitizers/Where-to-find-gain-and-offset-of-USB-5132-running-in-C... , I try to extract the file to output data from the gain and offset of our USB-5132 digitizer.  The file contains the event argument e.Result 'Fetch' and is sent to file in c# as follows:

    binaryFormatter.Serialize (fileStream, e.Result);.

    I want to read in the data file and to determine what the gain and offset of the digitizer.  I don't think I can use "Fetch" to read the file (is this correct)?  I'm reading as this waveform data:

    AnalogWaveformrecords [] = binaryFormatter.Deserialize (fileStream) as AnalogWaveform[];

    I think there should be a way to get the gain and offset because this routine can apparently do:

    Private AnalogWaveformScaleRecords (AnalogWaveformrecords []) [];

    Also, I tried to get the ScopeWaveformInfo like this:

    Info [] ScopeWaveformInfo = binaryFormatter.Deserialize (fileStream) as ScopeWaveformInfo [];

    but I got a null result in the structure.  This could have the right approach however?

    Is there a way to get the gain and offset of the digitizer without using Fetch?  If not, is it possible to use Fetch reading data from a file, and then extract the gain and offset the usual way (from Fetch)?

    Thanks for any thoughts on this.

    Kind regards

    Penny

    I found a solution for this - get the gain and offset with extraction by using a different set of data.  Calibration seems stable enough to do this.

    Thank you

    Penny

  • Where is the info on iomega Prestige USB 2 HARD drive?

    Where is the info on iomega Prestige USB 2 HARD drive? I just got this (used) and can not get

    It copies information very fast. I formatted this unit, for Windows 7. I made a backup of

    my computer. This computer has apx. 300 GB of info. After 10 hours had the iomega

    only downloaded 38%. Have I not a DUD?

    Also, please tell me where to post or get information on this hard drive. Please

    the URL of the list. Your view is for smart people, I'm not.

    Note of the moderator; edited topic.

    Mr. Lenovo,

    I used a new cable this morning. The player had made a backup in an hour and twenty minutes.

    This is the first time I experienced a bad USB cable. Always a first time.

    The only difference that I noticed this trial, has been anything but downloaded unit on 7 GBs in

    tweny minutes, it took an hour to complete the last 7 GBs. We'll see how it works

    thereafter.

    You can close this investigation. Consider that everything accomplished.

    Thanks for the help and information.

  • Re: Satellite U500 - 18K - where is the bag and the driver on the CD?

    I just bought this laptop yesterday and when I read the manual book its has said that the package includes the bag and the driver on the CD but I had none of them, only the laptop and the power cable.

    When I ask the man to store, he says, it's all... no other. Where can I ask questions about it? Or is it a common thing?

    Hello

    Can you please tell us what page you found this information? This does not to me you get a bag and the driver on the CD with Notepad.
    Can also explain what you mean with CD driver?

    I checked the manual of my Satellite U500 and it shows the following information about the material delivered in package:
    + Toshiba Satellite U500 laptop PC +.
    + Universal AC adapter power cord + and
    + Battery (is preinstalled on the computer).
    + Cleaning cloth (is included with some models).

    So I didn t find any information on the things you want to say

  • where is the Clipboard and how to use it

    I recently bought a 'new' MacMini (2014 model) with El Capitan, OS X10.11.3

    My questions:

    1. where is the Clipboard, literally how to find it and how do I enter?  Never used before. Don't type "Clipboard" in give Spotlight help is not usable.

    2. I think I know how to take screen shots, but how do I move a capture in an email or iMessage, or any other document of screen? Somewhere I read a screenshot can be stored in the Clipboard.

    Thank you

    Jay

    Irving TX

    1. choose the Show Clipboard menu Edition of Finder, or press the command and V keys when in a place, its content can be put.

    2 see the second part of the #1.

    (140709)

  • Rownum and plan to see where Explain the terms > and <

    Hi people...

    I just wanted to share a comment... would make for a conceptual explanation on even!

    SQL > select * from v version $;

    BANNER

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

    Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    PL/SQL Release 12.1.0.1.0 - Production

    CORE Production 12.1.0.1.0

    AMT for 64-bit Windows: Version 12.1.0.1.0 - Production

    NLSRTL Version 12.1.0.1.0 - Production

    SQL > select count (*) in the tab_rownum where rownum < 2;

    Execution plan

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

    Hash value of plan: 1301825293

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

    | ID | Operation | Name | Lines | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |            |     1.     2 (0) | 00:00:01 |

    |   1.  GLOBAL TRI |            |     1.            |          |

    |*  2 |   COUNT STOPKEY |            |       |            |          |

    |   3.    TABLE ACCESS FULL | TAB_ROWNUM |     1.     2 (0) | 00:00:01 |

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

    Information of predicates (identified by the operation identity card):

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

    2 - filter(ROWNUM<2)

    Statistics

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

    1 recursive calls

    0 db block Gets

    3 consistent gets

    5 physical reads

    0 redo size

    542 bytes sent via SQL * Net to client

    543 bytes received via SQL * Net from client

    2 SQL * Net back and forth to and from the client

    0 sorts (memory)

    0 sorts (disk)

    1 rows processed

    As most of us should be aware of, First_Rows_k optimization takes place for query Rownum... !!

    so for top query, the cardinality estimate is 1 and County stop happened key in the plan with filter as ROWNUM < 2.

    Now let's run under SQL.

    SQL > select count (*) in the tab_rownum where rownum > 2;

    In any case... above SQL will be not all output lines.

    As expected rownum is greater then 2... !!

    allows to check the plan!

    Execution plan

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

    Hash value of plan: 141762995

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

    | ID | Operation | Name | Lines | Cost (% CPU). Time |

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

    |   0 | SELECT STATEMENT |            |     1.   425 (1) | 00:00:01 |

    |   1.  GLOBAL TRI |            |     1.            |          |

    |   2.   COUNTY |            |       |            |          |

    |*  3 |    FILTER |            |       |            |          |

    |   4.     TABLE ACCESS FULL | TAB_ROWNUM | 91740 |   425 (1) | 00:00:01 |

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

    Information of predicates (identified by the operation identity card):

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

    3 - filter(ROWNUM>2)

    Statistics

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

    1 recursive calls

    0 db block Gets

    1529 gets coherent

    1526 physical reads

    If we check the cardinality estimates, this is the total of the lines of the table... That's why no First_Rows_K for this SQL optimization. (All_rows)

    Although we will not get all the lines... always full scan table oracle...

    Also... Button Count Stop has changed and filter + Count... !!

    Need to understand... Why not oracle have an output for logic > rownum conditions than zero!

    Why the filter for the second execution ends not SQL executions... it scan complete set... for lines nil!

    Thank you

    Deepak M.

    Hello

    WHERE ROWNUM > 2 is a very common mistake, but it's a mistake that most people make once, in development.  They learn that it does not work, and they don't again.  I expect Oracle to make the features so that unique development queries run faster.  They are probably more concerned about what kind of things people do every day, in the Production.

  • Where are the APEX_ACCESS_CONTROL and APEX_ACCESS_SETUP tables?

    Hi all

    I would like to create an authorisation schemes, but I don't know where the APEX_ACCESS_CONTROL and APEX_ACCESS_SETUP tables?

    Anyone, please let me know where they are - a path or a url will do! Thank you!

    Concerning
    Kamo

    Check Chapter 11 tuturial Apex advance documentation. The chapter will guide you in the process.

    Caesar_DLS

  • the back and are not virtual machines running on Isilon

    Hello vExperts.

    Could someone please share the details of the back and to not execution of virtual machines on EMC Isilon...

    We have a problem of IOPS / serious storage s, don't have just enough time zones and no money in the budget for more, but we have an Isilon with certain capabilities, I don't have all the details in front of me that I write this message about what nodes and others look like but soon as I have them I will add them in the post.

    For now, if someone wants to throw me some knowledge around deployment of virtual machines on Isilon before blindly go us in that direction that would be great

    Thanks for you input in advance!

    In short: not to run virtual machines on Isilon.  Been there, done that, didn't like it much at all.  You will cause you grief.

    We tried with KVM and ESXi and neither works well. EMC has tried to run, but even their its saying not to.

    I love Isilon but not not for hosting virtual machines.

  • Two computers OK, but where are the catalogs and collections?

    I guess I missed something here, but I'm new on this.

    I have an iMac desktop and a Windows 10 laptop. CC of Lightroom installed on both and both work well.

    But I don't think I understand this cloud thing. I assumed that I could create a catalog, collections slideshows etc. on my iMac. Then I could sign and go out with my Windows laptop. Then I

    could sign in Lightroom CC on my laptop and BOOM, there is all the stuff that I created on my iMac on my laptop via the cloud.

    I assumed that all the work that I do was preserved in a cloud of Lightroom, but I now think that I'm wrong. Am I?

    If so, how can I do things on my iMac, and then synchronize with my laptop Windows 10?

    Thank you.

    I assumed that all the work that I do was preserved in a cloud of Lightroom, but I now think that I'm wrong. Am I?

    Your work is usually saved on your local hard drive, unless you use the sync to work with Lightroom Mobile features.

    How do I synchronize Lightroom desktop and mobile application of Lightroom

    The part of the cloud of the cloud makes Adobe refers to the granting of licences where license controls are managed remotely by license Adobe Cloud servers.

    Software installs and runs locally. Œuvre produced by the software is saved locally, unless you choose to use Adobe Cloud storage or use the Lightroom Publishing Services.

    Lightroom catalogs and collections are stored locally.

    synchronization problems between 2 desktops

    Post in the Lightroom forum if you have any other questions.

  • work with the scale and offset in add / subtract

    Can anyone give a more definitive explanation of the use of scale / offset in the area add / subtract from the fields please? I always tend to go by trial and error when you use them, which gets results, but it is one of these in photoshop that my lack of technical knowledge frustrate me in the region. My understanding is that the offset increases / decreases the brightness in all areas, which works as expected. Scale, not so sure, on the interaction of the two... much less clear lol

    Help from photoshop:

    https://helpx.Adobe.com/Photoshop/using/channel-calculations.html

  • where are the shuttle and jog Pro 6?

    Where can I find the shuttle yhe and wheel cursor in first pro 6?

    In the source Panel, it is normal to move with the arrows, but in the programpanel he's going way to slow down!

    How do I fast foreward?

    Gone:

    Use J, K and L.

  • PS CS5... Where are the photo and leaves packages contact?

    I spent just PS CS3 to CS5 and cannot find the picture packages and Contact sheets.

    They used to be in file > Automate, but no more.

    Where are they?

    You need to download the optional plugins for cs5:

    http://www.Adobe.com/support/downloads/detail.jsp?ftpID=4965

    Please read the installation instructions.

    MTSTUNER

  • Where are the .pfb and .pfm files?

    I installed Indesign CS3 on an iMac running m & Windows XP Pro, and one - and only one - police disappeared. Century Gothic appeared when I installed CS3 on my PC, but it does not appear on the list of the drop of the police now. The documents that I created on my PC can't "find" police. Naturally, all the documents I created for my business for the past three years has used Century Gothic.

    A previous debate mentioned copy .pfb and .pfm files, but I don't know where these files, or if, indeed, it is the answer. Any thoughts?

    The open on a machine where the fonts are not as missing. The document of the packaging.

    There will be a folder of fonts in the package.

    Bob

  • Could someone kindly point me to directions that could guide me in the formatting and encrypt a USB external?

    I have a new drive PNY and problems the encryption to work.  I tried to format the drive, but continues to receive a notice indicating that the encryption fails because the formatting isn't correct.  Thanks for your help - DD

    See if the instructions detailed on this site can help you:

    http://www.techmeback.com/blog/files/encrypting_a_usb_drive_on_a_mac_made_easy.h tml

  • Where is the cut and paste option?

    Hello

    Recently moved from Windows to OS X.

    If I select text and click right I can not find the option "cut". What I have to add parameters, or there is no such thing in OS X?

    Thank you

    Nikiforidis

    Option cut will only be there if the text is in an editable field. Otherwise, choose copy.

    (143377)

Maybe you are looking for