How do I stop Serial "VISA Read" from giving me packets instead of available bytes.

Dear Labvillians,
Highlight:
How do I stop serial "VISA read" from giving me packets instead of bytes?
Background:
I have a system that serially publishes 14 byte packets on a semi-regular interval.
At busy times, the producer of these these packets queues the data, effectively producing super-packets in multiples of 14 bytes sometimes as large as 8 packets (112 bytes).
My protocol handler has been designed to processes bytes, packets or super-packets.
My application now has multiple devices and the order of message processing is critical to correct functionality.
My observation is that the VISA read waits until the end of a packet/ super-packet before passing the data to the application code. (See Plot Below)
My expectation is that VISA read should give me available bytes, and not get too smart for itself and wait for a packet.
I have observed this on PXI, Embedded PC, cFP and most recently, cRIO
I have experimented with the cRIO's Scan interface rate, which helps with reducing the packet backlog but doesn't resolve to sub-packet byte read.
I understand that one solution is to Write FPGA code to handle it and pass the bytes through R/T-FIFO, and there are some great examples on this site.
Unfortunately this doesn't help with non FPGA devices.
I have also dabbled in event based serial reads but it is diabolical on vxWorks devices.
Any Help is appreciated
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT
Solved!
Go to Solution.

Sometimes Talking to yourself is helpful.
I hope this is a useful Nugget for someone in the future
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

Similar Messages

  • How do I stop my MacBook pro from giving me a static shock.

    I know I'm not the only person this is happening too , i use a standard uk charger and have even bought a new charger in attempt to correct the problem . giving that i spent over £1000 on my laptop and feel quite let down by the fact that there seems to be this "deal with it response"
    please help .

    The "genius" bar guys said there is no hardware fault ( as i have taken it in for repair) but i'm pretty sure it is not supposed to do it.
    wondering if a case would help .
    do you use a case for your macbook pro ?

  • How to pass serial number read from a PCB.

    Hi,
    I have a question:
    How do I pass serial number read from a PCB so it will be embedded in Test Report file name for that test sequence. I am running Sequence in “New Execution" - Single Pass.
    My test report file after I run test does not have serial number: “TEST_Rev6_Report[NO_UUT_SERIAL_NUM0][2 32 24 PM][4 26 2013].xml” but my Report Header has serial number present.
    Thank you,
    Henry

    The attached screenshot shows how to set your report options, make sure you have the <TestSocket> and <UUTStatus> macros included in the Report File Path otherwise the serial will not be filled in the filename (Generate path is called a second time from the Single Pass -- Test Socket Entry Point sequence).
    I used the ParallelModel.seq to test it.
    The attached sequence file shows how to set the serial number.
    Search for "Specifying Report File Paths by Expression" in the help for more macros.
    Attachments:
    Sequence File 2.seq ‏5 KB
    Screenshot.png ‏57 KB

  • How do I stop my iPhone 3 from tethering?  Everything I read says to go to Settings General Network but the Internet Tethering is always searching.  I've been advised to wait but it's going on 2 hours so I think I've met my "waiting" quota.  HELP!!

    How do I stop my iPhone 3 from tethering?  Everything I read says to go to Settings>General>Network but the Internet Tethering is always searching.  I've been advised to wait but it's going on 2 hours so I think I've met my "waiting" quota.  HELP!!

    Same with Bluetooth, as long as you're looking at the screen, it will be searching. As soon as you exit the screen it stops, so quit looking at that screen. You know your refrigerator light? You open the door and it's on...trust me, close the door & the light goes off .

  • How do i stop my macbook pro from syncing photos from iPhoto overtime my iPhone is connected?

    help, how do I stop my MacBook Pro from automaticly syncing my photos to iphoto everytime i connect my iphone?

    It just loads them it doesn't download them. So quit iPhoto.

  • How can I stop music and movies from being automatically deleted from my phone and saved on the cloud? I've just tried to watch a movie on my 2 hour commute, but yet AGAIN it has been removed. I do NOT want to spank all of my data allowance

    How can I stop music and movies from being automatically deleted from my phone and saved on the cloud? I've just tried to watch a movie on my 2 hour commute, but yet AGAIN it has been removed. I do NOT want to spank all of my data allowance downloading it again, especially because (believe it or not) I added it to my phone because that's precisely where I wanted it!! Any help much appreciated

    FYI I had to put this link into firefox to reply - because **** back safari just wouldn't register my clicks to any of the links on the post... Despite reloadeing and even restarting my computer. Totally annoying and a massive pain in the ***.
    But in terms of my initial query; thanks for responding. But no, this is NOT the cause of the problem. I have auto sync and sync over wifi activated, but have also selected manually manage music and videos. Plus, all of my music and videos are on my macbook, absolutely all of it, so if it my phone was syncing with my macbook everything would still be on the phone. Life would be peachy if my phone jsut copied everything that was on my macbook, but unfortuantely it keeps deleting tracks for no apparent reason.
    Any thoughts greatly welcomed, because at the moment i can only conclude that my iphone is crap.

  • How can I stop the voice over from my apple tv

    I have just connected my Apple TV which appears to be working ok. How do I stop the interactive voice from speaking.

    I have the 2nd Gen Apple TV and it is where I said. Have you updated yours to the latest firmware/software? I can't see why you are unable to find it otherwise. I will take pictures if you want me to.

  • How can I stop mail on iPad from going to next message when deleting an email?

    How can I stop the mail app from moving to the next message when deleting an email?
    I like to keep messages as new until I can take action on them, but this just makes an unnecessary step.  I do not have this problem on my iPhone, but I am still running 5.0.1 on the phone and have the new iPad 5.1 software.

    Hi furiousbalancing,
    With regards to deleting messages in Mail, you may find the following portion of the following article helpful:
    To prevent the next message from being automatically selected (and marked as read), hold down the Option key when you delete a message.
    Mail (Mavericks): Delete messages
    http://support.apple.com/kb/PH14900
    You can also use Command-Shift-U to toggle a message between Read and Unread (command should be the same in Mavericks):
    Mail (Mountain Lion): Keyboard shortcuts
    http://support.apple.com/kb/PH11679
    You can also close the Preview portion of the Mail window, which should then require you to double-click on a message to open it and have it show as read (it appears the double click on the seperator may no longer work in Mavericks, but you should still be able to drag it to make it disappear):
    Mac OS X Mail: How to show or hide the preview pane or mailboxes drawer
    http://support.apple.com/kb/HT2583
    Regards,
    - Brenden

  • How do I remove my visa details from itunes

    How do I remove my visa details from itunes

    Log in with your Apple ID in iTunes, write your password and here you can find your account's details!!
    choose "no payment" and your visa details will be remove!

  • How can I stop my iphone 4s from asking for my icloud, yahoo and other passwords all the time?

    How can I stop my iphone 4s from asking for my icloud, yahoo and other passwords all the time?

    As long as you share that AppleID for iCloud, you cannot.  You are sharing a a single iCloud account and sync services.  The only thing you can do is get a second AppleID and use it with iCloud - you do not have to use that new AppleID for anything but iCloud (ie. you can still share an AppleID for iTunes and App store purchases).
    P.S. I am assuming you both want to sync your contacts with iCloud?

  • How do i stop the icloud window from poping up everytime i start iTunes ? i do not have an icloud account and don't want one., how do i stop the icloud window from poping up everytime i start iTunes ? i do not have an icloud account and don't want one.

    how do i stop the icloud window from poping up everytime i start iTunes ? i do not have an icloud account and don't want one., how do i stop the icloud window from poping up everytime i start iTunes ? i do not have an icloud account and don't want one.

    If you don't have an icloud account, then icloud is not the thing that's popping up a window.
    If you are being asked to enter a password when accessing itunes, then the problem may be that you have purchased items (apps, songs, etc) on the device that were purchased using a different itunes account than the one you currently have defined on your device. 
    Purchased items are forever associated with the itunes account (the apple ID) that was used to make the purchase.  If you change the ID on the device, you won't be able to update any of them.  You'll have to purchase them again.

  • How do i stop the keychain window from popping up it is really annoying?

    How do I stop the keychain window from popping up, it is really annoying?

    What is the specific message you are getting?
    If it's asking for a password, then enter it and you should be good. If you don't know the password, then I would probably recommend reseting your keychain entirely. Your keychain keeps saved password for certain websites and programs but in my expereince the average user is not tremendously affected by reseting the keychain. It's just a matter at that point of reentering your passwords manually if you've gotten used to them populating automatically.
    Check out http://support.apple.com/kb/ts1544 for an article on how to reset the keychain.

  • How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    Click here for the instructions on stopping the emails.
    (85713)

  • How do I stop Logic Pro X from trying to load a 32 bit plug-in that's no longer installed

    How do I stop Logic Pro X from trying to load a 32 bit plug-in that's no longer installed?  I noticed it occurring on projects where I used Miroslav Philharmonik. I keep getting prompted when opening the projects. I uninstalled Miroslav thinking it would stop, but it didn't.

    Assuming you are talking about the boxed set of Logic Studio (Logic Pro 9) on DVDs the only solutions are to either borrow or purchase an external CD/DVD drive and use that with your new MBP.
    Amazon sells a very reasonably priced 'Amazon Basics' external CD/DVD drive suitable for the process...
    http://www.amazon.com/AmazonBasics-Portable-External-Optical-Drive/dp/B003M0NT1M /ref=sr_1_1?ie=UTF8&qid=1416924310&sr=8-1&keywords=CD+DVD+external+drive+amazon+ basics
    Do NOT try and copy Logic across from your Mac to your MBP using something like Time Machine or Migration Assistant... 99% of the time, doing so results in all kind of weird issues later on.
    Just install Logic pro 9 plus all it's content from scratch using the DVDs provided with Logic Studio Boxed set.....

  • How do I stop all the messages from Apple Support Community

    How do I stop all the messages from Apple Support Community

    Go up to: Your Stuff > select Preferences > select Email Notification Preferences > change the bubbles to No's and hit the Save button.

Maybe you are looking for