How to read any voltage (0 - 10v) with NI 9421

Hi I am a beginner in cRIO. Play with the cRIO-9012, NI9421. There is a sample program in Labview named 'NOR 94xx entry - getting started - scan Mode'. This is a basic program just to show the State of the LED, when there is something in DIO1. I have implimented the program by changing the chasis of the target. To see how it works, I used a calibrator to send some tension to NI9421. The led in fact to 8v. My question is how can I turned it on even in low voltage 2v, 3v and 5v. Someone help me please what settings I need to change. ?  I am attaching the screenshots of the program and the labview example file.

If you look at the datasheet for the 9421, a logical 24V digital input module.  It states that a shutdown state is 5V or less and one State on East 11 - 30V.  Anything between the two should be considered unstable.

You cannot simply choose the logical level for the input module.

Tags: NI Software

Similar Questions

  • How to read the voltage difference between the 2 pins of a RS232?

    Hi, I'm new in this field and I'm having a problem in the acquisition of data from a RS232 port. In fact, I don't know if it is possible to do.

    What I would do, is to read the voltage difference between the two pins of the port. It's because I want to measure the temperature (and save the data) in a very simple way. I have 6 thermocouples and I thought weld at the different pins of the RS232 interface and acquire analog signals in mV with the computer. Then, I would use a thermometer to calibrate the values.

    Is it possible to do? How? I searched a lot but I can't find any tutorial or similar to this example...

    No, it is not possible to do it with the serial port. The port is not an A/D converter. A simple RS-232 tutorial will tell you that the port is binary in nature.

  • How to read 3 analog inputs simultaneously with 6070E?

    Hello

    I wanted to read 3 analog signals simultaneously using cards of acquiring data NI PXI-6070E and Labview 2010.

    I can with success read and record the 1 signal (which you can see in the attachment), but do not know and can not find examples on how to read 3 signals simultaneously. Any help, especially a simple example would be great.

    Thank you!

    Just click on = pull down from the constant physical channel, select Browse and shift-click or Ctl-click here to add other channels. You can also type in new channels with the ai0 syntax: 2 for three continuous channels for example.

  • How re-read any composition of video and other border animation animate cc 20141

    I'm working on a project, but I'm stuck now. The basic flow of my project is: intro slides so a video play then next and the melted "previous" button that will control the next series of slides. Another button to replay the beginning at all. My problem is that I am able to replay the slide, but not the video. My slides consists of text animations. I use the new cc animate edge 20141 all slides play from the beginning, but the video does not follow that lead. I also managed to replay the video, but this isn't the desired thing I want. I want that all the compositions of replay when I click on a button. Can anyone help?

    Replace the content for the click event handler with the button 'Start' the code below:

    SYM.$("trance6") [0] () .pause;

    SYM.$("trance6") [0] .currentTime = 0;

    SYM. Play (0);

    HTH,

    Vivekuma

  • How to read the video stream directly with Flex?

    I'm trying to get Flex Builder 3 to play a video stream with Flash Media live
    Server and Flash Media Live Encoder.

    I am able to stream pre-recrorded (VSD) files in flex FLV go the Flash media server.

    I am able to stream live using Flash/FMS/Flas Live Media Encoder, but do not
    with Flex.

    This stream of video on demand flvs, but not live streams prerecorded code:

    If I change the source to 'rtmp://localhost/live/livesream.flv, I get nothing.

    What I am doing wrong?

    <? XML version = "1.0"? >
    <!--controls\videodisplay\VideoDisplayFMS.mxml-->
    "< mx:Application xmlns:mx ="http://www.adobe.com/2006/mxml">".

    < mx:HBox >
    < mx:Label text = "RTMP FMS 2.0" / >
    < mx:VideoDisplay
    autoBandWidthDetection = "false".
    source = "rtmp://localhost/vod/Legend.flv" / >
    < / mx:HBox >
    < / mx:Application >

    Oh and sorry for the double post. I didn't know there was a separate instance of the FMS.

    I use the video display component, but there is no "on-line" property. Try what setting to true. If it still does not work, try to remove the name of the stream of the .flv extension.

  • In CloverETL how to read file xlsx with a column of type "long".

    Hi all

    Let me know how to read an xlsx (Excel) file with columns of data type "long".

    I used XLSDataReader to read file xlsx. There are names of "Remarks" column, which exceeds the linits of 256 characters, so I can not use type 'string' to do this.

    IM using "long" datatype and graph below error crossings.

    Pointers on this will be greatly appreciated.

    INFO [main] - * graphic CloverETL framework/transformation, (c) 2002-2013 Javlin a.s., published under the GNU Lesser General Public License *.
    [Main] INFO - running with CloverETL library version 3.4.1 build #010 updated 07/01/2013 18:38:12
    INFO [main] - running on 4 CPUS, operating system Windows 7, architecture amd64, Java version 1.7.0_07, max memory available for JVM 913920 KB
    INFO [main] - loading properties by default: defaultProperties
    INFO [main] - graphic definition file: graph/SurveyResponses.grf
    INFO [main] - graphical revision: 1.16 modified by: 470707 update the: kill Jan 20 16:13:52 IST 2015
    INFO [main] - check the graphical configuration...
    INFO [main] - graphical configuration is valid.
    INFO [main] - graphical initialization (SurveyResponses)
    INFO [main] - initialization of the phase 0
    INFO [main] - Phase 0 initialized successfully.
    INFO [WatchDog_0] - starting all the nodes in the phase [0]
    INFO [WatchDog_0] - has successfully started all nodes in phase!
    INFO [XLSDATA_READER1_0] - reading data of 0 sheet (Sheet1).
    ERROR [WatchDog_0] - component [XLSDataReader:XLSDATA_READER1] finished with ERROR status.
    How (long) field cannot be set to the value "comment." does not match the specified format ' ' with good reason 'incomplete analysis. " in folder 1, 23 ("comment"), metadata field 'Survey_Responses_Sheet1 '; value: 'How' (note that for parallel processing ParallelReader or server, run the registration number may be incorrect)
    ERROR [WatchDog_0] - the error Details:
    org.jetel.exception.JetelRuntimeException: component [XLSDataReader:XLSDATA_READER1] finished with ERROR status.
    at org.jetel.graph.Node.createNodeException(Node.java:535)
    at org.jetel.graph.Node.run(Node.java:514)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: org.jetel.exception.BadDataFormatException: how (long) field cannot be set to the value "comment." does not match the specified format ' ' with good reason 'incomplete analysis. " in folder 1, 23 ("comment"), metadata field 'Survey_Responses_Sheet1 '; value: 'How' (note that for parallel processing ParallelReader or server, run the registration number may be incorrect)
    at org.jetel.data.LongDataField.fromString(LongDataField.java:465)
    at org.jetel.data.parser.XLSXDataParser.parseNext(XLSXDataParser.java:492)
    at org.jetel.data.parser.XLSParser.getNext(XLSParser.java:136)
    at org.jetel.util.MultiFileReader.getNext(MultiFileReader.java:432)
    at org.jetel.component.XLSReader.execute(XLSReader.java:562)
    at org.jetel.graph.Node.run(Node.java:485)
    ... 1 more
    Caused by: java.lang.NumberFormatException: incomplete analysis
    at javolution.text.TypeFormat.parseLongString (unknown Source)
    at javolution.text.TypeFormat.parseLong (unknown Source)
    at javolution.text.TypeFormat.parseLong (unknown Source)
    at javolution.text.TypeFormat.parseLong (unknown Source)
    at org.jetel.util.formatter.JavolutionNumericFormatter.parseLong(JavolutionNumericFormatter.java:74)
    at org.jetel.data.LongDataField.fromString(LongDataField.java:462)
    ... 6 more

    INFO [WatchDog_0] - the implementation of phase [0] completed with error - elapsed time (sec): 4
    ERROR [WatchDog_0] -! Completed with error - graphic stop run!
    INFO [WatchDog_0]-* the summary execution of Phases * -.
    INFO [WatchDog_0] - Phase # finished status RunTime (sec) MemoryAllocation (KB)
    INFO [WatchDog_0] - 0 4 175279 ERROR
    INFO [WatchDog_0]-* end of summary * -.
    INFO [WatchDog_0] - finished the watchdog thread - total running time: 4 (s)
    INFO [main] - freeing graphics resources.
    ERROR [main]-
    --------------------------------------------------------------------------------------------------------------------------------------------------------- Error details ----------------------------------------------------------------------------------------------------------------------------------------------------------
    Component [XLSDataReader:XLSDATA_READER1] finished with ERROR status.
    How (long) field cannot be set to the value "comment." does not match the specified format ' ' with good reason 'incomplete analysis. " in folder 1, 23 ("comment"), metadata field 'Survey_Responses_Sheet1 '; value: 'How' (note that for parallel processing ParallelReader or server, run the registration number may be incorrect)
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ERROR [main] - the graph failed!

    I think the 256 character limit is a red herring.  All data is there, the front-end integrator is truncating only for display purposes.

    Your data is a string, it should certainly be classified as a string in the metadata.  For a long time is for numeric values.

    I don't think there is a problem here, if you were to write this data to the trash or a text file (after reading it in), you will see that your data is not truncated.

    Kind regards

    Patrick Rafferty

    Branchbird

  • How to read the status of User1 DIP-switch with a cRIO FPGA chassis?

    How to read the State of the DIP switches on a FPGA cRio chassis?

    I work with a cRIO 9022... My idea is to put the system in "service" mode with USER1 switch to IT and communicate with the FPGA via the FPGA - GUI (VI) on the host computer instead via the RT module that is used in normal conditions.

    Any ideas? Unfortunately, I don't have an unused channel on the left... .and (as I know) cannot use the interface RS232 of FPGA.

    Many thanks in advance,

    Luke

    Hi, this is the correct information. You cannot read the FPGA of DIP-switch status. The only thing you could do is to use the function of Reading Switch.vi located under the range of functions-> real-> utilities RT time

    It's how you probably know side host RT and not the FPGA.

    Cordially Virginia

  • How to read an attachment with Adobe Acrobat in my e-mail address?

    How to read an attachment with Adobe Acrobat in my e-mail address?

    Hi hand hunter.

    If you have PDF attachment with your email and you use windows.

    Try make first right click on any PDF document and select the option Openwith--> choose default program... Find a Reader / Acrobat. That should help him.

    Or click on the attachment and once you are trying to open what should ask you to choose the application open with if you have not opened before PDF document.

    Kind regards

    Ajlan Huda.

  • How to read the XML doc in variable with XPath?

    Suppose that a variable in BPEL contains an entire XML document as (without the quotes):

    "value1 < foo > < bar > < / bar > < bar > value2 < / > < / foo >.

    How to read of BPEL an XPath expression with the value of the second
    < bar > element in a nother variable "target"?

    What do I have to use getvariabledata? How to pass the XPath?

    Peter

    Peter

    Here's how you can get there by business to be divested. You can access it by writing the XML expression (do not select foo--> bar directly on the tree) as below

    bpws:getVariableData ('Variable_name', 'Foo','/ NS4:foo / NS4:barbpws:getVariableData("intCounter")') and assign it to the variable "target". Here the value of the variable integer "intCounter" represents the nth element under the tag "foo". Let us know if you face any issues.

    Hope this will help.

  • I need to know how to read my DVDs on quick time with an extension xvid.avi

    I need to know how to read my DVDs on quick time with an extension xvid.avi

    You have not because QuickTime Player does not support the xvid .avi formats or dvi. You can download the free VLC media player and she plays very well this .avi.

  • How to read/write tdms 2.0 files with the TDM C DLL?

    Hello

    How to read/write tdms 2.0 files with the TDM C DLL?

    How consequently the datas in interlaced with the TDM C DLL mode?

    Thank you

    Confirmation: TDM C DLL always wrote the file in TDMS version 2.0.

  • How to read and write FileGlobals with TestStand ActiveX control in c#

    Hello everyone,

    I'm trying to read and write FileGlobals with TestStand ActiveX control in c#.

    I tried with:

    SequenceContext contextOfTraceMsg = e.thrd.GetSequenceContext (0, out frameId);

    var filepara = contextOfTraceMsg.FileGlobals.GetSubProperties ("ProjectParameter.NestIsTested", 0). GetValue (1); (NestIsTested is an array of Boolean)

    but without success.

    Can someone tell me how to do it right?

    Thank you in advance!

    Concerning

    0049 wrote:

    Hello Doug,

    Thanks for the reply.

    It works to read a Boolean value. How to read the table of Boolean?

    Kind regards

    For a table you can either do:

    (1) myarray [] bool = contextOfTraceMsg.FileGlobals.GetValVariant ("myarray", 0);

    Or

    (2) using GetNumElements() and GetValBooleanByOffset().

    -Doug

  • totally computer illiterate, how to read and print an attatchment marked with a paperclip?

    Been sent an email with an attatchment showing a trombone how to read this attatchment?

    1. What email program are you using?
    2. If you double-click on the attachment, open the attachment?
    3. If not, or it is unreadable, what is the attachment file extension? (i.e. DOC, XLS, PDF, etc).
  • How to read 4 similar channels at the same time with the MCC

    Hello

    with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels.  How to read 4 channels at the same time with the mcc?

    MF

    Hello MF.

    Thank you for using OR support.  I guess you try to program in LabVIEW.  Where exactly did you get the MCC library of?

  • Cannot read ANY book - even bought. code E_ADEPT_INTERNAL. Cannot remove the authorization/reauthorize with computer: "unable to clear permission. Please try after some time. "Tried for two weeks...

    Cannot read ANY book - even bought. code E_ADEPT_INTERNAL. Cannot remove the authorization/reauthorize with computer: "unable to clear permission. Please try after some time. "Tried for two weeks...

    Windows:

    1. Close all applications.
    2. Click Start > run.
    3. Open, type regedit in the text box and press ENTER. The Registry Editor opens.
    4. In the left pane of the registry editor, locate the following registry key: HKEY_CURRENT_USER\Software\Adobe\Adept
    5. Select the key of the follower.
    6. Choose file > export.
    7. In the export registry file dialog box, select the branch selected under export range. Enter a name and location for the backup registry key, and then click Save.
    8. Right click on the key to the follower, and then choose Remove.
    9. In the dialog box confirm the key deletion, click OK.
    10. Close the registry editor.
    11. Open Adobe Digital Editions and reauthorize.

    Macintosh:

    1. exit the Adobe Digital Editions software.
    2. Navigate to / Users / / Library/Application Support/Adobe/Digital Editions and drag the activation.dat file to the trash.
      If you use 10.7, see library access hidden files. Mac OS 10.7 and later.
    3. Open Adobe Digital Editions and reauthorize.

Maybe you are looking for

  • Satellite M70-173: wireless connection is not working properly

    Hello I am a novice and need help with Wi - Fi. I have laptop Satellite M70-173. My desktop pc is connected to the Netgear MR814v3802 11b cable/DSL with wireless router. I have connected the router to my broadband (telewest) and have access to the in

  • Satellite P500-12F - Question about installing the drivers

    Have recently bought a new P500 Satellite 12F and I am very happy with it. This PC came only came on the market on 29 Oct. I decided this pilot site updates, bios, etc. and was surprised to find a few tens of individuals in the list. When I rang Tosh

  • Child account connection issues

    Help, please! It's driving me crazy!  for months I tried to access my account of son microsoft to make some changes, but every time I try to connect its wonder like the p [aren't connect you and to allow him permission to use the account (which has b

  • laptop guard turn off through a play

    My laptop keeps switching off and is really hot really frustrating. [Moved from comments]

  • Friend to borrow BONES

    Hi, can't seem to find an answer via google, so I thought I would try here. I have an old Windows 7 Ultimate retail boxed OS and wanted to know if my friend can install on his pc and all he has to do is buy a key for it, is it possible?