maximize the USB streaming throughput

I am trying to speed up my task at hand. I need to send bursts of digital data, 83 bytes long each, at intermittent, but fast intervals.

I use Port 0 on USB-6251 in USB mode high speed.

Below some options, I tried

1 "software programmed" streaming - send 83 bytes U8 no tables on single sample of multi CH DIO write VI repeatedly, no timetable set. Easy but slow relics, about 1 ms by rate of bytes. I wonder if the driver OR use a sort of handshake software for each byte in this mode, limiting speed interval from image to image USB. Is it possible to run faster in this mode?

2 calendar hardware. I used aboard output internal counter to provide continuous clock, tested anywhere from 500 Hz to 1 Mhz can be much faster than (1), but running into questions:

a. finished picking - buffer set to the size of a single burst (83 bytes). Use auto-start, write a table and to stop after each entry to reset the task. Stable, but stop task slows down the program d ' attribute. Any way around this limitation?

b. a continuous sampling, set buffer to a few thousand, writing of arrays of bytes-83 periodically - faster, but frequent buffer above/below runs under Windows for obvious reasons. Any way to stabilize? Maybe play with meter output instead of running all the time?

Hey Fedor,

Can quantify 'fast '?  This will help us to make suggestions to achieve your goal.  Take a look at the attached example VI because it uses a square wave generated from an analog output to trigger a redeclenchables counter.  These must be connected physically.  This impulse will be the sample for your output clock.  I hope this helps - let me know if you have any questions after test it!

Tags: NI Hardware

Similar Questions

  • 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

  • Upstream 13: make a copy of the USB of computer image 13 Stream

    It has come to my attention that the image USB copy that I compiled may not be usable as a way to reinstall windows 8.1?
    I learned that the Scandisc USB flash drives which I used are not designed as a way of copying and for the resettlement of same OS if the disk image I can say copied ok. This has now been confirmed by Scandisc. The question is now how do I make use of the unique copy of my computer image I have on my flash Scandisc disc and what USB memory keys are designed to provide a useful computer image copy?
    I hope someone can advise me on this.

    First of all, make sure that you start from the USB port. On the portable stream you constantly hit the ESC key when you turn it on to bring up the BIOS Menu in the upper left of the screen. Choose Boot Options then choose USB Flash Drive and it will boot to a screen that says select your keyboard type.

    On mine US is by default I chose that.

    Now, click on the button problems. Click Reset your PC.

    Select the target operating system. Windows 8.1 should be there. If it says Windows 10 and you want to come back to win 8.1 choose it anyway.

    Then, after clicking on the target operating system you will see a screen that says: 'This is what will happen', click Next, and then click YES, repartition the disks.

    Make sure you choose the option in the final stage, which said just delete my files. Do not select the option completely clean.

    Wait 45 minutes and your system is restored from the factory.

  • iPhone 7 will not play audio via the USB port on the car.

    When I plug my iPhone USB port 7 more in my car (15 Jeep Grand Cherokee), the artist/song/podcast information appears on the screen, but the sound plays through the speakers of the phone.  I have confirmed that my settings are all the same as they were on my 6s, who played without any problems via the USB connection.  Bluetooth streaming works fine - no problems at all.  Any ideas, or is this a problem similar to that people have with CarPlay?

    Welcome to Apple Support communities, kevo.mac!

    Congratulations on your new iPhone 7 more! I see that you connect with your Jeep Grand Cherokee using the USB port. Everything seems to work fine, except that the music plays through the phone instead. I'll be happy to help you to get this working.

    Help to connect your iPhone, iPad or iPod touch with your car radio

    If you are using USB playback

    Restart your iOS device and your car.
    Connect your iOS device to another stereo USB port (if you have one).
    Try another USB cable.
    Update your iOS device.
    Install the updates to the firmware of your car radio.
    Test of audio playback from a different application. If you can not play audio from a specific third party application, contact the developer of the app for help.
    If you can not play audio from an app Apple, contact Apple technical support.

    Enjoy your weekend!

  • Surveillance using the USB Webcam camera

    Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 to 5.4pt 0 to 5.4pt; mso-para-margin: 0; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    A project I want to do is write a Labview application that would communicate to the Webcam USB and publication of the application in a secure web page, and allowing users to control Labview applications at home, work, and anywhere in the world without having installed on the PC of the Labview software. On the web, users can control the Labview front panel for zoom, annotations, etc. As a surveillance camera the USB Webcam will be detect an object moving, save images when motion was detected, an alarm to alert.

    I was wondering if anyone can help me with this.

    I have Labview Vision and I can get the USB Webcam streaming images.

    I don't know where to find information about the detection of a moving object.

    Can someone help me on this please?

    Hi krispiekream!

    I guess that your USB camera has the ability to zoom through a control programmatically? If not you should be able to control the camera using a remote facades, which require the LabVIEW runtime engine. Here's a tutorial on the remote Front Panel LV development of Applications: http://zone.ni.com/devzone/cda/tut/p/id/3277.

    With respect to the detection of a moving object, you can take two images and subtract to determine if there was movement in the frame.

    I hope this helps!

    Kristen H.

  • Is it possible to load the program streams have 7 using an external CD drive?

    Is it possible to program loa-7 flow of an external CD drive?

    Hey @Johngreaney ,

    Welcome to the forums of HP.

    I understand that you are looking for information on the use of an external CD drive on your Tablet 7 stream.

    You should be able to connect the 7 stream on an external CD player with a micro-USB adapter USB port. From here you may need to install the drivers for the device but are usually pretty generic, CD-ROM/DVD-ROM drives and should auto install.

    Thank you.

  • EA6300 is not the video stream from computer to Ipad on my local networt

    I was previously using Video Stream (from Connect3) for videos from my computer to my Ipad with no problems. I used a WRT400n and have now upgraded to the EA6300. Now my Ipad can't access the server on the computer. I tried port forwarding, but that did not work. I guess that some settings on the router blocks. The computer is connected to the usb wireless network. It was connected via a cable when using the 400n.

    IP 192.168.1.118, IP 192.168.1.40 ipad computer. Anyone has an idea why the Ipad and the computer can not connect?

    OK, I thought about it. I had to go to the control panel and the settings of firewall and say let the Videostream program through. The strange thing was he had 2 ad for Videostream, one has been verified, the other was not. Checked both and then it was fine. Thanks to all who responded.

  • HP USB stream 8

    I need to load the software on the stream 8 (Win 8.1).  Can I connect a DVD/CD player with a microUSB to USB female adapter?  The same card can be used to connect to a USB 2.0 port and a few devices such as mice wireless, kbd, etc.?

    Agreed. A note on the USB hub - make sure that if you get one (which I recommend if you have several USB devices, you can use with the Tablet) - get a powered USB hub. In other words, one that plugs into the wall outlet for power. The Tablet does not provide enough power (in my experience, at least) to feed more than 1 USB device at the same time. Some USB hubs are "bus-powered" which means the the computer USB port powered hub and all the devices attached to it.

  • E4200 with Win 7 - could not connect to the sharing of files on the USB storage device

    Hi, I tried several disks now, but am mainly interested in getting my Iomega 1 TB drive to work, but none of the 3 I tried to do. None of the USB drives I had when buying this router on the list of "approved" ridiculously short which is of course not noticed when buying the router, but the discs are recognized, I can FTP to one of them (Filezilla), format, create to-DOS, etc. via the web interface... the only thing that does not seem to work is to map the created actions. The error obtained net use is 'System error 1231' giving in 'Map network drive', 'Windows cannot access\\192.168.1.1' with 0x800704cf error code. I get what I pass credentials or not. Please advise, external storage has been the main reason that I bought this router and I need to know if I should return it. Thank you

    I know that sounds totally absurd given that FTP and what - not worked, but I swapped the USB cable I was using between readers and the router, and presto, it worked. I been in this business a lot of time and work with Cisco equipment all the time, so I know how ridiculous, this sounds like a solution, and perhaps in the context of permutation that cable thing happened I can't remember since I was a package 6 deep at the time... but it works now... now, if I can get just the AVI 1080 p files to stream to Xbox 360 without the video do rough I will be gold... but that's another thread. Thank you all.

  • AS3 how can you detect if someone shoots their camera into the USB port?

    In AS3 if the SWF Gets a hold of the camera of someone successfully and they begin streaming video everywhere and everything, but then halfway, either they wiggle accidentally their camera into the USB port, or the camera just sort breaks down, or something like that, how can detect you on the user side?  I tried using event listeners and different variables of Mark also every five seconds, but none worked. any of the public properties of the camera or its events seem to be acting funny of all when something happens like that.  And apparently you can just keep analysis the computer for devices (for a good reason, I suppose).

    Is there something I'm missing here?  Is it possible to detect the copy of a user of a SWF file (PF or AIR, but much more important still FP) when their camera has effectively stopped as the result of something goes wrong, like them what she wiggling the computer by mistake?  If so, how?  Thank you!

    Run your code and disconnect your camera. What are the common properties of it? Stop your flow? To return only a framework of specific color? These things can be used to detect, but you are right when you say that you can not detect more than a loss of packets from a NetStream object.

  • Is there such a thing as a USB wireless, that does not need USB cable upstream that goes into the usb slot in the main computer?

    Is there such a thing as a USB wireless, that does not need USB cable upstream that goes into the usb slot in the main computer? I've looked everywhere but I can't find one. I hate the son, and I try to clear my desk of as many people as possible.

    # USB is cable only.

  • MacBook retina cannot find the USB hard drive when it is plugged again

    Hello world

    I have a MacBook retina 2015 computers and a hard drive WD elements USB3 that I use as a Time Machine backup when they travel. The drive is plugged into the USB - C through one of the Apple dongles and when I first start the computer, the USB is mounted and that it appears on the desktop. He does everything very well.

    When I want to take the machine away, I eject it, wait for the secure message and then physically disconnect the drive. However, when I go back and reconnect the drive, the Mac did not see it. The reader will be able as the light comes on and I can hear it turn. Just, it is not mount and is completely invisible for MacOS.

    I checked all connections, even used another dongle - no luck. A disconnect does not set, and I tried to reset the NVRAM. So far, the only solution is to reboot the Mac, afterwards the player reappears - at least until I need to unplug it again.

    Anyone got any ideas what is underway and if there is a fix?

    Thank you very much

    Mike.

    Hello, Mike Richards2,.

    Thank you for using communities Support from Apple!

    This is I think understand that you are not able to see an external hard drive when it is ejected, and then reconnect the computer.  I have some suggestions that I hope will help you.

    It is important to try to isolate what is responsible for this.  The first thing to do to help isolate what is causing the problem is to start the computer in what is called Safe Mode and see if the problem persists.

    Start in safe mode:

    1. Choose the Apple menu > shut down.
    2. After your Mac stops, wait 10 seconds, then press the power button.
    3. As soon as you hear the startup tone, hold down the SHIFT key.
      You must press the SHIFT key as soon as possible once you hear the startup tone, but not before.
    4. Release the SHIFT key when you see the gray Apple logo and progress indicator.

    OS X El Capitan: start in safe mode

    Once the computer is running in safe mode, see if you can duplicate the issue.  If the problem does not appear, go ahead and try to reboot normally again.  If the problem has disappeared, it may have been caused by a problem of file or directory of cache fixed by booting in safe mode.

    If the question comes up, you'll want to check the login items.  Follow these instructions to remove the connection:

    OS X El Capitan: If you think you have incompatible connection points

    Remove the connection, restart the computer and see if the problem persists.

    Have a great day!

  • Content of the USB accidentally in the trash can

    Some how I accidentally placed the entire contents of a USB drive into the trash.

    Whenever I insert the disc, its contents appear in the trash.

    I don't want to delete the contents of the usb drive.

    How can I delete the contents of the trash and keep it on the USB key?

    Kind regards...

    Open the Recycle Bin and drag the files from the disk to another location on it.

    (144143)

  • installation of El Capitan in a mac by usb, but only using windows to create the USB

    installation of El Capitan in a mac by usb, but only using windows to create the USB

    I'm having a problem to install el capitan on a mac book pro 2009 has changed (dead) to an ssd HARD drive

    I can't find that any information how to do this from a windows machine (now only available) of the old system had the lion as I was told and when trying to install lion line or wireless it says it isn't available now so the machine is stuck without an operating system.

    If you are anywhere near an Apple Store, I would suggest bringing your MBP to and asking to help. For USB, you need to partition and format to allow to boot on a Mac, what Windows can not do. Then either create a bootable installer or install OS X on USB and then copy the installer it, boot from it and run the installer with the SSD as a target.

  • Bootcamp errors during the installation of the USB on iMac mid-2011

    I tried to install Windows 8.1 on my iMac for mid-2011. The problem is that my optical drive is not working properly.

    I created a USB bootable via Bootcamp Assistant on my MBPr and have tried my iMac HARD drive partitioning, using OSX disk utility and disk in recovery mode utility. I tried to leave the space as free and formatted as ExFat and fat.

    At the start of the usb drive and try to install on the bootcamp partition, I get the error that it is a MBR and not on a GPT partition.

    In addition, do not know if it's important, but it is a secondary internal drive. My main drive of OSX is an SSD. I have no problem accessing the drive in question under OSX.

    Help please!

    Mac 2011 (and more) have challenges with no DVD installs due to optical drive problems. Changes to the file info.plist Bootcamp to allow creating install USB works only partially because of start-up problems. Only two solutions that work with a high degree of success are

    1. replace the optical drive, or,

    2 http://forums.macrumors.com/threads/install-a-windows-7-partition-on-mac-osx-wit hout-optical-car-or - usb.1836959 / #post... .

    Following two discussions have some installs successfully, but they usually lead to broken drivers or not functional Apple hardware.

    Re: Bootcamp without optical drive

    Re: Activate Bootcamp install USB for OSX 10.9 * ŒUVRES *.

Maybe you are looking for

  • Use Alt + 0-9 for non pinned tabs, Ctrl + 0-9 for pinned tabs

    Hi there community! As just mentioned above, I want to change my keyboard shortcuts for navigating between tabs pinned and not pinned are distinguished. Reason of it is that I have ~ 8 pinned tabs (Gmail, Facebook, Feedly, Calendar and HabitsRPG to n

  • Qosmio F60 - 123 display resolution

    HelloI have a Qosmio F60-123 and it seems that I can't change the resolution to 1366 × 768 above,I've updated my card reader to the latest version, but the problem is still there. is it possible to change the resolution?

  • Received an email "(null)" with the group mailing list

    I have updated to OS X 10.6.x for OS X 10.11.2 with Server (5.0), then turned on the messaging service. Then after some members of the Group received mail "(null)". I mean there is '(null)' text only in the body of the message and no subject of the m

  • HELP with Scan string timestamp

    Hi all I'm having a little problem here. I have a text file containing statistical data and I need to sync it with other data. To do this, I want to put stamps on each line of data. Right now I have the time in the format 04/07/12 09:05 p So you can

  • What is windows error 0 x 80092003 fix it.and how can I get rid of him.

    Impossible to use my windows fix, error ox80092003 memory to come up.a problem is to prevent starting.how thetroubleshooting clean it helps lift.