Showing digital pulse from SCC-DI01 into waveform graph

HI,
I am trying a simple VI to read battery voltage. The problem comes when I try to connect the "data assistant" block to the "waveform block" ... it show the bad connection.
Error mssg: you have connected two terminals of different types. The type of the source is boolean ..... the type of the sink is dobule.
Specs: Labview 8.5.1, SC-2345 connector block, SCC-DI01 digital input module, PCI-6251 DAQ Card.
Thanks,
Sine

Hi,
If you are trying to get a measure of the volts given by you battery I am afraid you cannot use this module since it is intended for digital input/output, not analogical. However, you can still get to know if you battery is working or not. This module can detect a positive voltage as a digital 1 or zero voltage as a digital 0. Thus, when acquiring a signal with this module, all data will be represented as a boolean array. If you want to represent this signal, you can convert it to a 16-bit integer using the VI Boolean to (0,1) which can be found in the conversion palette.
Best regards.

Similar Messages

  • How do I keep a digital output from SCC DO01 from fluctuating states?

    Background: Hooking an ohm-meter across a digital output from a SCC DO01 isolated optical switch shows that the resistance fluctuates and at times goes open circuit. It appears directly related to the LabView code where I'm writing to this digital line within a WHILE loop. The loop has a variety of other operations going on. These other operations, I believe, are causing this problem due to timing or something.
    How can I improve the reliability of this digital output? There must be some method of establishing priority within a WHILE loop.
    Really appreciate the help.
    Hunter

    Howdy, Justin
    Thanks for your reply.
    I've actually been connecting the meter across Vss and Vout. Actuating the digital output, I can see the state of the switch. Attached is the VI which involves this DO01, specifically, it's associated with the VFD RUN/STOP.
    Since I sent this question out, I've actually gotten some help from Andy Watchorn of NI. This switch holds state much better.
    All the best,
    Hunter
    Attachments:
    VFD_ControlVIs.zip ‏120 KB

  • Generating digital pulses from the pci 6722

    I am trying to generate signals that will drive a piezoelectric motor. I need an analog signal that I will send to an amplifier and 6 digital pulses with varying offsets. I am using a pci 6722 and was hoping to get an offsets between the digital pulses to be around 2 microseconds. I am struggling  to find the best  way to get such exact time delays between multiple tasks. Any help  would  be greatly  appreciated.

    The actual offset times is not as important as the digital pulses firing sequentially and all within the envelope of the analog signal for multiple steps.  I guess my question is less about hardware limitations, and more about how execute my desired process in Labview. My experience in Labview is pretty rudimentary and I am struggling to see how to synchronize events in labview.  We are using a BNC 2110 to output our signals, and it is my understanding that the BNC 2110 has a 1 Mhz clock.  We are trying to import that clock from our device use that to clock timed loops and we are having some difficulties with the details.  I am honestly not sure if I am on the right track.  In hopes that it might add some clarity I attached a picture of the signals we are hoping to produce.  The orange signal is our analog output.  Between times t3 and t4 we need the 6 digital triggers to switch to "on" and we need them to all switch off simultaneously at t6.  Again we are definitely willing to compromise on speed if we can use the card we already have.
    Attachments:
    waveform.PNG ‏28 KB

  • Reading Digital Pulses from a Flowmeter

    I have a flowmeter that puts out 0 to 5 VDC pulses and has a calibration factor of 50.99 pulses per CC. I do not have a counter card, but have a digital input card and an Analog Input card.
    What will be accurate method to read these pulses from the flowmeter?

    The Detect All Triggers.vi is not included, so I cannot tell what it is doing.
    Several things may affect your results.
    1. It appears that you have the DAQ assistant set to sample at 250,000 samples per second and to acquire 100,000 samples. It creates the task, configures the timing, acquires data, stops and clears the task on every iteration of the loop. The only part which needs to be inside the loop is the acquire data part. All the rest should be outside the loop. You can open up the DAQ Assistant and pull the parts out to do this.
    2. The samples you acquire take about 0.4 seconds but you have a 1 second elapsed time test in the loop. It appears that you are only looking at about 40% of the data available because you do not accumulate the data while waiting for the elapsed time.
    3. The Detect All Triggers boolean output which connects to the case structure where Counter is updated only allows Counter to increment once pper iteration of the while loop, maximum, regardless of the number of pulses detected in the dataset. Unless you never get more than one pulse in 400 ms Counter cannot accurately represent the number of pulses produced by the flowmeter.
    4. Get rid of the local variables. The are not needed and often contribute to race conditions.
    5. Learn about dataflow. The "initialization" of the chart history and local variables at the left of the diagram could occur after the while loop has started or even completed. The sequence structure in the True case is probably not needed either. Shift registers are your friend
    Lynn

  • Simultaneous signals into waveform graph

    I am trying to use a VI to test multiple components' voltage inputs and outputs and I have developed the following VI.  The problem I am seeing is that when I operate two components, the DAQ assistant sends the two signals in series and my waveform graph doesn't plot the two signals simultaneously.  It appears that the graph flickers as it alternates between either of the signals.  Ideally I want to have about 4 components read by this VI, but I have not been satisfied with two yet.  Is there a better way to split these signals?  I have attached the VI, with my latest unsuccessful attempt to split the signal.  Ideally both readings would be going to the graph simultaneously, as different plots.
    Attachments:
    HE Control.vi ‏203 KB

    Thanks for the response Dennis. 
    The first problem that I originally wrote about was that the readback from the DAQmx in my VI "flickers" between the two signals, indicating to me that perhaps the signals needed to split and re-merged.  Using the test function of the DAQmx task manager, the data flow smoothly and simultaneously, but in my VI there will always be, for instance, a changing y-axis in a chart if I set the two voltage signals to different values.  Meanwhile, numeric readbacks seem simultaneous, but that is harder to determine.
    The second problem (tradition DAQ output and DAQmx input) stems from me reading a post when I first set up that my hardware does not support DAQmx.  It is a PXI-6704.  I checked this in the LabVIEW help files and this seems to have changed in later versions - although I have yet to make it work with only DAQmx.  Whether or not this is related to the first problem remains to be determined.  I have also posted a reply on the old post regarding incompatibility between the PXI6704 and the DAQmx to clarify what version they were using.
    Brad

  • How can i send and receive a 2us digital pulse from Labview

    i want to communicate with a system using 2us pulse
    like if i want to send 11010100 then i will send
    |----2US----|----2US----|.............
    I      I___I       I_____________I         I______________I         I_______________________
    |----1-----|-------1-------|------0-------|--------1--------|------0-------|---------1---------|------0-------|------0-------|
    when i will send 11010100 to system the system will repond me by sending 10111001 usinf same 2us pulse as i have shown above.
    I have pci-6025E+CB 50LP connector block+Cable and LABVIEW 10 installed in my PC.
    Can this be done using NI's labview and PCI card ?
    if yes then how ?
    i m new to NI and this is my first Project using NI's hardware.

    The fastest I would trust software timing is in the tens of milliseconds.  And even then, don't count on exactness.  The software timed DIO are best used for static applications (only change every once in awhile, usually controlling a relay or the like).  From my quick search, you will want something like the PCI-6220.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • To show the data from BI query in bar graph with thousand separator

    Hello Experts,
       I am using Visual composer 7.0.I have designed an application where i have user BI query to show data as a bar graph.I have roundoff the data to 2 places of decimal an i have to show the data with thosand separator as well.
    i am using the formula
    NVAL(NSTR(@Actual_value,"C.2"))
    Where @Actual_value is a value which comes from BI queryand is to be displayed as a bar graph.
    Points will be awarded for reply.
    Thanks ,
    Rakesh

    Hi Rakesh,
    I have found some links which may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/38/2d9b732beb4c68bba2962602a7d6bd/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/26/64fb472a144a0dbaf88f5ec75d9270/content.htm
    http://oregonstate.edu/dept/computing/warehouse/PDF/8-reports.pdf

  • How to force waveform graph cursors to show Y value on more than one plot?

    Hello
    Is it possible to show more than one Y value on waveform graph cursors?
    Thanks in advance.
    Pawel

    Hi Dennis
    That is correct, on graph woth multiple plots I want to display multiple Y values of plots at the same X value.
    I know I can use property node to access cursor list etc. and this is how I have done it, but my question was rather if it is possible to force the cursor legend to display more than one Y value (as a native display). As a default it displays one value and you can choose which plot you want to stick to, but it would be a great feature to have possibility to expand cursor legend to display more than one value.
    The question has nice consequences. If it was possible, you could use a property node to export image of the graph, control sizes, or even simple "copy" data from the popup menu. Otherwise we need to "artificially" glue the exter
    nal controls displaying Y values if we want to export pictures, etc.
    But since you did not answer that I supose it is not possible, as I thought.
    thanks anyways.
    kind regards
    Pawel

  • Using a waveform graph, how to get all recorded data graphed?

    I record data from 6 channels using DAQmx with simulated channels and write to measurement file.  Then using read from measurement file, and waveform graph, I am trying to graph the data that has been recorded.  I am only getting a small amount graphed.  The same graph appears whether I have let the measure and record program run for 1 minute or for ten minutes.  It also displays a time at the end of the graph that is in the future.  What am I doing wrong?  Please help.
    Hillis Pratt, Jr.

    I am attaching the two VIs I have been trying to use.  I started with examples from NI and didn't go far from that.  Any assistance would be appreciated. 
    Attachments:
    Measure and Record Six Voltages with Express1.vi ‏119 KB
    Graph Measurement Files1.vi ‏89 KB

  • Integral of waveform graph to calculate area under curve over time

    Hello ,
    Please find my attached VI and please help me for integration to get area undercut for my waveform graph.
    I would like to find total  Energy output from my wind power  waveform graph oever one month period of time.
    I believe i have to integrate to get area under curve and so i m now using integral tool in labview as attached. 
    As I don't have expected ans for my result and so i want to make sure the tool that i m using is correct.
    Please advise me which method of integration shall i use for my graph.
    Solved!
    Go to Solution.
    Attachments:
    Wind data only.vi ‏134 KB
    wind data.txt ‏1253 KB

    I don't know about your calculations to get the Wattage.  But as far as integration, you really should supply a dt (sample rate) in order to get a proper energy measurement.  I would use your second integration method (the one with "Result" as the indicator) and give it the dt as well.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Import image to waveform graph

    Hello
    I would like to import an waveform saved in some image format (PNG or JPEG) and display it in the waveform graph. I checked with the property node "plot images" but I am unable to specify the path of the image using this property node as in my case the image is varied  with different experiments for comparing two waveforms(one waveform is in image format and the other is obtained from an oscilloscope instrument). Could someone please suggest how could I do this. 
    Best Regards
    Pratheek
    Solved!
    Go to Solution.

    Hi Hooovahh
    Thanks for the solution. One more problem. In the waveform graph, it is displaying the labels, X-axis and Y-axis values. I woud like to have only the waveform without any labels   is it possible to remove these lables from displaying in the waveform graph. could you please help. Thankyou in advance
    Best Regards
    pratheek
    Attachments:
    Capture.PNG ‏34 KB

  • Converting sequence of anlaog pulses into digital pulses

    Hello,
    I am working to detect the peaks in a particular interval of time say 'x'. I acquired the analog signals( the pulses) as shown in the image here AcquiredPulse from analog board using DAQ.Before detecting the peaks of the pulses of different amplitudes having nearly same time period shown in the above image I want to convert them into digital pulses or pulses of same amplitude so that it will be easy for the post process of detecting peaks.And after obtaining this I need to find out the time interval between the pulses.
    Can any one help me with implementation of this.
    Solved!
    Go to Solution.

    By this Vi you can convert the waveform
    Vara Prasad A
    Kudos are Accepted
    Attachments:
    analog to digital.vi ‏14 KB

  • TS2530 When I put a burned cd from one Mac into another Mac, song titles do not show up! I have to enter them manually! My CD player reads the titles that i on the cd; how can I get my Mac to do so?

    When I put a burned cd from one Mac into another Mac, song titles do not show up! I have to enter them manually! My CD player reads the titles that i on the cd; how can I get my Mac to do so?

    The problem is that I burned these CD's myself from music that I added from my personal collection to iTunes. The INFO is ON the CD's (it appears perfectly when I put the CD in my Numark mixer...so I know the info is on the CD), but for some reason, my MAC PRO will NOT read the info on the burned CD when I place the CD into the MAC PRO. The CD was burned on a MAC that I no longer own. But there HAS to be a way to transfer songs from a burned CD with the INFO that is on the CD burned with iTunes.
    PLEASE HELP!
    -Old Appel

  • My iPod touch doesn't show up in my macbook desktop. This prevents me from copying data into it. What can I do? It does however show up in itunes so that is not a problem.

    My iPod touch doesn't show up in my macbook desktop. This prevents me from copying data into it. What can I do? It does however, show up in itunes so that is not a problem. Only started happening after I got mountain lion. If that helps.
    Thanks in advance.

    I want to use it as a storage drive and add some files to it. Like so, http://support.apple.com/kb/ht1478

  • I put in the code to get the digital copy for star trek into darkness, and i clicked download later, but it didn't show up in my movie library like the other movies i did the same thing to, where is my digital copy of star trek?

    i put in the code to get the digital copy for star trek into darkness, and i clicked download later, but it didn't show up in my movie library like the other movies i did the same thing to, where is my digital copy of star trek?

    Yes, the old album art view is gone, bu you can see the album art for a song that's playing by clicking on the art image and it will open a bigger view.
    Everything else in your post is a waste. I'm not going to spend time reading it. If - and I repeat if, you have a question on how to get the best out of the new look iTunes, post it. But don't spend your time in long rambling negative rants.

Maybe you are looking for

  • SDO Service Data Objects transaction behavior in BPEL question

    I was led to believe (this is taught in the SOA BCA class) that if we create, modify, or delete an SDO then the changes are committed at the end of the scope activity in the BPEL process and rolled back if there is an uncaught fault in the scope. I h

  • HT2534 How to set up Apple ID for kids' iPod touch w/out email or credit card

    The subject pretty much covers it - their mother has the iPods set up under her apple ID but we want to set them up for texting. I already found out how to set up iMessage (settings/Messages - on/may have to enter the Apple ID manually/use the green

  • HELP! iPhone can't restore!

    I need help fast. I just created an account and everything was working fine. Then I clicked on update to version 2.2. It downloaded it, and then said an error has occured. The iPhone then froze with just the apple sign showing. I took it out as nothi

  • Time hazard?

    Hello, I'm new to java and wondering if you could try to help me with this. I apologize for a long message... I'm trying to execute this code (everything is in one class): private double D1(double S, double X, double r, double q, double v, double T)

  • PPT to SWF

    Hi All, I am knew to flex. I am not sure whether it is possible to convert PPT/PPTX to SWF.if not is there any flex/flash api which can be used in C#, C++ or any other programming language. I am able to see there are 1000's of PPT-SWF converter, not