I want to do RS232(115200 braud rate) and 5 channel(100H

z each) read simultaneously, what you think would be the best way. I have done some trials with the usual VIs you can find in demos however there is a delay which makes my RS232 data corrupted or my analog input read too slow to acquire the signal correct.What is the best way for continuous analog read and RS232 read.
Attachments:
portapres3.vi ‏158 KB

z each) read simultaneously, what you think would be the best way. I have done some trials with the usual VIs you can find in demos however there is a delay which makes my RS232 data corrupted or my analog input read too slow to acquire the signal correct.Thanks Pavan for your answer..
..so you think using the visa is the best way doing serial communication i thought the opposite...i would try it..
..ideally i want everything in one loop because i want to acquire both analog and serial simultaneously..

Similar Messages

  • Ceartion of User Defined Field in EXCHANGE RATE AND INDEXES

    Hi Experts,
                     I want to create  User Defined Field in EXCHANGE RATE AND INDEXES.But while creating the UDF from User Defined Field-Management unable to find the table for it.Write now My Client are using SAP B1 2007 Ptach-08.Is there any way out to create user defined field in EXCHANGE RATE AND INDEXES.
    Plz help me out on this issue.
    with regards,
    Pankaj K and Kamlesh N

    Pankaj,
    When you do the Manage User Fields area to define a UDF, all the possible areas where UDF's can be created in B1 is listed.  You would be able to create UDF's only on these.
    Suda

  • Maximum audio sample rate and bit depth question

    Anyone worked out what the maximum sample rates and bit depths AppleTV can output are?
    I'm digitising some old LPs and while I suspect I can get away with 48kHz sample rate and 16 bit depth, I'm not sure about 96kHz sample rate or 24bit resolution.
    If I import recordings as AIFFs or WAVs to iTunes it shows the recording parameters in iTunes, but my old Yamaha processor which accepts PCM doesn't show the source data values, though I know it can handle 96kHz 24bit from DVD audio.
    It takes no more time recording at any available sample rates or bit depths, so I might as well maximise an album's recording quality for archiving to DVD/posterity as I only want to do each LP once!
    If AppleTV downsamples however there wouldn't be much point streaming higher rates.
    I wonder how many people out there stream uncompressed audio to AppleTV? With external drives which will hold several hundred uncompressed CD albums is there any good reason not to these days when you are playing back via your hi-fi? (I confess most of my music is in MP3 format just because i haven't got round to ripping again uncompressed for AppleTV).
    No doubt there'll be a deluge of comments saying that recording LPs at high quality settings is a waste of time, but some of us still prefer the sound of vinyl over CD...
    AC

    I guess the answer to this question relies on someone having an external digital amp/decoder/processor that can display the source sample rate and bit depth during playback, together with some suitable 'demo' files.
    AC

  • Calculating motion rate and conveyor move in mm for every pulse of encoder

    Dear friends,
    I need to understand the calculation of motion rate for given line scan rate.
    i have line-scan camera connected to servo motor.
    i know that the line-scan camera can run at 7.2 khz line rate (7200 lines in 1 second).
    Each pixel need to be 0.1mm (in the direction of motion). 10 lines of scanning is 1mm.
    i need to scan image of object that its length is 400mm (0.1mm*4000lines)
    First, the Conveyor stop, the object that i need to test with the linescan camera is now 5cm from the camera.
    i want that the servo motor will move the conveyor for 45cm and stop. 
    (the conveyor accellerate, move const speed, decellerate, stop. the line scan camera connected to 10khz encoder for each revolution)
    Now i'm getting lost with the calculation.....
    if 1pixel = 0.1mm , then i need the conveyor belt be able to move 0.1mm for each pulse of the encoder???
    i want that the servo motor will rotate chain (like the attached image),
    but i dont know how i need to calculate the gear diameter, the chain pitch, etc...
    and specially, how this parameters influence the line scan rate, and what is the role of the encoder here...
    Thanks for any support.
    Moti 
    Attachments:
    Chain_gear.jpg ‏17 KB

    Discussion continued here:
    http://forums.ni.com/ni/board/message?board.id=200&thread.id=20051
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Retrive Rate and Amount field in Taxinvoice

    Hi Guru's,
    i want to retrive rate and Amount in Taxinvoice . i write follwing  code
    select kbetr kwert kschl from konv INTO CORRESPONDING FIELDS OF table it_konv
    where KNUMV = IT_VBrK-KNUMV and kschl eq 'ZRPR'.
    loop at it_konv.
    endloop.
    select kbetr kwert kschl from konv INTO CORRESPONDING FIELDS OF table it1_konv
    where KNUMV = IT_VBRK-KNUMV and kschl eq 'ZFAB'.
    loop at it1_konv.
    endloop.
    select kbetr kwert kschl from konv INTO CORRESPONDING FIELDS OF table it2_konv
    where KNUMV = IT_VBRK-KNUMV and kschl eq 'ZRLB'.
    loop at it2_konv .
    endloop.
    loop at it_vbrp.
    itabfinal-amount1 = it_konv-kbetr + it1_konv-kbetr + it2_konv-kbetr .
    itabfinal-value = it_konv-KWERT + it1_konv-KWERT + it2_konv-KWERT .
    append itabfinal.
    clear itabfinal-amount1.
    clear itabfinal-value.
    endloop.
    but this code get me output is 0.
    please Help Me send me code how to retrive value.
    Regards
    sam

    Hi,
    Why you r writing so many select query's on KONV.
    I think you can write the logic as follows
    select kbetr kwert kschl from konv INTO CORRESPONDING FIELDS OF table it_konv
    for all entries in IT_VBRK
    where KNUMV = IT_VBRK-KNUMV
       and ( kschl eq 'ZRPR'
            or kschl eq 'ZFAB'
            or kschl eq 'ZRLB' ) .
    loop at IT_VBRP.
    read table IT_VBRK with key ebeln = IT_VBRP-VBELN.
    if sy-subrc = 0.
    loop at IT_KONV where knumv = IT_VBRK-KNUMV
    sum the condition values
    endloop.
    endloop.
    With Regards,
    Dwarakanath.S

  • DASYLAB QUERIES on Sampling Rate and Block Size

    HELP!!!! I have been dwelling on DASYLAB for a few weeks regarding certain problems faced, yet hasn't come to any conclusion. Hope that someone would be able to help.Lots of thanks!
    1. I need to have more data points, thus I increase the sampling rate(SR). When sampling rate is increased, Block size(BS) will increase correspondingly.
    For low sampling rate (SR<100Hz) and Block size of 1, the recorded time in dasy and the real experimental time is the same. But problem starts when SR>100Hz for BS=1. I realized that the recorded time in dasylab differs from the real time. To solve the time difference problem, I've decided to use "AUTO" block size.
    Qn1: Is there any way to solve the time difference problem for high SR?
    Qn2: For Auto Block Size, Is the recorded result in dasylab at one time moment the actual value or has it been overwritten by the value from the previous block when AUTO BS is chosen.
    2. I've tried getting the result for both BS=1 and when BS is auto. Regardless of the sampling rate, the values gotten when BS=1 is always larger than that of Auto Block size. Qn1: Which is the actual result of the test?
    Qn2: Is there any best combination of the block size and sampling rate that can be used?
    Hope someone is able to help me with the above problem.
    Thanks-a-million!!!!!
    Message Edited by JasTan on 03-24-2008 05:37 AM

    Generally, the DASYLab sampling rate to block size ratio should be between 2:1 and 10:1.
    If your sample rate is 1000, the block size should be 500 to no smaller than 100.
    Very large block sizes that encompass more than 1 second worth of data often cause display delays that frustrate users.
    Very small block sizes that have less than 10 ms of data cause DASYLab to bog down.
    Sample rate of 100 samples / second and a block size of 1 is going to cause DASYLab to bog down.
    There are many factors that contribute to performance, or lack there of - the speed and on-board buffers of the data acquisition device, the speed, memory, and video capabilities of the computer, and the complexity of the worksheet. As a result, we cannot be more specific, other than to provide you with the rule of thumb above, and suggest that you experiment with various settings, as you have done.
    Usually the only reason that you want a small block size is for closed loop control applications. My usual advice is that DASYLab control is around 1 to 10 samples/second. Much faster, and delays start to set in. If you need fast, tight control loops, there are better solutions that don't involve Microsoft Windows and DASYLab.
    Q1 - without knowing more about your hardware, I cannot answer the question, but, see above. Keep the block size ratio between 2:1 and 10:1.
    Q2 - without knowing more about your hardware, and the driver, I'm not sure that I can fully answer the question. In general, the DASYLab driver instructs the DAQ device driver to program the DAQ device to a certain sampling rate and buffer size. The DASYLab driver then retrieves the data from the intermediate buffers, and feeds it to the DASYLab A/D Input module. If the intermediate buffers are too small, or the sample rate exceeds the capability of the built-in buffers on the hardwar, then data might be overwritten. You should have receive warning or error messages from the driver.
    Q3 - See above.
    It may be that your hardware driver is not configured correctly. What DAQ device, driver, DASYLab version, and operating system are you using? How much memory do you have? How complex is your worksheet? Are you doing control?
    Have you contacted your DASYLab reseller for more help? They should know your hardware better than I do.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • HD, Frame Rates and standards

    Hi All,
    I am sure I am trying to oversimplify a more complicated problem but i am hoping the answer is simple..
    We are working on a project that will be delivered in HD And SD Formats and used in the UK (PAL).
    Some of the assets we have received to use are in 29.97 frame rates and anything we create will be 25fps frame rates.
    The question is what do we build a project in - ideally we would build all in 25fps rate as the end result will be this and won't cause any problems when producing final formats. However the existing assets that are 29.97fps are rostrum rotations so any drop frames or rate changes become obviously jerky straight away.
    We could build all at 29.97fps but when we come to create SD formats we are going to end up using NTSC DVD settings which is a lesser resolution and may not play on certain DVD Players.. And if we transfer at the end to 25fps we are still going to see jerkiness?
    Hope this makes sense and anyones help would be most appreciated? Am i missing something fundamental..
    thanks in advance to all.. we have so much work to do and need to start it but if we start down the wrong route i fear we would have to start again!..
    Cheers
    Rob

    you might try converting the 29.97 to 25 in compressor. drop in the 29.97 footage and select what you want it to be. turn frame controls on and select so source footage plays at 25 fps. It should remap the frame count into the new frame count. obviously your duration will change. if you use an audio pass thru setting, make sure you enable audio rather than pass through or your sync will be amiss.

  • Why LV 6.1 and Nidaq 6.9.3 can't acquire low sampling rate and high frame size

    My platform is LV 6.1, Nidaq 6.9 on win98
    Everytime i want to acquire data with sampling rate 6 Hz
    and frame size 7200, it acquire just 2 or more data (under 10 data), never 7200 data.

    Greetings,
    I assume by "frame size" you are referring to the numbers of samples to acquire. Please launch the "Find Examples" browser in LabVIEW 6.1. Open the example "Acquire N Scans.vi." This VI has only 4 inputs. After setting your device and channel you will set number of scans to acquire to 7200 and your scan rate will be 6. Since you're only acquiring at 6Hz and wanting 7200 samples, this VI will take 20 minutes to run. At that point the graph will be updated with your data.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • How do I rate and label files in Bridge CS6?

    Fulltime student and a new cloud member. Having problems with first project. I can't nor can the instructor figure out why I'm not able to rate and label files in Bridge CS6.

    No clue why I didn't think about this.
    Isn't that why we are here?...
    But serious, I understand your wish for a big preview but not your wish for clicking, never been a fan of RSI myself
    It is a long standing issue rating and labeling are not the same in all circumstances but clicking in the preview window might be a difficult wish to fulfill. There are many ways to use Bridge but if you like big previews consider this:
    In the Bridge prefs advance tab select 'generate monitor sized previews' (this should create good full screen previews)
    Then either select a bunch of files in the content window you want to judge or just start at the first file.
    Hit space bar and full screen preview starts showing (when all files have been cached it should take very less time or real time to show good previews.
    With arrow keys cycle through the files and with cmd + . or cmd + , (comma, I now realize I had it wrong in the other post) to increase or decrease ratings. All the keys are adjustable with only one hand and very close to each other. And clicking on a spot does show a 100 % preview of that part.
    But as said before, so many users, so many workflows

  • Streaming multi bit rate and single bit rate

    I'm trying to simplify my setup.  Sometimes I need to stream multi bit rate and sometimes I need to stream single bit rate.  This is due to the internet connections I'm sending from sometimes have poor upstream and multi-bit rate is too much bandwidth to send... So....  We resort to single bitrate.  As I understand my encoder and server settings are different for each of these...  I created a single and multi-bitrate profile for Adobe Media Encoder.  That was simple enough.  My question/concern is in regards the server settings.  I would like to have a server setting for multi-bitrate and a setting for single bit rate.  My goal is to void making changes  on the server.  I simply want to load the desired Adobe Media Encoder Profile.  So, do I need to create a dedicated event for single bitrate?  Below is the syntax I send to my server from Adobe Live Encoder.  Instead of using 'liveevent' for my event would I just give it a different name?  Does this stand true for my .m3u8 files?  I'm confused to how to name differnet event/streams.... 
    livestream%i?adbe-live-event=liveevent&adbe-record-mode=record

    Hi,
    When you use a setting like: livestream%i?adbe-live-event=liveevent then the encoder expects multibitrate streams (the %i is replaced by a number so the streams published will be livestream1, livestream2 and livestream3). You cannot use the same setting in the encoder for single stream. Instead you'll have to use livestream?adbe-live-event=<event_name>. You could create a new event under the same application.
    Hope this helps. Let me know if you have any other queries.
    Thanks,
    Apurva

  • Bit Rate and Encoding

    Hey y'all--
    I've read all the posts about this, but can someone please give me a simple answer (if one exists)?
    When I format (encode) my project, I would like to start with high settings then back-off when I run out of room on the DVD. The media (aside from Menus) is a series of 3min animated films (4 now, more later). My encode settings are as follows:
    FIELD ORDER: Auto
    MODE: Two Pass VBR
    BIT RATE: 5.0
    MAX BIT RATE: 7.5
    MOTION ESTIMATION: Best
    Is this a good place to start or should I up the bit rate settings? I'm just looking for a benchmark.
    Thanks in advance.
    G4 Dual 1.25; 2gigs Ram   Mac OS X (10.4.4)  

    Did you Google for a bitrate calculator as I suggested?
    http://www.videohelp.com/calc.htm
    With an audio bitrate of 192kbps (i.e. Dolby Digital encoded by Compressor 2 or A.Pack), it tells me that 90 minutes of video should be encoded at an AVERAGE bitrate of 6.6Mbps to fill a single DVD-R.
    If you want, you can do that as a constant bitrate encode of 6.6. You can also do a two-pass VBR encode with average of 6.6 and maximum of (say) 7.5 (because as David points out again, there are issues with high bitrate playback off of DVD-Rs).
    If you want to get more on the disc, encoded at a lower average bitrate.
    If you want to split it across two discs and encode everything at a high constant bitrate, you can do that too.
    If you are going to get this disc REPLICATED and therefore not have the DVD-R playback issues, you can encode all video at 9.5Mbps and fit 40 minutes onto a DVD-5, or 80 minutes onto a DVD-9.
    Or you can lower bitrates and resolutions dramatically and fit a lot more onto a single disc.
    It completely depends on your project, your delivery requirements, and your quality requirements.

  • Stock quote rate and time in a small portlet

    Hi Gurus,
    Is there any website from where I can get the stock quote of my company and show it in a small 1 inchX1 inch size portlet. I don't want to show the entire content of the page. I just want to show the quote rate and time. I have tried Yahoo, Quote, Nasdaq. I have tried to use Web clipping portlet to grab that part alone. They have some script calls from that area to the other part of the page. So, when I open the portlet, it gives me the pop up script error. Gurus, Can you post a reply if you have any idea about this.
    Thanks
    Raj
    -------

    You can use the Web Page data source in OmniPortlet. There are also various Stock Quote Web Services or XML feeds that can be used with OmniPortlet.
    If you need more information, please post your question to the PDK forum.
    Regards,
    Jerry
    PortalPM

  • Rate and label both nef and jpg files

    Hello everyone, this probably sounds like a silly newbie question, but is there a simple way to rate and label both the nef and jpg files in bridge.
    I work on a pc and right now I have to click on the nef file then ctrl click the jpg file then ctrl #(1-9) to rate both. It seems like a lot of work. When I use batch processing to rename my files it processes them both so i get a raw and jpg with the same name, so why not with labels?
    I'm trying to create an easy working flow to my folders and pictures. My camera settings are set to raw (nef) and jpg. I like to have access to both incase i need to send out a jpg etc etc.
    Can someone point me in the general direction on how to keep my workflow clean and simple and how to affect both files, because this is becoming really tedious!
    Thanks

    Well, first of all, it seems to me that you are creating a lot of extra work for yourself by creating your NEF and a JPEG. If any adjustments have to be done then you have to apply to those adjustments to two different images rather than just one. I think it's going a little far, personally, to have a JPEG copy of every image "just in case" you need to send out a JPEG. Why not just create a JPEG from the NEF file when you need one? But it's your workflow and you can do what ever you want.
    Yes, I realize my second suggestion didn't solve the problem. But the problem cannot be solved with Bridge, at least the way it is right now. You have to select the images that you want rated. It just seems to me that your are compounding your work by creating both images all the time. If you have a certain need where you need to produce JPEG images in a hurry for someone, I can understand using the feature. But when it is so easy to create JPEG images that have all of the adjustments, I don't understand the need to have a duplicate JPEG of every image. Again, it's your workflow.
    You might speed things up a little bit by going into your Bridge preferences and fix it so that you don't have to hold the control key when applying star ratings. Then you can just hit the number and then the arrow keys to move to the next one.
    Another very simple method of creating JPEG copies is to use either the Image Processor or Dr. Brown's 1-2-3 processor, which is a free download from his website. Again, I just think you are creating a lot of work for yourself by having JPEG copies of every image. Unless you are an absolute masterful photographer who never has to make any adjustments to your images, you are doubling the amount of postprocessing required. I promise, I won't interfere in this one anymore.

  • Conflict between the saved data and the sampling rate and samples to read using PXI 6070e

    Hello, I am using PXI 6070e to read an analog voltage. I was sampling at 6.6 MHz and the samples to read were 10. So, that means it should sample 10 points every 1.5 um. The x-axis of the graph on the control panel was showing ns and us scale, which I think because of the fast sampling and acquiring data. I use "write to measurement file" block to save the data. However, the data was saved every 0.4 second and as 35 points data at the beginning of each cycle (e.g. 35 points at 0.4 sec and 35 at 0.8 sec, and so on) and there was no data in between. Can anyone help me how there are 35 reading points every cycle? I could not find the relation between the sampling rate and samples to read, to 35 points every 0.4 second!
    Another thing, do I need to add a filter after acquiring the data (after the DAQ assistant block)? Is there anti-aliasing filter is built in PXI 6070e?
    Thanks for the help in advance,
    Alaeddin

    I'm not seeing anything that points to this issue.  Your DAQ is set to continuous acquire.  I'm not sure if this is really what you want because your DAQ buffer will keep overwriting.  You probably just want to set to Read N Samples.
    I'm not a fan of using the express VIs.  And since you are writing to a TDMS file, I would use the Stream to TDMS option in DAQmx.  If you use the LabVIEW Example Finder, search for "TDMS Log" for a list of some good examples.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Spot rate and Exchange rate

    Dear SDN's
    I want to know,
    What is spot rate in FI?
    What is difference between spot rate and exchange rate?
    where we can find this spot rate in R/3?
    i am doing report for FI where the client want this spot rate? where the client is not maintaining any practice in R/3 for this spot rate. i would be very grateful for your valuable suggestions.
    Good day,
    thanks and regards
    Arun

    Hi
    A forward exchange transaction can be regarded as a future spot exchange transaction, because it comprises the future purchase or sales of foreign exchange.
    Check the link for more info
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/f2fb76a87711d198b00000e8a5999a/frameset.htm
    You use spot exchange transactions to buy and sell internationally traded currencies against other currencies. These orders have very short expiry terms. It is a binding agreement for the immediate exchange of foreign exchange. As a rule, the foreign exchange is credited or delivered two days after conclusion of the business transaction.
    Also Check the link
    http://help.sap.com/saphelp_ides/helpdata/en/8f/21b3c08e8011d2bc9a0060087d1bfc/frameset.htm
    Regards
    Shilpa

Maybe you are looking for

  • AP AGING REPORT PARKED INVOICE

    Hi Experts, I have one new requirement in AP Aging Report Parked invoice Needs to display report out put as below. Days                        Count                      Amount 0-30 Days 31-60 Days 61-90 Days 91-120 Days 121-150 Days 151-180 Days 181

  • How do I change the icloud email address on my iphone 4s

    How can I change the icloud account/ email address on my iphone 4s

  • Can't get uzbl to work [solved]

    I installed uzbl-git with yaourt. Then I copied /usr/share/uzbl/examples/config/uzbl to ~/.config Then I try to start uzbl-browser with dmenu. It flashes the screen grey for a second then nothing happens. I missed a step somewhere? Edit: I rebuilded

  • Audio works in audio chat, but not in video chats.

    So, when I start an audio chat with a friend, we can hear each other just fine. I then switch over to a video chat, and she can hear me, but I can't hear her. I already had to do all sorts of port forwarding in the firewall settings and router in ord

  • Business Rule question

    Hi how can I achieve the following in a business rule. I want to copy some data from a cost center to multiple cost centers I will have a runtime propmpt for a source cost center and multiple runtime propmpts for multiple cost centers. DATACOPY from