Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Contineously increasing amplitude square wave

Solved!
Go to solution

Hi,

    I am new to programming. I have posted a few questions on the forum and people have been very helpful. I thank all of them for their help.

I have a DAQ and I want to generate a contineously increasing voltage output of the form of a square wave. Can someone help me in that. Can anyone refer me to some example which I can see and modify it.

Regards,
Farhan Ahmad.
0 Kudos
Message 1 of 12
(4,173 Views)

Hi lahorimun,

what is the PN of your DAQ?

0 Kudos
Message 2 of 12
(4,166 Views)
Just as important is 'what is your programming language'?
0 Kudos
Message 3 of 12
(4,162 Views)
I have a NI-USB 9162 DAQ and I am programming in C using labwindows CVI.
Regards,
Farhan Ahmad.
0 Kudos
Message 4 of 12
(4,153 Views)

Hello,

 

You mentioned that you were using a 9162.  This is actually a USB sleeve that holds a DAQ module, so what module are you going to be using in that sleeve?  This will help us to determine our timing.

 

I did some searching around and I wasn't able to find the exact program that Rolly used in the previous post, but after reading through some forums I believe that the code in that forum was modified from a much smaller example.  I think that a good place to start would be to look at some of the text based examples, which can be found by going to Start>>Programs>>National Instruments>>NI-DAQ>>Text Based Code.  This will give you a good head start and then I will be more than happy to help you from there.

 

 

0 Kudos
Message 5 of 12
(4,142 Views)
I am sorry I just gave the sleeve ID. The DAQ module is a NI-9263. I am trying to make a program in which I can send pulses of contineously increasing amplitude. I will take a look into the examples you referred me.
Regards,
Farhan Ahmad.
0 Kudos
Message 6 of 12
(4,122 Views)
I do not have any text based code option in my NI-DAQ folder in start menu as you can see in the attachment.
Message Edited by lahorimunda on 06-10-2009 03:00 PM
Regards,
Farhan Ahmad.
0 Kudos
Message 7 of 12
(4,113 Views)
I apologize, I should've mentioned before that the text-based folder is a new feature that comes with DAQmx 8.9.  A link to this download can be found here.  Please let me know if you have anymore questions.
0 Kudos
Message 8 of 12
(4,107 Views)
I have gone through all the examples. I did not find any which can show me how to generate an increasing step square wave. All the examples are for regular sine, square, Triangle and sawtooth wave. I want a waveform of the type in the attached figure or what you can call an increasing step square wave.
Regards,
Farhan Ahmad.
0 Kudos
Message 9 of 12
(4,092 Views)
I think I need to do some kind of Amplitude Modulation in order to produce this kind of waveform but I am not sure how to carry out an amplutude modulation (ASK) of the particular type in Labwindows.
Regards,
Farhan Ahmad.
0 Kudos
Message 10 of 12
(4,072 Views)