Digital output problem

Well, I thought I had everything figured out, but we have finally had time to go to our lab and test it and there seems to be a problem with the output digital here.  I'll look at what's the point of this VI, then describe the problem

Analog input is entered and analyzed as digital outpt is sent several lines (3).  The digital output is used to send a single, user‑defined delayed pulse TTL with other instruments like triggers.  I put this program to create an array of digital waveforms for each channel, each of them are of the same length as the analog input.  '1' is inserted in the appropriate place in the table, in lieu of a value of '0', creating the required table.  This table would be written on a digital line (1 channel, samples of N).  Three of these subVIs are used here, so three signals various tables are created and writtin in its respective lines when the program runs, the analog input seems to work very well, but that a single digital output is executed.  I need all three lines to write simultaneously.

I use a USB-6221 with LabView 8.2

I have attached all the files needed to run this program, and if the 'LabView programs' folder is saved on the C drive, I think that the paths of the files must be correct.

Thanks in advance

Hi Chris,

Hello and I hope that your well today.

Thanks for your updates.

I think that my being better if we start from the beginning.

1 could you try the example Correlated Dig writing with Counter.vi from the Finder of example of NOR?

It produces output meter as the time base for the digital output - to get clocked at digital output. Don't you see the waveform being printed on your outings that match the graph of digital waveform on the front panel?

If not, try to use one of the other examples, as Scripture Dig Port - this is a single VI just to send a single value for each digital line. If this does not work, there is a connection problem.

2. If we got this far without problems, then the next part would be to change the waveform so that you could write the data that you want to...

The digital waveforms can be made a boolean table, then using the array of Boolean DWDT to Digital.VI to convert into the type of digital waveforms. The waveform will have X number of samples. Therefore, at each clock pulse, you will produce 1 sample on each channel. So if you set the rate for 1000 and the number of points to 1000 (samples) it will display the waveform on a second. (as his continuous the DAQmx will make a loop through the buffer and start out of the waveform again).

Note, have you seen the palette of digital waveforms? It is located under waveforms and has more vi like the Boolean DWDT to digital.

Please let me know how you go.

Tags: NI Hardware

Similar Questions

  • 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).

  • Sony BDP - S280 Dolby digital output problem

    Hello

    I'm getting problems with output Dolby Victor and my audio/video receiver.

    If I run the disk (DVD or BR) and choose DTS playback, the audio/video receiver detects it and sounds correctly

    If I run the disk and choose Dolby Digital AV receiver doesn't recognize any signal. No entry at all. Instead if the BR drive, I select DolbyDigital out as mix PCM then the audio/video receiver detects an input (stereo only) and seems ok, but of course, only stereo.

    Seems that the Sony Reader does not send a suitable output (I checked my audio/video receiver with other players and works very well)

    How can I solve this problem?

    The connection between the BR player and audio/video receiver is made hollow coaxial digial.

    Any comment is welcome

    Thank you

    Hi Vico! Please go to the Audio settings then. BD Audio Setting MIX and Dolby Digital Dolby Digital set to OFF. Let me know what happens.

    If my post answered your question, please mark it as "accept as a Solution.

    http://bit.LY/win-4k

  • Problem with a digital output in the information of an analog input

    Hello

    I use a SCXI-1000DC module with a module of the SCXI-1600, SCXI-1531 module and SCXI-1163 module to receive an analog of an accelerometer signal and a digital signal.
    I claim that the accelerometer is constantly monitored, and the output is on when I want to, by an impulse that I comand in labview.
    I use a rate 25 k and a 12, 5K samples per channel on DAQmx Timing.

    I notice in DAQmx read, if I put a sample of hight by channel, the output is not there when I want to, and if I put a few samples per channel, I exit when I want to, but the program seems to be slow with the passage of time. I don't know how I can solve this problem!

    I'm sorry for my English, and I hope you can help me.

    Thank you

    Silvia

    Hello Silvia,.

    If you ask a larger number of samples, the labview diagram will stay longer in the DAQmx Read function, so the while loop runs slowly, and the digital output is updated less often.

    I suggest that you use 2 separate while loops: one for the analog input and the other for digital output, so that each loop might run at a different speed.

    Best regards

  • Speakers and digital output device problem

    So yesterday, I installed a new video card. A Nvidia Geforce GT220. After installing it I noticed that my speakers were not working. The default program I used was Realtek High Definition Audio. I checked in Device Manager and noticed that the Realtek HD Audio Driver/program had a small yellow triangle with an exclamation point and that there are 4 new options named Nvidia High Definition Audio. Whenever I tried to run Realtek it says that the program has been installed, but may not be installed correctly. He said it was a Code 10. So finally, I deleted Realtek but the Nvidia High Definition audio drivers did not work. So, I deleted the drivers from Nvidia High Definition audio and tried to reinstall Realtek. My computer says that I installed it but there is no program to access my different options.

    Now when I check the sound folder, during playback it says peripheral digital output (HDMI) 4 times.
    Although the sound does not work.
    Im just trying to run her on my Logitech X 540 speakers. When I plug the speakers that they appear not yet as an option in the sound folder.

    I don't really know what I can do to make it work.

    I have a HP with Windows Vista 32 bit a1730n.

    Hello TheInnocentMan,

    You can try the methods below to resolve this issue.

    Method 1:

    I suggest you follow the link below and run the fix. This will automatically diagnose and repair problems with sound and audio on your computer. Here is a link you can follow:

    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-fixing-common-sound-problems

    Method 2:

    Check whether the default playback device is activated and the default value. It must essentially be your Realtek audio device.

    a. open peripheral Audio and sound themes by clicking the Start button, click Control Panel, hardware and sound, and then clicking sound.

    b. click on the playback tab, click speakers and then click Properties.

    c. Select the device as the default device.

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Digital input and output problem

    Hello:

    I do a test for digital i/o:
    for a table of the digital signal to an output of data acquisition in the digital input to detect the output signal.
    (bascially, it's like a loop that goes outside the material)

    It's pretty simple, as shown in the attached fichier_1.
    It works well.
    The manual light switch controls, which means that inputs and outputs are ok.

    Then I went on the low level DAQ for better speed, as in attached fichier_2.
    But it does not work. Especially when I pressed stop to abort the loop, an error has occurred:

    To speed up, I went to the low-level data acquisition as the fichier_2 attached.
    But it does not work. Espeically when I press the "stop"button to exit the loop, the error occurs.

    Possible reasons:

    Requested value is not supported for this property value.
    The value of the property may be invalid because it is in conflict with another property.

    Property: SampTimingType
    Asked the valuelarge clock
    You can select: on request

    I don't understand why the sampling time has a conflict here.
    (It is probably just something very simple in data acquisition, but I checked a few examples and did not find a clue).
    Hope someone can give me a suggestion.

    Ultimately, my goal is to make the attached file_3.
    In this one, I generate a digital output, and then lead to the entrance.
    Then I can take it as a signal to trigger my other task.

    Note:

    I use a similar conti signal to control one of my camera.
    I need to sync it with my another task.
    So I think to generate a digital output (which share the same clock as the signal similar to the data acquisition device), then put it in one of the digital input.
    By detecting this digital input, I can trigger my task and synchronize with this signal similar.
    My camera's USB-6211.
    I am aware of the latency of USB, but once the value is a constant value, then the synchronization is always good for me.
    Actually, I was using an analogue at the entrance of the to do it before, it may work, but the synchronization error is too big for me.
    I need to do some calculations/judgment for this analog value, which makes the time difference varies.
    So I'm trying digital entry now and I hope that the digital input can trigger my task with a stable latency.

    Thank you very much

    Have you looked at the specs? It clearly states that the digital I/o is a programmed software. You have not any hardware clock at all. The best rate that you could possibly achieve is around 1 kHz and which would have a considerable jitter the nature of non-determimistic of windows.

  • Problem of digital output...

    I have windows 7, 2 GB RAM, Intel Dual processor mounted socket 775 intel card mother dg41rq.

    the realteck HD Audio manager presents 3 types of outputs... 1 is the speakers of commom out with jack 3.5 mm at the back of the pc, 2nd is another 3.5 mm jack at the front, the third it shows a digital output... but I can't find any digital output port in my pc...

    wat is the reason why it shows this digital output option...?

    This digital out put can do to improve the audio experience?

    How?

    Read the manual of your PC motherboard for details of output options

  • 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.

  • 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.

  • 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

  • CV 1457RT and VBAI: Double digital output

    I have a problem with the CVS 1457RT and the VBAI.

    I configured two steps with the VBAI for the CVS.

    The first step: I've read about the digital input which should trigger my second step.

    the second step: I acquire an image (with an ACE of the Basler) and then I measured 8 distances and count 2 edges. After this, I generate a pulse on the digital output once.

    After that I did a VI in LabVIEW that measures the time between the IO.

    In this VI and on the module which is connected to the digital output, I see that the putput pulses twice but only a few times.

    I guess you get noise on your digital input and trigger twice, so that it works the inspection twice, giving you two pulse output.

    You can implement a digital filter, where the value that comes out of the filter does not change until entry remained at the same value for the N samples.

    Bruce

  • analog sync of input with the onset of the digital output

    I'm trying out an analog signal to a file with a specified frequency samples.  I also need a digital output to trigger a measurement at a frequency specified on a separate system.  The frequency is controlled by the loop exits and timed when the iteration number divided by the period is exactly a whole number.

    Both outputs work.  The problem is that they are not synchronized.  The analog output amounts to about 0.5 ms faster than the digital signal.  (I checked with an oscilloscope)  They both start in the 1 ms each loop runs for, but I really need them to start at the same instant.  What can I do to synchronize?  Also, if I'm going in the wrong direction complete, please indicate.

    I use a card PCI-6723, which I think someone at some point, said not having a material sample clock.  That's why I try to use a timed software loop.

    Hi NEA.

    You must use the 6723's built-in calendar to accomplish what you want.  As the digital output subsystem is only clocked by the software, an appropriate solution should be to use one of the counters to the pulse output.

    The attached code should show how.  You can use the counter to output a pulse all samples of the AO N task.  Material requires the initial delay to have a minimum of 2 ticks, so the meter will be behind the task of the AO by 2 samples in this case.  There are different ways to work around this problem if you need (for example write two samples of 0 first).

    Best regards

Maybe you are looking for

  • How to sort issues on Satellite A505-S6973

    Can anyone tell me if the warranty period on my laptop was not successful, can I find my computer toshiba laptop and have solved all my problems. Is there a cost to do some related software repair needs to be done and how I'm supposed to go about it,

  • EtreCheck on slow macbook pro pls HELP!

    Hi - I made a clean of El Capitan installation after that I erased everything on my macbook, because of the amount of waste for 3 years. But now he runs even slower that before I erased everything. And he constantly beachballing and freezer a lot sin

  • Sony Xperia Weather App display incorrect time on Sony Xperia XZ

    In the United Kingdom, the clocks are back 1 hour this morning. The network provided on the phone time is correct, however the Sony Xperia weather weather application always shows the clock an hour before.

  • Intel Rapid Start on single SSD (boot EUFI) technology

    Hi all I bought a new Dell Vostro 3360, Core i5, 8 GB RAM, 128 GB SSD, BIOS (A11) before Christmas. Was working fine and then failed to start. 2 days on the hotline, in the end the old motherboard (BIOS A11) has been replaced under warranty that it w

  • Windows 7 XP mode restarts when you access drives other than drive C XP mode

    With integration features enabled in Windows 7 XP mode, I was able to access the drive diskette, USB, Windows 7 C: readers. In the last days, I wasn't able to do. When I try to access these drives, XP mode restarts every time. Can anyone help?