Duplicate digital output on 32-bit port

Hi all, any help appreciated with the last (!) step in a very time consuming puzzle...
I have a PCI-6254 card with 2 x 64 channel breakout cables. Each cable goes to a remote box, each of which essentially runs a multiplexer and acquires analog signals.
Each multiplexer needs an array of  4-bit addresses (eg. 0 to 15) to cycle the multiplexer channels, which I can succesfully generate on port0\line0:3 which are found in cable 1 going to box 1.
My mission is now to duplicate this digital signal in the second cable going to the second box. For this card, Cable 1 has port0\line0:7 and cable 2 has port0\line8:31. I understand that it's a 32-bit port, so I need to send it a 32-bit address.
So I simply (!) want to send identical digital outputs on port0\line0:3 and on (say) port0\line8:11. They should be triggered by the same clock, etc.
Is this possible? However I try so far I can only generate an output on lines 0:3. From what I've read, I'm wondering if the whole of the port is tied up by writing a 32-bit number to the first 4 lines....
Thanks!
 

Thanks both, really appreciate your input. I think I tried something like that today with no success but maybe I did it wrong. It ran without errors but just generated the output on 0:3. I'll try your suggestion in the morning (New Zealand evening now).
I think I need to replace the 1D boolean with a 1D U32 array to send the right bit address (I am sending the mux channels in a funny order, something like 4,0,3,6,10,etc). But then I fear that it will only run one task, as the whole 32-bit port is being addressed each time.
GerdW - could you explain how I would go about setting the right bits to send, say, a value to 4 to both sets of lines? I can't get my head around it...
Thanks guys!

Similar Messages

  • Generate a 12 bit digital output at DAQ output pin

    Hi 
      I have only a little knowledge in Labview
     I want to generate a 12 bit digital output at DAQ output pin , from a decimal number. I am using NI USB 6009
     Thanks in advance
      regards DK

    It seems to me that the same question was asked, answered, and marked as solved.
    http://forums.ni.com/t5/LabVIEW/Binary-output-at-t​he-digital-output-pin-as-1111-1111-1111/m-p/249969​...

  • How plotting on a digital waveform graph the bit transition in function of the time

    Hi everyone,
    I am using LabView 6.1 on a Windows XP computer. I am to plot output bits sequences on a digital waveform graph just before sending the information to a board.
    So far I can see the transitions for my 16-bit port (16 plots) but the width of a pulse is always identical, no matter what times I enter. I wired my 1-D array timestamps to the property node Xscale.MarkerVals[] of my digital waveform graph... but it doesn't seem to affect my plotting...
    Thanks in advance for any help concerning this problem.
    Jonathan Sabah

    Well here is piece of my VI with the necessary sub VI.
    I also want to hide/unhide plots... I have found how to hide.. but cannot figure out how to unhide.
    Any help please ?
    Thanks again
    Jonathan
    Attachments:
    Exemple.vi ‏58 KB
    Setup_DIO64_for_Output_1.0.vi ‏111 KB

  • What's the usage of Digital Output.vi (kei224v6.llb)

     I would be gratefull if you could inform me for the usage of Digital Output.vi in kei224v6.llb.
    I'm using Keithley 224 Programmable Curent Source.
    Thanks

    Hi thanserwood,
    the Model 2243 is an optional IEEE-488 interface for the Model 224 Programmable
    Current Source. This interface adds extra versatility to the Model 224 by allowing the transmission of data and commands
    over IEEE-488 bus. The interface provides all the logic necessary to interface the Model 224 to the bus using standard
    IEEE-488-1978 protocol. Additionally, the Model 2243 incorporates a separate digital I/O port that may be used to
    interface the Model 224 to other digital instrumentation.
    The digital I/O port consists of four input and four output lines as
    well as IEEE-488 common and +5VDC. The outputs will drive one TTL load.
    The instrument can be programmed to generate an SRQ upon any change in
    the four bit input data.
    In the manual you will find further information.
    Regards
    Indiana

  • How do I control a digital output on NI9144 FPGA with fpga code running on NI9082.

    Due to a recent change in our hardware configuration I need to locate my various I/O modules in various locations around the facility. I am attempting to use an etherCAT setup consisting of an NI9082 and multiple NI9144 (for now only one NI9144). I need both devices to run code in the respective FPGA and make the results available to the other devices and for user interface software. My question is is it possible for the two FPGA code segments to communicate directly with each other without going through the RT or computer interfaces. I need to fire a digital output bit on the NI9144 based on logic running on the NI9082.
    Are there any good code examples around that someone can point me to?
    Thanks for the help.

    Hi, you can include trigger conditions (digital, or analog) on your FPGA VI and connect directly the I/O from module to module (analog with analog & digital with digital), however, if the chassis are meant to be at different locations the cable used to connect the ports is equals the length in between each device and that could degrade the signal if we are taking about a couple meters or kilometers. The most reasonable way to send/receive data from great distances is through ethernet using a regular communication protocol (such as TCP/IP, network streams, network shared variables...etc).
    Alejandro | Academic Program Engineer | National Instruments

  • Unwanted 5VDC (uS) Pulses on DAQCARD-12​00 Digital Outputs

    I'm currently using a DAQCard-1200 PCMCIA multifunction DAQ card to automate some "push-button" features on a particular piece of equipment. I've connected 3 of 8 Digital Outputs available on PortA in parallel with the momentary pushbutton switches used for manual control. To stimulate one of the switches, I am pulling the digital line low for 100mS then returning it to a high (the other signals should remain high during this time). I scoped the signals and noticed very short (uS) +5VDC-Pk pulses occuring on the idle lines (also on the digital lines I'm not even using). I'm using a the "Write to Port" VI. These "blips" occur during the rising "and" falling edges of the active signal. Occasionally, these
    "blips" are long enough to trigger the other two inputs that I'd like to remain inactive. Besides using a filter to reduce the inverse-peak of the unwanted signals, is there a way to programatically control or remove these "blips" alltogether? Or are these even supposed to be there?

    These blips can occur when writing to a digital port, and not masking the bits you do not wish to change.
    If these blips are causing problems, take a look at the Write to Digital Port.VI. Double click on its icon to open its front panel. Go to its block diagram. You'll see where the port is configured on iteration 0, and then the Port Write is called, and there is an input to mask lines. This is what you'll need to do--put a value on this input to mask lines you want to remain the same. This should fix the blips you are seeing.
    Also, if you are not manipulating more than one digital line at a time, you could use the Write to Digital Line.VI, which would accomplish the same thing. But if you need to update more than one line at the exact same ti
    me, this method won't work for you.
    Mark

  • My digital output plug on my Imac has a broken rca in it can I disable the plug and make speakers work again?

    Does anyone know a way to restablish my speakers, there is a broken rca plug in the digital output.

    No because there is a micro switch built in the output port that tells the audio to use that output.
    1. Most times the broken jack can be removed with the correct size drill bit or small screw extractor because it is hollow. (shutdown and disconnect the power before attempting to remove the broken jack plug)
    2. If you do not have the correct tools to do the job, then take the iMac into your local Apple Store or AASP and have the broken plug remover.
    For more idea's, visit > removing a broken 3.5mm jack - Google Search

  • X series DDK digital output

    I have been working on the X series DDK digital output example dioex1.cpp. It seems working but not exactly what I expected. I have set it up for digital output and sent out the value on specific bit (pin) in dioex1.cpp and I did see the pin turned ON. However, it didn't hold ON all the time instead of toggling the bit On/Off all the time.
    Any ideas why ?  Thanks.
    Larry

    Hello,
    Exactly what behavior are you seeing?
    The expected behavior of the example is that it resets the dio subsystem, briefly outputs the expected state, and then resets the dio subsystem back to the default state as the application exits.  If you want the outputs to remain set after running the example, you can set the tristateOnExit to kFalse instead of kTrue.  However, when the example is run again, it will briefly reset the dio subsystem before outputting the next state that you want.
    I would recommend creating a loop in the example so that it doesn't exit until it receives input to exit (and resetting the dio subsystem of the board).  This would make the output stay on the port as long as you need it there.
    I hope this helps,
    Steven T.

  • HT5783 My MacBook Pro (Mid-2009) digital output has stopped working. It turns on the red light at the other side of the plug, but fails to connect with my receiver. Output from Airport works fine.

    It was working fine until now, and now suddenly, the sound is gone. I've tried PRAM and SMC reset. Nothing works.
    Using the same cable with my airport express, through airplay, the sound comes out fine.
    It wasn't working when on Mavericks, nor now, on Yosemite.

    Hey marcalc,
    Thanks for the question. I understand that you are experiencing issues with the digital output of your MacBook Pro. The following resource may provide a solution:
    OS X Mavericks: If you can’t hear sound from your speakers
    http://support.apple.com/kb/PH13841
    If you’re trying to listen through a digital receiver
    If you’re using your computer’s digital output port (not available on all computers), choose Apple menu > System Preferences, click Sound, then click Output. Make sure Digital Output is selected.
    Make sure your computer is connected to a digital-ready receiver using an optical digital cable, and that your receiver is set up for digital input (see the information that came with your receiver).
    Try adjusting the volume on your receiver. You can’t use the computer’s volume controls to adjust the volume while using digital output.
    Thanks,
    Matt M.

  • Create 4 digital output pulses base on input ttl signal

    Hi
        I am a beginner in Labview and would appreciate any advice on how to solve the following problem.
    I am creating a TTL pulse train, and would like to send that into Labview as input.  For every falling edge detected on the input signal, I'd like Labview to generate 4 digital output pulses.  For each output pulse, I'd like to be able to specify the delay, and duration.       The picture should illustrate it more clearly, with the numbers showing the intended order of magnitude.
    System:  NI PCI-6733 DAQ card, Labview 8.5
    My daq card has 2 24-bit timers, and 8 digital I/O but I don't know what the best approach is for creating between 4-8 output pulses of this precision..should it be handled in hardware, or in software?  And how would I go about it
    Thanks,
    -Sidney
    NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
    Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
    Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5
    Solved!
    Go to Solution.

     Hi Yann,
       Wow, thank you so much for this example!  I'm trying to take a look at it, but when I run it.. it responds with the following error message
    Error -200452 occurred at Property Node DAQmx Trigger (arg 1) in DAQmx Start Trigger (Digital Edge).vi:1->reprise-1.vi
    Possible reason(s):
    Measurements: Specified property is not supported by the device or is not applicable to the task.
    Property: Start.TrigType
    Task Name: _unnamedTask<49>
    This is strange too, because ive already used the Digital Edge Start trigger for a different application with this card.
    -Sidney
    NI Hardware: PXI-7853R, PCI-5122, PCI-6733, PXI-1036, PCI-MIO-16E-4, PCI-6110
    Computer Hardware: Xeon Quad Core - 2.33 Ghz, 8 GB RAM
    Software: Labview 2009, Labview FPGA 2009, Vista 64-bit, MAX 4.6, DAQmx 9.0, NI-SCOPE 3.5

  • How do I calculate 'uptime' of a digital output

    Hi everybody,
    I'm new to these forums and I am currently evaluating Labview for a series of lab tests where we measure energy balance in a chemical reaction. I've already 
    I have a USB 6008 wired to a relay drive (thanks to these forums) and a heating element and I want to measure the total time heating element is 'on' during 24 hours to calculate the energy the system is getting. The heating element switches on and off based on the signal of a thermocouple.  Is there an easy way to measure the seconds that the output port wire to the heating element is active? Device-independent would be preferable (like measuring the signal uptime of the input of the digital output of the USB6008)
    I tried a lot of options today, like while loops, sequences, case structures following several postings here but all of them failed miserably - while the problem sounds so easy. I could easily do it in the hardware by wiring the output of the relay drive to a bauser timer, but that would be giving up too soon
    Any help would be appreciated.
    Best regards,
    Dimitri

    Hi Dimitri,
    Welcome to the NI Forums! It's good to hear that you've already received some help here.
    Q: Is there an easy way to measure the seconds that the output port wire to the heating element is active? 
    A: Yes! The method we can use to perform this action depends on the sort of architecture that you're using at the moment, however we can take advantage of the section of your code which defines whether the line should be on or off. When it's on, using a While Loop we can  use a Timestamp to keep track of the current System clock; this Timestamp will update on every loop iteration. If we use a reference Timestamp which is created outside of the While Loop when we first begin to drive the line high, we can simply work out the difference between the current Timestamp and the reference Timestamp to get the total time.
    This kind of code will also be device independant because it relies only on the computer it is used on.
    I hope this helps!
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • How to do a digital output triggered by the falling edge of a clock?

    Hello !
    I would like to do a digital output (on a given line of a pci 6602 card) triggered by the falling edge of a clock.
    More precisely, a pulse train is generated. I have to output each bit of a variable (first, the LSB ; then, the others bits, until the MSB), each bit being transfered on a falling edge of the pulse train. How could I do that, please ?
    Thank you for helping me.
    Julian.

    see the following link (other forum same subject)
    http://forums.ni.com/ni/board/message?board.id=40&message.id=1634

  • How to use Digital output to turn on sensor for Analog Input?

    I am trying to use a digital output to turn on an array of sensors that I then wish to read on 16 analog input lines. I have a 6024E DAQ card. I am planning to take data at 10-20 hz, so not terribly fast, but I will be acquiring for long periods of time (days) so I will be streaming data to disk.
    I have a fair bit of experience in Labview basics, but can quickly get out of my depth when I try something new (like this). I have V6.01.
    It looks as though the best way might be to do the DO and then a single AI as individual events, then write to disk and continue through the loop. I am puzzled, however, how to keep this cycle on schedule given that I don't know how long it will take to sample 16 channels
    , write the data to disk and get back to the starting point... perhaps this is so fast that I don't need to worry about it? The actual timing of the samples (be it 10 or 20 hz) isn't too critical, as long as I can record at what time they were taken... it would be frustrating to find that I was several seconds off after days of data.

    Hello,
    Thank you for contacting National Instruments.
    If you are worried about the time of your acquisition being off, then you should associate each voltage measurement with a timestamp. This will allow you to know the exact time at which the sample was taken and you will never be off. You can use the Get Date/Time in Seconds.vi in our while loop with your AI code so that you can read a sample and read the time. You can than log the voltage value and the timestamp to your file.
    Regards,
    Bill B
    Applications Engineer
    National Instruments

  • Realtek onboard sound is stuck in digital output

    I just can't get this thing out of digital output mode. Now I have no sound because all the analog ports won't work. Keeps saying nothing is plugged in. I can't reset the analog speaker because it's grayed out in Vista. This problem looks to be very widespread with computers using Realtek and Vista, just do a google search and you'll see for yourself.
     I have a real feeling it's software problem between Realtek and Vista. But I really think Realtek is just awful to began with and shouldn't be put in any computer period. If I can't get this thing working by tomorrow I'm going to get a real sound card.
    Message Edited by hn333 on 04-09-2009 09:02 PM
    This question was solved.
    View Solution.

    Sound issues seem to be higher these days in general -  all the sound vendors - XP (SP2 and 3) and Vista.
    You may to try http://www.realtek.com.tw/downloads/
    Installing the latest driver from realtek.tw seems to be helping a lot of folks. You didn't list the model of your PC, but you can look up your model's product specification to find out which codec package you need ... AC97, HD Audio, ALC888.
    If you don't mind, please come back and let us know what fixes it.
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

  • HP Headphone jack with digital output

    OK, so HP customer service is officially garbage. Everyone knows that, i just had to get it out of the way before anybody responds "Just ask customer service".  I have a HP Pavillion dv6724ca notebook with 2 headphone jacks.  I heard that one of them is a digital output jack for 5.1 surround and my sound card specs say that i have digital output capabilites (go DXDIAG.exe - Realtek Digital Output), but I cant get it working.  I have a 3.5mm mini TOSLINK to TOSLINK connected, i have enabled my digital output in Realtek HD Audio Manager, i have checked the supported formats in my Realtek Digital Output properties.....but still nothing.  Am i missing something?
    thanx

    I don't think your model HAS the headphone/mini-toslink SPDIF jack, RE: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01443331&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US... .  The HDMI port is SUPPOSE to support BOTH digital Video AND Audio... however I BELIEVE that there was/is some problems with the Audio side on some HP models.   BUT to be sure however, use the search facility to search on HDMI.  If everything is working according to spec (on the PC AND on your  >>>TV<<< ), you should ONLY need a single HDMI cable to do what you want ... but I fear you are going to run into problems.  Report back your findings.
    Good Luck.

Maybe you are looking for

  • F-53 ,payext message type IDOC for External System

    Hi all,    We have an existing system for triggering the external payment  advice created from F-43 through F110 T code. Now our users wanted to send the same Idoc with PAYEXT to be triggered from F-53 .   Is there any way to acheive the above.As I a

  • Acrobat Reader can't open PDF file downloaded from the internet

    I downloaded the following pdf file from the internet and saved it to the desktop. When I tried to open the file I got a message saying Acrobat couldn't open it. I do not have trouble opening other PDF files. There is something about opening certain

  • Why is the sound browser so slow during playback?

    Why is the sound browser so slow during playback? This problem seems to have no solution. This problem even occurs on my Mac Pro With 8 Cores... This problem is in its 3rd Generation since version 8... Even AU Plugins with built-in sound browsers tri

  • How do I block a website for the Administer?

    I am the Administer of the computer and a annoying website keeps poping up. I would like to know how to block it.

  • OCI/SQLT Typecode Mapping - Need Help

    Greetings, I am writing OCI based driver/etl tool with 10.2 instances. I am trying to reduce type conversions b/n export/import databases and also reduce similar conversions at ETL tool(OCI lib) itself. Hence i went out to use best possible external