NaN as Output Data points

Dear friends,
i have written a resistivty program using ke224 current source, ke2182a nano voltmeter and lakeshore325 temperature controller,
the program is running fine, data points are being written to spreadsheet,
but the data point on x-axis is 0000 and on y axis is NaN,
also i am getting an error6 at LSC325,
can you friends please figure out wher i am stucked?
thnaks in adavance 

My first suggestion would to break down the task into chunks  and turn these chunks into subVIs.  Try to make these tasks reusable if possible (ei used in multiple places).  As it stands, I can't figure out what is happening in your VI.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Outputting a data point every second

    I want to output a data point every second to an excel sheet. I got it so that it only outputs one accumlated data point. Each data point includes a timestamp, rate, and volume.
    Attached is my VI.
    Solved!
    Go to Solution.
    Attachments:
    PumpDriver Test 4.vi ‏82 KB

    Mike227 wrote:
    Hey Ravens,
    It never worked...the status isn't even updating which leads me to think that I am getting an error and not clearing it?
    If you post the code, we might be able to help you figure it out.  And errors happen for a reason.  Are you actually getting an error?  If so, what is the error?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Custom Map using latitude and longitude data points

    Hi,
    I am new to Apex and I want to lost custom data points using latitude and longitude data points. I
    have seen posts referring to the chart example (http://apex.oracle.com/pls/apex/f?p=36648:65:2214483882702::NO:::) ; could someone help me with the following:
    1) How to add On Demand Application Process to a map page (step 4 in the demo)
    2) What is a hidden item and how to add it to a page (step 6)
    Any help would be greatly appreciated.
    Kind regards,
    Lisa

    I am trying to do the same thing. I have got the get_data function working to create the desired output. However when I replace the xml <data> block with &P65_DATA, it does not work. If I display P65_DATA on the page, it has correct output. If I cut and paste the output into custom XML, it works fine. Anyone have come across this issue..any ideas how to fix it?

  • How can I convert output data (string?) from GPIB-read to an 1D array?

    Hello all,
    I am reading a displayed waveform from my Tektronix Oscilloscope (TDS3032) via the GPIB Read VI. The format of the waveform data is: positive integer data-point representation with the most significant byte transferred first (2 bytes per data point).
    The output data of GPIB-Read looks like a string(?) where the integer numbers and a sign like the euro-currency sign are seperated by spaces e.g. #5200004C3 4 4 4 4 3C3C3........ (C represents the euro-currency sign).
    How can I convert this waveform data into a 1D/2D array of real double floatingpoint numbers (DBL) so I can handle the waveform data for data-analysis?
    It would be very nice if someone know the solution for this.
    t
    hanks

    Hi,
    First of all, I'm assuming you are using LabVIEW.
    The first you need to do is parse the string returned by the instrument. In this case you need to search for the known symbols in the string (like the euro sign) and chop the string to get the numeric strings. Here are some examples on parsing from www.ni.com:
    Keyword Search: parsing
    Once you parse the numeric strings you can use the "String/number conversion VIs" in the String pallette.
    Hope this helps.
    DiegoF.Message Edited by Molly K on 02-18-2005 11:01 PM

  • Reducing Number of Data Points Acquired?

    I am interested in knowing how to reduce the number of data points written to a file that was acquired at 5 Hz. I have tried to lower the sampling frequency below 5 Hz on a Compaq Daq, but I get an error saying that is an incorrect value. So, if I can't sample below 5 Hz, how do I acquire fewer data points, or how do I reduce the number of data points written to the file? I have tried Sample Compression which just ignores  data points. So, an acquired value is written multiple times at the same rate as having no compression at all. I calculated the sampling frequency from the data file witha compression ratio of 20, 30, and 40 to still be at 5 Hz.

    If you want to "compress" your data then you should perhaps try the "Decimate (single shot) VI " Owning Palette: Signal Operation VIs. With this VI you can average down an array. If you have an array sampled with 5Hz and you set the decimating factor to 5, and average=true. Then the output will be an an array downsampled to 1 Hz, with each value equal to the average value of 5 samples in the input array. The decimate function is quite new. It came in Labview 8.2 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How to resample a waveforem sample every n data points

    I would like to convert a waveform data set that has 1746 data points into a signal that has 500 data points by selecting the x-value from every 3.5 (1746/500) points and eliminating all other points. Ideally I would like to average the x-value of every 3.5 points and turn that into one data point in the resulting signal but I am not sure if that is actually possible. If at all possible I want to use the express VI's as I am not too familiar the other programming language.  I have been unsuccessfully trying to use the Align and Resample express VI because it is supposed to re-sample a signal every n data points but for some reason isn't working.  I have attached the data set (titled: Input) as well as a simplified program (titled: Resample Example).  Please contact me if you require any further information. 
    Thanks HEAPS!
    Attachments:
    Attachments.zip ‏55 KB

    I have a similar re-sampling issue and think I'm missing something here.
    The attached vi reads two analogue voltage levels one is a noisy signal (from leg muscle activity EMG) the other is from a foot switch, which I am using to partition the EMG into blocks of data (strides). There may be up to ten blocks of data which I'm trying to average, but they first need to be re-sampled to get them the same size (such that they represent one complete gait cycle). I am currently saving the blocks to TDMS file (for my benefit) then opening the file and re-sampling by changing dt based on the data size. But it's not working. I've also tried using the express resample vi that is used in the examples here, but it outputs nothing.
    Any ideas?
    Note: Change the file extention of test.vi to .tdms. It is an example data set. .tdms isn't a valid extension for upload to the forum :-(
    Attachments:
    EMG using NI-6008.vi ‏133 KB
    test.vi ‏772 KB

  • Formatting dvt:linegraph data points

    My graph displays the value of the data point when you hover over the line. The date displays fine, but the value has too many decimal points.
    For example
    Group Count : 3.000
    or
    Group Count : 0.000
    Since this value is whole numbers only, this doesn't make sense. I've set the UI hints in the View object for that column to
    GipCount_FMT_FORMATTER=oracle.jbo.format.DefaultNumberFormatter
    GipCount_FMT_FORMAT=\#\#\#\#but it is still displaying that. Is there a different format mask I should use to hide the decimals? or a setting I have not found to control the output on the data points?
    Thanks
    (this is not a duplicate post, I considered asking this with my other question but figured it was different enough to warrant its own)

    hi ,
    any help??...:(

  • Graphing data of different data point amounts I get errors

    I'm using Labview 7.1 and I'm graphing a group of data sets on a single graph display.
    These data sets have different numbers of total points and the sets with a less number of points wind up going back to the origin (0,0).
    This seems to be due to where they stop in data points labview fills in the vacancy with a 0,0.
    The result is (other than addiing erroneous data points) is the scaling is way off because I'm not near the origin.
    How can I( get round this problem?
    Thank you,
    Philip

    Your code seems to be highly flawed. Does it even work at all?
    Some comments.
    If you load more than one data file, the data from the files read in the previous iteration gets lost. You'll only get the set that you read last. (for example, the 2D array output from case "=0" will be empty at all later iterations. That's why you get all these zeroes!
    Why do you need to do all the array extraction and manipulation at every while loop iteration. Everything prior to the division by the FP control belongs outside the while loop.
    "Array subset" is better than "delete from array".
    The while loop spins at infinite rate calculating the same old stuff over and over again, millions of times/second. Use an event structure so it recalculates exactly once whenever the control changes.
    All the Array manipulation is done identically in four different places, you only need that code once in a loop, you can even do it right in the FOR loop when you read the data.
    The label.text properties need to be written exactly once, ouside the loop.
    You don't need to connect an indicator to the slide. Just right-click on the slide and do "show..digital display".
    You don't need a stacked sequence. It only hides code and forces backwards wires, making the code hard to debug.
    You don't need to transpose following by gettting a row. Just get a column instead!
    Attached is a quick attempt at some simplification according to my comments above. I cannot test it so it probably needs a few tweaks here and there. Still, it should give you some ideas.  Modify as needed.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Read_from_Text_File_chirpTemp_thingMOD.vi ‏192 KB

  • ABAP program to output data from SAP table to an XML format file?

    hello ABAP experts,
    Does anyone know how to output data from SAP table to an XML format file?  Would be appreciated if someone show the detailed sample codes and we will give you reward points!
    Thanks!

    Edited by: Jose Hugo De la cruz on Aug 19, 2009 8:23 PM

  • Boolean indicator come on and stay on if only one data point outside of limits

    Okay, here goes my second rookie question.  My first one was solved in a matter of hours after posting here, so I am going to give it another shot.  This has probably been posted elsewhere, but I just am not familiar enough with the terminology and know how to find it in this forum... sorry for that.
    Currently, I have a setup where I am using an In Range and Coerce function in the Comparison Pallette to check the output of my source and compare it with a user inputted upper and lower limit.  I have hooked up an LED indicator to the Index Array and then to the In Range output.  Right now, if my data goes outside of the limit, the LED Indicator will light up, but it will immediately turn off if the data goes back within the limits.  I want my LED indicator to come on and STAY on if even 1 data point goes outside of the limit.  What can I connect between my LED Indicator and my In Range Comparison to make this happen?  
    Sorry for being so new to this!!

    Hi Spsuengr,
    I have attached a boolean toggle vi for you. You can insert this vi in between your led indicator and in range output. It will latch the output by default. You can use the latch(t) input to disable the latch feature (to perhaps reset).
    Above is the boolean latch vi
    Above is how you need to insert it into your code. If you leave the Latch(t) input unconnected it defaults to a latch output. Only wire a control to this if you want to either change the output so it follows the input or if you need to reset the output.
    Rgs,
    Lucither
    Message Edited by Lucither on 04-15-2010 05:22 AM
    "Everything should be made as simple as possible but no simpler"
    Attachments:
    Boolean Latch.vi ‏18 KB

  • Query - How to output data to multiple Excel tabs?

    Hello,
    I have a quick question. Is it possible to build an ABAP query to send output data to multiple tabs in an Excel spreadsheet? I know this can be done at a single (first) tab level, but I am not sure if outputting data to multiple tabs is possible.
    For example, the address data for the different European countries should be directed to different tabs such as U.K., France, Germany, etc based on the country of residence.
    I appreciate your help with this.
    Thanks!

    Hi
    I think it is possible
    You define a common internal table with the address fields  and  based on the Language condition this table will be populated
    call the fun module to donwload to excel in a PERFORM using this Internal table and Language as paramter
    so that based on the language selection/condition the internal table will be filled from the data and that data will be passed to the fun module and downloaded to the file name given .
    pass the different file names to the fun module along with the PERFORM statement, so that different files will be created based on language
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Naive Bayes Training - CLOB as output data type for JSON string?

    Hello everyone,
    My training model outputs a large JSON string that doesn't fit into one row, so the string is split across multiple rows. Default - or only possible output data type for that matter - is varchar according to the official documentation on PAL. Is there any chance I could use CLOB for the output?
    Regards
    Henry

    The property you provided is for applying an NB model, not for building one.
    For build, you should have used Sample_NaiveBayesBuild property file.
    I ran the NB apply sample program with your property, and was able to get past the point where you have problem.
    Please double check if you really used the property you provided and if it matches to the program you wanted to use.

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

  • How do I make a VI that contols a 6534 card take less time to load 1Mbyte and output data ?

    Hello-
    I'm developing a pattern generation burst mode type VI that reads byte characters from a text file, manipulates the bytes that it reads and then outputs the data from a 6534 card. The REQ1 pin is pulled high which makes the card continually output data until the internal buffer is empty. An internal clock is used. The problem is that the size of the file that is read by the VI can be relatively large, in the 1MByte range. After the VI manipulation, the output array is 16 times larger than the input string. So, when the VI reads a 1MByte text file, the output array contains 16 million entries (each array entry is 3 bits by the way). It takes about 20 seco
    nds to run and output data from the 6534 even when reading files that are 200kbyte or so. I'm outputting the data at 5Mbps. I'm not sure where all the delay is coming from. Using the 'Profile VI" function under the 'Tools' menu shows a snapshot of time that really doesn't help me since it only shows that the time is spent in my VI. Is this just the result of loading large files ? Or, is there a way to preload the 1MByte file into the 32MB of RAM on the 6534 card before the VI is actually run. What I mean is that I do have the option in my system to have a time when all text files will somehow be loaded into the 6534 memory, during some initialization period, and then the VI would be run with the text file already loaded. This of course assumes that the delay is loading the file from the harddrive, but since the harddrive transfer speed is fast, I have no idea where to speed things up. Any ideas ? Thanks !

    Your question actually belongs to the Measurement Devices >> Digital IO section since it concerns operating the 653x family of digital boards. You will see other related questions and answers there. In the future, please direct your digital questions to that forum.
    If you are trying to profile your VI, you can break it into different pieces. For instance, you can make a subVI out of the file data manipulation.
    Now, are you doing pattern generation or burst mode handshaking output? From your description of the signal connections, it looks like burst mode. You can double-check in the 653x User Manual at the http://www.ni.com/manuals pages. Still, it looks like you could accomplish your task with pattern generation. There are example VIs for both operations that
    I suggest you start with. They are located in the LabVIEW >> Examples >> Daq >> Digital >> 653x.llb directory.
    It also sounds like you are doing a single buffered operation, where you have a set amount of data that you want to output, and once done, the VI will stop. You are preloading the data to the buffer at DIO Write.vi before the 6534 actually outputs the data with DIO Start.vi when you program like the examples.
    Thus, start with the appropriate example and then add the File I/O to it. You can even test with a smaller file to see the effects. You will also find useful information concerning the 6534 in the KnowledgeBase, particularly KnowledgeBase 298CGF9M "How Many Samples of Data Can I Store in the Onboard Memory of the NI 6534?". You can find this online by going to the http://www.ni.com/support and choosing KnowledgeBase from the Technical Resources pull-down menu. Then, type in keywords to search for, such as "6534".
    Regards,
    Geneva L.
    Applications Engineering
    Nati
    onal Instruments
    http://www.ni.com/ask

  • How to get the last data point from a TDM file in LabVIEW?

    Hello,
    I am using LabVIEW to analyze some rather large TDM files, and I need a way to get only the last data point.  So far, the only way I have been able to accomplish this is by reading the entire file.  Is there a property in the TDM file or a function in LabVIEW that will allow me to get the index of the last item in a channel?  
    Thanks!
    Christina

    Do you want to avoid reading whole file and want to be able to reach or get the index of last value of channel? is there any specific reason? I am not sure you could do it without loading the whole file. But the easiest way would be just to use array functions "array size" would give you the index of last element. 
    -Nilesh
    Kudos are (always) welcome for the good post. :-)

Maybe you are looking for

  • Some advice - buying a MacBook Air

    Hi, I am planning to buy a MacBook Air (13" version), and have some questions which I would like some help! 1. Performance/Upgrades I am trying to figure out whether I should get the Processor (i5 to i7) and/or RAM (4GB to 8GB) upgrades - is it worth

  • Updating To Mac OS X 10.6

    Hello I am trying to update a friends macbook air (OS X 10.5.8, 1.6 GHz intel Core 2 Dou, 2 GB DDR2 SDRAM) to 0S X 10.6.1. But it says Mac OS X 10.6 cannot be installed on this computer. I am wondering if I am missing something? Thanks in advance

  • Business role customizing not working in crm 2007 web client

    Can someone tell me what services need to be activated via sicf for business role customizing to work in the Web Client under the Administration component in CRM 2007.  I have everything else working in this are eg surveys, document template, fact sh

  • Warning: SERIOUS Data Loss Bug in 10.5.2 Time Machine

    I've been backing up an aluminum 10.5.1 iMac and two other computers to a network drive on a 10.5.1 MDD G4 for several months. After updating both machines to 10.5.2 this morning, Time Machine deleted ALL of my backups for the iMac. system.log tells

  • Solaris 8 ISOs

    Hi All, Our Sun Solaris 8 Server crashed. Where can I download the installer please. Thanks a lot,