LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simulate arbitrary signal

Hi

 

I want to use simulate arbitrary signal express vi in my application to create array of data to process. With this expresss, vi if user want to define a signal he has to go to block digram and double click the express vi. But i want to have data tabe in the front panel so user can define signal in front panel. i dont want user to go into block digram and bouble click the express vi to define the signal. i would like to have that in the front panel so user don't have to go into the code. Is there any way i can so this?

0 Kudos
Message 1 of 9
(3,770 Views)
No, the user should never have to (or be able to) go to the block diagram. In your case, you are going to have to forget about the Express VI and do a little more coding. There is a function on the Signal Processing>Signal Generation palette called Arbitrary Wave. There is also a shipping example called Arbitrary Wave Display. The wave table is nothing more than an array of values. You could also use a 2D array and display it with the XY Graph.
Message 2 of 9
(3,758 Views)

Thanks for the reply. My 2D array contains time and data.

t

0 Kudos
Message 3 of 9
(3,736 Views)
Sorry for posting half of my comment. My 2D array time data are not equally spaced. I cannot enter 2D array like this one in to the arbitrary wave vi function. In arbitrary signal express vi, I can enter time data (with out any consistansy) and it will graph it for me. I need to get arbitrary wave data points not to display. I want to use these data points sampled at some rate to process with the  data I am acquiring form daqmx. Thanks
0 Kudos
Message 4 of 9
(3,735 Views)
You will have to replicate what the Express VI is doing. Since the source code for the Express VI configure screen is avaliable, you could use that if you like (vi.lib\express\express input\SimulateArbSignalConfig.llb)
Message 5 of 9
(3,729 Views)

Could you please tell me how to locate the source code for simulate arbitrary signal express vi ?

0 Kudos
Message 6 of 9
(3,726 Views)
I found it. Thanks.
0 Kudos
Message 7 of 9
(3,724 Views)

The one i need to look at is password protectd. ex_TableInputs.vi cannot be opened. Is there any other way?

0 Kudos
Message 8 of 9
(3,712 Views)

Hi Suni,

 

To open the source code for an express VI you should just right-click on it and say "Open Front Panel". That should open the front panel and block diagram. Hope this helps.

 

Ipshita C.

National Instruments
Applications Engineer
Message 9 of 9
(3,691 Views)