DAQ USB 6363 - generate digital data series through the single DIO line

Hello

I'm new with Labview, currently, I bought NI DAQ USB 6363 for generating control signals and signals analog accquire. I would like to send digital data series through one of the digital IOs with throughput of 30 kbps. Please see the attachment for the data frame. Could someone comment the feasibility of this? Y at - it codes for the example that I can refer to? Most of the examples I've looked at so far deals to generate several line instead of 1 single line. How can I achieve this?

Thank you

Diem

Hey diem.

After looking on your code, I understand what you were trying to do. Here's how I'd do. Usually we do not write code to clients, but you peaked my curiosity of! I hope this helps. Good luck!

~ kgarrett

Tags: NI Hardware

Similar Questions

  • Hello, I got a serial number for adobe package I installed 3/4 years ago, but I don't know where I put the serial number and now I need it! Is anyway to find the series through the application code? Thank you!

    Hello, I got a serial number for adobe package I installed 3/4 years ago, but I don't know where I put the serial number and now I need it! Is anyway to find the series through the application code? Thank you!

    If it's a Windows machine, and then try running Belarc Advisor

    http://www.Belarc.com/free_download.html

    For a Mac, you can try:

    https://Mac-product-key-Finder.com/

    Find the serial number of your Adobe product quickly

  • How to generate digital impulses to run the engine step by step in a sinusoidal motion using the NI DAQ 6229 map profile


    Hello

    I finally found a way to do it. The analog sine wave is converted to digital and sampled. The consecutive values are compared and if the least significant bit (LSB) will change a pulse is sent to the stepper motor to activate a single step.

    I've included the sub - VI who accomplish it for block engine and connector of particular Stairmaster I have. The front panel two sub - VI is quite messy, but the diagrams should be much clearer. The sub - VI get inputs from a third VI which I didn't understand. Then take a look at table VI of connector to understand. I hope this helps. A little messy but worked very well in the end of my application.

    Thanks again for all the help. I appreciate that very much.

    Kind regards

    Sylvie abdo

    Graduate student

    Aerospace and mechanics Enggineering

    University of Southern California

  • USB 6525 6501 digital for output to the step motor

    Hello

    I try to use USB 6501 or USB-6525 out of step motor signals which command the stepper motor. My questions are

    (1) do I 6525 USB, I'm not sure the function of it (perhaps as a relay).

    (2) now I connected input 5V for USB-6501 "+ 5V" pin and GND to pin "GND". On the other side (output side), I connected ' enable '(from motor drive) to P0.0. 'direction' to P0.1 and GND to GND.  Can I use the express signal to test, the error says "lack of entry."

    (3) I guess the next step is programming labview. Does anyone know of similar examples?

    Any help would be appreciated!

    Melody,

    If the engine must input external logic level I advise to use the USB-6501, which is just a digital I/o card. The USB-6525 housing does not have the digital outputs to control your motor drive. If I understand correctly you just try to turn the motor on and off with a digital signal. It seems that you also provide your drive motor + 5 v and GND. The USB-6501 has channels for + 5V and GND. I've attached an example of navigation that controls the outputs digital using DAQmx and LabVIEW. This specific programme allows to control 8 digital output lines, but it looks like you don't have one. If the engine waiting for you just a strong to put logic in operation and a logic low to shut down this program example will be able to turn on or turn off your engine. Just connect one of the USB-6501 digital output lines and then use the program to this line of control.

    I don't really know any reason, you need to use the USB-6525 it seems to me that the USB-6501 run action you need. I hope this helps.

  • How to trace data sent through the serial port by controlling simultaneously the buttons

    Hello

    I want to plot data by controlling the two buttons at the same time and the draw according to my control using communication serial port, but the problem is that the plot on the graph alternates between the two controls his do not change according to my control for example if I move the potentiometres1 / 1000 and button 2 to 4000 replacing these values on the graph I placed a select control, the problem is still not resolved u can help me please thanks in advance

    Regarding

    Samatha


  • Data series through RS232

    Mr President.

    I can with PIC16f877A PC RS232 interface using Labview. ? If Yes

    Please help me

    Yours Sincerely,

    VISA Write.  Create a string constant for the data to write.  Right click and set to hexadecimal display.  Equip 00 for all 0.  Set FF to all the 1.

  • Change the data displayed through the context menu

    I have a long list of data which must be reduced. Is there a formula/function that will change the data as determined by a context menu? For example:

    If I had to choose 'Brown' in the menu dropdown only entries whose hair is brown above, would be displayed (IE. Bilbo and Gimli); all others are hidden/not shown. To complicate matters, I have data in two different columns that I need to refine the list by: in this case, the color of their hair, or the number of letters of their first name.

    Using numbers 3.6.1 in El Capitan. Thanks in advance for your help.

    If you restrict the list of several columns have considered using filters (in the Panel on the right after clicking on "Sort and filter" in the toolbar)?  You can add rules on more than one column at a time.

    SG

  • Display a link generated inside a window through the bean

    Hello

    I'm showing a link generated inside my popup.

    My popup up should show a whole database PL/SQL function result.

    Now I can't get a link within the popup window so my contextual text looks like this:

    Number of files: xyz

    And users must enter this number to download the file.

    http://example.com/download/file_nr=XYZ

    But I don't want to give them a generated link that will appear inside the popup.

    I tried to insert something like this inside the popup text variable.

    popupText = "< text af:link = 'Click here' destination =" " http://example.com/download/file_nr= ' ' + file_nr + ' "targetFrame ="_blank"/ > to download the file '; '.

    But it does not work. In JDeveloper 12 c.

    Can someone help me?

    Thank you

    DestinatioN

    I tried to insert something like this inside the popup text variable.

    popupText = "" http://example.com/download/file_nr=" +file_nr+""="" targetframe="_blank"> to download the file ";"

    You cannot generate user interface components like this.

    Instead of putting af:link in your popup and bind the property to a string variable destination, for example: destination = "#{yourBean.someLink} '"

    Or, if by 'popup' you actually talk FacesMessage, then build URLs with the tag html (text link)

    (you can probably use the same approach with af:outputText but you must set escape = "false" to this topic)

    Dario

  • How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?

    I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.

    I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).

    In the document:
    High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
    is written:
    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
    With what other subsystem on the device can generate a source of the clock? How?

    It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
    Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
    DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
    initialDelay, freq, the duty cycle); works

    But it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
    initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clock

    The sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
    Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
    DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
    DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the task

    But it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
    DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
    DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0

    Hi datafriend,

    using what it says is correct:

    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.

    There are also 2 ANSI C examples in this regard:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4485

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488

    So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)

  • What is read maximum speed of 6343 DAQ USB

    Hi all

    We have new application of 6343.Its USB DAQ note (or say different) says he's sampling frequency is 500 K samples/second. Now I need some clarification from you guys. I have to read digital data (series or parallel). so please tell me how far I can go with this product for both feeling.

    Thanks in advance,

    Although not for the 6343, here is a post that can maybe help on the X - series cards

    http://forums.NI.com/T5/Multifunction-DAQ/USB-6351-digital-streaming-output-rate/m-p/1506848/HIGHLIG...

  • Application of logic gates on digital data... How does it work?

    Hello

    While working with labview, I tried to apply or digital data, he agreed the entry and responded to the output form digital too.

    I did not understand how is - this work on a digital data when entering are supposed to be Boolean for the logical entry doors.

    The outputs are also out of the assumption to 5 | 4 gives results 5.

    Also, I am attaching my VI.

    Please inform what is the logic behind this calculation.

    Concerning

    Hello

    logical operations operate with integers (any will do) too. The integer is used at the level of the ILO...

    The outputs are also out of the assumption to 5 | 4 gives results 5.

    5 is "0101" in binary representation, 4 is "0100":

    0101 OR
    0100
    ____
    0101 result
    
  • Import the data file into the system of 9

    We find very cumbersome to import external data into intelligence reports 8.2. At the time that we get things trimmed and formatted, and all datatypes paired is unmanageable on any scale. We wondered if the file, import, capacity of data file still exists in the system 9 and if it improved?

    Yes, there still are even in 11.x and is pretty much the same functionality.

    I don't know which version support allows you to refresh data imported through the Process method.

    With the help of imported data files are quick solutions for the integration of data from office with the company data. However, it is not ideal and easily deployed in a business model and will not work if your users use the iHTML customer.

    Hope this is useful

    Wayne Van Sluys
    TopDown Consulting

  • Tecra A10 - poor display through the port replicator

    I have an error with one of my clients, they have 3 x Tecra A10 is bought in the last three months, the last time being last week.

    I get a very poor screen through the port replicator, lines running through the screen almost like the lines of scanning, or RF interference. It happens on all three laptop configurations.
    We have new Phillips 19 "wide and 22" widescreen, I also tried a HP 19 "wide where else in the company. also having the same problem. These monitors are working 100% if hooked up to a computer or DIRECTLY into the laptop A10, as soon as you plug them into the cradle we get lines through the screen.

    I'm learning to communicate with the provider in order to replace it, because I have three already do the same thing, I'm pretty sure that I will receive a fourth with the same error.

    Someone else has the same problem?
    According to me, this issue has been raised on another forum, but was not answered. Does anyone have a solution?

    Please can you tell us which port replicator you use and which port replicator port?
    BTW: you are an authorized service provider?

  • Generating a signal 10-bit via USB-6363

    Greetings,

    I need to characterize a 10-bit DAC at work using Labview and NI USB-6363. I have very little experience using Labview and need of a direction for this task. We are only interested in the INL and DNL. What I have in mind is to show the binary signal 10 to the DAC. Output of the DAC will a digital multimeter which is related to the USB connection to Labview via IEEE-488.

    I have all this configuration, I just get lost with the way to do this in Labview. Thank you!

    Hi joeyjojo,.

    The USB-6363 use daqmx as mentioned Jason library. A good overview of the daqmx driver can be found here. Looks like you have the digital generation. Definitely check the examples that Jason sent you... especially one called write digital channel.

    Use of the DAQmx write VI to set up the device to read a digital 2D U32 NChannel NSample. This will take in a table where each row corresponds to a new channel and 2D each column is a new sample. You can also view the daqmx help to get a better explanation of Scripture Daqmx. "To access help daqmx you, just go to help" using LabVIEW. In the Heirachey, to open VI and function reference' live action e/s and functions"DAQmx - live acquisition of data and functions" additional information and there will be a section in there about DAQmx write.

    The best idea would probably be to start coding and let us know if you get some error. In addition, if you have never used LabVIEW, he could search in our DAQ and LabVIEW training. Keep us how we can help!

  • accelerate the backup of data received through series

    Hello

    I hope you can give me some advice. So far, I have not found a solution.

    I have a sensor connected by USB-serial converter to the computer (COM 2). After the beginning of the measure, the sensor sends continuously data as a string. The sensor is able to operate at different speeds and it is controlled through strings sent to the device.

    Now, I have programmed a small piece of code to read and evaluate the data from the sensor. There is no problem while looking at live data in several locations. But as soon as I try to save the data, I have speed issues. The loop is not fast enough to receive the data, because it is provided by the sensor. Temporarily remove the plots and so on, don't help not, therefore the problem is data backup. As far as I know, I should use the tables that I did and I don't think that editing bays should be the bottleneck, because they should be able to manage data in general much faster.

    In the Hyperterminal with windows, the unit works fine.

    I use VISA series with a timeout of 2 s and a buffer of 128. Baud rate is set to 460800.
    The real VISA read command is set to read 50 bytes max or stop a tank of termination (line break).
    After initialization, and sending the command start for the sensor, the device starts to send its data...
    The different speeds are:
    1 - 4 strings per second
    2 - 10 per second
    3 - 100 per second
    4 - 500 per second

    Each line gets cut, evaluated and plotted. Each value is also stored in a table (which could be saved after the program stops).

    In the photo, I deleted several commands sent to the probe, because they are not relevant and it doesn't matter (of failure) if I remove them in the program or not. It goes the same for plots. After setting the device at the higher speed, the program fails, because there is more data than labview bed. (I have already said, that without the tables it works very well, I do not have it?).

    So, what can I do? I'm doing something completely stupid? Is there a faster way to collect data with labview? I mean, 500 HZ, which must be nothing.

    Thanks for your help.

    Kind regards

    HD

    PS I'm continues LabVIEW 8.6

    Computer: Intel Core2 Duo E8500 3.16 GHz with 3 GB of RAM

    SW: Windows XP SP3

    You use insert into table with each iteration and forcing LabVIEW to keep reallocation memory for the berries. It is not very effective. Instead, I advise you to use the architecture of producer/consumer and transmit data back to the consumer loop where you write the data. Shift registers and who would skip all the functions to insert it in the table. You also use local variables and property nodes. Neither one of those who are very fast either. Can't tell from the picture why those are used. Also, consider using a structure of the event for these Booleans wired for the structures of the case. Do you really need those who questioned all the time and run the code with each iteration, or do you just need them to run once when the Boolean value changes?

Maybe you are looking for