Jump to content

Karissap

Members
  • Posts

    108
  • Joined

  • Last visited

Posts posted by Karissap

  1. It would be helpful to know what exactly you want to do, what data type you are using, string, numeric, and what dimension array size, 1D, 2D etc.

    If you want to replace an array element without resizing it use the "Replace Array Subset.vi" or in place element structure, if you want to add an array element but not replace any existing elements use the "Insert into array.vi" or the "Build Array.vi". You can also use auto-indexing on a for loop to create arrays automatically.

    Here's a screen shot of these different methods:

    post-8228-1241585470.png?width=400

  2. Just because you know how to do something now doesn't mean you'll remember how to do it in 10 years if you haven't been using it.

    I have my pilot's licence and have to do a flight review every two years to keep it current but an extra endorsement or rating counts as a review.

    A similar thing could be done for LV Certification, you could get some kind of endorsment by doing courses in NI hardware or LV software toolboxes, new features etc (GOOP would be nice) through NI or approved 3rd pary courses, and this could count as re-certification of LV status.

  3. I assume you are talking about the simulate signal express vi. If so you can right click on the vi and choose open front panel from the pop-up menu, this will turn it into a normal vi you can edit. Then you can change the # of samples constant to a control and add a connector for it. If you just want to know the # of samples from the signal you can use the statistics express vi with total samples selected.

    post-8228-1215123749.png?width=400

  4. What output speed do you need? The USB-6008 is a low cost USB-DAQ, it doesn't have buffered output and has a software timed output sample speed of only 150Hz.

    Other high performance USB Daqs will give you a high speed buffered output. For example the USB-6211 outputs at 250kHz with a buffer size of 8,191 samples.

  5. I have projects written in LabVIEW 7.1 and can open them with no problems in LabVIEW 8.5 the only problems you might encounter is driver incompatibilities and if any of your code has the block diagram removed, there might be other upgrade issues too, the release notes would contain more information. The only VIs I've found that have been too old for LabVIEW 8.5 to open at all are LabVIEW version 5.1 or older.

  6. To make the graph look like that you can right click on the spectrum graph and select properties from the menu, there you can change the scaling of the x axis to be logarithmic and other display settings. To get the spectrum to display up to a frequency of 20k your sampling frequency will need to be at least 40k. You might want to also play around with the different windows, Hanning is usually used.

    post-8228-1213224002.png?width=400

    Download File:post-8228-1213224014.vi

  7. For a transmitter and receiver you could use the TCP, UDP or DataSocket functions.

    If you want to set custom properties try converting the data to a variant and using "Set Variant Attribute.vi"

    Have a look at the example "DS Writer With Attributes" in the NI example finder. This shows an example of DataSocket communication with variant properties.

    For converting strings to number formats you can also use "Scan from String.vi" which gives more flexibility to scan a value from a string into any format.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.