LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use NI Script Editor to generate multiple waveforms I created in LabWindows

Hi,
  I want to know if it is possible to use NI Script Editor to generate multiple waveforms that I created in LabWindows. For example, I have a triangle wave that is generated based on user inputs asked in the user interface. Once these are completed I want to go to the next waveform of a different form. My question is if it is possible to use script editor in conjunction with the waveforms created in LabWindows. I appreciate any help. Thank you
0 Kudos
Message 1 of 4
(3,346 Views)
Hi Jason,

I'm not sure I fully understand your question.  Exactly how are you wanting to use Script Editor?  Are you wanting to use Script Editor to generate these waveforms given variables from the user?  Or, will CVI be generating the waveforms, then send these waveforms to the Script Editor?  If so, what will Script Editor be doing with these waveforms?  Let me know some more information on what you are wanting to do and I'll help you out.


0 Kudos
Message 2 of 4
(3,330 Views)
i have labwindows generating the waveforms and i wanted to know if i can send it to the script editor to create a script that triggers when these waveforms are generated
0 Kudos
Message 3 of 4
(3,305 Views)
Hi Jason,

You can't directly send a waveform to the NI Script Editor because it is an application that helps you build scripts.  The script is basically a text file that gets sent to your hardware as a string.  This allows you to programmatically add the waveform information to your script string before sending to the hardware.  So, you could still create a script with NI Script Editor, then programmatically concat the waveform information to the specific locations desired and, lastly, send that string to the hardware.

Let me know if you have any questions.
0 Kudos
Message 4 of 4
(3,289 Views)