Analog Input Module Values Question

So I started to use the C-Rio for the my research. I connected a simple 7805 module to A0 of my 9222 module. I was expecting digital values, but it seems like I am getting the actual voltage value. Does the 9222 module automatic convert the digital value to the voltage value, or did I do something silly?

Hello,
I couldn't find anything about a 7805 module, but I presume you meant a Digital I/O module?
A digital signal is still an electrical signal, and it exists in the real world as real voltages (e.g. '0' = 0 V and '1' = 5 V). So, the value in your screenshot (-0.00017) looks like the voltage that represents a '0' bit, plus some electrical noise.
Your NI 9222 doesn't know what it's connected to, and it doesn't understand digital signals -- it just reads and reports whatever voltage is presented at its input.

Similar Messages

  • "Chassis Temperatur​e" in Analog Input Module for FPGA (cRIO-9201​)

    I have just gotten my cRIO with a analog module (9201) and a digital output module (9472).
    When I place an Analog Input Module on my block diagram and double click it, I can choose from the following inputs:
    Channel 0 through Channel 7
    AND
    Chassis Temperature
    I have tried to find any documentation for this "Chassis Temperature" but so far without success.
    If I read this input and feed it straight to an indicator, I get values in the range of 120 to 150.. Now, without more information, this number is rather useless. Does anyone know how to transfer this data to a temperature (either in the Celcius scale or the Fahrenheit scale)?
    Thank you!
    Project Engineer
    LabVIEW 2009
    Run LabVIEW on WinXP and Vista system.
    Used LabVIEW since May 2005
    Certifications: CLD and CPI certified
    Currently employed.

    I still did not find any documentation for this "feature" but I lucked out and found the following:
    in the folder: \labview 7.1\examples\FPGA\CompactRIO\cRIO-910x\
    you should have a file called:
    cRIO-910x support files.llb
    in this there is a convert to temperature vi.
    To get the raw data as a temperature, it looks like all you have to do is divide the binary data by 4 and the answer will be in Celcius.
    Project Engineer
    LabVIEW 2009
    Run LabVIEW on WinXP and Vista system.
    Used LabVIEW since May 2005
    Certifications: CLD and CPI certified
    Currently employed.

  • How to use both digital and analog input modules in the same worksheet - MCC USB1208LS

    Dear all,
    Hi, I am Imran. I am using MCC USB1208LS. I have created the worksheet using digital input module as below and able to execute (run).
    But when i add another analog input module in the same worksheet and executes, An error Message pops-up as in the below image
    I have connected temperature sensor sognal to the analog input of USB1208LS. When using analog input alone in the worksheet, it indiates the actual values. 
    is any black box solve? please guide me. I am attaching in images
    We already placed a purchase order for USB1208FS. Will it sort out my issues?.
    Thanking you,
    Imran Mohamed.
    Attachments:
    present worksheet digital input only.JPG ‏67 KB
    with analog input module.JPG ‏81 KB
    error menu.JPG ‏77 KB

    Hello Imran,
    the USB-1208LS is not capable of running concurrent operations such as an analog input scan and ANY digital Ins, Outs, counter reads, or analog outs.  In Dasylab, the 1208LS is scanning, and nothing else from that particular device can be requested of it while that is happening.
    Yes, using the 1208FS will resolve some of these issues.
    Please refer to the ULHELP.CHM file installed on your computer in c:\program files\measurement computing\daq for details on this issue, et al.
    also I recommend you send your MCC/DASYLab requests for support to [email protected] as MCC staff (that includes me) does not normally monitor NI's Developer Zone.

  • How do I acquire multiple signals in the NI cDAQ 9172 using 2 analog input modules?

    Hi everyone,
    Is anyone familiar with using the NI cDAQ 9172?  This is my first time using it and I am not sure what exactly I am doing wrong... Alone with a NI 9233 analog input module, it works great.  I can grab my 4 signals from each channel and go.  However, when I add another analog input module to the mix, it gets an error.  It looks like it is reading only one and not the other.  It bombs at one of the DAQ start task and read task.
    Basically, the block diagram is just a double of the one 9233 working alone.  Is there something needed for input to make the 9172 working?  Any ideas?
    Any help is much appreciated.  Thanks!!

    Hi Jud,
    Both threads are correct.  The cDAQ-9172 has a single analog input timing engine, so both of your analog input modules will need to be in a single task.  The other VI you referenced shows one analog input task (with channels added from two modules) as well as an analog output task.  Analog output has a separate timing engine from analog input, so both of those can run in parallel independent tasks.
    The beginning of this thread is a good example; a single DAQmx Create Task followed by a DAQmx Create Virtual Channel for channels from each module.  Also, Getting Started with NI-DAQmx will give you the fundamentals for data acquisition, though I don't know how many of their examples use CompactDAQ.
    Regards,
    Kyle

  • Scc analog input modules, e.g., ai07 or ai13

    On the SCC-AI series such as the AI-07, what is the relationship between physical channel inputs (ai0 and ai1) as seen in Measurement and Information Explorer (MAX) versus module pin numbers 1-2 and 3-4? Are pins 1-2 the same as ai0 and pins 3-4 the same as ai1 or is it the opposite? Neither the SCC Quick Start Guide nor the SCC AI Series User Guide nor the SCC Configuration Guide have this information. Thank you for any help!
    Solved!
    Go to Solution.

    Hi Louise,
    Page six of the User Guide and Specifications shows a block diagram.
    http://www.ni.com/pdf/manuals/371066d.pdf
    On the right-hand side of this block diagram, you can see the E/M series DAQ Device inputs are AI (X) or AI (X+8).  Since these modules are signal conditioning modules, they do not actually perform a measurement, they simply condition the signal so that a measurement by the DAQ device can be taken.
    AI (X) is going to be the channel you specify on the DAQ device (for instance, analog input channel zero).  If you are performing a differential measurement, the spacing must be eight apart, and AI (X+8) will be the other side of the signal that plugs into your DAQ device (in this example, analog input channel 0 + 8 = 8).
    Please let me know if this helps.
    National Instruments

  • How to build a current loop with cFP-1808 and analog input module AI-110?

    I am trying to build a current loop to measure temperature via and a resistance thermometer a transmitter that converts the signal to current. I am using cFP-1808 with the power supply PS-5 directly connected to it.
    For the current measurement I am using AI-110 but I am having trouble with getting current in my loop. I have looked in he manual of the AI-110 module and am using the set up for a "loop with an external power supply", counting the PS-5 as external. That is to say, I have connected the negative transmitter terminal to Vsup on the AI-110, and the positive side to Vin. Now, however, I am stuck. I don't get any signal in my loop.
    Can I use the PS-5 to power my AI-110 module or do I need to use another external power supply? In this case, how do I connect this?
    Thanks for any help!

    Clara G:
    I overlooked that in your 1st post you were connecting the other end of the transmitter to Vin, you actually need to connect it to Iin on the AI-110.
    Regarding the use of the PS-5 to power the cFp and supply power to the loop, I do not know if that will work or not.
    Suggest that you switch over to Iin terminal and use the separate 24V supply to power the loop. If that works, them maybe try the PS-5 for both the cFP and loop power.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Covert analog input signal (NI 9203) to meaningful units

    I'm very new to LabVIEW and I wanted to do something that I thought was fairly simple. Using the NI 9203 analog input module I wanted to measure pressure using a sensor that has an output of 4-20 mA. Altough I get some signal at the end on my screen, it's not realy the pressure. How can I convert this to a meaningful signal? I also took a look at the exeple VI's in the module specific file, but I don't have a clue how to use them.
    Hopefully someone can help me out.
    Jurgen

    Hi Jurgen,
    You have two possibilities. But you must first know the relation between the current created by your sensor and the pressure mesured by your sensor. Normally you should receive this kind of things with your sensor.
    First one, you configure the scale in MAX (Measurement and Automation eXplorer) and you can associate this scale to a task. In this case, the value you will receive in LabVIEW will be automaticly converted into the right (scaled) units. If you are not familiar with MAX and creating scales, you can take a look at this article. or the attached file or yet the MAX NI-DAQmx Help (Start >> All Programs >> National Instruments >> NI-DAQ >> NI-DAQmx Help).
    Second one, you create a subVI (VI into another VI) in LabVIEW that will make the conversion in LabVIEW itself. By this way, this is simply a VI that makes the correlation between the current and the pressure.
    I Hope this will help you.
    Regards,
    Julien Roland - District Sales Manager
    NI Belgium - Technical Support
    Don't forget to rate a good answer

  • Getting an error 33162 when trying to read analog input on FP

    I am getting a error when trying to do a simple analog input read using Field Point. I have a FP-2000 network module and am trying to read channel 0 at FP-TB-10 @3 which has an AI-C420 analog input module in place. There is no definition for the error and I can read the signal from Field Point Explorer just fine.
    I have downloaded the example continuous read vi from the web site and it does not work either. It seems that this should not be complicated but this is not the 1st problem I have had. I will take any suggestions. Thank you.

    Mike,
    Error code 33162, "Can not connect to item on module," generally is the result of attempting to connect to an item that is not available at the first connection attempt. This is frequently the result of an ethernet network module being offline when you attempt to connect to it. Since you are able to connect from FieldPoint Explorer, I suspect something else is going on. The likeliest possibilities that I can think of are:
    1) You have more than one ethernet Comm Resource in your IAK file and you have provided the name for the wrong resource (e.g. you may have had a different IP address and created a new Comm Resourcefor the new IP address, but left the old one in place and are using the wrong one).
    2) Similar to #1 above, you changed the IP address in
    the Comm Resource but did not save the change so there is no module at the IP address it is attempting to communicate with.
    3) There is a misconfiguration in the IAK file and the FP-TB-10 shows a listing for a digital module at address 0 rather than an analog module.
    4) The module is misaddressed. I have occasionally seen instances where the protective end cover was not installed on the last terminal base and a piece of metal shorted some of the pins causing the addressing to be incorrect. Since this method of failure would also show up in FieldPoint Explorer, I do not think it is likely the root cause of your problem.
    5) You have booted the FP-20xx in Safe Mode (although FieldPoint Explorer will not work in this case so I do not think it is likely).
    Note: If you had successfully connected and then lost the connection, the error code is 33163, "The connection to the module has been broken."
    Regards,
    Aaron

  • What is the Fieldpoint analog input interchannel skew time?

    I need to know what the interchannel skew is on Fieldpoint analog input modules because I need to aquire samples fairly close in time to one another simily to the typical MIO PC-based card. Also, I am wondering if the aquisitions can be externally triggered.

    The FieldPoint IO modules are designed to continually sample all (4/8/16) channels and write the data to shared memory. FieldPoint controllers then read the shared memory and make the data available to the user (serial/ethernet) or controlling program (RT). There are no provisions for external triggering of ADC conversions. Nor are there provisions to prevent the user from oversampling or undersampling the shared memory (e.g. the controller reads the shared memory 5 times in-between the ADC updating a channel). The interchannel skew can be determined by taking the IO Module All Channel Update Rate (e.g. 1.08 seconds for the FP-RTD-122)and dividing it by the total number of channels (e.g. 8 for the FP-RTD-122). Thus, the delay in between any two adjacent channels
    is 135 ms for the FP-RTD-122.
    Ultimately, FieldPoint was designed for single point measurements and not for waveform or simultaneous measurements. The capability for triggered, simultaneous or deterministically sampled readings is not currently available in the FieldPoint system.
    Regards,
    Aaron

  • Problem with the analog input acquisition in labview fpga 8.5.1 and CRIO

     Hello all,
       I am using NI CRIO 9104 RT controller with 9014 FPGA chassis.I am using an Analog input module 9205.My problem is with the acquisition.I am using a
    function generator which generates some sine wave of -1 to 1 ,5hz to125khz sine signal and i have connected to 9205 in rse mode.In FPGA vi i had placed the I/O node and placed an indicator(data type FXP).If i connect the i/o node to a chart or graph,i am not able to see the output.?How this problem can bbe solved
    Next i had placed a FIFO in DMA transfer mode of depth 1023 which will accept the U32 datatype,so i did some manipulation as mentioned in a tutorial.
    Now in RT VI i am reading the same data from the buffer in U32 and doing the reverse manipulation i am able to view the data.Now the problem is ..if i am
    increasing the frequency of the input signal,the data is completly lost ?How can i overcome this problem...
    thanks in advance,
    srikrishna.J
    Analysis Engineer,
    Neurofocus

    Difficult to see where is the problem ....
    Be sure you are doing a good RT system by grabing reference design examples
    Don't forget to specify the DMA FIFO size in the RT code
    Doesn't matter the size of the DMA size under the FPGA project explorer.
    Upload your code, You will get answers...
    Mathieu

  • Will Analog Instruments ADXL330 triaxial accelerometer work with the SCXI-1531 input module?

    I have an SCXI-1001 chassis and will soon be purchasing an accelerometer input module (SCXI-1531).  I'm also investigating possible accelerometers to buy.  Does anyone know if the the Analog Instruments ADXL330 accelerometer can be made to work with the SCXI-1531?  Here is a link to the Analog Instrument's page about the device:
    http://www.analog.com/en/sensors/inertial-sensors/adxl330/products/product.html
    Thanks!

    Hello,
    The output voltage and current levels are within specification of the module, the only concern I have is interfacing between the IC chip and the BNC connections on the 1531.  If you have a way to effectively connect the pins to BNC connectors and connect that to the module, then it should work.  Are you using the module's excitation source as well? 
    Kyle A.
    National Instruments
    High Speed Digital I/O Product Support Engineer - R&D

  • Analog input(sound) to SD card Module NI 9802 using cRIO 9023

    Hi,
    I am using cRIO 9023 ,NI 9802, NI 9215 and NI 9269 modules, I have acquired an analog input from the module and give it to the Analog output module, the output which I have taken is an audio signal(sound *.wav file) and want to save this output to the SD card module. I am unable to create the wav file in the RT cRIO and that's why I am facing problem in saving the data into the SD card.
    I have the followig queries:
      How can I convert the output to wav file which I have already acquired from the output module.
      How can I save the converted wav file into the SD card module.
    If anybody have already worked and have some knowledge kindly share with me.
    Regards,
    Ather

    Here is an example VI that ships with LabVIEW that may help.  You can change the Write to Text File to Write to Binary File.
    Applications Engineer
    National Instruments
    Attachments:
    9802.zip ‏5 KB

  • Best solution to simply get the latest value at analog input

    Hi,
    I am looking for an easy way to simply get the latest value that is available at an analog input?
    The application is a control loop, I am using a timed loop and want to read a single value (voltage) per iteration.
    Do I need to use DAQmx Timing, DAQmx StartTask etc, or is it sufficient to create a channel and call DAQmxRead in the timed loop?
    At the moment, I am a bit confused about all the options that are available especially with the DAQmxTiming vi.
    According to the documentation, a buffer is created and the device fills this buffer with data, depending on the sample mode, sample rate and number of samples. The DAQmxRead later reads from this buffer.
    I think in my case, I do not need a buffer,or, if this is not possible, the buffer length should be 1, since I always need the latest value, and no older values?
    Is there a setting for DAQmxTiming, that makes sure that DAQmxRead gets the latest available value whenever it is called?
    Thanks in advance,
    Christian

    Setup your task to be 1 sample on demand.  I don't have LabVIEW immediately available, but you should be able to figure it out.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • MyRio analog input

    Greetings,
    I am new to NI and I have a question about the setting the timing on the analog inputs.  I want to set up a clock (DIO output) and in addition, have ever clock rising edge initiate a single A/D conversion.  Is this possible with the MyRio?
    The background is I have a device with a string of sensors that will output a analog value every time I send in a clock, therefore I need to digitize the analog signal synchronized with the clock.
    In addition, if someone has found documentation other than the manual, I would appreciate your sharing.
    Thanks for the help,
    Frank 

    Hi Frank,
    Welcome to the forums! What you want to do is definitely possible with the myRIO. You have a few options available to you:
    If you have the ability to upgrade to LabVIEW 2014, the myRIO 2014 toolkit includes new Interrupt Express VIs. You specify a condition (in your case, a rising digital edge) and a callback VI that executes when this condition is met. The best way to learn about how this works is to take a look at the examples in Example Finder (Help»Find Examples»Toolkits and Modules»myRIO»Interrupt Handling.lvproj.
    If you don't have the ability to upgrade to LabVIEW 2014, you could implement something similar yourself by having a loop wait for a rising edge on a digital line by using the Digital Input Express VI and then doing the analog measurement. This method would introduce some jitter because of the overhead associated with the Express VIs. An example snippet of this is below. If you do have access to the FPGA module, I would recommend implementing this logic on the FPGA instead (further below).
    Using the FPGA module to do the triggering would give you better results because of the tighter timing capabilites of the FPGA as compared to the Express VIs. The logic would be mostly the same on the FPGA as it is on the real-time except for the appropriate VIs swapped around:
    Here, we are waiting for a rising edge on a digital line and then placing the data from the analog channel in a  to provide this data to the host (real-time) application.
    If you want absolute control over the synchronization of the AI to the clock, I would recommend implementing the logic in FPGA (2013 or 2014). If your application has a little leeway in terms of timing, the Express VIs (2013) or Interrupt Express VIs (2014) would work for you.
    Let us know if you have any questions!
    Best Regards,
    Matthew B.
    Applications Engineer
    National Instruments

  • Scanning of analog inputs in PXI 7831R FPGA

    Hi all,
    I am new to Labview FPGA Module. I am using Labview 7.1.1 and Labview FPGA Module 1.1 . I am using PXI 7831R FPGA Card.
    I developed a program which is used to scan analog Inputs with given scan rate for given scan duration. I gave input as pulse signal with 1Sec period and 2 V amplitude.
    If I scan one analog Input with 10ms scan rate for 1000ms scan duration I am getting correct values. But if I use 2 or more analong signals to scan at the same time then I am getting Multiple of periods. And also If I increase or decrease scan rate I am getting strange values. Could any body please check my code and help me.
    Thanks in Advance.
    Regards,
    Sashi
    Attachments:
    AnlogIn_FPGA.zip ‏247 KB

    customise your front panel with advanced picture creation metods
    Attachments:
    SUF.ctl ‏20 KB

Maybe you are looking for