Example one an entry of my analog PXI-7841R DAQ

I want to sample an analog input from my PXI-7841R AI0 to.  The issue I'm having is when I drag the entry of my project in my VI, the element is defined as a signed integer value, and I can't change it to a floating/double.  Why is this?  I am experienced with LabVIEW; However, this is my first appointment LabVIEW FPGA development.

Help, please! Thank you!

I have it. Thank you.

If the manual gives me this forumla:

Gross = (voltage x 32768) / 10.0v

So if I wanted to compare the entry with a value of 1.5 volt analog, I could use the formula to get the gross value of 1.5V and compare it to the AI0 directly on the correct FPGA?

Tags: NI Software

Similar Questions

  • Is there a limit to the number of variables that can access a host on the PXI-7831R or PXI-7841R controller.

    What are the limits on the number of variables that can be transferred between the host controller and a PXI-7841R?  For example, I have several software and controls the status items that the host controller uses to communicate with the PXI-7841R.  These elements are not dependent on digital or analog i/o of the FPGA device.  Is there a limit?  Is there a specification of speed for this communication (by the number of input/output?).  Thank you.

    Any control or indicator that you create in your FPGA LV code allocates space on the Xilinx FPGA. As with all coding, FPGA, there is no way to tell a 'limit' on the space. When you add several controls and indicators, your compilation will take more time and do different things to optimize where everything is stored on your FPGA. You can see the compilation report to see how much space you have left.

    Regarding the speed of specs between the card and the host computer, which will just be specification 133.3 MB/s PCI - fresh general speed.

  • Synchronize the analog continuous entry and continuous analog output using the unique PCI6024E data acquisition card

    Hello

    I want to generate the continuous signal and at the same time I want to read that signal that I generate using a single card DAQ. I want to generate signal and the received signal is synchronized and in phase.

    I looked at several samples on the sync, but it quiet confusing. One using the same clock of entry while the other use a trigger to start. I use the PCI-6024E DAQ card.

    Can someone help me in this regard?

    In two of these screenshots, the task to HAVE started first (that's what you want, because it is the task of the slave).

    Typically for AO, you can simply write a unique period of your waveform, and then regenerate again and again.  Your waveform would be preset before the task starts.  If you need to update the waveform on the fly according to enter programming during execution of the task, you would disable the regeneration.  In addition, if the wave form is such that it cannot be easily represented by a predefined buffer (for example, it is a strange frequency which is not a same ditch at the bottom of the sample clock), then non-regeneration is the way to go.

    Best regards

  • SignalExpress - triggering an entry of an analog meter

    I use the cDAQ-9174 Council with an analog input OR-9222 module and a digital OR-9401 module.

    I am interested in generating a counter and a trigger, then the beginning of the entry on the front of this analog meter. Indeed, I want to create a simple analog to be delayed.

    So I followed these steps in SignalExpress:

    (1) created a block of output pulse counter generate DAQmx. It is high time, little time and delay initial all at 1 sec. I put it in cDAQ1Mod4_ctr0 (output terminal PFI3)

    (2) created a block DAQmx acquire Analog Input Voltage. I put it in cDAQ1Mod3_ai3. Samples of N = 100.

    (2A) on the trigger tab. I put the onboard digital start trigger type and the command source for/cDAQ1Mod4/PFI3 (to match step 1)

    2 (b) under the source of the clock, I put it in/cDAQ1Mod4/PFI0.

    When I run it, I get the error: "requested trigger line could not booked because it is already in use. I understand that it is in use, I started it in step 1. I wanted the counter pulse of the oven, and entered the analog for samples based on this pulse cycle.

    Get help what am I doing wrong? Is there another way to generate a pulse that can be used as a trigger for another source? I joined the project SE for reference

    Thank you.

    I think the problem is that you try to read and write from the same channel meter Signal Express.  Is it possible that you could plug the output of your counter in the entrance of another channel and read that?  It's a little messy workaround, but it might be a possible solution.

    Jon S

  • How to upgrade a selection one line of the table based on values in another table when there is exactly one matching entry and negligence if there is more than a football game

    Hello

    I'm trying to achieve the following objectives:

    1. in table A, select rows based on the values in column 2. something like SELECT * FROM TABLE A WHERE (COLUMN2 = 'X' or Column2 IS NULL)

    2 and these values selected, I want to update Column3 from Table A if TableA.column1 = TableB.column1, but only if there is exactly one game. If there are multiple matches, column 3 of the table article updated.

    That's what I've tried so far.

    UPDATE TABLE_A

    SET

    TABLE_A.COLUMN3 = (SELECT COLUMN3 OF TABLE_B

    WHERE ((TABLE_B.COLUMN1 = TABLE_A.COLUMN1) AND ( TABLE_B.COLUMN1 IN (SELECT Column1 FROM TABLE_B GROUP BY COLUMN1 , HAVING COUNT (*) = 1)))

    WHERE EXISTS (SELECT * FROM TABLE_A)

    WHERE ((TABLE_A.COLUMN2 = 'X' OU TABLE_A.COLUMN2 = 'Y') AND (TABLE_A.COLUMN4 IS NULL OR TABLE_A.COLUMN4 = ' ')));

    More details on my DB environment:

    Version Info:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    PL/SQL Release 11.2.0.4.0 - Production

    Toad, but, depending on whether the query updated all lines. I would really appreciate if someone could tell me how to fix my request.

    Thanks in advance.

    Exists it predicate in the block of update will be set to true if there is at least one row in table_a where column2 is X or Y and column4 is null or a space. You need to correlate exists it with the outer query query (I'm guessing on column1) to get the result I think you want.  However, who would update all rows in table_a who meets the criteria, there is a corresponding row in table_b, affecting Column3 lines form null not matched or not.  (Again), I'm guessing that's not your intention.  If you only want to update the lines in table_a which have a corresponding line in table_b and meet the other predicate, then I think you want something more like:

    Update table_a

    Set table_a.column3 = (select column3 of table_b

    where table_b.column1 = table_a.column1 and

    Table_B.Column1 in (select column1 from table_b

    Group by column1, having count (*) = 1))

    where ((table_a.column2 = 'X' ou))

    table_a.Column2 = 'Y') and

    (table_a.column4 is null or)

    table_a.column4 = ' ')) and

    table_a.Column1 in (select column1 from table_b

    Group by column1, having count (*) = 1)

    John

  • How can one bad entries in. Pb2.SF be fixed?

    I need to recover a vmdk 8TB of a VMFS volume.
    vmkfstools Pei 0 flat.vmdk produces a long list with 1.2 million entries - 8 who are bad.
    Is there a different way, more easy to create a sh script with 1 million rows?

    Completely unexpected ESXi seems to allow using this vmdk in a VM but inside the virtual machine access to this vmdk is so slow - only it effectivly is unusable.


    It's unfortunate that issues such as this have such a small chance of getting answers.
    In any case - I have now several workaround solutions - they are all very painful but who cares if the results are usable.

  • I have a work of Illustrator on that I want to put on a Web site, what format should be recorded and how do I reduce the size to fit for example one is an A2 poster, then how to copy the watermark for printing from the web is useless

    I have a work of Illustrator I want to put on a Web site, which would be registered in? also, it's A2 How can I reduce to the web so that the image is not distorted? and when it's done how do I watermark it so if someone wants to print from the web is useless? I'm a novice at this.

    Hi Alan,

    Sue moved you here...? You answered my questions for the most part.

    As Jacob and I have said so when you are in Illustrator and you have your work open, select file > save for Web...

    From there, you will see a new window opens and you can choose your type of file (png-24/jpeg) quality, you want to be saved to and size too...

    See how you go.

  • NEITHER 6052e: can I re - route the analog output of DAQ for PFI?

    Hello

    Does anyone know if it is possible to route analog output to one of the PFI (e.g. PFI0)? I use NEITHER 6052e and I would do the following: 1) output a signal to DAQ0; 2) then a few hundred milliseconds a signal of DAQ1; and then 3) read out a simple analog pulse on any output connector external to trigger an external device.

    Thank you very much for your help!

    Hello sometimes.

    Could you please provide more information about your hardware configuration:

    What devices are DAQ0 and DAQ1?

    Are you using a PXI and PCI 6052?

    When you say AO reroute to PFI do you mean you're trying to wire AO into a PFI line for release purposes or are you trying to exit and the analog signal of a PFI line?

  • DC motor of control using the analog output of DAQ 6008

    Hello

    Since the 6008 DAQ implements not good PWM, can I control the speed of the DC motor using outputs analog, protected by amplifiers?

    This will damage my DAQ?

    Ok.  The engines will be quite low.

    Consider using an LM317 as the "amplifier". Add one or two diodes protection. Connect the AO to the terminal of the regulator with a resistance setting to land.  Your output voltage can go down to 1.25 V and up to minutes (battery-2 V, Vaomax-1,25 V). If you have a battery of 12 V and a 12 V, the maximum speed of the motor engine will be slightly lower than the nominal speed full. The minimum voltage the motor probably will not work.  The regulator has a built in protection against overcurrent and overheating.  It's the motor controller cheaper you can do and works very well.

    If you need to reverse the engines, things get complicated a bit more.  You can use a DPDT relay or a transistor H-bridge.

    Lynn

  • Input analog continuous USB DAQ find amplitude peak to peak

    I need to know if there is a way to use the crest detector when you do an analog voltage input. I use c# VS2005 and 8.6.

    Hi jsheridan,

    Have you looked at the Ridge detector example that comes with Measurement Studio?  The c# example can be found here: C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2005\DotNET\Examples\Analysis\PeakDetector\cs (assuming that you have installed on your C drive :).

    The example generates a waveform and uses the PeakDetector class to detect the peaks.  You can take this example and modify it to support what you are doing, or just put some functions in your code.  The detector function takes an array and outputs tables of places, the amplitudes and the second derivatives of the peaks and valleys in the array passed to it.  If you prefer to use all the time, you could just do a ridge detection after each reading some or all few seconds so that you make a lot of unnecessary calculations.

  • Change the Data Type to node e/s on PXI-7841R FPGA

    I would like to change the data type for the node FPGA of e/s on my card FPGA 7841R (simulation). So far, I have raw data (I16). I want to test something with the calibrated data (FXP).

    The cRIO, you usually go to the properties of module to change the calibration mode...

    I searched 7841R documentation and could not do any weather information this calibration mode was also available on this map.

    Any tips?

    Vincent

    The new maps in the series R offer node fixed point IO (for example, the SMU-7858R), but as mentioned all the old PXI based cards R-series offer only modes of measurement I16.

    Page 22 manual R series is about how to do this conversion: http://www.ni.com/pdf/manuals/370489g.pdf#page=22

    Specifically, it notes that you can calculate the voltage by (output Code I16) * 10.0V / (32 768).

    Even if this can use FPGA resources, it records the host do the same conversions. RT old target with slow processors doing the conversion of I16 or FXP to SGL on the FPGA has saved a lot of time CPU

  • can I connect the outputs analog of a DAQ configuration in series to have the highest voltage source?

    Hello guys,.

    My question is provided in the topic, you have an idea about that? your help is appreciated.

    ELA

    Hi Ela,

    For almost all devices supported by DAQmx, you can't. When all AO channels have the same motive, connecting them in series would be short the output channel on the ground, which is bad.

    However, there is one exception: the SCXI-1124 module has channel-to-channel isolation, which allows channels to be cascaded to output voltages: I can cascading the output voltage of an SCXI-1124 module?

    With channel-to-Earth isolated peripheral (such as NI 926 x or NI 623 x), you can cascade multiple devices together, but not multiple channels on the same device.

    Brad

  • How to read the analog inputs of one Board of R for (PXI-7851R) series

    You can guide me please with the steps for reading of the analog inputs of a series a. card I use as the target fpga PXI-7851R.

    Have you looked at the examples provided with LabVIEW? There are examples showing how to read the analog inputs.

  • Need help on the use of the PCI-6221 and c# to control three digital Port and an analog of entry

    I need to send the digital output at three ports and then read an analog input voltage using the analog card PCI-6221.

    I did a c# program to fight against it. I built four tasks altogether. Three tasks for three digital output ports and a single task for analog input.

    How can I reduce the time?

    Using my method, to 3.3ms in total. And it's slow.

    I can build one task for three ports?

    What is the best way to the control task to reduce the time of communication with the PC?

    Is that possible to save a lot of analog reading entry in the memory of the DAQ hardware and then read it all together from the computer in order to reduce time consumption?

    1 million thanks!

    Hello

    Hi Jin,

    To answer your questions, Yes, you are able to configure a task of digital output to use three output ports and PCI-6221 has a buffer of memory FIFO aboard 4095 samples.

    I would like to direct you to the example of NOR-DAQmx for c# files located in the following location on your computer

    C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET2.0

     

    Here, you will find predefined examples in c# that should give you a good idea of how to go about architecting your code to achieve the results you need.

    There is also a useful help file which you will find by navigating to Start > all programs > National Instruments > NOR-DAQ > help of NOR-DAQmx .NET Framework 2.0

    I hope that this answer is useful.

    Best regards

    Steve H

  • How can I display an analog input for the PXI-5105 on LabVIEW?

    Hi all

    I am very very new to LabVIEW and I started to tinker with it. I use the version of LabVIEW 2010 SP1 on Windows 7 OS. I also have the chassis NI SMU-1073 with SMU-6361 and PXI-5105 modules and the chassis is connected to my PC via PCI. I became familiar with the devices and trying to see some analog signals to one of the channels on the PXI-5105 module in a graph in LabVIEW.

    I would appreciate your help.

    Hello Henokview!

    I would like to read through these tutorials to understand the steps of programming of the NOR-SCOPE, NOR-DAQmx. After reading these links below, you will be able to understand how to connect the output of a readfunction to a chart or table.

    DAQmx

    http://www.NI.com/white-paper/5434/en

    OR-SCOPE

    http://www.NI.com/white-paper/3382/en

    Best regards

    Jonas

Maybe you are looking for

  • 27 "iMac buying tips

    After waiting 2 years for an upgrade to the Mac Pro 2013, I decided to settle for a 27 "iMac.  "Read a few reviews that suggest the fastest iMac27 2015" 4.0 GHZ with 64 GB of ram is actually faster than the Mac Pro 2013 when working on 20 GB files in

  • Crashed oddly

    So these last few months, ive been looking for an answer to my problem. I have not entered into what. First, I open Skype and after 7 seconds - 5 minutes, it closes without warning or Skype crashed to message. I have Windows 8, the last vercion of IE

  • Read the latest version of the driver NOR-RIO by program

    Hello.Is there a way to read what NOR-RIO's version of on my RIO programmatically? I know I can get this information through MAX, but I want to get this information at run time.

  • Winodws xp SP3: error 0xC8000402 every time I run Windows Update

    original title: Hello, I have windows xp SP3 and Im having error 0xC8000402 when I run Windows Update. Can someone please? Thank you Hello I have windows xp SP3 and Im having error 0xC8000402 when I run Windows Update. Can someone please? Thank you

  • Windows xp keeps a loop to windows logo

    I can't get past my windows xp logo. For the last 4 days pc acted this way and I never created my pc startup disks. The last thing that happened before that it started, it was a virus scan which did ask that 7 virus have been detected, but at the end