DIO lines and counters on NI 6036E

Hi my name is Gestur. I'am trying to generate a finite pulse train with the counters on my E serie 6036E DAQ board - which works fine - but at the same time, reading and writing to and from DIO lines. This has been giving me problems. I've building a test program which works with cases, where like case0 writes a low level to a DIO line. In case1 i start the counters, generating my finite pulse train. Then i notice that the same DIO line that earlier was lowered, is high again.
Another problem is making a analog input sampling, which is supposed to enables on every rising edge of my pulse train. I have on the I/O connector linked the output from the counter, to the EXTCONV pin. This works fine, but not! Because the analo
g input sample seems to block actions in my pulse train vi where i'm tryin to read from DIO. This is a bit difficult to explain, but i will attach a vi which might explain this.
I hope this is something to understand and i hope that you are able to help me.
Thank you for your time
Kind regards Gestur
Attachments:
SamlingPRO.vi ‏236 KB
SamlingPRO#2.vi ‏170 KB

HI,
The attached VI's have some missing sub-VI's. Can you use the VI Library manager and gather all the components together into one .llb?
mike

Similar Messages

  • Write to digital line and wait 20 mico sec and aquisition

    i have DIO-32HS and PCI-6036E. i want to select a port by writing to digital port or line and then wait for 20 micro sec after thar i have to aquire data from AI.my problem is waiting 20 microseconds how i can achieve this?E-mail id:[email protected]

    Here is what I suggest. I'm assuming you will use the DIO-32HS for writing to the digital line. You could use that digital line as a trigger for a counter on the PCI-6036E. When the counter is triggered, it could generate a single pulse with a delay of 20 microseconds and that pulse could be used as a trigger for analog input on the PCI-6036E.
    There are LabVIEW shipping examples that will illustrate how to setup triggered counter and analog input applications. I hope this helps.
    Regards,
    Todd D.
    Applications Engineer
    National Instruments

  • How can I use 4 DIO lines as digital input in a E series-SC 2050-ER8 set up ?

    I have a DAQ system with an E series DAQ card that is connected to SC-2050 and ER8. I want to use 4 DIO lines (out of 8) for digital input. How can I do this?

    Hello Suresh,
    There are a variety of ways to accomplish this. If you are using LabVIEW, you will use the DIO Port Config VI and the DIO Port Read VI. You will use the line direction map input of the DIO Port Config VI to setup which 4 lines you want to be the input lines. The LabVIEW shipping example entitled 'Dig Multi-line Direction (E) VI' shows how to use the lines of the digital port on an E-Series device for input and output.
    If you are using NI-DAQ function calls, you can use the Dig_Line_Config and Dig_In_Line calls to configure a digital line for input and then read from that line.
    I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • Output signal high at DIO lines of 7330

    Hi
    I am using Labview 7.1 with Ni motion controller. I am trying to detect the output signals at the auxiliary DIOports of the card using the attached programme in the NI example finder. My board ID is 1 (thats what was allowed by the programme) and I put port 1 , to check the DIO lines of it. I checked pin 10 (port 1-bit 0) and pin 44 (port1-bit 1) using an oscilloscope. The output is high at 5volts.
    I changed the DIO pin polarity switches to active low status but the output remains the same.I fiddled with the set and reset buttons of the programme, initialize the card but nothing changes.  Any idea on how to figure whats wrong? 
    Thanks
    Mal
    Attachments:
    Auxilliary Digital Output.vi ‏57 KB

    Hi
    Thanks for the reply. Sorry for the delay in response as I was on vacation. I tried your programme but the result remains the same. The output is always high.
    Max shows the card is working properly. It also shows the board type as 63. But the programme only takes in board ID as 1. How can set the direction using MAX and save the settings?
    I tried the write 1 point example programme on axis 1 ,line 1 and tested the signal on pin 44 and 42 (oscilloscope ground), and toggled the line but the output is high. But when I stopped the programme with the STOP button it gave an error message 70102 with a possible cause the setting doesn't match the line direction?
    The oscilloscope ground was firmly connected to pin 43 or 42 of the board for all tests.
    I appreciate your help.
    Thanks
    Mal

  • One control to 2 different DIO lines

    Hi there:
       I am using PXI 7833R card and Labview 8.0 for windows. FPGA 1.1 version.
    I have a problem about the DIO. In a previous program I use one boolean number to control one PXI 7833R digital output line. Everything works. Then I want to use the same boolean number to control two different Digital output lines. I did not change anything else, Just add a Digital output line to the node A(the circled one is added). The program does not work any more.
    I used the oscilloscope to measure the output and got the signal I want for both output!!!
    Anybody knows why?
    Message Edited by lightmiddle on 03-06-2006 04:57 PM
    Attachments:
    twodio.jpg ‏1042 KB

    lightmiddle,
    I am still confused as to what you mean by "the result is far away from what I expect".  What is actually happening? In your previous post you said "I used the oscilloscope to measure the output and got the signal I want for both output!!!"
    I am still not sure how you can be using the FPGA 1.1 module with LabVIEW 8, this should not work.  To add multiple lines to one I/O node in LabVIEW 8 you can simply drag lower edge of the I/O node downward to create more lines.  See the attached image.  I would also take a look at the shipping examples for LabVIEW FPGA module.
    Message Edited by Doug M on 03-09-2006 06:36 PM
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me
    Attachments:
    two DIO lines FPGA.JPG ‏39 KB

  • DIO lines of NI PCI 7334

    Hi
    I have a NI PCI 7334 motion controller from which I hope to controll 4 stepper motors through a MID 7604 stepper motor driver. In addition to this I require to drive 6 relays from TTL signals (generated from commands from labview) through the digital IO lines of the device.Can this controller provide 6 digital out puts ( each giving a TTL signal) and one ground like in the case of DAQ device. I only have the cable connecting the controller to the MID 7604 stepper driver. What else is required to get the digital output lines and the ground similar to a DAQ device?
    Thanks
    Mal

    The PCI-7334 provides two connectors. One (1) for the motion control signals (which you are using) andanother one (2)for the additional 32 digital lines.
    On connector 1 there are also 4 digital output lines available that can be used as general purpose digital outputs for the case that you don't need the breakpoint feature of the board. These are open collector DOs pulled up to +5 V with a 5.5 kOhm resistor and they can sink up to 64 mA. You can place a parallel resistor between each DO and +5 V in order to increase the current. Please note that the resulting resistance (3.3 kOhm in parallel with your resistor + load resistance) shouldn't be below 78 Ohm.
    As there are only 4 breakpoint outputs available this solution will probably not work for you so you should use the additional digital lines on connector 2 instead which will require a cable (e. g. 186381-01) and a connector block. These DIOs provide a 0 to 5 V voltage range and can sink and source 24 mA. The current range can be extended with external SSR modules. For more information please refer to the NI 7330 user manual.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Is it possible to have two different DIO such as DIO 0 and DIO 8 to control 1 LED provided both DIOs are both true?

    is it possible to have two different DIO such as DIO 0 and DIO 8 to control 1 LED provided both DIOs are both true? If so, how do we connect the 2 IOs tothe LED? 

    Why use two DIO lines?  If they aren't doing anything else, just AND the signals in software and just use 1 output.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Obtaining a TTL input signal via DIO lines of 7334

    Hi
    How can I obtain a TTl input signal from a source via the DIO lines of the 7334 .
    Thanks
    Mal

    I do not quite understand your question.
    If you want to know what kind of signal a DIO line will detect properly: the signal has to be less than 0.8V to detect a low state and more than 2.0V to detect a high state. This is compatible with outputs of all TTL logic circuits.
    If you have some other circuitry (source) with different specifications for the digital signal you can simply connect a switching transistor in open collector circuit. The DIO lines have pull-up resistors, and when the transistor is switched the DIO input will be tied to less than 0.8V (low level).
    Anyhow, if the high output level of your source is more than 5V (there are many control systems with 24V output level) it is better to use galvanic isolation to avoid damage of the motor controller. You can use a relay, or better an opto-isolator. You have to design the series resistor of the opto-isolator such that the input gets proper current to drive the LED (usually 10mA will be sufficient for most optocouplers). If the opto-isolator has an open collector output configuration it can be connected directly to the 7344 DIO line.
    Of course you always have to provide a common GND connection between the 7344 board and your signal source (or the open-collector transistor in case you use this configuration or an opto-isolator).

  • DIO-96 and MIO-16-XE-50

    Hi there,
    I just posted a question and received an answer but I don't think I phrased my question correctly.
    I am connecting a DIO-96 and an MIO-16-XE-50 to the same BNC-2090. The BNC-2090 has two 68-pin connectors, so I thought that if I connect the DIO-96 and the MIO-16-XE-50 to the same BNC-2090 that I could send a digital trigger from the DIO-96 to the MIO-16-XE-50 without using the PFI0/Trig 1 channel on the BNC-2090. Is there some way using the software in NIDAQ Tools (for Igor Pro) to NOT use the PFI0/Trig 1 channel and still make the PCI-MIO-16-XE-50 record after a trigger pulse transmitted straight from the DIO-96 to the BNC-2090 using a SH1006868 cable that connects the 100-pin DIO-96 card to the 68 pin connector on the BNC-2090.
    I hope this makes more sense, since I don't know how to use the DIO-96 card and input it to the PFI0/Trig 1 input on the BNC-2090.
    Thanks a lot!
    Arul Thangavel

    Hello;
    Unfortunately, you can't do that. You will need to have two terminal blocks, one for the DIO board and the other for the MIO board, and then run a wire from one terminal block to the other in order to connect the DIO line of interest to the MIO PFI0 line.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • Accessing full 32 DIO lines on PCI-6602 in C++

    Hi,
    I have seen a couple of posts on this topic, but none seem to contain an answer to the question, and the documentation in the Register Level Programming Manual appears to be incomplete.
    We need to access the full 32 DIO lines on the PCI-6602 card; however, only the first 8 lines (those driven by the STC) are documented.  Is there any example code or further info that would allow us to use this functionality? 
    We are programming in C++, using the Driver Development Kit, in QNX.
    Any help would be much appreciated.
    Cheers,
    Monte

    The 32-bit digital port registers were not included in the chipobject (by mistake).  The digital intput register is at offset 0x414 and the digital output register is at 0x510.  To access them you can use the tAddressSpace object directly:
    u32 value;
    value = Bar1.readU32(0x414); // read digital 32-bit port
    Bar1.writeU32 (0x510, value); // write digital 32-bit port
    For configuration, use the IO_Pin_x_x_Configuration_Register registers to configure the line for input or output. 
    For example,  to configure line 0 and 1 for input
    tio->IO_Pin_0_1_Configuration_Register.setIO_Filter_0_Select (0); // no filter
    tio->IO_Pin_0_1_Configuration_Register.setIO_Pin_0_Select (0); //input
    tio->IO_Pin_0_1_Configuration_Register.setIO_Filter_1_Select (0); // no filter
    tio->IO_Pin_0_1_Configuration_Register.setIO_Pin_1_Select (0); //input
    tio->IO_Pin_0_1_Configuration_Register.flush (0);
    or lines 29, 30 and 31 for output:
    tio->IO_Pin_28_29_Configuration_Register.setIO_Filter_29_Select (0); //no filter
    tio->IO_Pin_28_29_Configuration_Register.setIO_Pin_29_Select (2); // digital output
    tio->IO_Pin_28_29_Configuration_Register.flush (0);
    tio->IO_Pin_30_31_Configuration_Register.setIO_Filter_30_Select (0); //no filter
    tio->IO_Pin_30_31_Configuration_Register.setIO_Pin_30_Select (2); // digital output
    tio->IO_Pin_30_31_Configuration_Register.setIO_Filter_31_Select (0); //no filter
    tio->IO_Pin_30_31_Configuration_Register.setIO_Pin_31_Select (2); // digital output
    tio->IO_Pin_30_31_Configuration_Register.flush (0);
    valid values for the select field are:
    0 - input
    1 - counter output
    2 - digital output
    I hope this helps.

  • Apparent altered DIO line input state on 4351 when using driver instead of NI MAX

    Hi,
    I'm using an NI4351 PCI DAQ card with the Ni435x driver and LabWindows/CVI v5.5 (on Windows 98) to capture digital logic states on the DIO lines. I first used NI's MAX utility to establish a virtual DAQ input channel from 'Data Neighborhood'. When I tested this channel from the utility by connecting the DIO line to 5V or GND via a 10K resistor, the respective logic levels were registered. In LabWindows, I use the 'NI435X_Init' and 'NI435X_Configure_Digital_Lines' driver functions to respectively initalize the DAQ card and set one of the DIO lines as an input, with the rest being set as outputs. However, I cannot read the input line using 'NI435X_Read_Line' unless I directly connect th
    is channel to 5V or GND (i.e. without a 10K resistor), but 'NI435X_Write_Line' works fine. It would appear that the input state of the DIO line is different to that established by NI MAX. Is there something other than the initialize function that should be called? I tried the following linemask combinations to set the port lines, by using F or 1 to represent an output and 0 to represent an input:
    NI435X_Configure_Digital_Lines(DAQ_session, 0x0FFFFFFF) // DIO 0 set as input, the rest as outputs
    NI435X_Configure_Digital_Lines(DAQ_session, 0x01111111) // DIO 0 set as input, the rest as outputs
    I am unsure which format, if either, is correct and would be grateful for any help on this anomaly. Thanks.

    Hi Kevin,
    Yes, if I connect an input channel directly to 5V, the software reads a logic high and continues to read this level even when I disconnect the channel and leave it "floating". The state changes to logic low only when I connect the channel directly to GND and then it stays at this level, even if I disconnect it from GND. In other words, the states seem to 'latch'. Nothing happens if I connect via the 10K resistor - the channel simply remains at the logic level it was last set to after I momentarily connected it directly to 5V or GND.

  • Is there a DIRECT link between SD schedule lines and delivery lines?

    Is there a direct link (db table) between schedule lines on a sales order (VBEP) and the delivery lines (LIPS)? 
    Is there a function module to retrieve the data?
    Example-
    One order line with 3 schedule lines.
    Each schedule line is for 2 units (total of 6 units).
    Three deliveries made.  1st is for 2 units, 2nd is for 1 unit (backorder), 3rd is for 3 units.
    You can use document flow (table VBFA) or examine the SD document in the delivery line (LIPS) and link the delivery line to the order line.  The schedule line already references the order line.
    I am using math to decrement the schedule lines used and make the link between VBEP and LIPS.  It works fine.  I need four records back....
    1st schedule line for 2 units uses delivery 123
    2nd schedule line for 1 unit (partial) uses delivery 124
    2nd schedule line for 1 unit (partial) uses delivery 125
    3rd schedule line for 2 units uses delivery 125
    Like I said, it works. Just wondering if I missed a more direct link.

    As far as Db link is concern , I don’t remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order.  If you see process wise…. when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
    but I remember there’s a link between these tables, VBAP,VBFA AND VBEP , LIPS ...  against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
    I hope this’ll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
    Thanks

  • How to compare delivery date in schedule lines and PGI in outbound delivery

    Hi,
    I want to create a report to monitor and compare different dates in sales and delivery process.
    One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
    But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
    Would you have any idea?
    Thank you.

    It seems there's no exact (table) connection / link between delivery item and schedule line item.
    Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
    This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
    (if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
    Schedule Line and Delivery Link
    Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM

  • What is the white horizontal line and red vertical line on my brand new ipad mini?

    Bought a brand new ipad mini 2 for my sons Christmas, took it out the box and it was during the set up process, ie entering his iTunes and icloud account, a white horizontal line and a red vertical line appeared on the screen and is there all the time now.  Have tried switching off and on and resetting, but it is still there.  Any ideas??

    Hi Tolmivooz,
    So the lines didn't appear until you were into the setup?
    Does the orientation of the lines change when you rotate the screen?
    Thanks for trying the restart and reset. Please see if a restore helps.
    Get help with the screen on your iPhone, iPad, or iPod touch - Apple Support
    If you see lines, missing sections, discoloration, or poor image quality
    Try to restart your device. If you can't restart, reset your device.
    If restarting or resetting doesn’t fix the issue, restore your device.
    If you still see the issue after you restore, contact Apple Support.
    Best,
    Nubz

  • I wrote a 27 chap. book on my iMac from ****. B4 I was completely finished, I spent hundreds of hours on-line and in store, and final answer after atty was involved was 1) we've never seen it b4 2) we don't know what it is 3) it's not ur harddrive, softw

    finished, at about 26 chaps, 1) hard-drive went out, 2) visited site & then got "ur virus is infected buy us now" pop-ups (only time in 3 year. of using a mac, and 3) (forget what but an issue. Spent hours on-line, and at store. And finally w/an attorney when I kept being told it was user error. (I"m getting to book isssue I promise)  During this time, Harddrive was wiped, external b-up replaced, something about "separated" etc. etc. and even computer replaced w/same issues afterward. Final vrdict 1 yr. later: 1_ we've never seen it 2_ we don't know what it is--not a virus, not harddrive malfunciton, not software issue 3_ we don't know how to fix it. Live w/it w/multiple errors and oddities every time you try to type or start all over. Got an attorney, and took it in again, and miractulously, "he" fixed it. However, in meantime, I wrote many duplicate chapts. when I couldn't find missing, or edited, some, etc.
    Everything was writen in Pages, chapt. by chapt. Now I have a 27 chap. book(my first)  in pieces--w/many duplicate or slightlychanged chapters  all over the computer. I'm trying to reconstruct. Some chaps. I just can't find, some are garbled, some do strange things like left justifying and changing to single space (and can't change back to double, just have to erase and start over,  on those old documents. Needless to say I have felt so defeated it's been really hard to get back to the almost finished book for last re-write.
    The Questions:  1)I'm trying to find the chapters, and as I find and edit them I need to know how to make this massive achievement work. Should I continue w/chapter by chapt until all are finished? Or start putting them into single document as they are finished? How do I find anything? If I put finished in PDF to send to publisher, even tho it's my PDF, I can't go back and edit my own, except in a duplicate entire document, is that correct?
    I cant' find the string to start unraveling this mess. I do have hardcopies made and presented to writing group so need to edit those chapters.
    I'm used to paper typewritten copies of everything for manipulation, and I know things now I should have done on the Mac but didn't when I started. (I"m also having trouble getting a Table of Contents to work, which is making it doubly hard to find anything.)
    To sum it up, I think, How do I write a book, with chapters (no technical sstuff, only a few footnotes & I may group them at the back of the book.) as far as manipulating documetns/folders, have ready for export, etc.   Probably too long a question so go ahead and chew me out.  (And I havent' used any other document except Text Edit in years.) I am overwhelmed an book is wasting away.

    If you are wondering why you are not getting any responses, it is because you have vented a complaint without any details that make any sense or give anyone something to work on.
    If you want help, I suggest actually detailing what has happened, with versions of software etc. Anything that would let us assist.
    As a start I am guessing that you have not really got the hang of "How it all works". Firstly download the Pages09_UserGuide.pdf from under the Help menu. Read that and view the Video Tutorials in the same place. A good addition would be the iWork 09 Missing manual book and something to help you learn how to use your Mac.
    If there are specific tasks you need help with:
    http://www.freeforum101.com/iworktipsntrick/index.php?mforum=iworktipsntrick
    Is a good resource.
    Peter

Maybe you are looking for