Test and Measurement Forum

How to generate a signal by using the ps3000aSetSigGenBuiltI

Post your LabVIEW discussions here

How to generate a signal by using the ps3000aSetSigGenBuiltI

Postby lili » Mon Jan 13, 2014 10:19 pm

Hello..

I'm trying to generate a DC signal from the 3404A. But whenever I start to run the code, the labview will automatically shut off. Could you please help???
The following is the code. Also, where is the terminal to view the output signal??

Thanks alot!
Li
Attachments
SignalGen.vi
(14.16 KiB) Downloaded 76 times
lili
Newbie
 
Posts: 0
Joined: Tue Jan 07, 2014 10:08 pm

Re: How to generate a signal by using the ps3000aSetSigGenBu

Postby Karunen » Wed Jan 15, 2014 12:38 pm

Hi Li,

I have fixed your vi, please download it and make sure the libraries attached correctly
SignalGen - working.vi
ps3000a siggen
(14.8 KiB) Downloaded 78 times

The corrections that I made was:

When taking data from the front panel make sure that the data type matches to the function data types

Corrected one data type in the function 'setsimpletrigger'

Please note that I set wavetype as 3 this means the DC voltage, if you selected it using your drop down it would be 0 which is a sine wave.

Also pktopk and offset are both in uV NOT mV.

To get a 1V dc signal set the offset to 1000000,
the startfreq to 1000
and stopfreq to 1000

and leave the others.

Karunen
Karunen

Technical Specialist
Pico Technology
Karunen
Zen Master
Zen Master
 
Posts: 194
Joined: Thu Nov 21, 2013 9:22 am

Re: How to generate a signal by using the ps3000aSetSigGenBu

Postby lili » Wed Jan 15, 2014 3:17 pm

Hi, Karuren

Can you please attach some picture of it? I have labview 2012 installed and can't open the file you sent..... :(
Thanks alot..

Li
lili
Newbie
 
Posts: 0
Joined: Tue Jan 07, 2014 10:08 pm

Re: How to generate a signal by using the ps3000aSetSigGenBu

Postby Karunen » Thu Jan 16, 2014 9:55 am

Hi Li,

Sorry about that I have attached a 2010 version below please try that out.

SignalGen - working.vi
PS3000A Siggen labview 2010
(10.28 KiB) Downloaded 68 times
Karunen

Technical Specialist
Pico Technology
Karunen
Zen Master
Zen Master
 
Posts: 194
Joined: Thu Nov 21, 2013 9:22 am


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests