10-31-2006 08:02 PM
11-01-2006 09:06 AM
11-01-2006 04:14 PM
Hi Dennis, thanks for your reply.
The Data Array i'm using is the one that was given in the example. I've had a look at the Properties but I can't see a way to change the parameters to impulse or square wave or even change the frequence or amplitude.
As far as timing goes I am looking for the pulse to output about every 30 seconds or so (0.0333 Hz). Which is not at all a problem, the problem is getting the voltage to switch the mechanical solenoid and then have the device take some simple reading for about 30 seconds and then shoot off another voltage output to switch the solenoid to the next position and continue in this way for a certain number of cycles.
If anyone out there has an example program that i could work off that would be fantastic.
11-01-2006
04:26 PM
- last edited on
03-25-2025
08:36 AM
by
Content Cleaner
Replace the data array with something you create. Each time the loop iterates, it takes a value out of the array and passes it to the DAQmx Write as the output voltage. Since the array contains a sine wave, that is what you are seeing on the output. Drag the side of the numeric control inside of array container to see the whole numbers that are in the array. All that you want in your array are 0.0 and 5.0. Creating an array constant and array indexing are pretty basic tasks in LabVIEW, you might want to go to http://zone.ni.com/devzone/cda/tut/p/id/5054 and click on the Getting Started with LabVIEW link. Information on courses can be found at https://www.ni.com/en/shop/services/education-services/labview-courses.html.