Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create an array of waveforms constant for declaring the datatype of a notifier?

I'd like to use a notifier to trigger a data analysis loop to wakeup and run.
The data is acquired in a continuous acquisition loop and is received
as a 1D array of waveforms.  It seems rather slick to attach this data
to the notifier itself, but in order to do so, one needs to declare the datatype
of the notifier as "array of waveforms".  Where would I find a waveform constant
to place inside an empty array to declare the datatype?
 
I guess another alternative would be to pass a boolean in the notifier and
transmit the data via a functional global, but using the notifier itself seems
more elegant.
 
Any suggestions would be greatly appreciated.
 
Thanks,
Kevin
0 Kudos
Message 1 of 12
(5,239 Views)

Kevin,

The easiest way to get the required control or constsnt is to drop a function that deals with your datatype.  In your instance drop a index waveform array function on block diagram (Programming, waveform, index waveform array) Pallets. Another way is to Find the I/O in the controls pallette (front panel) and you will see a waveform control.  Drop this on front panel.  Then drag this control into an empty array found in the array and cluster pallette. You can change any indicator or control to a constant or vice versa by right clicking on the control/indicator from the block diagram and selecting your appropiate choice

Hope this helps,

Chris Co.

Message Edited by Chris Co on 01-25-2007 12:51 AM

Message 2 of 12
(5,233 Views)

Ditto Chis' comments.

Additional note:

Prior to LV 8.0 is was not possible to create an WF constant on the diagram.

I asked Jeff K why this was the case (hoping to learn something about the data type, its storage etc.) His response was "That is probably an over-sight."

I was pleased to see that when LV 8.0 ws released the option to create a WF constant was now available.

This was proof to me that "NI Listens!".

Ben

Message Edited by Ben on 01-25-2007 08:07 AM

Message Edited by Ben on 01-25-2007 08:07 AM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 12
(5,221 Views)

Ben,

As usual you have very thorough and useful answers.  From your picture it would let you create a control.  Would it then let you change it to a constant later?

 

Chris Co

0 Kudos
Message 4 of 12
(5,210 Views)

NO Sir!

Ben

Message Edited by Ben on 01-25-2007 08:42 AM

Message Edited by Ben on 01-25-2007 08:46 AM

Message Edited by Ben on 01-25-2007 08:46 AM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
0 Kudos
Message 5 of 12
(5,209 Views)
Why, Ben, you look just like your icon... Smiley Very Happy

___________________
Try to take over the world!
Message 6 of 12
(5,181 Views)
tst wrote "Why, Ben, you look just like your icon...   "
 
Hmmm....
 
I suspect my wife was using the same criteria when she selected my icon as when she selected me.
 
I'll run it past her but I think she wil either say "Yep!' or "You're as quit as you avatar."
 
Ben
 
BTW: The gentleman just out of the frame to the left is "The Captain" and this photo was originally posted by PJM on the LAVA forum.
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 12
(5,172 Views)

I'm confused!  I didn't think that looked like you so I was thinking- what is he doing with this photo, is there something I am not aware of which I should know? I have no Idea who the captain is and I thought I knew what you looked like.  I'm still baffled.  What is going on with this thread?Smiley Indifferent

 

I'm stupid

0 Kudos
Message 8 of 12
(5,166 Views)

No you are not stupid Chris!

That photo was taken at NI Week 2005 durring the conversation that I mentioned I had asked Jeff K.

"The Captain" is Norm Kirshner who is one of the people that found their way into LV scripting.

The gentleman at the far right is Jeff Kodosky the "Father of LabVIEW".

The balding, bearded, neck-tie clad guy in the middle is me!

RE: What is happening with this thread

You answered the Q with your intital post so I hijacked it for no good reason. Smiley Happy

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 9 of 12
(5,161 Views)
Dude your a king here,  you can hijack anything you want,  you could problaby even get me to be a jesture for the potential that i would absorb some LV knowlege from you!Smiley Happy
0 Kudos
Message 10 of 12
(5,155 Views)