Timed alternating binary signal sent to arduino

I am creating a low resolution machine vision device and I am using 4 analog to digital multiplexers to control my sensors.
I want to send a timed alternating binary number to the digital pins on the multiplexer but can't figure out how.
Essentially, I am trying to generate an 16 bit counter and send the status of each individual bit to a different digital pin on the arduino.
Can someone please help?
My code isn't very intuitive at the moment but I can post it if anyone wants to have a look.
Thank you!

Hello Haley,
I am indeed using the toolkit. I am using an arduino mega 2560 as well. I am also using 4 of these: https://www.sparkfun.com/products/9056 to control my 8x8 array.
I want to control the digital inputs on the mux board with a rotating timer.
I have attached my program. Each group of four digital writes are intended to represent a multiplexer. I want to tie the respective pins from each mux together ie: all 4 pin 0s together and have them run on the same clock.
The cycle time isn't a priority at the moment.
Thank you so much for your help
Attachments:
multiplexer complete.vi ‏450 KB

Similar Messages

  • Universal Library: Sending Binary Signal to instrument?

    I'm having problems controlling a frequency driver using a PCI-DIO48H control board from Measurement & Computing using Labview 5.1 with Universal Library. The manufacturer of the frequency driver indicates that it needs to receive a binary signal to control its frequency. They provide a conversion from the desired frequency to a decimal value that then needs to be converted to binary and sent to the instrument. How do I send a binary signal to my instrument when the digital output vi (DOUT) won't accept a binary string...only "value". For fun I wrote in a few numeric values (to see if the driver was receiving a signal) and the frequency did change..but not in a predictable manner. The ultimate goal is to st
    ep scan across a range of frequencies but I need to know what "value" to send to my instrument. Thanks in advance for any help.

    The first concern should be to get this known frequency to work properly. Could it be that the logic levels on the digital lines needs to be inverted? Or might it be possible that the connector is plugged in backwards? (I'm not familiar with the type of connector you mentioned.) Without making HW changes, in your application you could try just applying the inverse or reverse of this known value.
    Inverse of 64424509 is 4230542786 (inverting all the binary bits)
    Reverse of 64424509 is 3159419840 (reversing the 32-bit binary number)
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Noise from DAQ signals sent through a 2532 switch

    Hello,
    I may have a hopeless case here, but it's worth a shot....
    I am trying to send DAQ analog voltage time traces through a 2532b switch, and then to my DUT. When I measure the DUT without the switch, my noise level is very low. When I route signals through the switch to the DUT, the noise is increased (as expected) but to a degree that makes this system totally useless for my application. Is the 2532 not designed to route analog signals? Can I hope to send analog signals through my switch with say a doubling in noise instead of a 15x increase in noise?
    I have posted a schematic of how my system is configured. Note that wherever possible, I am using BNCs. I even threaded the 2532 ribbon cables through a 1/2 in. tinned copper braid, so the system is about as well shielded as is possible with this hardware. I've also posted signal sent to the DUT (in this case a dummy 1Mohm resistor) using a 1Mhz sampling rate.
    Thanks, everyone!
    Attachments:
    setup.png ‏23 KB
    no switch.PNG ‏72 KB
    with switch (2).PNG ‏75 KB

    Hi Frank,
    Sorry I should have included more information. The DAQ is outputting a voltage signal, for example a 1Hz 1V sin wave. This signal serves as the external voltage source for a potentiostat, such that the potentiostat sources the signal it receives from the DAQ. The potentistat has hi and low leads (working electrode and counter electrode) which are routed through the switch before going to the DUT. The potentiostat then measures the actual applied voltage and the measured current and outputs them as voltage signals which are fed directly into the DAQ.
    The breakout boxes are all shielded and so are the cables. The DUT is in a faraday cage.
    As far as noise sources, the building ground is not terrific but it is pretty good. 60hz noise is present, but the fft spectrum of the noisy signal also contains prominent signals at 80kHz and higher. The potentiostat is designed for high bandwidth, low current applicaitons and so has very favorable noise. The PXIe is the only computer on in the room, and all electronics are plugged into a isolated power supply (it think it is generically called a UPS). I've turned off all other equipment in the room including the lights.
    Anyways, the noise only shows up when I route the signal from the potentiostat through the switch. When I send the signal from the potentiostat directly to the DUT, the noise is great (see attachments in previous posts). I would blame the extra noise on a ground loop except that as I have set it up, routing the signal through the switch does not introduce any extra paths to ground.
    Thanks for taking a look at this!
    -Gim

  • How to control the variables in 'timing' in simulate signal palette by user numeric control?

    is there a way to control the timings of the simulate signal function (i.e. samples per hz, num of sample, etc) by user input (numeric ctrl)? You could easily do so for amplitude, freq, etc but not the timing.
    Many thanks,

    Are you referring to an Express VI?
    I don't typically use the Express VI's because they do not offer the customization that I need or want.  They are configured by double clicking the icon and all settings are from within.  You already know that.  Some Express VI's do offer more controls.  But this one has only the error in control.
    However, you can right click it and select "Open Fron Panel". 
    It will ask you if you want to convert the Express VI to a standard sub-vi. Select Convert.
    You will then have a subvi that has all the input controls that you need
    Message Edited by Ray.R on 03-14-2009 10:32 AM
    Attachments:
    SimulateSignal.PNG ‏2 KB
    SimSignalOpenFP.PNG ‏7 KB
    SimSignalConvert.PNG ‏4 KB

  • OWS or OAS and CGI's signals sent

    Hello
    I've got a question about CGI and OWS (or OAS, it's the same problem)
    I've got a C compiled program which intercept signals (especially SIGUSR1) and execute a task (for exemple a simple "printf" and exit
    The program do an infinite loop
    program. When i execute this program in a shell window, the program loop infinitely which is logical. In a second shell window i send signal SIGUSR1 (with a "kill -USR1") to the process of the program. Immediatly, the program execute the task and exit. The program works perfectly.
    Now, i put the program in a cgi directory configured in a Web listener
    I execute the program in a navigator (Netscape) with an url likes http://my_server/my_cgi_directory/my_program
    The program loops
    I creates a cgi program (a shell) which gets the id process of the program which loops and send the USR1 signal. I put this cgi program in my cgi directory.
    In a second navigator, i launch the cgi program which normally send USR1 signal, and the program which loops should execute the correctly task and exit as it does.
    And now, the program don't exit, in fact it doesn't launch the task.
    I've got the same problem with OWS 3.02, OAS 4.08, linux, aix platform.
    I've tried to send the USR1 signal in a window shell but no action, the signals are blocked.
    The only two signals KILL and STOP works properly, in a window shell AND in an URL with navigator.
    Have you got this problem too ?? Which is the solution ??? I'have open a call to ORACLE SUPPORT but no response, they say the problem perhaps will never be solved (for them, it may not be a BUG)
    Thanks in advance
    null

    Regarding to issue #1,
    I would suggest to the change your virtual path to physical path mapping setting in OAS. The OJSP engine will lookup pages relative to your physical path (not the default doc root).
    Regarding to issue #2,
    Unfortunately, the information you provided is rather limited. It's difficult to do some definite diagnositic based the brief description. Sorry.
    null

  • PDF binary sent to server each roundtrip?!

    Hi all,
    I'm on NW CE 7.11, integrating WDJ with SIFbA.
    I would really appreciate some help on the following problem:
    in my application we have 2 views, accessed in sequence by users.
    View 1 displays ("usepdf" mode) a PDF retrieved from db.
    View 2 allows users to perform search on backend and so on.
    The problem is that at each server roundtrip the binary is sent to the server, even when View 1 is no longer visible.
    As a consequence, when in view 2 a very simple interaction has to take place, the whole binary from view 1 is sent to the server as well.
    This is a major performance issue with large binaries (~1mb).
    I would like to tell the framework to send the PDF to server only when really necessary
    How can this be done?
    Thanks regards
    Vincenzo

    Hi Vincenzo,
    If you haven't tried it already you can use the setting "Allow Form Rendering to be Cached on Server". This is found on the form properties on the Performance tab. This will improve performance as the form does not need to be rendered for each round trip, however I don't believe that it prevent the round trip altogether. You may want to post this on the WDJ forum as well.
    Let us know how you go.
    Regards,
    Ben.

  • How to measure the phase of a sinusoidal signal?

    I need to measure the frequency and the phase of a sinusoidal signal. I tried to use the Advanced Single Tone Measurements.vi but the phase measured in each iteration (each second) keeps changing (the measured frequency is not in integral Hz, so the first point of the next iteration is at a location different from the location of the first point of the current iteration...I guess this is the reason). How can really measure the phase of a signal (not always changing with time)? When I change the phase of the input sinusoidal signal, the measured phase should be changed though.
    I'm using LabVIEW 7.1 and PCI-6110.
    Thank you very much!
    Marlon

    Marlon,
    Without DAQ hardware I cannot run your VI. DAQmx is not supported on my platform (Mac OS X), so I cannot examine your VI in detail.
    1. The AI VI will wait until it has the amount of data specified. So if you are collecting one second's worth of data at a time, it will wait one second before completing. The 50 ms Wait will run in parallel, so it has no effect on the timing in this case.
    2. Continuous AO is possible, depending on the hardware you have. However, I have no experience with implementing it. Since your frequency is such that you do not end the AO data segment at the end of a signal cycle, you need to be careful to avoid discontinuities in the signal sent to the AO.
    3. There is no data dependency between the AI and the AO. It is possible that the AO could run after the AI in any given iteration of the loop.
    4. Your phase reference should be the excitation signal. The best method of evaluating the response of the beam would be to use two sensors, one at the shaker and one at the tip. Then measure the phase shift of the signal at the tip with respect to the shaker signal. If two sensors cannot be used, either measure the voltage sent to the shaker or use the simulated signal that you send to the AO as the reference. In either case you would need to compensate for the response of the shaker.
    5. Consider the phase shift in the filter. The steady state phase shift is about 14 degrees. The initial transient lasts about 5 cycles of the input waveform.
    6. Your simulation sampling rate is 1000 samples/second. While this satisfies the Nyquist criterion for a 379 Hz signal, it does not give you much data to work with for the phase information. If the hardware will handle it, I would go to 10000 samples/second.
    Lynn

  • Conversion of binary to number

    Hello,
    I have a signal conditioner controlled through serial communication with ASCII commands. Once the start command is received, there is a continuous stream of offset binary data sent and read through the serial Read Indicator. The manual informs me that I must first condition the offset binary values by subtracting 2048 from the raw values to produce a 2's complement value,  it also mentions that the data is encoded in 12 bits so negative numbers must be properly sign extended to move the data into 16 bit words used by the PC. I am not familiar with binary numbers and am unsure on where to start. If someone could provide some insight and suggestions on what my first step would be to converting the binary values into number format, that would be greatly appreciated.
    Thank you in advance,
    Jena

    That won't work because he's not receiving the string the way you think it is. The hex display is an interpretation of the underlying byte values. It is not the same as number written out in hex as a string. Your conversion assumes he's getting the character 1, followed by the character 8, followed by the character 0, followed by the character 0, followed by a space character.
    The simplest way is to use the Type Cast function, 'cause that's what it's there for. Wire in an array of the datatype you want. The thing to keep in mind is that even though the data may be fundamentally 12 bits you need to deal with multiples of 8 because a serial read will read bytes, not bits. Thus, you can convert your string to an array of I16 numbers like this:
    Message Edited by smercurio_fc on 04-08-2008 01:07 PM
    Attachments:
    Example_VI_BD2.png ‏2 KB

  • Catching POSIX signals with labview

    Hi,
    is there a way to catch POSIX signals with LabVIEW.
    Im building a LabVIEW Client (Linux AND Windows) to a non LV Server
    (Linux, C). All works fine except the catching of the interrupts sent
    by the server. The server sends interupts using POSIX signals. For full
    functionality I should be able to catch this signals. How can I do
    that?
    Thanks for your help
    Ulrich

    Interesting project!
    I looks like a few people have tackled decoding the data (both WWV and WWVB) using reciever modules that create a digital signal stream and Arduinos to decode the data.
    How about GPS based time? Here is reciever/decoder module that provides a decoded serial data stream:
    http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/GPSManualV1.1.pdf
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Decoding NIST WWVB signals with LabVIEW

    Hi All,
    I was wondering if anyone had code for decoding the NIST WWVB signal from CO.  Wikipedia: http://en.wikipedia.org/wiki/WWVB
    Sometimes this is incorrectly referred to as the atomic clock.
    Since this is fairly old I figured there would be something on the forums but to my surprise nothing I could find.
    This is for a specific application where I need a very low cost timing signal outside.  I have a receiver outputting the signal shown in the Wikipedia link above and access to LabVIEW I/O input DAQ, CRIO, sbRIO etc.
    Regards,
    -SS

    Interesting project!
    I looks like a few people have tackled decoding the data (both WWV and WWVB) using reciever modules that create a digital signal stream and Arduinos to decode the data.
    How about GPS based time? Here is reciever/decoder module that provides a decoded serial data stream:
    http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/GPSManualV1.1.pdf
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Generating a 10-bit signal through USB-6363

    Greetings,
    I am needing to characterize a 10-bit DAC at work using Labview and the NI USB-6363. I have very little experience using Labview and need some direction in completing this task. We are only interested in the INL and DNL. What I have in mind is outputing the 10 binary signal to the DAC. The DAC's output is going to a digital multimeter that will be linked back to Labview via IEEE-488 to USB connection.
    I have all this setup, I'm just getting lost with how to go about doing this in Labview. Thanks!
    Solved!
    Go to Solution.

    Hi joeyjojo,
    The USB-6363 uses the daqmx library as Jason mentioned. A good overview of the daqmx driver can also be found here. It sounds like you're going to be doing digital generation. Definitely check out the examples that Jason sent you to.... especially the one called write digital channel. 
    Use the DAQmx write VI to configure the device to  read a digital 2D U32 NChannel NSample. This will take in a 2-D array where each row corresponds to a new channel and each column is a new sample. You can also look in the daqmx help to get a better explanation of the Daqmx Write. To get to te daqmx help, just go to Help » LabVIEW Help. In the Heirachey, open up VI and Function Reference » Measurement I/O Vis and Functions »DAQmx - Data Acquisiton VIs and Functions » Additional information, and there will be a section in there on DAQmx Write.
    The best idea would probably be to start coding and let us know if you're getting a certain error. Additionally, if you've never used LabVIEW, it might be looking into for our DAQ and LabVIEW training. Keep us posted how we can help!
    Lea D.
    Applications Engineering
    National Instruments

  • Arduino due and Labview wirelss serial communication using Xbee

    Hello.
    I am controlling a mobile robot using the Arduino due and labview
    PWM value caculated on the labview is sent to Arduino due and then Due controls the robot.
    These communicate wirelessly by xbee.
    Now, I'd like to increase the communication speed between Arduino due and Labview.
    but, when i set the value of the "Wait(ms)" function to below 10ms  in Labview, communication has unstability.
    so please let me know how increase the communication speed.
    thank you.
    -experiment image-
    https://www.youtube.com/watch?v=oZdMCdHlDhM
    - Arduino source-
    #include <string.h>
    int PWM1 = 5;
    int DIR1 = 4; //direc
    int PWM2 = 6;
    int DIR2 = 7; //dir
    float readNumber = 0;
    float In1, In2, pwm, newtime, A;
    float newposition1 = 0;
    float newposition2 = 0;
    unsigned int Aold1 = 0;
    unsigned int Bnew1 = 0;
    unsigned int Aold2 = 0;
    unsigned int Bnew2 = 0;
    volatile long encoder1Pos = 0;
    volatile long encoder2Pos = 0;
    int encoder1PinA = 8;//Encoder A pin
    int encoder1PinB = 9;//Encoder B pin
    int encoder2PinA = 11;//Encoder A pin
    int encoder2PinB = 12;//Encoder B pin
    int Direction1, Direction2;
    float pwm1_limit=255;
    float pwm2_limit=255;
    float count_old = 0;
    float power1_old, power1_old2, power1_old3, power1_old4, power1_old5;
    void setup() {
    // put your setup code here, to run once:
    pinMode(DIR1, OUTPUT);
    pinMode(DIR2, OUTPUT);
    Serial.begin(115200);
    Serial.flush();
    Serial2.begin(115200);
    Serial2.flush();
    pinMode(encoder1PinA, INPUT);
    digitalWrite(encoder1PinA, HIGH); // turn on pullup resistor
    pinMode(encoder1PinB, INPUT);
    digitalWrite(encoder1PinB, HIGH); // turn on pullup resistor
    pinMode(encoder2PinA, INPUT);
    digitalWrite(encoder2PinA, HIGH); // turn on pullup resistor
    pinMode(encoder2PinB, INPUT);
    digitalWrite(encoder2PinB, HIGH); // turn on pullup resistor
    attachInterrupt(encoder1PinA, d1EncoderA, CHANGE);
    attachInterrupt(encoder1PinB, d1EncoderB, CHANGE);
    attachInterrupt(encoder2PinA, d2EncoderA, CHANGE);
    attachInterrupt(encoder2PinB, d2EncoderB, CHANGE);
    void loop() {
    if(Serial2.available()>0){
    String first = Serial2.readStringUntil('!');//랩뷰에서 받는 2개의 값을 분리하기 위한 소스("!"앞까지 끊고, "@"앞까지 끊음 ex)123!456@을 받으면 123과 456으로 나눔)
    String second = Serial2.readStringUntil('@');//http://stackoverflow.com/questions/29504679/splitting-a-comma-separated-string-through-serial-arduino
    float x = first.toFloat();//위에서 분리된 문자를 float형으로 바꿔줌
    float y = second.toFloat();
    newposition1 = -encoder1Pos; //Encoder signal
    newposition2 = encoder2Pos; //Encoder signal
    count_old = 0;
    float power1 = x;
    float power2 = y;
    if(power1 >= 0){
    Direction1 = LOW;
    else{
    Direction1 = HIGH;
    if(power2 >= 0){
    Direction2 = HIGH;
    else {
    Direction2 = LOW;
    power1 = abs(power1);
    power2 = abs(power2);
    if(power1 > pwm1_limit){
    power1 = pwm1_limit;
    if(power2 > pwm2_limit){
    power2 = pwm2_limit;
    digitalWrite(DIR1, Direction1); //HIGH = back, LOW = forward
    digitalWrite(DIR2, Direction2); //HIGH = back, LOW = forward
    analogWrite(PWM1, power1);//PWM Speed Control
    analogWrite(PWM2, power2);//PWM Speed Control
    String strValue = String(newposition1);//숫자를 문자형으로 변환
    String Q = "!";
    String strValue2 = String(newposition2);
    String stringThree = strValue + Q + strValue2;//문자 합치기
    Serial2.println(stringThree);//Send encoder pulse to Labview
    else {//when Serial communication stop
    float count = count_old+1;
    if(count > 10000){
    newposition1 = 0; //Encoder initialization
    newposition2 = 0; //Encoder initialization
    encoder1Pos = 0;
    encoder2Pos = 0;
    else{
    newposition1 = newposition1; //Encoder signal
    newposition2 = newposition2; //Encoder signal
    count_old = count;
    Serial.println(count);
    //Encoder Read//////////////////////////////////////////////////////////
    void d1EncoderA()
    Bnew1^Aold1 ? encoder1Pos++ : encoder1Pos--;
    Aold1 = digitalRead(encoder1PinA);
    void d1EncoderB()
    Bnew1 = digitalRead(encoder1PinB);
    Bnew1^Aold1 ? encoder1Pos++ : encoder1Pos--;
    void d2EncoderA()
    Bnew2^Aold2 ? encoder2Pos++:encoder2Pos--;
    Aold2=digitalRead(encoder2PinA);
    void d2EncoderB()
    Bnew2=digitalRead(encoder2PinB);
    Bnew2^Aold2 ? encoder2Pos++:encoder2Pos--;
    }

    piZviZ wrote:
    Only data rate working is 9600  between labview and launchpad(arm cortex m4).Where all data rates work between Arduino serial port monitor and launchpad(arm cortex m4).
    Since the only thing that changed is the Launchpad, then that must be the issue.  Are you sure this device can handle more than just the 9600 baud rate?  Are you sure you are even setting the baud rate on this device?

  • Need help configuring Aiport Extreme A1034 to optimize network signal.

    Greetings, I am a very loyal mac user from back in the days of the Quadra 650. I have torn apart and fixed most macs for the last 13, but I must say configuring this wireless network has got me stumped. Any help would be gladly appreciated.
    I went from a ibook 1 Ghz with a plastic case to a aluminum powerbook g4 1.67 to find out that the metal case greatly diminished the computers ability to receive a wifi signal from my Rv park. I then decided to buy an Airport Extreme A1034 that has the antenna port and then bought a Hawking 15db directional antenna. My intention was to have the Airport Base station receive the 802.11b wifi signal sent out from the office of the RV park through the Hawking antenna, and then have the base station take that signal it received and send that high speed wifi signal to the airport card in my Powerbook G4. Sounds simple enough, I thought it would be. I have found that using Airport set up assistant doesn't give me that option. I then proceeded to get into the workings of the Airport Admin Utility. I have found myself ready to pull my hair out trying to configure the 6 different tabs being, Airport , Internet, Network, Port Mapping, Access control, and WDS.
    I do know that everything in the Airport tab is correct. The big problem I think is between the Internet, Network and WDS tabs. It seems that the Airport base station was basically made to have a high speed connection plugged into it via ethernet and then the base station broadcasts to host computers such as my PowerBook G4. My initial thought was to connect via Airport WDS in the internet tab and then set my powerbook to connect directly to the base station through the airport card. I read up on this via Apples Designing Airport networks that came on the Airport installation CD. It talked in detail about setting up the WDS tab to do something like I want but it still involves a hard wired ethernet connection at the start of it. I have also played around extensively with the Network control panel and the sharing control panel , I thought about turning the airport card inside my powerbook into a software or virtual base station and then try some sort of WDS relay. Through all this I had the Airport extreme go none responsive on me and not letting me log in. That's another story of 10 hours of **** fixing it, but i did. Even the reset button stopped working for a while. As of now I can access everything everywhere. I also have ALL the IP addresses Hardware(MAC) address, subnet masks and router addresses for every location in this proposed wireless chain. I just need someone to end this stressful nightmare. They say you learn through trial and error, that is how I learned most of my computer skills over the decades, that and Applecare certified tech training many years ago, But it doesn't help anyone if I stick a large knife through my base station. I can provide a phone number if your willing to call. My email is [email protected] . If your in the San Diego area, I can get ya free passes to the nudist colony where I live, if your in for a new adventure in turn for setting up this network for me. Check out http://www.deanzasprings.com . its where I live.
    Rich

    1. First, can someone confirm that the Extreme card be used as a WDS main base?
    Sorry, but no you cannot use the AirPort Extreme card in a WDS as either a main, relay or remote base station. It does not support this function.

  • I have a problem with a vi that crash and stops the signal generation​.

    I want to control several pumps and valve at the same time. Three of them are comanded by a board installed in other computer, so that I have to comunicate with them by a TCP/IP comunication. The others one are controled by signals sent by a PCI-6024 E board which is installed in my computer. The problem is that I want to create a vi that controls every equipment at the same time. I did a Vi that is in attach, but the problem is that when I run the vi it works during a certain time, but after 10 minutes (more or less) it stops to send the signals to the pumps. Could someone help me?
    Attachments:
    controlo_bombas_caudais.vi ‏98 KB
    valvula.vi ‏53 KB

    You did not include your subVIs so not much can be inferred. Several points of poor programming jump out
    1. Use time delays in your loops to keep them from racing
    2. Put the Open Application Ref and Open VI Ref before the start of the loop and the Close Ref after the loop

  • Timing help needed.

    Hi. I have built a gaussian noise generator nad need some timing help. The VI needs to count time only when the signal is too low. Currently I have an Elapsed Time express VI instide a case structure. It begins timing when the signal drops just fine, but continues to count time until the program stops running even when the signal increases again. I'm not sure how to program an if and only if sort of situation for this. Any ideas would be wonderful, and I have attached the VI.
    Attachments:
    Kelly New Gauss1.vi ‏374 KB

    My gut reaction is that you should not be using the "elapsed time.vi" to measure time.  You will get a very innacurate measurement. 
    Instead, you should be looking at your raw data, and counting the number of samples that are below your threshold. 
    But of course, if you are OK with innacuracy (which you might be ... depends on your application) then you should probably use a shift register to track when the value goes below your thrshold, and then add the elapsed time to the shift register.
    You may also want to start here to learn more about structures.

Maybe you are looking for

  • Error message when saving a file in DW -CS6

    When I go to save a file in Dreamweaver CS6, using Windows 7 - I get this error message. "While Executing onLoad in bc_afterSave.htm, the follwing javascript errors occured" In File "bc_aftersave.htm"; onload is not defined Everything was fine for ye

  • How to create Business View against SQL

    We are moving from Crystal 10 to XI. Before moving we were using ASP application for dynamic parameters. Now we are planning to use Business Views or List of Values for these dynamic parameters. We are using IBM DB2 database and datasource is SQL Com

  • Joins on different fields based on a condition

    Hi, I have 2 tables, each consists of 5 fields, based on Field3's data, I want to join either F1 & F2 or F4 & F5. I have given below the field creation and sample data for your reference. When I run the SQL with "case when .." statement, it gives "OR

  • Why are my artist folder located in my Itunes Media folder, not Music Folder?

    I recently got a new computer and moved my itunes library to this new one.  Everything is working fine, but itunes just reorganized my entire library.  As of a couple of days ago all my artist folders were under itunes media\music, but now all the ar

  • JMS to IDOC scenario...

    Hi, I am doing an JMS to IDOC scenario... where will i mention saying there is a logical system in R3(Partner profile).The IDoc should reach that Logical system only.I have a doubt on this....Because we are disabling the IDOC EDIDC segemnt in Recever