How to increase the frequency of sampling of several sensors via RS - 485 and writing files of measure?

I have a vi that:

-Locate the USB port that RS485 communication device is connected

-sends a command to each sensor

-reads a response from each sensor

-performs a calculation on the answer

-saves the response to a file of measure

I used a flat sequence to query each sensor.  I am trying to find a way to modify this vi in order to increase the frequency of sampling on the sensors.  Currently, it takes 2000ms for question 4 sensors and write tot the measures file.  Anyone have any ideas on how to speed up by programming?  I am concsidering on the purchase of a device USB DAQ (USB6000) and rewriting of the vi.  I was wondering if there was some tweek I caould make on the vi.

Thank you!

I meant put the time-out on the line, then the reading will be either timeout after 200ms or read the 2 bytes.  Whichever is faster.  Then deletes this 200ms waiting you.  I have attached your vi to show you what I wanted.  I did not notice that it is a hardware or wither then you might want to look in the data acquisition functions.  It will clean up your code and are very easy to use.

Tags: NI Software

Similar Questions

  • How to increase the frequency of RAM on Satellite L550 - 11K?

    Hello

    I have laptop Toshiba Satellite L550 - 11K and I use 2 x 2 GB altogether 4 gb pc2-6400 800 MHz ram and I run cpu-z and this program showed me that my Rams are working frequency 400.

    How can I increase the 800 MHz?

    According to specification for laptop, your laptop must have 2 x 2 GB SO - DIMM DDR2 800 MHz RAM inside.

  • How to change the frequency of sampling DAQmx during execution?

    Hello guys. I'm using LabVIEW in the measures of the frequency response function. My application requires the sampling rate to change according to the frequency of the signal during execution.

    I tried to do it with a "structure of the event" and it works well when I change the rate manually via the front control but it backs do not work when I set up the sampling frequency to vary automatically (just a frequency sweep). Photos below:

    Why not the structure of the event feels the change in the value of "rate"?

    Thanks in advance for your help.

    Lucas

    Hello

    In "automatic mode" to change the sampling rate, the calculated rate is written in the local variable (as illustrated in the code).  Structure of the event does not change value in the local variable as an event.

    In order to make the structure of the event to recognize the change in value of an indicator such as event: write the new value to the property "Value (Sgnl)" corrosponding node to rate indicator (see figure below).  This will make the structure of the event accept the value change in the indicator as event.

    Note: Use architectures such as producers and consumers for such applications, which makes the application readable and expandable.

    See rear queries if any.

  • Increase the frequency of sampling on the cdaq 9174 with neither 9212

    Hi all!

    I am trying to increase my sampling rate on my nor 9212, that I use with a cdaq 9174 and LV 2015. Apparently, the sampling frequency depends on the time of conversion and can be changed between the high speed, the Best 60 Hz rejection, best 50 Hz rejection, and high resolution. (see http://www.ni.com/pdf/manuals/374358a_02.pdf, page 6). My maximum sampling frequency is 1.8 Hz, which indicates the use of the mode of synchronization of high resolution

    I found this documentation explaining how to change with a crio:

    http://zone.NI.com/reference/en-XX/help/373197D-01/criodevicehelp/cRIO-9212_rt/

    However, I can't change it when the module is not in my project with my cdaq. My question is: How can I change the conversion without a crio time?

    Thank you very much!

    X0N0

    Hi X0N0,

    There is a DAQmx property for this:

    You are welcome!

  • How to lock the frequency of sampling for 5673 and 5663

    Hello

    In general I try set the transmitter and the receiver.  It seems easy to lock the carrier frequency, but no matter what I do, I seem to have a drift in my sampling frequency (order of 1 ppm).

    Is the sampling clock in the digitizer 5663 linked to the same reference like OL clock?  ... I didn't know that I needed the mechanism TClk here since I don't care for delay...

    Any thoughts are greatly appreciated.  Here are some details.

    I use the 5673 as transitter and 5663 as receiver.  I noticed as follows:
    1. when each use a "reference clock Source' = OnboardClock I have a carrier notable offset to the receiver (for example carrier 5.8 GHz has ~ 7 KHz offset) and that's fine.
    2. when each use a "clock reference Source" = clock, with the physically attached chassis PXI, I see no delay perceptible carrier to the receiver.
    3. what 5673 uses 'Reference clock Source' = OnboardClock, using 'Reference clock Source' 5663 = ClkIn (ClkIn/Out physically attached), I see no delay perceptible carrier to the receiver.


  • How to increase the sampling rate in this VI?

    Hi all

    I have recently inherited this mess of a VI and can not figure out how to increase the sampling rate. I tried to change the "ms of waiting ' clock, but it does not add more data points." The main VI, as well as the Subvi, which contains a Daq Assistant to a load cell and LVDT is attached. Any ideas on how to improve the sampling without a complete overhaul would be greatly appreciated!

    Thanks in advance!

    If you are grateful, feel free to give congratulations and mark the topic as resolved.

  • How to increase the size of the tabs?

    http://i.imgur.com/pMYJr4r.PNG

    I've been optimizing the menu bar to save as much space as possible and I'm frankly pleased with what I got, with the exception of a fact of monkey - tabs are too small, because the space is taken by the address bar. How to increase the length of the decrease address bar bi-bouteille tab?

    Hello VladimirVilimaitis, you might try the following extension: https://addons.mozilla.org/firefox/addon/custom-tab-width/

  • How to increase the size of the menu bar?

    My bar menu and all the buttons at the top suddenly, all are much smaller. Any ideas on how to increase the size of the top of the screen? IM talking not about the size of Web pages, just the menus up to the top.

    Don't want to use the menu bar and not the Firefox menu button?

    See also:

    You had previously placed all the items in the Menu bar?

    You can set the layout.css.devPixelsPerPx pref on the topic: config page on 1.0 or Windows 8 to 1.25 and if necessary adjust layout.css.devPixelsPerPx from 1.0 to 0.1 or 0.05 steps (1.1 or 0.9) do the icons to display properly.

    See also:

    An extension allows you to adjust the size of the text in the user interface and zoom the page in the browser window.

    You can watch this extension to adjust the font size for the UI (toolbar).

    You can watch the Default FullZoom Level or NoScript extension if the web pages need to be adjusted after the change of layout.css.devPixelsPerPx.

  • Toshiba 24W1433DG - how to increase the size of the subtitles

    Good evening.

    I bought model lcd 24W1433DG I
    in trouble in subtitles divx, movies meto a pen and turn the LCD screen and all the subtitles of movies are very small and the big give computer... I went to the maximum value and the 30, but the legend is small (I mean the subtitles of attention for divx movies) would like to help

    How to increase the size of the subtitles.

    Thank you

    Message has been translated

    Hello

    As far as I know, the size of the subtitles can be increased.

  • How to increase the video memory on my Satellite 1800-254?

    A friend give me a Toshiba satellite 1800 Lalonde - 254 s for use only watch movies for my kids. With graphics memory, it has its impossible to reproduce movies, so I increased the RAM to 512 MB graphics memory is 8 MB. How I increase the graphics memory? Is it possible?

    Thank you very much

    Titanico

    (Excuse my English, I use a translator)

    This old laptop has a graphics card with shared memory. In other words, when you have more RAM inside more memory will be used for graphical operations. According to the specifications of the laptop this old notebook was shipped with 128 MB of RAM, but can be improved up to 512 MB.

    Trying to find internet modules two PC100 256 MB with part number PA3069U - 1. 25 M and update.
    That's all what you can do about it.

  • How to increase the size of the print?

    I think that I did something and now I am printing is very small fonts that I can barely read.

    Can is it you pls let me know how to increase the fonts 'impression '?
    TKS a lot, Marco

    Your browser > file > Page Setup >scale

  • How to increase the number of addresses in the BCC field?

    How to increase the number of addresses in the BCC of email field?

    What do you mean by increase in the number of addresses?  The CCC line will continue to accept addresses that you add them in there. Keep just by typing in the addresses separated by a semi colon ";

  • Satellite A300-18 has: how to increase the screen resolution

    I have recently buy a Toshiba Satellite A300-18 a, and I want to increase the resolution of the screen.
    Currently the max resolution is 1280 x 800.

    Does anyone know how to increase the resolution?
    Where can I find the drivers to increase?

    Thank you

    Henrique

    Hello

    I don t think a new graphics driver would allow a higher screen resolution on your laptop A300.
    Have you checked your manual for more details?

    I downloaded the user manual of the Europe of Toshiba page and discovered that the display is a 15.4 WXGA 16Mill colors with the following resolution: 1280 horizontal and 800 pixels vertical.

    It seems that you are already using the highest available resolution and therefore you will not be able to wear to higher values.

  • I want to maintain the "frequency of sampling to report signal frequency" a constant.

    I want to generate sine waves of varying frequencies, say, from 1 Hz to 1 kHz. Sometimes, a swept frequency sine wave. The problem is that I want to maintain the "frequency of sampling to report signal frequency" a constant. That means, the sampling frequency must be 20 or 30 times the frequency of the signal. This should be done automatically. For example, a sweep of 1-10 Hz, if the sampling frequency is 30 Hz at the beginning, it should be automatically updated at 300 Hz as the frequency of the signal reaches 100 Hz. Someone you will suggest a possible solution?

    The basic generating function function has an entry titled "sampling info". It is a cluster and one of the elements is the number of samples. You just need to set this based on your frequency.

    I suggest strongly that follow you the course 101 of LabVIEW.

  • How to increase the duration of each clip in movie maker?

    How to increase the duration of each clip in movie maker?

    Windows Movie Maker or Windows LIVE Movie Maker?

    Which one?

    For Windows Live Movie Maker...

    Open WLMM > toolbar, click Edit > duration, click pointer to change the number of duration.

    For Windows Movie Maker, which I don't have (I use win 7 with WLMM)...

    Open WMM > tools > Options > advanced > default duration > duration photo...

Maybe you are looking for

  • Get the distance of kinect sensor depth with kinaesthesia

    Hello How can I get the distance to the nearest object? I use kinesthesia toolkit.

  • black screen in Internet Explorer

    PC opens without fault, but the attempt to access Internet Explorer gets met with black screen, UNLESS I have "Start without Add-ons. Homepage is Google, but was no problem until lately. Help!

  • My Windows Media Player does not detect a burner.

    I recently downloaded Napster to download music and since I did, somehow now, windows media player is not allow me to burn the music I download on a CD, it says "connect a burner and restart player.» I can listen to music on the computer, but now it

  • My Extension of Ripple Chrome will not package or package & sign

    I will have questions my application of packaging. I put all the directories correctly. I have double and triple checked. Note that the package and the launch is not put in evidence and in the settings section, he finds no simulators even though I in

  • Animated GIF field loses alignment

    Hello I have a background image set to a vertical Manager... n then I want to align a field led to a certain position on the screen... I tried to add the gif animated image to a manager of vertical and the substitution of the layout of this Manager p