06-25-2014 08:40 AM
I have to make a .vi in LabVIEW which will control the function generator ag33xxx and generate sine wave function and show it on osciloscope... and I cant get it to work so please if anyone can help me 😞 I'm a total newbe in labVIEW
06-25-2014 08:47 AM
Well, the function generator has the ability to generate the sine wave internally, right?
And you know how to turn that on manually, right?
So what you really need is a way to turn that function on from the GPIB, right?
Look up the specific model number of your generator and get the GPIB drivers for it from NI's website.
Mike...
06-25-2014 08:53 AM
I've tried doing so but I get an error... I've attatched the screenshot...
And also I have no idea how to show VISA session on waveform graph...
06-25-2014 09:13 AM
If it fails that quickly, there are a few things to check:
Assuming all those things are good:
Check these things out, and let us know how things are going.
Mike...
06-25-2014 11:02 AM
Is there any other way to use this function generator and generate a sine function without phisical input(without GPIB cable)?
06-25-2014 11:05 AM
You can operate it manually, or if it has a serial interface you can use that to control it with a simple RS232 cable (available at any Best Buy -- for an obscene price).
Mike...
06-25-2014 11:17 AM
@mikeporter wrote:
a simple RS232 cable (available at any Best Buy -- for an obscene price).
That's why we have Amazon.
06-25-2014 11:19 AM
yeah the problem is I have to do this assignment until tommorow... 😕 so I can't get the cable
06-25-2014 11:26 AM
Are you familiar with the term: "scrounging"... (especially the "by stealth" part)
Mike...
06-25-2014 11:32 AM
Make sure the generator is setup to communicate over the GPIB. This is a manual process that you will need to go through whatever menus the instrument has to set up the communications. Some will only talk over 1 kind of bus at a time. So make sure GPIB is selected and make sure it is not sharing its address with anything else connected to the same GPIB bus.