Skip to content

comp.lang.labview

Home arrow Newsgroups arrow comp.lang.labview


comp.lang.labview
Labview Software Discussion Group.

  • TDMS properties "alias-list" ??
    Hi all,
    I'm using the TDMS format to import my Labview Data into Matlab. To
    read out the main root, group and channel properties I simply copied
    the respective parts of the 'ReadTDM' example taken from the NI-
    support home page and everything works fine.
    While checking my recordings with the Excel-plugin I recognized that

  • Re: Problem using case structure inside while loops
    Thanks again guys.  I'm going to try to implement all of the suggestions you mentioned.  I'm sure I'll be checking back as I run into problems.

  • Re: Enquire about acquiring analog signal of wheatstone bridge from DAQ device to labview to read certain voltage values
    Hi Leni, If you want to continuly update the indicator - then yes.  Regards

  • Re: build waveform?
    Hi Roxy,To display the time ass 0s..1s...2s.... all you need to do is to go into the graphs properties and into the Display Format tab and set the Type (having selected the x-axis from the pull down menu) and select floating point, then if necessary you can change the number of digitts of precision.Hope this helpsSteve

  • Re: XY graph to Excel spreadsheet
    Mike, I'm trying what you sent but am not shure which proerty nodes are labelled as 'Wert' and 'XAchse.Minimum' Thanks

  • Re: VI "FindInstrumentDrivers.vi" was stopped at node "" at a call to "IDF_WsIdOpen.vi"
    Could just be an intermittent server problem. Does this happen all the time? At what point does it fail? When you first launch it, after you login? The network traffic indicates that it uses port 3339. Is this being blocked by your firewall?

  • fun with indian sex moves downloadfree
    fun with indian sex moves downloadfree
    [link]

  • EARN MONEY $1000-25000 PER MONTH
    EARN MONEY $1000-25000 PER MONTH
    TAKE SIMPLE ONLINE SURVEYS
    CREATE FREE ACCOUNT OTHER DETAILS LOG ON TO
    ****************************** ****************************** ****************************** **************
    [link]
    ****************************** ****************************** ****************************** **************

  • adidas adicolor shoes PayPal
    adidas adicolor shoes PayPal
    We export our brand shoes all over world because of our competitive
    price, good quality products
    and good service. All our products are guaranteed to be a minimum of
    AAA+ quality. Our price and
    good service are often appreciated by our customers. So we can get
    repeat order to sustain our

  • EARN MONEY $1500-$5000 PER MONTH
    EARN MONEY $1500-$5000 PER MONTH
    SIMPLE ONLINE SURVEY
    CREATE UR ACCOUNT AND EARN IMMEDIATLY
    ****************************** ****************************** *********
    [link]
    ****************************** ****************************** *********

  • Can executables created in Win XP be running on other Windows operating system?
    I generated some excutables by Application Builder (Labview 8.2) in Windows XP. Does anybody know if these excutables can run in Windows CE or any Windows operating system?

  • Re: Reading controller data into LabVIEW through serial connections to controllers?
    You will need access to a manual that explains the protocol used for the serial communication. Do the units continually send the data without you asking for it?? Or do you have to ask for the data to be sent?? Are you going to read the same data repeatedly?? If you have a sample program that can talk to the units, you can use portmon to reverse engineer the data stream and the results. Labview makes it really easy to parse text data into meaningful info. You will learn a great deal of labview tricks with this project.

  • EARN MONEY $1500-$5000 PER MONTH
    EARN MONEY $1500-$5000 PER MONTH
    SIMPLE ONLINE SURVEY
    CREATE UR ACCOUNT AND EARN IMMEDIATLY
    ****************************** ****************************** *********
    [link]
    ****************************** ****************************** *********

  • Re: event structure help, basic execution
    You can do one of the following teachinques: - First create an event for your main value changes and also assing the timeout to it. - Place the timeout in a shift register initialized with zero and wire -a (=infinite) to the shift regsiter on the right. It will timeoutonce and then never again.

  • Re: Set Some Plot Colours Colors in 3d plot
    I believe if you just set the ColorMapStyle to "None" it should do what you want. For example (inside your for-loop):  Message Edited by smercurio_fc on 08-15-2008 05:12 PM
    plotcolormap.png:
    [link]

  • Re: Search and Erase Element from Array
    The result….Altenbach (2ms), Santiago (6806ms).
    Sounds about right. Your original method is only good if you need to remove very few elements (such as zero or one :D).
    p.s. Would you mind giving some thoughts about [link]" target="_blank">[link]? Thanks!

  • Re: User events for 120 buttons
    Here's a quick draft on what I had in mind (LabVIEW 8.5.1).     ;
    60Buttons1Event.vi:
    [link]

  • Re: issues with labview and memory leaks
    Hi John, I took a look at your VI and it does use DataSocket Active X.  An example of a datasocket ActiveX vi is Browse to OPC item.vi in the shipping examples.  I tried to run your VI but it looks like you are using an internal IP
    address in your VI (which of course I wouldn't have access to). After how long to do you see your memory leak? Have you tried to use the VI profile window to track memory use for your VI. [link]" target="_blank">This knowledgebase has instructions on it.    Thanks,

  • Re: WIFI Synchronization
    Ian,
    I was able to setup a quick test to give you a ballpark figure. To perform the test I set up a single point on-demand read. This means that exactly when the read is called it will send a message to the DAQ device, acquire one sample, and return the sample from the read VI. I used a Tick Count on either side of the read and took the difference to find the exact time it took to take one sample. This will give us a round-trip number, so really you could divide that by 2 to get an estimated time between when the task is started and the sample is actually taken.

  • Re: Search and Erase Element from Array
    Altenbach:  
    As always…Thanks for your suggestion.
    I tried to do some time study contrasting your proposed method and my original method.
    The result….Altenbach (2ms), Santiago (6806ms).
    Therefore he is 3000+ times better than me.
    Rightfully so, 
    Santiago
     
    p.s. Would you mind giving some thoughts about [link]" target="_blank">[link]? Thanks!

  • Re: User events for 120 buttons
    I would use a Dynamic Event that fired on the Value Change of any one of a group of controls.  You could create two Dynamic events, and wire all the Run control references to one, and all the Stop control references to another.  Here's a screenshot...when the event fires, you can get the control label to figure out which button was pressed: [link]" border="0">  Hope this helps,-D Message Edited by Darren on 08-15-2008 04:21 PM

  • Re: Mixed Graph - Multi Plot Cursor Problem
    Rajaa, I have a few questions for you: 1. What version of Windows/LabVIEW are you using?
    2. Does this only happen in the one VI/Application or can you make it happen in multiple VI's?
    3. What are you doing in your code? (a generic question, I know) Are you making any driver calls? Are you calling any DLL's?

  • Re: Search and Erase Element from Array
    What about NaN, +Inf and -Inf?  I think if you can type it in a numeric control you should also be able to type it in the Selector Label on the case statement. 
    No, case selectors are integer, so NaN, Inf, etc. have no meaning. Here's a quick example on what I would do. Be careful comparing NaN, for example of you ask NaN=NaN, the answer is false. You need to use the special primitive from the comparison palette. Of course, since you are dealing with DBL, oly true zeroes will get removed, so all caveats comparing floating point numbers still apply. If this is a concern, oyu need to deal with it with some extra code. [link]" border="0" width="610" height="304"> Message Edited by altenbach on 08-15-2008 12:39 PM

  • Re: how do I send a digtal pulse at a .9ms rate without comprimising my programs speed?
    Hi ewong,
    I'm sorry I forgot to attach the example I built with your first post. Is not a very clean code but it might help you get started. First task: (easy one)
    is to generate two pulses at the same rate. Copy the same code you have for one pulse train in parallel with the first one (no wires dependency). Second with

  • Re: Attempt to read large TDMS file causes lack of memory error
    Hello Mike,
     
    Thank you for contacting National Instruments!  I have seen issues
    similar to this a few times in the past.  Usually the best way to get
    around memory issues with TDMS files would be to try reading in your TDMS files
    in segments.  There should be a section in the Read from Measurement File

  • Search and Erase Element from Array
    I have an 1D array of N (approx 90K) elements. I am trying to get rid of all zeros and NaN in the array. What is the fastest way to do so? My solution has been search for array, delete element, repeat the process until the search comes up to be empty (index value =-1).  As always, your insights/tricks/inputs are much appreciated. Best,

  • event structure queue corruption?
    OK this gets a little complicated, first some background: I am writing VIs to call DLL functions using Call Library Function Nodes. One function enables IRQ interrupts and I feed it a reference to a dynamic user event. To test this I simply do an increment in the event structure, put 20 messages onto the bus at about 70mS interval, and the output counts up to 20 in about a second and a half. so far so good. Now the client wants more than a number to increment when an interrupt occurs, within the event structure I place a second CLFN that does a stack read. 

  • Re: Reading serial strings from the serial port and saving to a text file in Hexidecimal form.
    You haven't posted anything that you have tried so far but try the code that is in the image below. I'm sure that there is several other ways to do this. Please not that you are not able to view the received data as binary. If you create a string indicator on the VISA Read, right click on it and select Hex Display.

  • Re: Combining data files
    As I said, the file IO has changed quite a bit since LabVIEW 7.0. Since my VI is in LabVIEW 8.5, you won't be able to open it. Still you should be able to create it from scratch. - Create a while loop
    - define the folder containing your file (e.g. using  the file dialog or a diagram constant).

  • FPGA Max and Min
    Attached is a simple code I am trying to do in FPGA.  I am sending a signal to my 9215.  The wave can be sine, triangular, etc....doesn't matter nor does the freq.  What I need is the Max and Min of the signal at each cycle.  The problem with the code is that I get the max and min of each cycle, but when the 0 crossing occurs, the max and min of that previous cycle are reset to 0 rather then just being held until the new max and min of the cycle found.  I would like for the max and min to be held until the new max/min is found, then replaced.  I know why this is occuring, however, I am having difficulty trying to solve this solution.  I tried another case structure, and it does the same thing.  I feel this is a fairly simple problem to be solved and I am probably overlooking the obvious answer.  All help appreciated as well as suggestions. Thanks,guili o

  • Re: Custom manual waveform generation
    Hey scalpas,
    The DAQ device will not do any linear interpolation between samples. When you output a sample, it will hold that value until the next sample is output. If you are doing software timing then it will update the value based on each time that you write the sample. If you are doing hardware timing then it will update the value on each rising edge of the sample clock.

  • Re: New Thread for Conversion of LabVIEW 5.1 code to 8.5
    Hi, Mike. I have theses VI that are very old. I was not able to open that in LV8.5. Could you convert them to me?Thanks in advance.  
    vis1.zip:
    [link]

  • Re: New Thread for Conversion of LabVIEW 5.1 code to 8.5
    Hi, Mike. I have theses VI that are very old. I was not able to open that in LV8.5. Could you convert them to me?Thanks in advance.  
    vis1.zip:
    [link]

  • Re: Combining data files
    May file tools have changed, but you definitely don't want to read it as numerics, sice your files are already formatted. Read your files as a plain text string in a loop and append the string to a new file until you run out of files. Here's a quick draft that you need to adapt to LabVIEW 7.0. [link]" border="0"> Message Edited by altenbach on 08-15-2008 10:27 AM

  • Re: Reading serial strings from the serial port and saving to a text file in Hexidecimal form.
    I tried saving this vi in 8.0 again. Please verify if it is correct. Nothing has worked so far. I would just like to capture a string of binary values (32 bytes) from the serial port, convert and store them as hexidecimal characters in a text file. So, a string read from the serial port (00000000000000010000001000000 011.......00011111) would look like the following when stored as a text file: 000102......1F  Any help is greatly appreciated.

  • Re: Connect Reference to SubVI
    What is your question? Are you having problems creating a subVI with two connectors?
    I also want a numeric indicator to which the reference refers, for developing the VI without connecting it to an external vi.
    What do you mean by "external VI"?

  • Re: Creating a header for a .CSV file
    Thank you very much.  That worked well.   If i wanted to transpose the data how would I do that?  I can get the header to be vertical, but I cant get the data to append to the 2nd column , and then the third and so on with the data descending from top to bottom.  I attached an example of what I might want the file to look like. Each column would be added one at a time.

  • Re: howa can i go back in time to display data
    However I believe the waveform chart will lose its history if the program is stopped (perhaps smercurio_fc can confirm or deny this for both of us), so you wont be able to recall data that was taken prior to a program restart.
    Depends on what you do. If you don't fiddle with scales then you shouldn't lose the previous data on restart. You can see this in the example "Charts" that ships with LabVIEW, vs "Real-Time Chart".

  • Re: USB-8451 SPI Read/Write MOSI
    Hello Johu, You only need the [link]" target="_blank">LV 8.5 runtime to run the executable.    I attached the 8.0 version of the VI.  Let me know if you have any questions. 
    845x Test Panel.vi:
    [link] Test Panel.vi

  • Re: Can I use Subversion with Labview8
    Attached are all the files for the VI...
    My Source Distribution.zip:
    [link] Source Distribution.zip

  • Re: Combining data files
    I managed to combine the files using the attached files. Now I need help using a loop to combine a large number of files. In this example I combine only 3  files. In reality, I would need to do this for maye 100 files.
    FileOpen.png:
    [link]

  • Re: Programming DAQ relay
    Thanks for the link.  I have figured the problem out.  Attached is the screenshot of my vi. wkc
    relay_pump.JPG:
    [link]

  • Re: connecting property nodes
    What do you mean by "edit the nidaq task"? Edit it in what way?  As for connecting the property node, just wire it to you DAQ task/channel wire. Then, you can select the appropriate property. To get the channel names select the "General Properties -> Physical Channel Name" property. You can wire this to a Format Into String function to get your channel name(s) as a string. 

  • Re: Ni-DAQ Multiple Waveform Question
    Ok, if I add a Split Signal function, I can right click on the top output and I get the option of adding a graph which I do and I get my voltage waveform alone, which is what I'm looking for.  But when I right click on the next output, it seems to have no waveform associated with it. Randy 

  • Re: How do two fieldpoints with embedded VIs communicate with each other?
    Success! All I have to do offer up a lab assisstant as a sacrifice to the Fieldpiont gods on the 14th day of the 8th month at the stroke of noon while humming the theme to "Battlestar Galactica".   It's that easy! Honestly I have no idea why it started working this morning.  I added a second file output as shown in the  attached image and it worked.  The LED on the remote fieldpoint activates and deactivate along with both files being correctly written to the host datalogger. What would cause a fieldpoint to arbitrarily work/not work?

  • Creating a header for a .CSV file
    Hi, I have looked through the forums and cannot find a solution for creating a header for a csv file.  I am using Labview 8.2.  I want a label for each column at the top of the file and then I will append new rows to the file as the data is collected.  An example of what I am looking for is attached.

  • Re: Ni-DAQ Multiple Waveform Question
    I would suggest using the "Split Signal" functionIt is located:Express >> Signal Manip >> Split Signal Wire the output of your DAQ assistant to the split singal.Then the two outputs of that function will be voltage, and current.Then you can do whatever you want with each one.

  • Re: Ni-DAQ Multiple Waveform Question
    the daq assistant returns data using the dynamic data type.  I would convert the dynamic data type to an array of waveforms.  Then you can index the first element (channel) and put in on one graph, index the second element and put it on another graph.  [link]" border="0" width="416" height="186"> The convert from dynamic data function is under the express pallet > signal manipulationMessage Edited by StevenA on 08-15-2008 09:18 AM

  • Re: Find shared variables
    In the project list under My Computer>>Dependencies there are vis listed for each of the shared variables.  If a shared variable is named 'Value' then there is a vi listed there named 'Globals_Value'.  If you click the right button and Find Callers, it will list all the vis where that variable is used.

  • Re: Find shared variables
    In the project list under My
    Computer>>Dependencies there are vis listed for each of the
    shared variables.  If a shared variable is named 'Value' then there is
    a vi listed there named 'Globals_Value'.  If you click the right button
    and Find Callers, it will list all the vis where that variable is used.