How to avoid dependance between output digital port with a PCI 1200 daq card?

Hello,
I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
How to configure a robust state (high logic level) on a line of a port??
Does anybody have an idea on this problem?
Thanks a lot in advance and happy new year to the community
JF LAVEZARD

jflab a écrit:
Hello,
I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
How to configure a robust state (high logic level) on a line of a port??
Does anybody have an idea on this problem?
Thanks a lot in advance and happy new year to the community
JF LAVEZARD
Hello,
I've found the problem
The PCI1200 has a chip 8255 for Digital I/O
If I use the bad VI, it reconfigures the port and all the lines go in a low logic state
so I'd to write only on the port or the line without reconfigure the port
So the good VI in the palett is: Port Write and not Digital Port write!
See attached file..
Thanks
Best Regards
Attachments:
port_dio.jpg ‏771 KB

Similar Messages

  • Digital Handshaking with two PCI-DIO-32HS Cards

    Hardware: two PCI-DIO-32HS Cards
    Software: LabVIEW 5.1, NI DAQ 6.6
    Problem:
    I'd like to do burst digital handshaking with two PCI-DIO-32HS cards.
    One being used for sending bit stream while the other receive.
    Suppose I want to use burst handshake mode.
    How should I wire the connections?
    Where should I wire the REQ, and ACK line from the sending card?
    Should I wire REQ from card one to REQ of the other card?
    Also, how do I configure labVIEW VI to do burst handshaking mode.
    Can anyone send me a VI that can do this.
    Thanks a lot.

    Matt,
    I would recomend using the DIdoubleBufPatternGen.C examples that ships with NI-DAQ. You can find it in your \NI-DAQ\Examples\VisualC\Di folder. If you don't have this example on your machine, you can get it by running NI-DAQ Setup and selecting support for C/C++.
    This example does double buffering to allow you to continuously acquire data from your card. Data is transfered only when a full 1/2 buffer is ready. You can set how long to acquire data by setting the number of half buffers to read, or by modifying the read loop conditional parameters to fit you needs. See the NI-DAQ help on how to set you REQ pulse rate to 100kS/s.
    Nick W.
    www.ni.com/ask

  • How can I make a timer that will record elapsed time up to 15 hours with a PCI-6503E DAQ card?

    I'm a beginner LabVIEW programmer, but need to take measurements of elapsed time from the start of data acquisition for up to 15 hours. I'm using a PCI-6503E card. Looking at examples on the web and LabVIEW, itself, I was only able to find a way to take time measurements with a DAQ card up to 167 s, unless two counters were tied together, but there are no instructions on how to do that. Could someone help me? Thanks.

    I suggest you to look in the Resouce Library: inside it there is plenty of useful examples.
    I found this VI with two cascaded timers in the Measurement hardware > Counter/Timer > Event/Time Measurement cathegory:
    http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?​openagent&5293158F4EC950C4862568C1005F6CD9&cat=C70​29C9ACBD3DF7386256786000F8EE6
    Hope this helps.
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to switch multiple relays using PCI 6601 DAQ card

    What is the specification of the digital output value given from the PCI 6601 DAQ card?How to develop LAB VIEW code to switch a relay?Can anybody please explain?

    Hi hasi,
    did you read the manual and the specs of the PCI6601? It says: "5V TTL/CMOS compatible"...
    You shouldn't expect to much current from a simple DO pin - probably it's not enough to drive your relay!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to define dependancy between sowtware comps in the SLD

    how to define dependancy between sowtware comps in the SLD,
    i have a software comp, in the IR, where i import all RFCs and IDOCs, so that they can be used across all software comps in the IR,
    since, IDOCs imported in one software comp, cant be used in another s/w comp,
    i need to create that dependancy..............................
    how can i mention the dependancy in the SLD....

    Hi,
    Please read the Rules OF Engagement,
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement&
    <i>
    Do not use words in capital letters and any of the words: urgent, quickly, burning, etc in your message. Especially not in the title! This just irritates and does not help you get to your goal. From our side, we definitely do not answer faster when we see these words.
    The same goes for such things as ??? or !!! in appends. In the English language one ? or ! is sufficient to terminate a sentence. </i>
    Answering you question, Say you have 2 SWCV's. SWCV A and B. All objects imported in SWCV A should be visible in B. In this case, go to SWCV B and in this, Go to the Dependency Tab , and Select SWCV A here as the dependent Component.
    In your IR, Clear SLD Cache and Reimport the 2  SWCV's into the IR and now you will see the Basis Objects in SWCV B. All the existing objects will not be affected as a result of this reimport into IR.
    Regards
    Bhavesh

  • How can I connect the output of a force transducer unit(BNC cable) to the PCI-6036E DAQ card via the SCB-68 block connector?

    I m using the 404A force transducer unit by Aurora Scientific and i want to connect the (converted to Volt) output, which is a BNC cable, to the PCI-6036E DAQ card via the SCB-68 connector block, facing difficulties in choosing the correct input mode for my signal(couldn t clear this using the manual), setting the switches and which channel shall i use in the block connector in order to configure ot with LABVIEW

    Hi MSc Student,
    Connecting your transducer to the 6036E card via the SCB-68 connector block should be pretty straight forward. You have 2 choices of input mode, Referenced Single Ended (RSE) this is where you will connect the screen of the BNC cable to a ground connection for the DAQ card in the SCB-68 and the other to any analogue input channel . These are listed in the device pinouts in the help section of MAX, under the 68 pin devices section. The terminal block numbers correspond to the DAQ card's pin numbers. Another method, which avoids ground loop problems would be to use the Differential connection and connect the signal and ground connections of the BNC cable to a differential analogue input, these are listed in the 6036E manual and in th
    e MAX help section again. the disadvantage to using this method is 2 analogue input channels are used and you must use the lowest 8 analogue input channels for differential inputs.
    The switch settings that you need can be found in the manual for the SCB-68 in table 2-1, the manual can be found here : http://www.ni.com/pdf/manuals/320745b.pdf
    The switches are for power to extra signal conditioning and the cold junction compensation for thermocouples which in your case you do not need so set the switches to the positions in the first box ie Direct feedthrough, with temperature sensor disabled and accessory power disabled. The channel you use should not matter the only ting to remember will be that if you use differential mode measurement that you will be connecting the signals to AI(n) and AI(n+8) so differential input 0 is across the connectors for AI0 and AI(8). The channel numbers corespond to the analogue input number for the card.
    I hope this information helps,
    Chris M
    App
    lications Engineer, National Instruments

  • Im using a pci-6221 daq-card.I want to know the difference(use)of a line output and a port output.

    Im using a pci-6221 daq-card.I want to know the difference(use)of a line output and a port output.

    Hello Hellraiser24,
    This question has actually been discussed in another thread here:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=95895&requireLogin=False
    I hope this helps,
    E.Lee
    Eric
    DE For Life!

  • How can I charge my chinese iTunes account with a 25 euro gift card I bought in Germany?

    How can I charge my chinese iTunes account with a 25 euro gift card I bought in Germany?  Thanks.

    iTunes gift cards can only be used in the store in the country in which they are bought - so if you bought a German iTunes gift card then you will need a German iTunes account. If you haven't got a German iTunes account then do you know anybody with one who could give/sell it to ?

  • How do i generate the TTL pulse from PCI 6024E DAQ card

    Hi, I'm trying to write a program which generates a single TTL pulse when it is run. My goal is to generate the pulse, send it to the output channel of my PCI 6024E DAQ card, and then use a BNC cable, to display the signal on the oscilloscope. I have written the code and I think it appears fine but when I try to view the signal on the scope I am unable to see the pulse. I have tried slowing down the sweep on the scope and have adjusted the voltage and time scales but have not seen any response. After examing my DAQ card, I noticed that none of the PFI/TRIG terminals on the card are wired; the output channel connects to terminals for DAC0OUT and Ground. I'm wondering if this pin needs to be wired in orde
    r to generate the pulse since PFI0/TRIG1 is the start trigger terminal. Any help would be appreciated. Thanks.
    Attachments:
    ttl.vi ‏26 KB

    Hi,
    You are looking for a retriggerable pulse generation. Please check the Generate Retriggerable Pulse (DAQ-STC).vi example that ships with LabVIEW.
    Regards,
    RamziH.

  • Jitter of output digital waveform with external clock

    Hi,
    I need to generate digital waveform with 20 bits pattern * 1000 times. Digital waveform must be sync with 1 MHz external clock.
    It is not big deal.
    But there is additional requirement that digital waveform has jitter < 200 ps. It can be delayed for couple ns but it must be very stable.
    Can anyone point me on that parameter? Or share your expirience?
    Thanks!

    Hi Andrei,
    Tph on figure 3 is defined as tp - 2.2ns as we discussed earlier. The data jitter, along with channel to channel skew, is already taken into account. We don't specifically spec the data jitter since we have made this calculate for you. It is safe to say that the data jitter involved in tph is less than 200 ps however this is not a standard spec we provide.
    As for additional board recommendations, what is your application? The 6562 is designed for LVDS applications. The 655x series is highly recommended for high speed TTL based applications. If you reference the 655x manual you will notice similar or better specifications in regards to setup and hold times, which again already take into account data jitter and skew.
    I am curious as to why you would like the specific values documented. We provide the current specifications so that you do not have to use the individual statistics to calculate numerics such as the setup and hold times. Is there something specific you are trying to do here? You mentioned a simple example earlier, what is your actual application?
    Regards,
    Chris Behnke
    Sr. RF Engineer
    High Frequency Measurements

  • How does the PCI-6229 DAQ-card communicate with CB-68LP connector block?

    Hello!
    I want to do a very simple task which is to just turn on/off a LED. I am using LabVIEW 7.1 and I have a DAQ-card PCI-6229. The DAQ-card is then wired to a connector block CB-68LP.
    Now my problem is to figure out how the connector block communicates with the DAQ-card?
    In the file I attached there is a picture of connector block and the device pinouts from the DAQ-card. But how do I know which of pinouts triggers some connector on the connectorblock?
    Which are digital outputs on the DAQ-card?
    Where can I read about this?
    Attachments:
    daqANDconnectorblock.bmp ‏2437 KB

    Hello asc01001:
    The digital pins of the PCI-6229 are labelled as Px.y, where x is the port name while y is the channel name.  For example, pin52 of the NI 6229 is P0.0; which is also port 0, channel 0 of the digital I/O of the DAQ card.
    While "D GND", which are located at pin53, pin18, pin50, etc. are the negative terminal of all digital I/O of the DAQ cards.
    Please advice if this helps.

  • Digital ı/o problem in mseries 6229 daq card

    In our lab, we have a 6229 M series daq card. We want to send digital output ,
    ( three square waves and their direction values for driving 3 dc motors.
    We will change pulses or frequencies during application). we tried to send the signals from single lines
    (altogether we need 6 lines.)  but we failed. We could only send pulses from counter ports but
    unfortunately there are only  2 counter ports. Can anybody help us about this problem?
    If anybody could also send a labview 7.x program for this application we will be thankful.

    Hi,
    You can use the correlated dio functionality of your M series board to output digital waveforms. However, you will need to construct the waveform before actually outputting the data. Here is the link to another discussion forum with more information on this including links to examples: How do I output a digital waveform?
    Regards,
    Hal L.

  • How to arm channel 1 of a PCI 6133 DAQ card using labview?

    Hi,
    I am new to the Labview and I need some help.  I have a PCI 6133 multifunction DAQ card and I'm using Labview 8.2 to capture five channels waveform data.  I setup channel ai0 to be the trigger channel and I need to capture data from ai0, ai1, ai2, ai3, and ai4 when ai0 is trigger.
    Question:
    1) I am using DAQ assistant to configure my channels.  How can I arm the channel ai0?  I have an "execute button" and it should arm the scope when I click it.
    2) Is there trigger ready signal, so I can save all the channels data when channel ai0 is trigger?
    Can anyone provide some help?
    Thanks

    Hello wirte spreedsheet,
    Thanks for posting to Discussion Forum. It looks like you are using the
    PCI-6133 to acquire analog data from ai0:ai4. You want to use ai0 as
    the trigger for the other channels.
    Does your application need to be retriggerable?
    Are you doing continuous acquisition?
    Are you doing Analog start trigger or reference trigger?
    Take a look the following shipping examples, found in LabVIEW click
    Help>>Find Examples. On the browse tab, Hardware Input and
    Output>>DAQmx>>Analog Measurements>>Voltage:
    Cont Acq&Graph Voltage - Analog SW Trigger.vi
    >> This example demonstrates how to perform an analog software
    triggered acquisition. The example allows the user to specify the
    triggering condition and the number of pre-trigger samples to acquire.
    Cont Acq&Graph Voltage - Int Clk - Analog Start.vi
    >> This example demonstrates how to continuously acquire data
    (Waveform) using the DAQ device's internal clock and an analog slope
    start trigger.
     Take a look at these applications and let me know if you have any questions or comments.
    Have a good day.
     Regards,
      Sandra T.
    Applications Engineer | National Instruments

  • How can I set up a delayed analog trigger on PCI 6115 DAQ

    I have an S-Series PCI 6115 DAQ which I’m running with Labview. I’m using it to measure signals from an acoustic emission sensor and two force transducers. I’d like to set up a delayed analog trigger which will start acquisition on all three channels a period of time after a selected channel’s voltage exceeds a threshold.
    Currently I’m using the AI Config VI in line with the AI Start VI and AI Read VI to capture data after a analog hardware trigger occurs. A software trigger probably wouldn't work because I have to sample my data at 10MS/sec. My setup works fine for triggering without any delay or skip counts. However, if I set the delay or skip count in the additional trigger parameter field of the AI start VI, there is no effect, and the device still starts capturing data immediately after the trigger is received. What is the cause of this, and how can I get around it?
    Also, is it possible to sample the channels of a PCI-6115 DAQ at different rates? Right now, I’m sampling all my channels at 10MS/sec and throwing away data on all channels except one. However, this seems relatively slow and eventually I would like to attempt pseudo-real time control using my data.

    rpursley8 is right about needing to get the counters involved if you want a hardware timed delay in your application.
    Concerning whether or not you can sample at different rate, check this document out.
    Sampling Different Channels at Different Rates with NI-DAQmx
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Yes/No fields, single line. Long question in seperate text field. How to avoid gap between lines?

    I have made two single-choice fields side by side (Yes and No) on one single line. The question for the choices is long, so I wrote it in a separate text field placed above the Yes and No fields. If I use the Yes field for the question, the No field would end up too far to the right.
    Question ....
    [Single-choice text fields space]
    [  ] Yes
    [  ] No
    Problem now is there's too much space under the question, since the automatic text fields in the Yes and No fields are still there, though "invisible"/not used. How can I have a long question on a single line and have the Yes and No fields on the next line without a big gap between the two lines? Is it possible to delete the automatic text field in the Yes and No fields?
    Just realised that if one makes a single Yes field, and a single No field to the right, you are ("of course") able to mark both the fields, since they are not linked anymore as with two choices in one field. The point with the single choice fields is then lost; to be able to choose only either one. Yes or No.
    [X] Yes   [X] No

    The Single Choice is designed such that you have a single label and multiple choices, but the user can only select a single choice (in your case Yes or No).  If you like the choices to appear side by side you can deselect Stack Choices Vertically in the Field Properties widget.  You should also set the Label to Above.  See the attached image.
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

Maybe you are looking for