NEITHER 9205 fpga digital output

Hey Gang,

Hardware people left me with having to toggle the output of the NI 9205 DO0.  I looked hard, but have not found anywhere where the PFIO and/or DO0 pin code feature is described.  Part I/O of the application is written using the mode of FPGA.  Of course, I would be able to control this bit of LabVIEW.

All responses will be welcome!

Thank you

Roger

Good,

I'm embarrassed!

I had inputs and outputs bass-ackward in my head.  I took a digital Voltmeter to pin.

Everything is fine, except, perhaps, my brain!

Roger

Tags: NI Software

Similar Questions

  • PCIe-7842R (series R FPGA) digital output does not work properly

    Greetings,

    I'm having some problem show TTL the correct voltage with my PCIe-7842R FPGA board.

    The block diagram of my code FPGA LV Moose appears in "analog - digital .png '. The idea was to convert an analog input (decimal value) to a binary code and 16-bit output by 16 DIO ports. I use the connection block SCB-68 has as the terminal and trendy on the FPGA 1 connector RDIO with SHC68-68-RDIO shielded cable.

    The compiled code ok. But during the test, I noticed that some ports has no output TTL levels correctly. For example, for input 1000 decimal, I would expect binary code 0000001111101000. However, some ports (DIO #6, #7, #9, etc.), which are supposed to ~3.3V (1 digital) high TTL output, output actually 0.8V. I have attached the result measured in 'exit digital test.png '.

    To ensure that the question was not because of the code of the LV, I did some more tests on DIO #6 with a simple example (simple digital output.png). The output was ~ 1V this time at the digital 1.

    It's really confusing because of the digital Edition is supposed to be simple. I used the same FPGA card for controlling roller shutters with TTL signals before and it worked fine.

    Does anyone have similar problems? Any suggestions are greatly appreciated.

    iron_curtain wrote:

    DIOs are connected to a controller digital galvo Cambridge Tech. But I measured the voltage at the terminals of the connector block.

    If you unplug the controller galvo DIOs, do they look good (have the right voltages).  Do you know how many of these entries to the need for controller?  I think you hit the limit the total current available for EID within the Council.

  • Fortunately the cRIO merger two time real screws: analog and digital output

    Howdy,

    I need help with a cRIO code.  The purpose of the code is to acquire an analog input from the NI 9234 c series module and be able to send a "signal of pulse" digital camera (first low for some time, t1, then high for some time, t2) from a NI9401.  Separately, I wrote the code to perform both tasks.  However, when I add the code of RT digital output pulse pulses to analog input RT code, the DMA FIFO overflows because of the way that my digital pulse output code works.  Currently, there are two reasons which overflows of the FIFO:

    1. The digital output code is pending for a while loop (pending "Send Pulse" become a true), the loop I can't empty the buffer FIFO
    2. The FIFO is not enough, quickly emptied depending on how long the pulse (t1 and t2) times are.  The way I keep the pin high or low for a defined period of time is by issuing a sleep command, which blocks the loop I empty the FIFO.  (Is there a "best" way to sleep?)

    I have attached photos of my codes FPGA and RT.  Please give me a suggestion on how to marry my two loops of RT for the use of happy resources!  Thank you.

    I found a quick way to solve this problem.  I moved the timing of the Digital pulse on the FPGA.  So whenever I have a Boolean value, the FPGA generates a waveform with the settings I put (a pulse in my case).  This works because the FPGA loops run in parallel, I think.  That's why, when I run a pending order in the loop of FPGA digital output, it does not prevent the FPGA of analog input loop to run.  I have attached a picture of the code.

  • NEITHER 9205 digital output configuration with DAQ Assist

    Hello

    I have two NI 9205 Analog Input Modules which I have configured to read from each of their 32 channels.  I used the DAQ Assistant help generate the vi which contains the task out - DAQmx event and also the DAQmx Read vi.

    I used the Wizard twice, once for each module 9205 and then put the playback functions in a sequence structure so that only read would be carried out at the same time.  It all works very well!

    Now, I want to add in the code to wait in a loop before all loop containing playback functions, so that the user can press the GUI to send a logic 1 to the unit under test, and after it is sent immediately starts collecting data.

    The DAQ Assistant Help does not recognize the module 9205 when I try to set up a task to write a digital output.  9205 a 1 digital output so why is the wizard does not recognize this?  I also tried to create a task manually, but I got stuck.

    Someone please help.  I can reach the source if needed, but I thought that the descriptions above were sufficient.

    Thank you

    Gary

    Hello

    You are right it shows a line in this user manual, and in fact, you have found an instance where an important piece of information was left out of the documentation. This digital output line is actually only available when you use a cRIO chassis. It will not work with the chassis for the acquisition of data compact 9172. Here is a knowledge base that explains it. I'll also go ahead and file a request for corrective measures so that this note be included in the next version of this manual. Thanks for the comments.

    Chris

  • take the digital output USB-6001 always high or low in c

    Hi all

    I am new to the NI DAQ interface. I have a USB-6001 and I am trying to use this device to control some flowchart in C. What I want to do is:

    * set digital output lines with high and low intensity and change their status as needed (in C).

    I tested the device NEITHER Max--> Test panels and found that the device is capable to do that. Then I try to do in C. I have checked hace examples and function I use is one called "DAQmxWriteDigitalU32". I have problem in the understanding of its input parameters. I tried something with my own knowledge, but it does not work as I expected. Here is a test I did:

    data uInt32 = 1;

    Int32 wrote;

    TaskHandle taskHandle = 0;

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateDOChan (taskHandle, "Dev1/port0/line7", "", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxStartTask (taskHandle));
    DAQmxErrChk (DAQmxWriteDigitalU32(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,));

    taskHandle = 0;
    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateDOChan (taskHandle, "Dev1/port0/$line0", "", DAQmx_Val_ChanForAllLines));
    DAQmxErrChk (DAQmxStartTask (taskHandle));
    DAQmxErrChk (DAQmxWriteDigitalU32(taskHandle,1,1,10.0,DAQmx_Val_GroupByChannel,&data,&written,));

    I just want to set ' Dev1/port0/line7' and ' Dev1/port0/$line0"at a high level, but only ' Dev1/port0/$line0' answer me. The second parameter of the DAQmxWriteDigitalU32 function is numSampsPerChan. If I replace (currently 1) with a higher value, such as 100, I see that "Dev1/port0/line7" sends a number of 1 output, then back to 0. So I guess that the problem is just that I understand not all parameters for the DAQmxWriteDigitalU32 function. Is someone can you please tell me how I can set up a line of digital output 1 or 0?

    Thank you!

    Hongkun

    Hello

    I finally find a way to do it! The feature works very well, and my problem was not set the data value to write correctly. It seems that if I want to write a 1 to the port0/line1, I put "data = 2 ^ 1" rather than "data = 1", because by default it is the second bit of the port.» Similarly, "data = 2 ^ 7 ' high level to port0/line7. I find that this setting is surprising when you want to control an individual line. It seems more reasonable when you control the whole port. In any case, is to solve the problem!

    Thanks anyway!

    Hongkun

  • digital output usb6009 does not switch does not correctly

    Hello

    I have a little problem with my 6009.

    Basically, I switch the inputs of a Demux (74HC238D) (3 lines) write an address on it to select rows of data off the Demux.

    The signal from the acquisition of data through an FPGA and the signal is displayed on the input pins Demux.  That is the problem.

    (It is worth noting that the FPGA is well programmed (coz if it was'nt then the signal would not get the demux in the first place.))

    When I connect the inputs of the FPGA to 3 digital lines of data acquisition and scroll lines (turning each one WE and OFF), the signal appearing at the Demux pins is not a proper logic level. (the voltage I measured the scope is about. less than 1.1 V). For this reason I choose any line, Demux output will always be on the first channel and will not select the other channel.

    I tried the same test 7 connect supply of 5V data acquisition (each line) and after having programmed the FPGA, the correct voltage level is available on the DEMUX pins. The problem occurs when I try to scroll through the entries via the software.

    I'm not which is the cause. My belief is the acquisition of data.

    What are your suggestions?

    Thank you

    Labmat

    Hi Labmat,

    The first thing that jumps out to me is the fact that you use these signals to interface with an FPGA. Outputs digital USB-6009 are 5V or 3.3V TTL and commonly FPGA i/o is 3.3V. Just to double-check, as FPGA did you use?

    Q: When I connect the inputs of the FPGA to 3 digital lines of data acquisition and scroll lines (turning each one WE and OFF), the signal appearing at the Demux pins is not a proper logic level. (the voltage I measured the scope is about. less than 1.1 V). I tried the same test 7 connect supply of 5V data acquisition (each line) and after having programmed the FPGA, the correct voltage level is available on the DEMUX pins. The problem occurs when I try to scroll through the entries via the software.

    A:  This no doubt hits the nail on the head. First of all, I'd be inclined to not use program any software directly and instead use some of the tools for debugging I/O connectivity that come with the Driver NOR-DAQmx. You can get these from the measurement and Automation Explorer (MAX).

    ' ' ' ' 'Start-up' all programs ' National Instruments ' measurement and automation.

    Expand the tree of devices and Interfaces in the left pane, and then select your USB-6009. Using the Test panels button on the right pane, you can quickly perform digital i/o with the device.

    Our best bet is to first take a multimeter and see if we can measure the correct voltage is distributed by the correct pins on the USB-6009 case.

    Now, by checking the box USB-6009 Datasheet, we can see that, on Page 17, there are a couple of different ways that we can configure the method by which the output signal is driven out of the unit; We have Drive open and active collector mode. It will assure you that since you are trying to send a signal to the FPGA, the unit must be set to active training mode, in order to generate signals from 0V to 3.3V . Output open collector allows the generation of signals from 0V to 5V . This can be done through property OR DAQmx nodes in LabVIEW.

    In terms of current...

    The + 5V line that you used for the FPGA Nailer is evaluated to 200 my. General DIO lines on the USB-6009 case can generate a current up to 8.5mA. This limitation fits the specifications of digital input of your FPGA?

  • NI 9474 digital output

    Hello

    I am trying to learn labVIEW DAQ and right now I'm trying to understand how to use NI 9474 with labview. NEITHER 9474 is a device with digital outputs. I am attaching a (badly drawn) diagram of how I have my real wired circuit. For some reason, the voltage at the terminals of the resistance is 9v instead what that either the digital output should be when I put assistant daq for 1 sample on request. When I change to continuous samples daq assistant, it reads 4.6v. So I wonder what am I doing wrong and what should my digital output be?

    I've attached my vi file, if someone can you please help me understand how to use NI 9474 with labview?


  • NEITHER 9205

    Hello

    I have 3 questions autour of nor 9205.

    1 / I use 9205 to measure a voltage of 5 Volts, and there is a peak level of 15V (trig) under normal conditions of my .it signal. Now, I want to know if this pic can destroy my card because neither 9205 a +/-10V min max level.

    2 / How could I configure ni9205 caliber (10V, 5V 1V, 200mV) without fpga tools?

    3 / ni9205 has a minimum of +/-200 mV, I want to measure a millitension. What type of card you propose for this?

    Thank you

    Kind regards!

    Hello

    To answer your first question, there is a surge protection. (see this link: http://www.ni.com/pdf/manuals/374188d.pdf on page 19)

    Your module is not destroyed if you apply a voltage lower than 30 V for only the channel.

    To configure your module, you can use NO-DAQmx which is the driver for this card for Windows.

    What platform do you use with it?

    When you install NI-DAQmx, there are some examples that are intalled.

    The 9205 could be set up to measure the voltage whose range is +/-200 mv with precision of 0,174 mV. (sse this link: http://www.ni.com/pdf/manuals/374188d.pdf page 22)

    With this record, you are able to measure the tension between +/-200 mV with a precision of 0,174 mV.

    I think that you need not to anothere card unless you want better accuracy.

    Best regards

  • audio output: optical digital output port (no sound!) macbook pro retina 15 mid 2015

    My new recently Mbpr 15 inch has suddenly lost its sound, I went through the process of the toothpick etc but nothing. It worked perfectly fine earlier today, but I put in a mini jack into the headphone port and after to achieve 30 minutes later and taking the cable to THE that I had not his, then I had the red light coming out of the helmet but now its does not come in red and in the sound settings in system preferences its impasse on "optical digital output Port.

    I now have to wait a week to wait until I can get seen at my apple store closet, I coming projects upward and in the middle of deadline and really using this Mbp to work, I literally only had a TI surly less than two months, I shouldn't have any problems. So if anyone knows anything I would appreciate it a lot! I need help to get this resolution as soon as possible! the last post I saw this was in 2006-2012 no new thread on this recently!

    Thank you!

    Jasonwaterz wrote:

    I then had the red light coming out of the helmet but now its does not come in red and in the sound settings in system preferences its impasse on "optical digital output Port.

    Try resetting the NVRAM/PRAM http://support.apple.com/kb/ht1379 memory

  • Realtek integrated sound card is stuck in digital output

    I can't get this thing off the digital output mode. Now I have no sound because all analog ports do not work. Telling me that nothing is plugged. I can't reset the analog speaker because it is grayed in Vista. This problem seems to be very common with computers using Realtek and Vista, just do a google search and see for yourself.

    I have a feeling it has software problem between Vista and Realtek. But I really think Realtek is just terrible to began with and should not be put in any period of the computer. If I can't get this thing works here tomorrow I will get a good real map.

    Message edited by hn333 on 09/04/2009 21:02

    I had very similar problems and finally managed to solve it.

    Something seems to be borked with drivers realtek about automatic jack detection.

    After attempting to use the method described here (easier if you can) http://freeweelee.wordpress.com/2008/12/09/vista-and-realtek-front-panel-audio-not-working-solution/, I discovered that I was completely unable to cut jack detection in audio Manager Realtek (no folder icon).

    For those of you who (like me) have no icon file, I managed to find another way to disable the detection of jack.

    Using the registry editor, find all instances of ForceDisableJD and change the value from 00 to FF.

    After making sure that I got all of them, I was able to reboot and everything works fine now.

  • No digital output on a Satellite P200

    I just bought a Satellite P200 and am trying to put it to the test. Today I tried recording on a digital audio recorder (Edirol R-4) connected to the output digital output jack but can get no signal. I can get a signal from the analog headphone jack.

    I have no problem with digital recording of my desktop PC which has an installed Sound Blaster card so it doesn't seem to be an incompatibility or a problem with the connecting cable.

    I tried to set the default output to digital mode in the setup of REALtek but no difference.

    Any suggestions gratefully received.

    David

    Anyone else had this problem?

    David

  • Synchronization of analog and digital output with the external sample clock

    Hello

    First of all sorry for my English, I will try to explain what I want to do.

    I want my PCIe-6321 to send two custom signals (modification sawtooths) on a mirror controller. I would also like to generate output with my card at the beginning of each tooth of saw. Everything must be synchronized with an external k-clock signal of 100 kHz. The idea is that whenever the PCI receives a trigger to external clock, it sends two analog output voltages and when he received 1024 clock ticks it will also send a pic of triggering TTL. What I do is first prepare the map and after that in a loop sending and modifing the output values of the two signals and at the same time send a digital signal Boolean in each arch, so when's done it 1024 iterations of the loop I send an event to the digital port. Attached you can see.

    The problem is that I don't know how to synchronize both. Can I use the sample clock just to the analog output? I can use sample for the two outputs clock, or do I need to use the output of the meter? If don't know how to use it here.

    If I do nothing else bad/wrong, I would be grateful for feedback.

    Thanks in advance,
    Pablo

    I don't know how but I find the solution. I'm generating more than a positive value (as I was triggered maybe very fast the oscilloscope has been absent there). If I put the sample clock of digital output to use the sampling/ao/Dev1 clock that it doesn't, but if I put to use the same source as the OD (terminal where my external clock is connected), but the trigger to start the DO to be Dev1/ao/StartTrigger this works. I don't really know why, but it does.

    Thank you for your patience and your help. I put here the final code.

  • redeclenchables strange behavior digital output

    I created a redeclenchables digital dashboard task (finished) digital output as follows: (in DAQmx C)

    DAQmxCreateTask("",&_taskHandle);
    DAQmxCreateDOChan(_taskHandle,"/Dev2/port0/line6","",DAQmx_Val_ChanPerLine);
    DAQmxCfgSampClkTiming (_taskHandle, "" / Dev2/Ctr0InternalOutput ", _clockRate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, static_cast (_sampleCount)");
    DAQmxCfgOutputBuffer (_taskHandle, static_cast (_sampleCount));
    DAQmxCfgDigEdgeStartTrig (_taskHandle, "/ Dev2/PFI4", DAQmx_Val_Rising ");
    DAQmxSetStartTrigRetriggerable (_taskHandle, true);
    DAQmxWriteDigitalLines (_taskHandle, static_cast(_sampleCount), FALSE,-1, DAQmx_Val_GroupByChannel, _pDigital, NULL, NULL);
    DAQmxStartTask (_taskHandle);

    sample clock:

    DAQmxCreateTask ("", & _taskHandleCO);
    DAQmxCreateCOPulseChanFreq (_taskHandleCO, "/ Dev2/ctr0","", DAQmx_Val_Hz, DAQmx_Val_Low, 0,0, _clockRate, 0.5 "");
    DAQmxCfgImplicitTiming (_taskHandleCO, DAQmx_Val_ContSamps, _numSamples);
    DAQmxStartTask (_taskHandleCO);

    When I run the task without redeclenchables parameter, it output a correct signal. However, if I run with redeclenchables it out almost exactly 2 times faster than normal. For example, a pulse whose width of 10 ms became 5 ms and repeats again to be 2 pulses of 5 ms. This is repeatable, no matter how much or how fast triggers provided.

    My card is PCIe-6363. I do not know what causes this strange behavior, and I hope someone can help on this.

    Thank you.

    It disappears after reset configuration. Might be interesting for future reviews.

  • Is it save to use the digital output as a digital input for another channel signal

    Hi all

    I know it's a stupid question, but I don't have another generator of signals by hand. What I want to know is, can I use the signal digital output of my USB-6001 as an input for the same signal device, but on other digital port? I wasn't directly because I don't want to burn the device...

    Thank you

    Done all the time. No problems.

  • NI USB-6501 digital output problem

    Hello

    I use DASYLab v.11 and I'm working on an interface with the NI USB-6501 where I'm putting a digital high on four ports.

    With the module "NOR-DAQmx - digital input", I managed to read the digital inputs of the ' NI USB-6501 ".»

    It's only the "NOR-DAQmx - digital output" I can't go to work.

    Using 'NI MAX' of NOR I have easily can emmit my four LEDs in the way of my High/Low ports.

    But not with DASYLab. When you use DASYLab tension on the ports remains unchanged.

    Now, I have a switch module, generating 5/0, directly connected to the digital output module, which is assigned to my four output ports for my task.

    I also tried with a module of relay between the two without success. I also tried to use 1.5 above instead of 5 without success.

    I use the option 'Bus (0/5 supply) for the module "Digital output".

    "NI Max", I configured the ports as "active drive.

    Any suggestion of what I might be missing?

    Thank you

    Martin

    Hmm, four ports, or four lines?

    A port consists of eight lines. Each line can control an LED (ON / OFF ~ 0/5V).

    If you have created a task to dig-out to control a port, 5V to this port sending sets all lines of this port to 'high '.

    You need to 255 for each line one too high port (at the bit level: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1).<- eight="">

    Or, you can create a dig out tasks to control four lines of a specific port.

    Four lanes of the EEG DAQmx DigOut module.

    Each of the channels of the modul will feed a single line of the task/device.

    Four switches will then turn the lights, or turn off.

    Make sure, that the 'bitposition' is the number of correct line (see picture).

Maybe you are looking for

  • No youtube videos play in Firefox, but I can play them using Safari and I have made no change in my system.

    On November 29, 2012, I could no longer play youtube videos in Firefox. They play well in Safari. I have made no change in my system, Flash is up to date (and has been; this has not changed), and RealPlayer is not active. What can I do to fix this? O

  • Satellite Pro M70 - USB port does not recognize the device

    My Satellite Pro M70 has three USB slots, one on the left and two (vertically one above the other) at the back of the laptop. The top slot to USB in the back started giving problems. Sometimes, my computer can't see all that I plugged in there. But i

  • Pavilion a6455: display and video drivers

    Frequent crashes with Firefox and some other programs. Seen troubleshooting what graphics driver of lists as a cause of poss.  What is the good driver/s for my desktop using LCD monitor mod TFT20w90PSA +? Before the birth of nvidia geoforce problem s

  • line break in the TEXT Editor

    How to enter the line break in the TEXT Editor? -- Thank you.

  • Red vertical line on the LCD

    Hello the lenovo team! I have a Lenovo Thinkpad T400 and the screen has a red vertical line on the right side. I'm not sure of how much is necessary to repair, card mother, Inverter or screen? Thanks in advance! Kind regardsAbdul Majid.