Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

Signal generation using script

Hi,
 
I am using a script to generate a GFSK signal. The script generate a signal in terms of an extern trigger. My script is
 
script triggerGFSKGeneration
  repeat forever
    wait until scriptTrigger0
    generate GFSK
  end repeat
end script
 
The script doesn't work. I am using 5671. What am I missing?
 
Thank you,
Chen
0 Kudos
Message 1 of 3
(7,762 Views)

Hi Chen,

What do you mean by doesn’t work, are you receiving an error or just not generating anything? Based on your script it appears you would like to wait on a trigger and then generate your signal when this trigger is received. Does you code work without the script if you just generate your signal without a trigger? Have you configured your trigger line to match the physical connections?  Some useful resources that you may look at are the NI RF Signal Generators Help:


As well as this developer zone article. I hope this helps!



Message Edited by jaced on 02-22-2008 11:50 AM
JaceD
Signal Sources Product Support Engineer
National Instruments
0 Kudos
Message 2 of 3
(7,752 Views)

JaceD

The reason is that the trigger wire was broken. Now it works.

 

Thank you,

Chen

0 Kudos
Message 3 of 3
(7,731 Views)