High Speed RS422

Hi,
I am trying to develop a test program to test an RS422 link recieving a 24 byte message every 2.5ms (on average) and responding to it. I always had concerns about the timing of the messages, and latest testing shows that the software only sees every 11 messages (on average) using a COM CALLBACK to do this. Is this going to be possible in a CVI environment?
Cheers
Stuart

In a recent application we have written we used the following approach:
- create a struct that fits the incoming data package
- use bit fields in the struct (if necessary) to be able to access each component easily
- create a thread-safe variable (or queue) that is able to store package data
- create a thread and loop on the number of bytes in queue
- when available read bytes directly into the struct variable [ComRd (port, &struct_ptr, bytes)], process (header bytes, data id's, checksums) if required, put valuable data into the thread-safe variable (or queue)
- keep the thread running as long as you need it
- test code accesses the thread-safe variable (or queue) when it needs any data from the incoming stream
This has been extremely useful. We completely separated "communication code" from the rest of the "test code" and avoided confusing bit operations within the test related part and used more intuitive struct fields.
The thread became sufficiently fast. We had baud rates of 1,500,000 and packages of different size.
We never missed any data. I know it from the incoming time tags.
Hope this helps,
S. Eren BALCI
www.aselsan.com.tr

Similar Messages

  • HT3180 I owned an Apple tv and after upgrade my internet to higher speed my Apple Tv  does not work the only message that show on the screen said if time and dates are not found go to apple/support/tv tried almost everything and nothing.  Please somebody

    I owned an Apple Tv and since I upgrade my internet to higher speed my Apple Tv does not work. Please someone help.

    In most scenarios you shouldn't need to forward ports, however if you need to, you may be best contacting your ISP.
    As with most router issues, I would recommend that you contact your ISP with details of your problem (assuming that it was your ISP that provided it to you).
    There are simply too many manufacturers with different software features and settings and often different names for such features and settings, that the best advice will likely come from those that are knowledgeable about your particular router.
    Make sure your router/computer allows access over the following ports
    Port
    Type
    Protocol
    Used By
    53
    TCP/UDP
    DNS
    DNS
    80
    TCP
    HTTP
    AirPlay, iTunes Store
    123
    TCP/UDP
    NTP
    Network Time
    443
    TCP
    HTTPS
    AirPlay, PhotoStream, iTunes Store
    554
    TCP/UDP
    RTSP
    AirPlay
    1900
    UDP
    SSDP
    Bonjour
    3689
    TCP
    DAAP
    iTunes, AirPlay, HomeSharing
    5297
    TCP
    Bonjour
    5298
    TCP/UDP
    Bonjour
    5350
    UDP
    NAT
    Bonjour
    5351
    UDP
    NAT
    Bonjour
    5353
    TCP/UDP
    MDNS
    Bonjour, AirPlay, HomeSharing
    8000-8999
    TCP
    iTunes Radio Streams
    42000-42999
    TCP
    iTunes Radio Streams
    49159
    UDP
    MDNS (Win)
    Bonjour, AirPlay
    49163
    UDP
    MDNS (Win)
    Bonjour, AirPlay
    The following article(s) may help you.
    Troubleshooting Home Sharing
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings

  • How can a session be setup between two MacBook Pro's at different locations on high speed Internet connections, be setup to have a live recording session in Logic?

    My partner and I live on opposite sides of the valley here in Phoenix. About 50 miles apart one way. We are Musicians and are working on a commercial for television, and would like to know if there is a way, between FaceTime and Logic, that we can configure our MacBook Pro's to record sessions together without having to be at the same house? When we FaceTime, he can hear my keyboard through his headphones, but we can't seem to get the signal routed into Logic and register to a track when its record enabled. Is there a way for us to save gas, and record at seperate locations, so he can engineer me and I can engineer him, while we build this project in Logic and Final Cut? Here is what we are using, we have nearly identicle setups, which was planned so we might be able to do something like this. Both of us are using Mid 2012 15" MacBook Pro's with 2.6GHz Intel i7 processors and 16GB RAM. The only difference between the two MacBooks is that his has an Optical Drive, but I removed mine and replaced it with a 2nd SSD Drive, so I have two Samsung 840 Pro's each with 512GB in my MacBook Pro. His just has one Samsung 840 Pro with 512GB. We both use Focusrite Saffire Liquid 56 Firewire Audio Interfaces, and we both use Logic Studio 9 Academic. I don't know if you need to know what we are using in order to help us figure out how to configure the MacBooks for a live session, so I figured I would give you those details just in case. If you need any more information, just let me know? Oh, we both have high speed cable Internet connections. Mine is 150Mbps speed which is the absolute fastest I can get in my area. And his is only a 50Mbps speed line.
    Again, what we are looking to do is have a LIVE recording session, in Logic, with him at his house and me at my house. When we FaceTime each other, we can pretty much hear each others keyboards as if they were part of the conversation, and as crystal clear as we can hear our own when recording, but we can't seem to record enable an Audio track in Logic and route that keyboard signal into Logic and record it so we can engineer each other without either one of us having to drive to the others house, to be there to do it. If any of this even makes sense, I'm not quite sure how to better explain it. So hopefully you get what I mean, otherwise just say so, and I will try to do a better job explaining it.  :-)
    Anyone who can help us with this little problem would be greatly appreciated, and quite a hero in these two humble Musicians Worlds!! So from both of us, THANK YOU in advance for any input you might be able to give us. I look forward to hearing any and all suggestions.
    Scott

    Hey Scott
    You and ALOT of people are attempting to do this, myself included.
    Unfortunately at this point (to my knowledge) it's a pretty CRAP setup involved that will likely leave you frustrated.
    HOWEVER:
    A few things CAN be done:
    IF you are getting live audio from your partner over the internet, you can re-direct that audio directly into Logic using a program called SoundFlower.
    There are a few alternatives to SoundFlower, like JackTrip, and.....(the name eludes me)
    (SoundFlower is from a company called Cyling 74 who also makes Max MSP. )
    Once in Logic, you set your audio inputs to the track to be Soundflower. (either 16 inputs, or in this case 2)
    That all being said, regardless to speed, you are still going to experience latency in the connection, and THAT is the part that will likely drive you to the mad house.
    THIS all being said, I believe there are websites out there that are set up to actually do this kind of thing, (at least there WERE) but likely membership costs, and other "hidden" problems that you only learn about after you have signed on the dotted line. (Hopefully I am wrong?)
    If you don't need to do a "live jam", there are always solutions like DropBox that work very well for exchanging large files quickly.
    If you want to record live MIDI input from his keyboard, I am unaware of any solutions for this.
    Due to the popularity of the iPad, you might want to look into the App store, and see if there is something available.
    Good luck!
    Treatment

  • How can I stop spam from someone called AT&T High Speed Internet? I do not know what the email address is.

    I am receiving 100's of spam emails. They are all advertising different types of products but they all say they are from AT&T High Speed Internet. I have used the junk filter on them but it does not pick them up as junk. I have to do it manually each time. I have contacted my UVerse provider and they cannot assist because it is getting through Yahoo to Thunderbird. They say that it is a problem that I will have to have assistance from Thunderbird to resolve so that I can have this listed as junk and will not have to do this manually. I am at my wit's end. Please, please help me!

    Yahoo has its own junk mail filter (Spamguard), which you should confirm is enabled:
    * [https://help.yahoo.com/kb/mail/stop-spam-yahoo-mail-sln3227.html Mail Help | - SLN3227 - Stop spam in Yahoo Mail]
    The significance of this is that marking messages as junk in Thunderbird probably isn't integrated with Yahoo's system, so Yahoo may not be getting trained to block them. You might need to go into Yahoo from time to time and mark accumulated junk as spam.
    Separately, there are solutions for filtering spam on your computer as the mail is downloaded from Yahoo. Thunderbird has a built-in filter, as described here: [[Thunderbird and Junk / Spam Messages]]. However, if that isn't as effective you would like, there are third party products as well.

  • How do I use the High Speed Data Logger with multiple I/O devices?

    I am using the High Speed Data Logger vi to read from a 16 channel A/D card (NI PCI-MIO-16E). The project may require more than 16 channels. How can I use High Speed Data Logger to read from two A/D cards? Will it be able to write the data to one file?

    The High Speed Data Logger vi will not acquire and right to multiple DAQ boards at the same time without modification. LabVIEW is more than capable of doing this what you are trying to do, but you will have to modify the code.
    Regards,
    Anuj D.

  • How can I add an address to my high speed contacts?

    I have an address in my general contacts but I cannot figure out how to add this name to my catagory of high speed contacts! Help!

    From the general contacts group drag the name (contact) over to the high speed contacts group in the left side column.

  • I just set up an Optus Cisco DPQ3925 wireless router to access higher speed internet I signed up for. I have a 4th gen airport extreme I want to put in another room and use as a wifi extender the wifi but I get an error message each time I try. Help?

    Hello all.
    I have just set up a new cisco DPQ3925 wireless router that Optus sent me to be able to access the higher speed internet I have signed up for.
    I have a 4th gen apple extreme that I want to use to extend the wifi but when I try to update the settings via the airport utility I get a message that says it cannot do so, and to check it is in range and the wifi is set up correctly. I'm not experienced with these things but I can't think what I have done wrong.
    Is anybody able to help me please.

    You cannot use the AE to extend wireless from a non apple router such as your cisco modem router.. they are not compatible..
    You need to tie to the two devices together either with ethernet or something like EOP adapters.. They are about $120 and you can price match in officeworks.

  • How can I set up a home wireless network with Comcast high speed internet?

    I just signed up for Comcast High Speed Internet. I was able to get my Power Mac onto the internet. However, I connected my Airport Extreme and am unable to get it to recognize that I have an internet connection. I want to set up a wireless network in my apartment. Comcast tech support said that I only have one IP address.
    Any suggestions as to how I can get my wireless network up and going? Thanks!

    Should I change set up so that cable goes from the cable modem directly to Airport Extreme and then use the ports on the Extreme to run Ethernet Cable to Power Mac and other devices?
    Yes
    As an aside, would this setup allow me to hook my iBook up to Airport via Ethernet cable and let it get into Internet that way?
    Yes

  • Can I convert an old IMAC computer with OS 9 operating system from being "dial up" to high speed?

    Can anyone tell me how I can convert my old IMAC from "dial up" to go on the internet as high speed? I have an ISP provider for a more modern computer that I own, but I really would like to use my old IMAC on the internet as well? How can I make it compatible with high speed internet? If I try to go on line, the internal modem "dials up". How can I change that and cause it to communicate with my external high speed modem?

    Any iMac can connect by ethernet to the router.
    You'll need to disable the modem and set up the network config.
    Too long since I used OS9 to guide you on that bit; ask in the correct forum;
    https://discussions.apple.com/community/mac_os/classic_mac_os     or;
    https://discussions.apple.com/community/desktop_computers/imac_powerpc

  • Advice on buying camera for stills and high speed video

    Hello video pros,
    I'm a music composer who occasionally dallies with some simple photographic and video work. I'm looking for some advice re picking up a camera to make some simple videos, but with the highest quality I can get with consumer grade gear.
    I am pretty much ruling out consumer grade camcorders for two reasons:  One is that I want to be able to shoot high quality stills and make stop motion videos from very high res stills.  The other is that I don't need audio recording at all because the video will always be just to accompany music - simple music videos basically.  So I'm much more interested in the recent mid range point-and-shoot bridge cameras with full HD video modes rather than camcorders - they seem to cover more realistically the range of things I want to do.
    My main question is regarding shooting at higher frame rates than 30 fps. I'd like to shoot video at a minimum of 60 fps (or higher) to then playback at 25 fps to get that smooth, slightly dreamy motion effect. There are a few cameras out there that offer high speed video modes, but most are nothing more than a gimmick because the res is so low that the resulting video is unusable.  However a few cameras now seem to hit a sweet spot, offering 60 fps recording at HD res, and also 120 fps at 640x480 which (at a pinch) is usable, at least for stuff destined for simple web use.
    The cameras I've narrowed it down to so far seem to be the Nikon Coolpix P500, the Panasonic Lumix DMC-FZ40 and possibly the Fujifilm HS20 EXR.  I also was vaguely interested in the Casio Exilim HS cameras, but they seem to only offer high speed video modes that are pointless - 1000 fps at a completely useless low res, and 120 fps only at 640x480.  The others I listed seem to offer at least 60 fps at some kind of HD res, so I'm assuming that with these cameras I could shoot decent looking video which would then play back with that slightly hyper real slow-mo effect when I import into FCP at 25 fps.  Is this correct?  Or is it the case that when they say HD video @ 60fps, it's some kind of interlaced mode which means you can't play back at a slower frame rate to get smooth slow motion?
    The other thing I've noted is that all of these cameras do record HD video, but it's always compressed in H264 format.  I understand that this puts a serious limitation on how much post-processing you can do to the video afterwards.  Highly compressed video will begin to show image artefacts very quickly when you apply effects as opposed to higher quality (bigger file size) video compression.  But I think I can live with that given that for the stuff I want to make, it will just be simply edited and only lightly graded.  However, of the cameras I'm looking at, the Lumix also records in a format called AVCHD which (I think) does full HD at 17 Mbps.  Does this mean that it's basic video quality is significantly better than the other choices?  That said, from the specs it's unclear if it actually allows shooting at higher frame rates which you can slow down at playback.. the way it describes 60fps mode makes it sound like it's just interlacing so you don't actually get a higher number of images per second to then be able to play back at a lower frame rate.  This for me might rule it out because I really want the creative effect of high speed video, even if it's only the subtle effect of 60 fps slowed down to 25.
    So in summary, I'm looking for a camera capable of creative shooting (high quality stills to make stop motion videos, usable-quality HD video along with at least some degree of high speed video at a resolution that is still usable) to make interesting and artistic footage to accompany music.  The destination medium is the web, so even though I'd like to get the best quality raw material to work with, the final destination is not exactly a cinema screen.  As a pro in a related industry, I'm all too aware of the pointlessness of buying outlandishly over-specced gear that is far beyond your level of expertise.  So I want to keep it simple and realistic, budget-wise, given the level I'm at.  Nothing more than say $800 US.  A seriously high end camera would be wasted on me, and I think it would be wiser to invest in useful accessories like a steadicam merlin and decent tripod rather than blow loads of cash on a camera far beyond my skill level.
    Apologies for the long post, any and all advice would be very welcome and appreciated!  And feel free to correct me if my assumptions are wrong, and suggest any gear that I should consider looking at.

    Hi, thanks for your input.  I'm aware of the fact that my question is a bit OT, but I'm just looking for input from people with more experience and broader information in this area than I have myself.. I know people are here to talk about FCP, but I'm betting many editors and film makers who work with FCP will have more insight in this area than I do.
    I've been reading every review I can find at dpreview, and also am watching as many test video examples I can find on the internet, mostly on vimeo because the ones on youtube look pretty awful.  I just am reaching out to get some actual experience and advice from people who might give me pointers on what to look out for.
    As for 60fps not being fast enough, I know what you're saying.  But for me, even 60 fps slowed down to 25 fps on playback is enough of an interesting effect, as long as the actual quality of the footage looks good to start off with.  I like the subtle effect of slightly slower than real motion when it's real, bona-fide high frame rate slowed down.  Artificially created slow-mo using plug ins looks cheesy to me, and the gimmicky super high frame rates of cameras like the casio exilim (where the resolution looks like a mobile phone video from ten years ago) are completely useless.
    I've seen lots of examples on vimeo of stuff shot with DSLRs from Canon and Nikon at 60fps and then played back at 25 or 24, and it looks plenty nice enough for what I'm after.  But am I kidding myself that I'd get anything near as nice with the price range I'm looking at?

  • I have one application that has requirement to do low and high speed acquisition. I want to change sample rate while running. BUT... I have E series Device

    I am writing control software for a process that is usually dull and
    requires only 10 Hz acquisition rate.  At particular times during
    the sequence, however, we are interested in looking at a couple of
    channels at 1000 Hz.  My approach so far is to configure my
    Buffered DAQ to run at the higher rate at all times.  When we are
    in the 'high-speed DAQ' mode, the program logs every point to
    disk.  In the 'low-speed' mode, I am picking off every nth (in
    this case, 10th) point to log to disk.  At all times, I update my
    GUI indicators on the front panel at a maximum of 4 times per second (I
    find that anything faster results in an uncomfortable display), so I
    fill up a FIFO with data in my acquisition / logging loop, and read the
    FIFO in the display loop.  The data in my GUI display can be up to
    250 milliseconds off, but I find this acceptable . As a side note, I
    need buffered Daq with hardware timing, as software timing results in
    lost data at 1000 Hz.
    This all works fine and dandy, but I am convinced that it is not the
    most elegant solution in the world.  Has anyone developed a
    buffered DAQ loop where the scan rate can be adjusted during
    operation?  I would like to change the rate of the E-Series card
    rather than relying on down-sampling as I am now doing. 
    The reason I have concern is that at the moment I am simulating my AI
    using MAX and when running the down-sampling routine, I consistently
    miss a particular event on the simulated data becuase the event in
    question on the simulated data always occurs at the same 'time', and I
    always miss it.  Granted, while it is unlikely that my measured
    signal and my acquisition are perfectly synchronized in the real world,
    this particular situation points out the weakness in my approach.
    More than anything, I am looking for ideas from the community to see
    how other people have solved similar problems, and to have you guys
    either tear apart my approach or tell me it is 'ok'.  What do you
    think?
    Wes Ramm, Cyth UK
    CLD, CPLI

    Adding to Alan's answer:
    One of the problems that comes with these tricks for variable-rate acquisition is being able to match up sample data with the time that it was sampled. 
    If you weren't using either of E-series board's counters, there is a nifty solution to this!  You'll be using 1 of the counters to generate the variable-rate sampling clock.  You can then use the 2nd counter to perform a buffered period measurement on the output of the 1st counter.  This gives you a hw-timed measurement of every sampling interval.  You would need to keep track of a cumulative sum of these periods to generate a hw-accurate timestamp value for each sample.
    Note:  the very first buffered period measurement is the time from starting the 2nd counter until the first active edge from the 1st.  For your app, you should ignore it.
    -Kevin P.

  • Does anyone know of an excellerator that I can down load to speed up my entire internet connection. I have dial up from windstream,i live in middle of no-where,KY and dont have access to high-speed intewrnet here, PLEASE HELP.

    My internet connection is very slow dial up thru windstream and they dont offer high speed where i live and neither does anyone except Hughes Net,but they are way to expensive. Not an option for me at this time. I used to have dial-up thru southeast telephone and they gave me an excellerator that sped up everything.

    Thanks for taking the time to respond to my question. No windstream doesnt offer that,i asked and they have no intention to do that in the near future. They plan on offering highspeed to everyone in the future,but as of now they dont offer it in my area and have no plans of replacing the phone lines in my area anytime soon either. so until they replace the lines in my area,its not available . I am glad you told me that i cant add it ...Doug

  • I changed from a dial up to a high speed network and can no longer get Firefox to work as my browser. What do I need to do?

    I changed from a dial up to a high speed network and can no longer get Firefox to work as my browser. What can I do.
    I did try to download Firefox again, but still will not work.

    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/Profile_backup

  • After installing Mountain Lion on my 17" MBP G-RAID mini connected via Tempo SATA Edge ExpressCard34 is no longer recognized. I restored icon and access by removing 34 card and substituting FW800 for eSATA. Any fix for the higher speed connection? TIA

    After installing Mountain Lion on my 17" MBP G-RAID mini connected via Tempo SATA Edge ExpressCard34 is no longer recognized. I restored icon and access by removing 34 card and substituting FW800 for eSATA. Any fix for the higher speed connection? TIA

    Looks like the Silicon Image drivers were moved to the incompatible software folder during install/upgrade.
    Downloaded latest drivers, errored out of install claiming that the drivers were from an unknown author!!!
    Emailed their tech support this evening describing problem.

  • High speed usb port?

    I have a older laptop. 5 or 6 years old.
    When I plug my ipod into the usb port a message pops up saying that this devise could preform faster, if I had a high speed usb port on my computer.
    Could this be the problem why I cant put songs from itunes onto the ipod?
    I get this message "The ipod "its name here" cannot be synced. The disk could not be read from or written to.

    You have a different problem. The iPod can work with the slower USB1 ports but data transfer is painfully slow. It seems that your iPod needs to be restored back to factory settings.

Maybe you are looking for

  • Deployment of Flash in a closed network

    Hello, my company wants to develop a flash plugin based video player that will run inside a webpage. Each of our customers run a website (that we create) instance in their own network. (i.e. http://customer_machine_hostname\my_company_website) There

  • Clear look on 12i EBS

    Hi, As i am new to 12i EBS i don't know any thing in it Just i have installed the 12i Vision database in linux And i know how to start and stop the db and apps In my installation folder i have noticed that inside /v01/oracle/VIS 3 folders are there (

  • Problem after running Activation-Bypass tool

    I have just purchased a Palm Pre Plus. I installed Java and the latest webOS SDK on my computer. I then flashed my Palm with webOS Doctor and ran the Activation -Bypass tool. After reboot my screen has "Check SIM-SOS only" written across the top and

  • Disappearing browse sequence

    I'm using RH7 and Windows 7. The browse sequences for my CHM files are no longer being shown. I can see them if I select View immediately after I generate the CHM file. However, if I then open the CHM file from the output location, which is on my C d

  • Wireless audio connection to external sound card

    Hi to all! I'm using a usb audio interface (Fast track pro) to my Dell Vostro computer. I use this interface to get better sound quality producing music and to use studio speakers, connect eventually some synth, record samples...nothing too much seri