LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert dasylab to labview

Solved!
Go to solution

Hi all,

 

I get a project invovled a serial port reading, then use the band pass filter and FFT to process the signal. At last, locat the peak frequency of the spectrum. This project used to be achieved by dasylab as shown in the attachment. Since I am not familar with labview, can somebody please spare me several minutes to convert this program to labview VI. Thank you very much for your kind help.

 

Baicy

0 Kudos
Message 1 of 7
(4,449 Views)

As far as I know, there is no longer a tool to convert Dasylab to LabVIEW and even if there were, attaching a image would do no good. 

 

I would suggest you start with the free LabVIEW tutorials. It seems most of this could be done with Express VIs (a rough equivalent to DasylabSmiley Wink).

0 Kudos
Message 2 of 7
(4,437 Views)

Thank you, Dennis!

It seems to be such a simple problem, while I'm having a very tight schedule to go through the tutotial  now. If someone can spare me several minutes to help me start, I'm very appreciate. Many thanks.

 

FFT

0 Kudos
Message 3 of 7
(4,406 Views)
Solution
Accepted by baicy

As I said, images are worthless because they tell no one how you have those functions configured. If you do decide to post the actual code, then you will have to be somewhat lucky in finding someone who has both DASYLab and LabVIEW.

 

The Express VIs that you will want to look at include the Instrument I/O Assistant,  Filter, Spectral Measurements, and Statistics. Probably just need a loop areound the Instrument I/O Assistant if you need to collect x number of points.

 

Message Edited by Dennis Knutson on 06-12-2010 01:09 PM
0 Kudos
Message 4 of 7
(4,352 Views)

Hi, Dennis!

 

Thank you very much for your replay. You are right, it is exactly I want to attach a picture rather than the code.

 

This is pretty much what I want,  except I am using a bluetooth connection for data collection. The seriel port is a virtual com, therefore It is not suitable to use Intrument I/O. Any suggestion about it? Could you please attach the VI? I can not tell the block between the I/O and filter, you know, not familar with Labview. Again, many tanks!

 

Baicy

0 Kudos
Message 5 of 7
(4,336 Views)

Instrument I/O is intended for use with com ports.  So if your device is a virtual com port, you just have to set up the Instr I/O for that com port.  And know what kind of commands to send to it and how to interpret any information it sends back.

 

That image is a snippet.  Drag and drop the image from your browser onto a blank block diagram and watch the magic happen.  (If you are using LV2009, maybe 8.6 it works also, but I don't remember).

 

The small blue express VI is To DDT in the Express/ Signal Manipulation palette.  It converts the array of doubles coming out of the For Loop to the dynamic datatype (the blue wire) that always seems to go hand in hand with the blue Express VI's.

 

Not familiar with LabVIEW?

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 6 of 7
(4,329 Views)

Why would you not attach the actual code? 

 

By the way, the instrument I/O Assistant is just a dummy. You'll see that there is a random number generator underneath just to get an output from the while loop.

0 Kudos
Message 7 of 7
(4,324 Views)