How to use NI9474 and cdaq9172 to generate the right variable cycle pulse 1 kHz

Hello, I would like to use a NI9474 (in a cdaq9172 chassis) to send a square with a frequency of 1 kHz wave. The cycle will change just about every second (based on NI9205 voltage readings in all separate loop, by controlling the local variable 'duty'). It is important to have a temporal resolution of decent output; that is the difference between 50% and 51% of duty cycle must be determined. 9474 says that it has a speed of 1, so I expect that this is possible. This is used for a buck converter. The output is switching on and off a MOSFET, which only needs 5 volts, and less than a mA, when on. I tried a "simulate" with a square wave signal using a frequency of 1 kHz and 100kS/s and introduced in a DAQ assist with dynamic data to the converter Boolean between (probably not the best approach I admit). I tried also implemented using the DAQmx screw (without help). In both cases, I got an error that says that I need an external clock. I know that the chassis has an internal counter. This could be used for synchronization? I looked at examples of Pulse counter, but which seems to be to use a meter as output, not a digital channel, so I'm a little confused. The numeric examples do not seem to be what I want either. If I can't use the chassis for synchronization, it is possible, that I could get a NI9401. Could I use this counting or establishment of a clock (I could attach a function generator using a square wave of 1 Mhz for example)? For example with a 1 Mhz clock, then for a 50% duty cycle signal 1 kHz, after 500 clocks range from low to high and high to low after the other 500, (or 510 and 490 in 51% duty). Is something like that possible? Thanks for any advice, Thomas I should confess do not understand the things of meter too well at this point. Many of the examples I've seen, are apparently complicated screws.

Hi Thomas,

You can certainly do with a counter pulse train generation by using your 9474 in a cDAQ-9172 chassis.  Make sure that the module is in the slot 5 or 6 (latest chassis do not have this restriction).  Examples of pulse train located in the finder example under entry and exit-> DAQmx hardware-> generating digital impulses.  The example of Gen dig Pulse Train - Continuous.vi is probably in the neighborhood of what you want.

To update the market on the fly factor, write the Co.Pulse.DutyCyc channel property after the task starts.

Tags: NI Hardware

Similar Questions

  • How to use DBMS_RANDOM. VALUE to generate the specific numbers

    Hello

    I need generate numbers that are only in '120, 121, 130, 155, 198. Would it not possible to use DBMS_RANDOM. VALUE to do and how?
    SQL> select trunc(dbms_random.value(100, 200)) from dual connect by level <= 10;
    
    TRUNC(DBMS_RANDOM.VALUE(100,200))
    ---------------------------------
                                  145
                                  155
                                  180
                                  186
                                  169
                                  107
                                  110
                                  194
                                  119
                                  169
    
    10 rows selected.
    Thanks in advance!

    Something like this:

    WITH my_values AS (SELECT '120,121,130,155,198' AS ST FROM DUAL)
        SELECT SUBSTR (my_values.st, TRUNC (DBMS_RANDOM.VALUE (0, 4.999)) * 4 + 1, 3)
          FROM my_values
    CONNECT BY LEVEL <= 10;
    

    Basically, you need a way to use the DBMS_RANDOM to choose which item of a list that you want. But you can't use DBMS_RANDOM to generate the list items themselves.

  • How to use vGPU and vSGA both on the same host vSphere 6.0

    I tested vGPU on a host vSphere 6.0 to 6.1 of the Horizon, and I would now add a vSGA pool to this host. Only two physical GPU is used with the two vGPU vm that I turned on.

    My question is, what should I do to make this Host allow compatible vSGA VM turning on and share resources on the other two other GPU?  I put the office pool to use the 'Material' 3D rendering engine and added a VM pool.

    When I try to turn on the virtual machine, I get this error message in vSphere client Web:

    "GPU hardware is required but not available. The virtual machine will not start until the GPU resources are available or the virtual machine is configured to allow software rendering. »

    It's the output of command line gpuvm and nvidia-smi:

    gpuvm_nvidia-smi.png

    The host ESXi 6.0 has two cards of K2 of GRID for a total of 4 GPUS. Only two vGPU-enabled vm is turned on, it seems that I can use the other two GPU for vSGA VM, right?

    It is currently not possible since the Nvidia VIB:s vSGA and vGPU cannot be loaded at the same time.

    The driver will claim all compatible GPU:s (except those configured for passthrough, IE vDGA)

    An exception to this rule is if you have an AMD GPU for vSGA and a Nvidia GPU for vGPU.

    Can't comment on if, and when this will be resolved, perhaps krd can do.

    Linjo

  • How to use as and between operators at the same time

    Hello

    I want the result form

    (1) two digits between 80-90 member_number

    I tried this

    Select * from mbr_account, where member_number like "___80" union
    Select * from mbr_account, where member_number like "___81" union
    Select * from mbr_account, where member_number like "___82" union
    Select * from mbr_account, where member_number like "___83" union
    Select * from mbr_account, where member_number like "___84" union
    Select * from mbr_account, where member_number like "___85" union
    Select * from mbr_account, where member_number like "___86" union
    Select * from mbr_account, where member_number like "___87" union
    Select * from mbr_account, where member_number like "___88" union
    Select * from mbr_account, where member_number like "___89" union
    Select * from mbr_account, where member_number like '___90 ';


    It works fine, but I want small query to get the same result

    Is it possible to use 'like' and 'between' the operators or 'in' and 'between' the operators at the same time?



    Thank you
    Praveen

    Hello
    If that helps?

    select* from mbr_account where substr(member_number,-2,2) between 80 and 90
    
  • How to use HDMI and plug headphones at the same time?

    I'm running to a HDMI projector (via a HDMI-DVI adapter) for video and Composite (red & white RCA) using the socket for headphones and a splitter cable to a receiver of older Theater-in-a-box type for audio. But when I plug the HDMI, the headset turns off - no sound. I've seen people describe the ways to solve this problem for older versions of Windows, but I have Windows 8 and I'm unable to find. Thank you

    Michel,

    Apparently, it is not possible to output sound via the HDMI and the headphone jack at the same time.  But if you want to watch the video via HDMI and listen via the headset follow these steps:
    Right click on the speaker icon in the task bar > left, click playback devices > right-click on HDMI > disable.
    It works for me.
    Rusty
  • How to use Ssh and Https for PC8164 PC5524

    Hello!

    How to use SSH and Https to connect to PC8164 and PC5524?

    Kind regards!

    For SSH configuration, we want to watch the 1651 page controls, user guide.

    (config) #crypto console key generate rsa

    RSA key generation started, it may take a few minutes...

    Complete RSA key generation.

    #crypto console key (config) generate dsa

    DSA key generation started, it may take a few minutes...

    DSA key generation complete.

    Console (config) #ip ssh server

    For HTTPS orders, we look at page 255, 1770-1778, CLI Guide.

    generate a crypto certificate of console (config) # 1

    Console (config-crypto-cert) #key - generate

    output console(config-crypto-CERT) #.

    Console (config) # ip http secure-certificate 1

    Console (config) # ip http secure server

  • I wish I could make a website I use ofter and drop it on the screen of firefox under url. Then, I'll have rapid access. How can I do this?

    Question
    I wish I could make a website I use ofter and drop it on the screen of firefox under url. Then, I'll have rapid access. How can I do this? I currently use it on my laptop, but recently bought a new computer and downloaded firefox and lost a lot of features that I enjoyed.

    It was exactly what I was looking for - thanks a lot!

  • I have microsoft fix Center, there a {codec crashes fix} I used it and it has disabled the files I need, can someone tell me how reinable these files to help!

    I have microsoft fix Center, there a {codec crashes fix} I used it and it has disabled the files I need, can someone tell me how reinable these files, help please!

    Hi Shawnmehringer,

    Thanks for posting in the Microsoft Community.

    It would be useful that you can answer these questions to help you further.

    1. have you installed Microsoft Fixit Center on your system?

    2 are. what codec fix you referring?

    3. which files are disabled and you try to activate again?

    If the problem is related to Microsoft Fixit center, you can ask your question on the Forums of Microsoft Fixit to get help.

    Microsoft Fix it Center Forums

    If you need help to resolve any issues related to Windows, please reply and we will be happy to help you.

  • How to use 3DES and RAS

    Hi all I have need to write encryption and decryption using 3DES and RSA .can any please tell me how to write this.

    I thought that the examples given are clear enough.  For example, the method you gave

    Encrypt (plaintext byte [], int ciphertextOffset, int plaintextOffset, byte [] ciphertext)
    crypt encrypted just bytes of plaintext into ciphertext, from plaintextOffset put the bytes from ciphertextOffset.  Little about exactly what the JavaDoc says!

    If you do not understand how to use a specific encryption algorithm, then the code will be confusing.  In this case, I suggest that go you through the external documentation on these algorithms and they way they should be used, before looking at the code.  Search the internet, there is a lot of information on these algorithms out there.  And there is lot to understand, with the filling and the different approaches to block, which complicates the basic encryption code.  And it's just 3DES!

    But if you are struggling with a specific part of the code, please feel free to paste it here and ask about it.

    BTW, the code examples are related to each of the class pages, read the documentation at the beginning for the links.

  • I have 5 html pages that share a common header, footer and sidebar. How to use my navigation bar to change the content of the body without duplicating a lot of code?

    I have 5 html pages that share a common header, footer and sidebar. How to use my navigation bar to change the content of the body without duplicating a lot of code? Thank you!

    Read the help section of DW on models.

    Using Dreamweaver | Creating a Dreamweaver template

    Or use Server-Side Includes

    Nancy O.

  • How can I find and get rid of the duplicates

    How can I find and get rid of the duplicates

    Hi sinkerslider,

    I apologize for the long delay. In what app work? Looking for double .jpgs, PSD etc files. ? Also, what device and operating system are you using? Thank you very much!

    -Kathleen

  • How to use reveal all this without losing the work of culture?

    My workflow is to editing and cropping of images. I need the flexibility to perform any order.

    When I use the crop tool, I continue to delete the cropped Pixels unchecked. When I edit the images I want to edit the complete picture, not cropped image.

    If I use reveal all to make alterations on the full image after cropping, I lose my job of cropping. Is there a solution?

    How to use reveal all this without losing the work of culture?

    How to take a bath without getting wet?

    Enter drollery side you could use a path of access to store the current size before calling "Reveal everything", then later on the path as a selection of load, switch to the crop tool and hit.

    Or convert to smart object before you crop, then do the editing in the SO (it could be a potentially significant increase in file size, however).

  • Get annoying action ads at the top of the Yahoo home page. I always use Firefox and haven't changed the settings, then why the big announcements? I know that they are put there by Yahoo\, but they were not there before, and they aren't there when I open

    Get annoying action ads at the top of the Yahoo home page. I always use Firefox and haven't changed the settings, then why the big announcements? I know that they are put there by Yahoo, but they were not there before and they aren't there when I open Yahoo with Explorer.

    Install adblock more with subscription easylist and check

  • How do I trouble and get rid of the error Code: rundll32.exe on my MacBook Pro?

    How do I trouble and get rid of the error Code: rundll32.exe on my MacBook Pro?  The heading reads as follows: of "http://Mac support1. com ".  I can't remove it from Safari.  It is also IMMEDIATELY said 'call APPLE to 1-844-335-2242 '.  I asked that this number.  Any help would be greatly appreciated.

    Choose force quit from the Apple menu, close Safari and then run it with the SHIFT key is pressed. If the message reappears, disconnect the computer from the Internet and close the tab Popup came.

    (138334)

  • Can I use arrowheads and figures to be the custom shape set come with photoshop in graphic design that will be put on Youtube?

    Can I use arrowheads and be in numbers the the custom shape set come with photoshop in graphic design that will be put on Youtube or social networking?

    Hi albert xu,.

    Greetings!

    Yes, you can as this is why photoshop is intended.

    You can use and create designs and post that publicly.

    Concerning

    Jitendra

Maybe you are looking for

  • Accelerometer to win 8.1 vs HP 3D DriveGuard

    Hello I have an Envy 17-j013cl that has been recently updated to 8.1 Win. When you start windows, it gives the error of application AccelerometerSt.exe "The application was unable to start correctly (0xc000007b). Click OK to close the application. »

  • "Sleep" mode results in my Ultrabook wrongly shutdown.

    When I wake my PC portable HP Envy 6 (Windows 7, product number: A9G58AV serial number: [personal information deleted] sleep mode, it will stop on its own and correctly.) This happens usually when I close the lid (so it goes to sleep) and open it aga

  • Unable to start error 0 x 80070005

    original title: hoI started upward and had luch the screen was blac & I turn off the computer to the wall point pwer & loading even now it indicates that the user is not how I can solve this problem of connection I turn off ot when he was still loadi

  • NTLDR is missing. Suggestions, please?

    On turning on my laptop, which runs under Windows XP, I am faced with a message to say that 'NTLDR is missing' and Windows does not load.  Suggestions, please?

  • Kernel_Data_Inpage_error Stop: 0 x 00000077 (0XC0000056, 0X0C6ab000, 0XC0000056, 0x00000000)

    This error appears frequently as a blue screen.  I have to restart the laptop. I checked the SMART status of my hard disk with HD Tunes Pro and there is no bad sector. I have also checked the troubleshooting page and did not find the explanation for