07-17-2019 11:30 PM
Hello
I am a graduate student from Korea
I tried to import the below .lvm file by using the block "simulate arbitrary signal" but it could not load, and it seems Labview program is stopped working. Any body can check it for me?
07-17-2019 09:38 PM
Hello every one
I try to replace the existing signal in the block " simulate arbitrary signal" by the signal on the right hand side. However, I could not load it. It seems Labview is stopped working. Did I do something wrong?
07-17-2019 11:33 PM
the lvm file
07-18-2019 01:26 AM - edited 07-18-2019 01:32 AM
Hi duyngoc,
I don't know what you have tried in your VI but simply picking that ReadMeasurementData ExpressVI with its default settings results in this graph:
Note: Please keep your related questions in just one thread. It doesn't help to spread your messages in several (partly unrelated) threads.
07-18-2019 01:42 AM - edited 07-18-2019 01:48 AM
Dear Sir
Thank you for your kind comment
I have already tried using Read Measurement Data Express VI but as you can see I dont know why the X axis is 5000. I know that it relates to 5000 point data but how can I change 5000 to 5 as displayed with Simulate Arb. signal block. This is reason I decied to used the Simulate Arb. signal block even though it is not work well. Plus, I dont understand why there is a white line when I use the Read Measurement Data Express VI block. Does it affect anything if I use this signal as an excitation signal?
07-18-2019 02:16 AM
Hi duyngoc,
I dont know why the X axis is 5000. I know that it relates to 5000 point data
I used the default settings, which reads the first column as additional signal. YOu may try to change the ExpressVI settings to use it as time column…
but how can I change 5000 to 5 as displayed with Simulate Arb. signal block.
You may simply divide the data by 1000 to scale from 5000 to 5…
Plus, I dont understand why there is a white line when I use the Read Measurement Data Express VI block. Does it affect anything if I use this signal as an excitation signal?
Again: default settings of that ExpressVI.
You can always use SplitSignal to use only the 2nd signal in the DDT wire…
Generic suggestion: I would try to stay away from ExpressVIs as much as possible. It will improve your code in the end…
07-18-2019 02:37 AM
As you can see in the attached file, I set the option for the Read Measurement Data Express VI block like that and get nice result. I realized that in the original .lvm file, there is text that is wrrited from the Write Measurement Data Express VI block which is only recognized when use with the "simulate Arb. signal" block. So, if I delete all text in the lvm file that I uploaded here, I get the result as shown the figure.
07-18-2019 02:49 AM
I wonder that when I use the Arbitrary Signal Express VI block, I can use option "X value repeat" and " Entire signal each iteration". I wonder can I get a continous excitation signal from data which has only 5 seconds? It means that I want to repeatly get the excitation signal after each 5 seconds
07-18-2019 02:58 AM - edited 07-18-2019 02:59 AM
Hi duyngoc,
you can get anything you want - that process is called "programming"!
When you want to repeat the signalafter 5s then you should use a loop…
Did you know you can "open the frontpanel" of ExpressVIs to get a peek behind their curtain?
07-18-2019 03:13 AM
Thank you very much for your comment. Of course, I tried to use the for loop but it happen error. And I am new person in this field, so I dont know much about Labview. If you have time, please help me