Can you produce arbitrary data TX with the USB-8452 SPI streaming mode?

I use a USB of NOR-8452 controller in SPI mode, controlled by a C program compiled in 2013 of LabWindows/CVI. In order to talk to the chip, we designed, I need to control the delay between the final of SPC deassertion and the CS deassertion (T11 synchronization setting) to keep it very small. Therefore, I use streaming mode.

I read the NOR-845 x Hardware and software manual and looked at the two projects that use the SPI in streaming mode in NOR-845 x examples dir. The examples use two REITS it to talk about the A/D converters. In other words, variable data in time comes from the SPI (ADC) slave to SPI master (Controller NI 8452) via the SPI_MISO line.

Is it possible to use the USB-8452 to generate variable data in time that goes the other way, from the master to the slave SPI via SPI_MOSI SPI line? Can I make a burst of arbitrary length entry using the streaming mode?

For example, let's say I have 8 bytes of data to be transmitted:

WriteData [] is {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08};.

If I try to send this as 4 samples of 16-bit:

  

ni845xSpiStreamConfigurationSetNumBits (StreamHandle, 16);
ni845xSpiStreamConfigurationSetNumSamples (StreamHandle, 4);
ni845xSpiStreamConfigurationWave1SetMosiData (StreamHandle, WriteData, 8);

ni845xSpiStreamStart (DeviceHandle, StreamHandle);

I expect to see transmitted:

0 x 0102
0 x 0304
0 x 0506
0 x 0708

Instead, what I see in fact is the first NumSamples times repeated word:

0 x 0102
0 x 0102
0 x 0102
0 x 0102

Is it possible to generate the first (non-recurring) model? Or streaming mode really is only able to capture input data?

Thank you for any help you can provide.

-jskroch

Hello jskroch,

I looked through the documentation for the NOR-845 x and it confirms that the workflow capability displays the same MOSI data for each operation of SPI during streaming.

You can use the ni845xSpiWriteRead function to write a byte array in the order using 1 function call.  These bytes can be configured to your waveform specified.

Kind regards

Tags: NI Hardware

Similar Questions

  • Can you have a smooth scrolling with the audio objects document and several States?

    I have a portfolio which is 1536 x 2048. It is a horizontal plane. I have a page that I would have smooth scroll (horizontally). This page size is 1536 x 7250. This page also has a multi state object and audio.

    I have the page in a folder on my desktop and it is called smooth roller. I tried to import it with anything that is open, but I always get an error of content generation / error must match the Aspect Ratio.

    I tried to create a zone and add it as a scrollable content, but I lose the audio and multistate.

    I tried to get this to work everyday and no matter what I try, I can't have the page to work.

    I was at some point able to get it to load, but it 'fit' the size of the iPad so it ended up by about 300 high 2048.

    Help, please...

    Thanks, Angel

    If you have a folio of 1536 x 2048, 2048 is your width of landscape. You need make image smoother scrolling 2048 x 7250, not 1536 x 7250. When you import or add the article, make sure that you choose the option to scroll smoothly to the landscape.

  • How can you get firefox to work with the windows subst command locally?

    I want to test my Web site locally using the windows subst command to emulate the root of my site. It works perfectly with IE8 (except IE8 displays the different available to firefox) but does not work with Firefox. All images, sheets, styles and anything with a root path does not work. If I use a relative path (.. /.. / for example) to the objects that they works very well.

    How can I view web pages locally by using a path root of Web site?

    Firefox does not allow access to local files.

    It is always best to use relative addressing.

    See also:

  • Can you do a blog template with the muse of adobe?

    I want to know how to design a blog template in adobe muse !

    Yes you can.

    I recommend it because it is not a strong thing of Muse... I would like to use Dreamweaver to create a database of the blog template and then put it in a Muse site, but there are other options like some have posted above.

    PS, there is no need to ask questions only one line, and then waits a detailed answer... try to be clear about what you want when you ask for help mate.

  • SVN: #155021. You cannot update this file with the help of Dreamweaver Subversion integration because a new Subversion client application on your machine has made updates to the file Subversion meta data. For more information on this problem

    Can Hello anyone help?

    After you configure Subversion in Dreamweaver, I get this error again!

    SVN: 155021 #. You cannot update this file with the help of Dreamweaver Subversion integration because a new Subversion client application on your machine has made updates to the file Subversion meta data. For more information about this issue, see http://www.adobe.com/go/dw_svn_en.

    even after following the instructions http://www.Adobe.com/go/dw_svn_en Download the extension, python change the var in windows to say «;» C:\Python26'

    with & without quotes, with or without; before C

    command > comparability of Subversion to get the following error "the Conversion process has failed. Please make sure you have Python installed and you check Python PATH parameter'

    I managed to get all the files after the installation, I locked, unlocked and commit a file to test fact so that was all works well, the only part I'm not retrieves the latest version, this is because Subversion is 1.6.2 and dreamweaver must revert to the version 1.4.5 on local to work, the compile someone at - it an idea what to try next in order to make it work?

    Just a reminder!

    1. I configure Subversion through guidelines on http://help.Adobe.com/en_US/Dreamweaver/10.0_Using/WS80FE60AC-15F8-45a2-842E-52D29F540FED. html
    2. I managed to get the latest SVN version
    3. Lock, unlock and commit a file
    4. Installed Python in C:\Python26 change the path in windows system properties > advanced > Environment Variables > system variables > New > Python =; C:\Python26 also C:\Python26
    5. I also tried the same thing in the User Variables
    6. Installed the extension DW Subversion compatibility

    7. Tried to run the compatibly with the command > Subversion comparability in DW

    Welcome any suggestion to solve this?

    Hello

    There has been a lot of problems using svn with dw, and I know many people who have stopped trying to operate correctly.

    As much as I know dw will not work with newer versions of svn (over 1.5), and even then, there are a lot of problems, a possible solution is to try subweaver (at- http://code.google.com/p/subweaver/ ), as this has solved some of the problems associated with the use of tsvn dw environment.

    PZ

  • need to take my computer back in the day that I first started it on7/21/2011 my restore point back up to now how can you start over from scratch with no disc?

    need to take my computer back in the day that I first started it on7/21/2011 my restore point back up to now how can you start over from scratch with no disc?

    Most OEM computers have a partition on the hard drive, that allows to give it bought as provided.  Usually, you activate this feature by pressing a key or combination of keys when the first splash screen appears at startup.  Look quickly at the first screen that appears, and you could see the key that you press.  Otherwise, go to your computer manufacturer's website and download the manual for your computer.  Instructions must be there.

    HTH,
    JW

  • Can you use Pocket wizards to trigger the HVLF60M Sony flash when it is out of the unit with the A7R?

    Can you use Pocket wizards to trigger the HVLF60M Sony flash when it is out of the unit with the A7R?  How about studio flashes (Alien Bees)? I just sold my Canon gear and moved to Sony, but I need advice on how to trigger wireless flashes.  Thanks for any help you can provide.

    Larry

    LarryMarshall, Any Trigger of manual Radio should work.  Assistants of pocket or RadioPoppers.

    But there are a few problems with the 60 m.

    (1) it doesn't have a PC or a 1/8 port to connect directly to a Rec Radio of any brand.

    (2) you WILL NEED to buy or use a hot shoe with a PORT adapter... 1/8 according to the sync cable or PC you may already own.

    (3) you WILL NEED to 'Check' to 'ensure' that trigger the 60 m SHAFT is aligned with the center of contact your hotshoe adapter hot with a PORT... because some adapters won't online upward with the 60 m Flash... who fooled you into believing that it does not work.  When, in fact, it's just the PIN which is not aligning with ALL the hot shoe adapters.

    It will work... you just have to be careful... and know of the gatcha.

    The 60 m PUT claw is not fully compatible with all... hot shoe adapters and there that to do with how PUT 60 m flash foot aligns the trigger ROD.

    I triggered the 60 m in flash with RadioPoppers... in the manual... so, I know it works.

    It is, manual release of the waste of the 60 m flash TTL/HSS abilitys.    What is needed is for SONY to develop and deliver a Radio trigger Solution.  Which would be TTL/HSS and you allow to 'Control' the Flash too... from the camera.

    It is the power of a Flash of modern Radio System.

    Manual triggers are old school.

    p.s. the A7r/A7 can easily trigger flashes of Studio with Pocket Wizzards or RadioPoppers... or probably triggers of manual.    Just be careful if the brand you choose is reliable.

    Pocket wizzards and RadioPoppers were the choice of PRO for years.  Because they are reliable.

  • Can you after you have selected a picture with the magic wand just delete the background, leaving only the photo?

    Can you after you have selected a picture with the magic wand, just delete the background, leaving only the photo?

    Or should we use layers to achieve?

    I use Adobe Elements 8.

    Thank you

    Martin

    What is your intention to delete the background - replace the white background transparency or others?

    Keep in mind that if you delete on the background layer (the default name), deletion is replaced by the current color set in the chip of background color as shown in the toolbar. By default, it is white, so if you are selection and deletion of a white background you will end up with white again. If you want that transparency first change the background to a normal layer Layer renaming.

  • Hello, December 22, 2015, I paid € 144,33 on account of Adobesystem (using photoshop). I wonder what for? I got no answer, no program to install etc... Can you help me? I used the demo version with the idea that I could be updated, but

    Hello, December 22, 2015, I paid € 144,33 on account of Adobesystem (using photoshop). I wonder what for? I got no answer, no program to install etc... Can you help me? I used the demo version with the idea that I could update, but nothing.

    Download/install the desktop application, connect and install applications subscription.
    https://helpx.Adobe.com/creative-cloud/help/download-install-app.html

    Creative cloud to desktop
    https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.html

    Sign out, sign in | Creative office cloud app
    http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.html

    Install, update, or uninstall applications
    http://helpx.Adobe.com/creative-cloud/help/install-apps.html

    Install creative Cloud applications
    http://TV.Adobe.com/watch/CS6-creative-cloud-feature-tour-for-video/installing-desktop-app s-of-creative-cloud.

  • BlackBerry smartphones can not synchronize with the USB cable plugged into charge pod

    Hello

    I read on the web site of shopblackberry.com, in the details of charge pod ( http://www.shopblackberry.com/_blackberryaccessories/cgi-bin/pd.cgi?frompage=category&page=product_d... ) that the pod can handset with charger travel or data cable for charge and/or sync with a BlackBerry smartphone. So, my question is related on a problem or a misunderstanding of me to this description.

    I want to know if we could recharge and synchronize the BlackBerry via USB cable or is only responsible for the BlackBerry when connected that way. My second question is, is it possible to synchronize the BlackBerry with the USB cable plugged into the pod or not?

    Because I got a request from one of my users about the fact that his BlackBerry 9000 can not synchronize when it is on his group.

    Thank you very much!

    Hello

    It's a loading dock. It is useful, because just drag you your "BOLD" in there and it will load (just like the 8300 Curve).
    If you want to synchronize, you can plug a usb on the side of the appliance cord. This can be done while the machine is in its dock, where the description.

    I have the same crib, but for the 8300. It's really worth buying. I'm happy with it every day.

  • Windows store error "we could not connect to the Bank. This can occur because of a problem with the server or the connection may have expired. Please wait a few minutes and try again. »

    Original title: Windows 8 store does not.

    Whenever I try to open the windows store, I get the message: "we could not connect to the Bank. This can occur because of a problem with the server or the connection may have expired. Please wait a few minutes and try again. »

    This happens constantly, and because of that I have not been able to upgrade to Windows 8.1.

    Hello

    This behavior can occur if the antivirus application blocking the app Store or changes due to some recent on the computer.

    I would suggest trying the following steps and check if it helps.

    Method 1:

    Make sure that your PC is up to date

    Make sure that updates are installed on your PC and that your antivirus program does not prevent the application from running. For more information about installing updates for your PC, see Windows Update: frequently asked questions.

    Method 2:

    Run 'Windows Apps Store' convenience store

    You must be logged in as an administrator in order to run the "Windows Store Apps" troubleshooter. This tool can automatically find and fix some issues with applications. It is available in English only, but will work in all languages. You can let automatically try to fix any problems found, or select what you want made repairs.

    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    Method 3:

    I suggest you delete the Windows Store cache and check how it works.

    1. Press Windows + R logo
    2. Type wsreset.exe in the run window, and then press ENTER.

    Method 4:

    Define the Apps approved in third program Antivirus- If you have a third party AV program installed, check its settings to make sure that the app Store works is not changed to be approved. If the AV program has the app as unreliable, it will block and prevent opening the app.

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • existing file of data created with the data file name

    Hi Experts

    We accidentally created a data file with the same name in the same place
    TABLESPACE_NAME           FILE_NAME                                                  FILE_ID STATUS    ONLINE_ size in MB AUT maxbytes in MB
    ------------------------- ------------------------------------------------------- ---------- --------- ------- ---------- --- --------------
    WP_DATA                   /NEXWPLPR/dbase/wpdata/wp_data01.dbf                             8 AVAILABLE ONLINE  32767.9844 YES     32767.9844
    WP_DATA                   /NEXWPLPR/dbase/wpdata/wp_data02.dbf                            12 AVAILABLE RECOVER
    WP_DATA                   /NEXWPLPR/dbase/wpdata/wp_data02.dbf                            11 AVAILABLE ONLINE        1000 NO               0
    on OS lavel
    -rw-r-----  1 oracle dba  1048584192 Oct 21 12:44 wp_data02.dbf
    -rw-r-----  1 oracle dba  1048584192 Oct 21 13:09 wp_data02.dbf
    -rw-r-----  1 oracle dba 34359730176 Oct 21 13:10 wp_data01.dbf
    Please suggest how we can solve the problem?

    Database: 10g
    OS: linux

    Concerning
    Rahul
    Rahul

    Published by: 825075 on October 21, 2011 05:25

    One of them is 2 characters at least other two. You have twice ascii code 32, it's space.
    What happens if you run now:

    select file_id,file_name from dba_data_files
    where file_name='/NEXWPLPR/dbase/wpdata/wp_data02.dbf  ';
    

    Notice the 2 spaces at the end.

    Nicolas.

  • I changed from an iphone 5 S 6 s without disconnecting from my watch, 5s has been cleared and my watch can not be unlocked so that I can't erase it to pair with the 6s. What can I do?

    I changed from an iphone 5 S 6 s without disconnecting from my watch, 5s has been cleared and my watch can not be unlocked so that I can't erase it to pair with the 6s. What can I do?

    This is what Apple said in their Article of support:

    Disable the match without your iPhone

    If you do not have your iPhone, you can always erase content and settings on your Apple Watch. On your Apple Watch, tap Settings > general > reset > erase content and settings. This will reset your Apple Watch to the factory settings.

    See you soon,.

    GB

  • How can we do a single element with the content of two clips

    How can we do a single element with the content of two clips

    You try to get a picture of image? In other words, that contained two visible clips at the same time? If you are, change the substantive item to you main plot and another tie on top using an edit connect to the battery. Select the top item. Activate the transform tool and resize and reposition the clamp if necessary.

    Russ

  • IBM Thinkpad message: 'this machine can run faster with the USB 2.0 hub.

    Original title: Thinkpad USB 2.0 Hub.

    Hello:

    I have an IBM Thinkpad T-21 which is under Ubuntu & Windows xp.  I primarily use Windows XP.  The pop-up that keeps occurring is "this machine can run faster with the USB 2.0 hub.  Can you tell me how to upgrade my USB 2.0 Hub?  Would like to know because I can't sync my Android phone with my computer until I do it. Thank you.

    Are you sure you copied this error message properly?  In other words, he says that the hub could perform better if connected to a USB 2.0 port?  As far as I can determine that the T21 is not come with a USB 2.0 port, even if you connect a USB 2.0 device (for example a hub), the unit will only race as fast as the port allows it.

    What is the brand and model of your terminal?

    It is possible that the message means the opposite (i.e., your computer has a USB 2.0 port, but the hub is only a USB 1.1 device).

    USB 2.0 was introduced in 2001, so if you bought your computer before 2001, it is likely that you use USB 1.1 or 1.0.

    Open the Device Manager (start > run > devmgmt.msc > OK)
    Expand the category of 'USB Bus controllers'.
    If you see the "Enhanced" work for one or more of the listed devices, you have a USB 2.0 port.  If you do not see "Enhanced", you have USB 1.1.

    If the problem is that the USB port on the computer is not 2.0, so your only solution is to buy a USB 2.0 PC Card adapter.  Example and example 2
    If the problem is that the hub is not 2.0, then you will need to buy a new hub.

Maybe you are looking for

  • Norton and 35 of Firefox are not compatible... I ran Norton Live Update... If Norton is up to date. Why am I not able to use my Norton with Firefox toolbar...

    Why am I not able to run my toolbar on Firefox version 35 Norton. I ran Norton Live update... don't give me good results. I have been using an older version of Firefox... Norton is compatible for a while and all of a sudden become compatible... is no

  • Secondary windows are causing Firefox to freeze

    Problem with Firefox freezing MAJOR. Whenever a second window opens, the browser everything freezes, and I have to use the Task Manager to close. This includes windows as a quick check for a bill pay, windows of seizure of task/link in various forums

  • Box Portege 3500 replacement

    Recently got a 3500 off of ebay, happy with it because it does the job I want, however, it seems a bit faded and has some damage (due to age, etc.), and I was wondering if anyone knew of anywhere to get new boxes of replacement for the portege 3500 a

  • Use of the BT on Satellite A200

    Hello Please point me to some places where I could find more information about Bluetooth technology on my laptop Satellite A200-1CR, because I have some difficulties to use it... I can transfer files, but can't seam to be able to establish a connecti

  • the Windows spooler service error

    I am trying to reinstall the printer software, but keep getting windows critical error spooler service does not start. How to cure the problem Note: "the title of this post was published to help other customers to easily find this topic in their sear