Pci1200 digital input output

Hi,I'm a student using labview 6.1 for the first time. I use the digital input/output lines of a pci 1200 card. I use 8 digital input lines placed in one sequence, and 7 digital output lines placed in another sequence. The VI can read the input lines but the output lines give a voltage of 0.5 Volts instead of 5 VOLTS, how can I solve this problem?

What are you writing to the digital output lines in LabVIEW? Writing a Boolean value of False to a digital line will write a TTL logic low voltage and writing a Boolean value of True to a digital line will write a TTL logic high voltage. Make sure you are writing a true Boolean value to the lines you want to output 5 V.
Also, make sure you are not loading down the digital outputs. The digital lines can source 13 mA of current. If you are connecting a small resistance load across the digital outputs, you might be loading down the digital ouputs. I hope this helps.
Regards,
Todd D.
Applications Engineer
National Instruments

Similar Messages

  • How to address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc

    dear all,
    i am new to labview, how to code or address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc or crouzet plc.
    pls help.
    HM

    http://search.mywebsearch.com/mywebsearch/redirect.jhtml?searchfor=mitsubishi+fx1n&cb=ZO&p2=%5EZO%5E...
    Try the above link. I know it is a screen-full, but is a search result for Matrikon. They have a whole slew of OPC servers/clients you can try out. Personally, I would go with their OPC server for the Mitsubishi, and use Labview Datasockets. That would be the simplest with the lowest learning curve.
    Otherwise, if you wish to use Modbus, you would have to get the commands/syntax from Mitsubishi; might be in their user manual, but I wouldn't lay bets on it. With the Matrikon stuff, the syntax is all built in.
    Good luck which ever way you decide to go.
    Dave

  • Simultaneous Digital Input and Output from NI 9403

    Hi,
    I was wondering if it is possible to digital output through one line in this module(NI 9403) while simultaneously reading from 10 other lines?
    Basically what I need is for line0 to always be closed(true), and read lines1:10 - at very least 1sample/second.
    I have attached a stripped down version of my code illustrating my error. I thought I was getting the error because the two tasks were using different clock configurations, but I tried using the same inputs and that doesn't work for me.
    Any input is greatly appreciated.
    Thank you
    Attachments:
    Digital I-O.vi ‏22 KB

    Hi Matthew,
    The behavior you're seeing is expected for the 9403 module, since it is a serial module. The DAQmx help has the following restrictions in the Digital I/O Considerations for C Series Devices section.
    Timed digital input/output restrictions:
    You cannot use parallel and serial modules together on the same hardware timed task. 
    You cannot use serial modules for triggering. 
    You cannot do both static and timed tasks at the same time on a single serial module. 
    You can only do hardware timing in one direction at a time on a serial bidirectional module.
    So you can only do timed input or output at one time, but not both. However, based on the VI you attached and the description of what you want to do, you don't necessarily need both timed tasks in your loop. You can create a static output task to update that one line and after that, you can just start your timed input task on the rest of the lines. This should maintain the state on the DO line, since you're not acquiring from it.
    Cheers,
    Cristina
    Cristina

  • 15bit digital input on SC2345

    I want to test the function of an Allen Bradley 845G-F3BAHP032KR digital absolute encoder, it uses 15bit/0-32767 resolution. I have an SC2345 conditioning unit with a 6036E DAQCard. My understanding is that if I were to use my current setup, I would have to connect all 15 lines to analog input channels and then try to interpret the signals..NI 6533 was suggested by your engineer..my question is, what else do I need to purchase to do this test? Do I need a PCI, or PXI setup, or do you have a portable setup like my current SC2345, except with more than 8 digital channels, I would need 16 digital I/O channels, right?
    What hardware do I need in order to run this on my laptop. I assume at the least, a DAQCard-6533, but what other hardware
    Thanks, please send your response to [email protected] it seems that all NI email content is removed by our email system here at Dominion

    Greetings,
    The DAQCard-6533 is a 32-bit digital input/output device and so it would definitely work with your application.
    The DAQCard-6533 can perform hardware, timed digital input at speeds up to 400 kbytes/sec. Other than the DAQCard-6533, you will only need a cable and connector block to connect the 15 lines from your encoder to the 6533. You will need a PSHR68-68-D1 Shielded Cable and an SCB-68 shielded terminal block for easy screw terminal connection to the DAQCard-6533.
    I've linked to the DAQCard-6533 within the online catalog below. It lists the cable and connector block that is compatible with the DAQCard-6533. I've also linked the user manual of the DAQCard-6533 which will explain its operation in more detail.
    DAQCard-6533
    http://sine.ni.co
    m/apps/we/nioc.vp?cid=13509〈=US
    653X User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/EDE443F5C700373A862569B90072D26F?OpenDocument&vid=niwc&node=132100_US
    Let me know if you have any additional questions. Have a great day.
    Regards,
    Todd D.
    NI Applications Engineer

  • How to input/output a digital signal and acquire an analog signal at the same time?

    Dasylab, version: 8.0.04
    Acquirement Card: PCI1002L
    When I use DasyLab to acquire the analog signals is no problem without digital inputs and outputs,
    and when I use DasyLab to input or output a digital signal is no problem also, but when I do that at the
     same time, DasyLab tell me the rate is too high and stop.
    so, I searched the manual book1 (user guide) for that, it showed me :
    To internally equalize measurement time and system time in the analog input, digital input and counter
    hardware modules, use the following settings:
       Synchronization: PC Clock
       Sampling rate: <= 5Hz
       Block size: =1
    the problem is, if I set the Sampling rate to 5Hz, the speed of the acquirement datas is not enough for my
    application.
    so, how to improve it? who can give me a example programm for me. thanks!
    by the way, I come from China, my English isn't good, I'm sorry.
    Allen, China.

    Hi,
    Have things changed over the years?
    I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
    If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
    If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
    Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
    1. What can be done to synchronise AI with DO?
    2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
    Thanks in advance!

  • How to I connect Sourcing digital output from My Interface Board to NI USB 6501 channel configured as Digital input

    When I connect an input to DI channel of USB 6501 card  from my board which has sourcing Output t, iIn the Off state it is not pulled down properly. The volatge on the port in is 2.1V -2.5V based on the pull down resistor on my board. I suspect that  it acts as a voltage divider.
    The state on the card is still show as "HIGH "state, even my sourcing output driver has a pull down  resister.  when I use this interface board for PCI mseries devices it works fine. Do the pull down resister on my sourcing output is not worth. Is this because of pull up resister 4.7k inside USB card 6501.
    USB 6501 specifications shows the Digital input accepts both source and sink modes. By default the card is in sourcing digital input mode. How do we can convert this in Sinkind digital input mode.
    Could anyone Please give your suggestions to overcome this issue .
    Thanks you.

    You really should not have both a pull up and pull down on the same line.  Really weird things can happen.  If you insist on having a pull down on your board, then I highly recommend putting a digital buffer chip between the DAQ and your board.
    Some boards with DIO have a pull up, while others have pull down.  You just have to watch the specs.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Comparing digital input and output from two different DAQs

    I want to create this program where the digital output lights up LEDs at random and push buttons are the digital input part of another DAQ are pushed. When the correct button is pushed, the score will increase by 1. My code doesn't work though. Can someone point my errors to me? Both the DAQs i'm using are USB-6008 DAQs. thanks
    Attachments:
    Untitled 1.vi ‏41 KB

    Let's start with the digital output
    What is this code all about?
    Do you want only one of the 8 led's to lit randomly or are multiple led's also ok?
    The two possible codes are in attached file SNAG-003.jpg
    Connect the output of the "Scale by power of 2" function or the "Multiply" output directly to the Write DAQmx vi
    I don't understand the purpose of the "Boolean Value" and "Replace subset array" thing, so I skipped it
    Attachments:
    SNAG-002.jpg ‏49 KB
    SNAG-003.jpg ‏22 KB

  • Producer consumer with analog and digital inputs and outputs

    Hi everyone,
    I am working on a control system program for some practical test work. Currently I am working on the data acuisition component of the Labview program. My architecture is produced-consumer loops with a que. My system will have analog inputs, analog outputs, digital inputs and digital outputs. It's not a time critical sytem, but I would like all of the data acquisition to be synchronised. I have attached my program as it is at the moment. I am having trouble getting all of the data into the que since I have two data types. Also, I'm not sure if i've synchronised the four read/write sequences correctly. I would greatly appreciate if somebody could take a look at my program and give me some advice. Thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    control_v2_DAQ loop.vi ‏46 KB

    Robert, the specific error that I get is:
    Error -200462 occurred at DAQmx Start Task.vi:6
    Possible reason(s):
    Generation cannot be started because the output buffer is empty. 
    Write data before starting a buffered generation. The following actions can empty the buffer: changing the size of the buffer, unreserving a task, setting the Regeneration Mode property, changing the Sample Mode, or configuring retriggering.
    Task Name: Heater testing lab digital outputs
    This error occurs at the 'DAQmx write.vi' function. I just want to sent one sample per second, for each channel. I would like the producer and consumer loops to each run once every second.
    I have attached part of my code with just the data acquisition and writing. Any help would be greatly appreciated.
    Attachments:
    control_v2_ML_simple.vi ‏83 KB

  • IPod Touch Digital Output to Stereo Digital Input

    Is there a way to connect an iPod touch to the digital input of a stereo amplifier? All the iPod connectors I've seen, including those for the universal dock, connect to stereos using analog RCA plugs. I'm trying to find a true digital to digital connector cable - without spending hundreds of dollars for one of the digital docks I've seen advertised.

    Is there a way to connect an iPod touch to the digital input of a stereo amplifier?
    There is no digital output on any iPod including the iPod Touch. Both outputs (via headphone jack and dock connector) are analogue.

  • Macbook 2.1 and Western Digital BPVT input/output errors

    Hi.    After a hard drive failure in my macbook I tried upgrading to a 320GB Western digital BPVT hard disk. Unfortunately the macbook can't seem to read the disk properly when plugged in internally and it shows the capacity as 2.3TB and gives an input/output error when I try to erase the disk (it does show correctly the Description WDC WD3200BPVT).
    The hard disk itself works.  If I plug it into the sata caddy my windows 7 PC can see it, format, write and delete to it. AND if I plug the same caddy into the macbook as an external disk it can read it and write to it etc.  The only difference I can think of is the caddy doesn't support S.M.A.R.T and as soon as the disk is put in internally I get the 2.3TB capacity and input/output errors.  That said I put the hard disk in a HP laptop and it recognised the hard disk internally and installed the OS ok.
    I tested the macbook with a scorpio blue BEVT 500GB and that works perfectly.  So I know it's not the controller or capcity issue. Is it the BPVT?  People on the discussion say this drives works fine, I'm just not sure if I'm missing something.  I was fixing this computer for a friend and not 100% when it comes to Macs.
    Has anyone seen this issue before?   Is there anything I can do to get the hard drive to work in the mac..
    Hardware used:
    Western Digital Scorpio Blue WD3200BPVT Hard Disk Drive,320GB, 5400rpm, 8MB Cache, SATA 3 Gb/s
    MacBook 13" circa mid 2007 (model 2.1)

    Hi, unfortunately not, I never found a fix.  I had to swap the disk for a BEVT.
    The BPVT worked in a 2009 MacBook.  It appears to be the older 2007 MacBook can't read a BPVT, I tried a lot and couldn't get it to work.

  • Digital input and digital output at the same time

    Hi all
    I have a PCI-6503 board. I have done 2 task that run simultaneously: the first one is port0_16 output and the second one is port2 input.
    I get sometimes (not every times...this is strange...) error-200587 saying:
    'Requested operation could not be performed, because the specified digital lines are either reserved or the device is not present in NI-DAQmx.
    It is possible that these lines are reserved by another task, the device is being used through the Traditional NI-DAQ interface, or the device is being reset. You might also get the error if the specified resource is currently in use by LabVIEW network variables bound to the DAQ Channel, or if the DAQ Channel is being used in any OPC Client software.
    If you are using these lines with another task, wait for the task to complete.  If you are using the device through the Traditional NI-DAQ interface, and you want to use it with NI-DAQmx, reset (initialize) the device using the Traditional NI-DAQ interface. If you are resetting the device, wait for the reset to finish.'
    In the attached VI i have recreated the basic structure of my real VI (the error is present even here of course...).
    How can i do?
    I want to have both digital input and digital output with the same PCI-6503 every single cycle... Is it possible?
    Please help me!!!
    Kind regards.
    I love the smell of napalm in the morning
    Attachments:
    DIO simultaneously error.vi ‏31 KB

    Hello Maverick,
    Did you have any luck with the example Raven sent you?
    In Raven's example, it properly passes the DAQmx task from one SubVI to another to avoid having to open the task again. These errors are likely to occur when you have multiple DAQmx calls in a VI that call the same task again without clearing the previously opened task. If at any given time you try to open a task that already is being used, you might receive an error "resource is reserved"... similar to your original example.
    If you are interested, here is an awesome link that gives a detailed explanation of the LabVIEW dataflow paradigm
    Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications
    Thanks and good luck!
    Jordan Randall
    National Instruments Italy

  • Can you perform simultaneous timed digital input and output using a PCI-6120?

    Is it possible to do simultaneous timed digital input and output using a PCI-6120? It seems that timed digital operations require using the group read/write commands, which utilize an entire port. Since the PCI-6120 has only 1 digital I/O port, I would like to be able to use 2 lines as outputs and 1 line as input, and do both in a deterministic fashion. i.e. create a digital signal with known pulse widths and read an input line at a known time after the outputs were set. Is this possible to do with only one digital I/O port?

    Hello,
    This can be done in LabVIEW. There is actually an example that installs with NI-DAQ.
    Below is a link to a Knowledge Base that explains how to find the correlated digital I/O examples.
    http://digital.ni.com/public.nsf/websearch/B849664604EB34B886256D12005B5520?OpenDocument
    Just take a look at the example titled �Continuous CDIO with external clock (E).vi�
    Best regards,
    Justin Tipton
    National Instruments

  • 1820M digital inputs don't work with cable box, receiver digital outputs?

    I just installed an 1820M on an XP-Pro machine (AMD 3800+ X2). Downloaded the optical and coax loopback tests and they work fine. But I can't get it to take digital input from either my Comcast HD-DVR or my Denon AVR-1907 receiver. I know the Comcast DVR digital outputs work - they worked with my receiver and with my old Logitech 5300s.
    I've tried everything I can think of:
    - take external sync from S/PDIF
    - set the optical to ADAT so it doesn't mess up the coax s/pdif input
    This seems like such an obvious application. Has anyone gotten it to work?
    Thanks

    This is my point - the currently active channel does not produce sound through its multiple outputs unless Logic is playing.
    So, for example, if I am auditioning different drum grooves from RMX through the multiple outputs (for the purpose of putting effects/processors on the outputs in Logic) this only works when Logic is playing.
    Or if, in BFD, I have the direct Snare coming out of one output into an aux, and then a direct Kick coming out and output into another aux, I cannot hear them unless Logic is playing - I can only hear the ambient mic's as these are mapped to Outputs 1-2 which are the initial track you set the multiple output AU up on.
    If none of this is something you tend to do, I guess it's hard to understand!
    Thanks,
    Alex.

  • How does NI 9411 card convert the digital input pulse given to output rpm?

    I am measuring the shaft rpm using the encoder and feeding it to the 9411 card.Can the 9411 card display the shaft rpm? How the card can do this conversion?Should I use any other component to decode the digital input pulse?

    Have you tried enough searching, here and there...??
    1. Check page # 12 of this manual.
    2. How Do I Use a Quadrature Encoder with My Data Acquisition Board?
    3. Encoder Measurements: How-To Guide.
    Edited:
    4. NI 9411 Pinout.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • External Hard Drive Input/Output error

    I recently started having problems with an external hard drive setup that I did not have problems with prior to upgrading to 10.5.5 and trying to setup the drive to be compatible with Time Machine.
    The hard drive enclosure that I have has 2 bays for two SATA drives. I have used this enclosure without any problems until I tried to get 1 drive to act as the backup drive for Time Machine and the other to be storage. I formatted them using Drive Genius. I used the option for GUILD or GUIL which it said was the better format for using with Time Machine.
    The first problem I ran into since upgrading and reformatting the drives is I got an "input/output" error the first couple times I connected the drive via USB to my Mac. I could still use the drives but I got weird errors every once in a while like "input/output error" or "device was not ejected properly" even though the device had not been unplugged.
    Now the drives will not mount using OS 10.5.5. The drives show up when I open Disk Utility, but I cannot get them to mount. I have ran Disk Utility First Aid, and it says the drives are fine. There is one error that shows up when I run the "Repair Disk" feature. It reads "Invalid content in Journal". But Disk Utility also says "The volume was repaired successfully".
    I have seen some posts when I do a search in google about this issue and it seems this is a known issue. Every suggestion I see says to insert your Tiger DVD and reformat the drive using that and the problem will be solved. The only problem with that is I have a lot of important files on the drive that I cannot lose. I had the files backed up until I moved them to the new drive a while back. Now I do not have a backup because I was in the process of switching to bigger drives and erased the old drives after doing so because everything was working fine.
    I am hoping someone out there may have some suggestions (other than erasing the drive) to get my dives to mount so I can transfer the data off to another drive and reformat after.
    Thanks,
    Paul Rugg

    Thanks for the suggestion.
    Do you think that would work better than Drive Genius? I bought Drive Genius 2 and it does not even see the drives when they are plugged in unlike Disc Utility which can see the drives but cannot mount either one.
    Maybe this following post I made to a different questions may help. The data on the drive is other buying another program for if it will work. I think my next step may be to go over to a friends place and try to mount the drives on his computer and transfer stuff off if they connect.
    text below posted to other question relating to external hard drive problem.
    I have recently had the same mounting issue with my new external hard drive. I just purchased a new 750Gb Western Digital Sata drive and got everything transfered over to it. Immediately, I got an error saying that the drive had been ejected incorrectly even though it was still plugged in. I was a little curious. I restarted the computer (hard drive still plugged in via USB 2.0) and the drive showed up just fine. I plugged another 250Gb drive into the same case (2 bays) and the 250GB drive showed up just fine.
    Well, I then noticed there was an OS upgrade available when I ran Software update so i ran it and when I rebooted the drives were gone. I can see the drives in Disc Utility, but they will not mount. Drive Genius cannot see either disc. Disc Utility says I need to repair the drives, but when I do it says they are fixed but they don not mount.
    The problem really seems to be related to mounting USB external drives. I got ahold of 2 seperate external firewire hard drives and one shows up just fine while the other has the same problem (both work on other systems. I would try wiping the drives and reformatting but ALL MY stuff is on them and not everything has been backed up. Yuck! I have not tried connecting my hard drive to another Mac yet.
    The drives being used are #1 Maxtor Maxline Plus II 250GB SATA/150 HDD 1.5b/s 7Y250m00654ra
    and #2 Western Digital WD7500AACS WD Caviar GP Green Power drive.
    I have another post similar to this and I have not received any feedback, but I have been doing my own searching and have found similar posts on the net.
    Anybody have any clue what might be going on here? It really seems to be related to my upgrade.

Maybe you are looking for

  • Best way to import from iPhoto 6 with albums ?

    Hello All ! I have a large collection of photos (well, only about 5500 pics) in my old iPhoto 6 library sitting on my (also) old Mac Book Pro from 3 or 4 years ago, and today I would like to import all that to my (new) iPhoto 09 on my iMac. What's th

  • New monitoring tool for SAP BusinessObjects Enterprise XI 3.1 SP2 & higher

    Did you know that there is a new monitoring tool available for SAP BusinessObjects Enterprise XI 3.1? It produces reports that summarise the SAP BusinessObjects Enterprise system landscape and its configuration, helps out with troubleshooting issues

  • PNG import in Aperture 3.2.2

    I imported some PNG files recently, all with transparent backgrounds. Aperture mangled them superbly and made them nicely unsuable. Google's Picasa handled the files perfectly. Is this PNG problem known where Aperture is concerned and if that is the

  • Timestamp in Messenger Express Received Column

    Hi, Does anyone know how to change the date/timestamp in the message list in the Messenger Express Received column from 24 hour format to 12 hour format? So instead of      "16:23" , it would say "4:33 pm"... Many thanks...

  • DEFAULT, NOT MY FAULT!!

    I just got an imac g5 isight 17". I bought it off my brother coz he upgraded. He did a full transfer of all the files and what have you to his new mac. FANTASTIC Managed to change the macs name to my name. Only problem im having is in finder, the fol